cd burning

Chris Kassopulo ckasso at sprynet.com
Tue Mar 7 19:03:37 UTC 2006


On Mon, 06 Mar 2006 14:54:28 -0400, Derek Broughton wrote:

> Chris Kassopulo wrote:
> 
>> On Mon, 06 Mar 2006 11:48:44 -0400, Derek Broughton wrote:
>> 
>>> Yes, I think the problems are known, and yes, I'm sure there's a
>>> solution.
>> 
>> I'm using kernel 2.6.12-10 and cdrecord 2.01 both of which are standard
>> packages from ubuntu for an updated 5.10.
>> 
>> CD Creator goes through the motions but nothing happens at the drive.
>> 
>> cdrecord from the command line gives me:
>> 
>> ckasso at lochness:~$ sudo cdrecord dev=/dev/cdrw -scanbus
>> Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004
> ... 
>> cdrecord: Warning: Running on Linux-2.6.12-10-386
>> cdrecord: There are unsettled issues with Linux-2.5 and newer.
>> cdrecord: If you have unexpected problems, please try Linux-2.4 or
>> Solaris. scsidev: '/dev/cdrw'
>> devname: '/dev/cdrw'
>> scsibus: -2 target: -2 lun: -2
>> Warning: Open by 'devname' is unintentional and not supported.
>> 
>> It hangs there.
> 
> Sorry, that's _not_ one of the problems I've seen.  I've known it to fail
> but not to hang.
> 
> However, you really shouldn't need to use sudo - what happens if you run as
> a user in /dev/cdrw's owning group?

Hi Derek,

I think I am finding evidence of the problems I was referring to in my
original post.

After a reboot:

ckasso at lochness:~$ cdrecord dev=/dev/cdrw -scanbus
Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Joerg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
      and thus may have bugs that are not present in the original version.
      Please send bug reports and support requests to <cdrtools at packages.debian.org>.
      The original author should not be bothered with problems of this version.

cdrecord: Warning: Running on Linux-2.6.12-10-386
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: '/dev/cdrw'
devname: '/dev/cdrw'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'ubuntu-0.8ubuntu1'.
cdrecord: Warning: using inofficial version of libscg (ubuntu-0.8ubuntu1 '@(#)scsitransp.c      1.91 04/06/17 Copyright 1988,1995,2000-2004 J. Schilling').
scsibus0:
        0,0,0     0) 'CyberDrv' 'CW058D CD-R/RW  ' '15HD' Removable CD-ROM
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
ckasso at lochness:

All is well.  Then I try:

ckasso at lochness:~$ cdrecord dev=/dev/cdrw blank=fast
Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Joerg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
      and thus may have bugs that are not present in the original version.
      Please send bug reports and support requests to <cdrtools at packages.debian.org>.
      The original author should not be bothered with problems of this version.

cdrecord: Warning: Running on Linux-2.6.12-10-386
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: '/dev/cdrw'
devname: '/dev/cdrw'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'ubuntu-0.8ubuntu1'.
cdrecord: Warning: using inofficial version of libscg (ubuntu-0.8ubuntu1 '@(#)scsitransp.c      1.91 04/06/17 Copyright 1988,1995,2000-2004 J. Schilling').
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'CyberDrv'
Identifikation : 'CW058D CD-R/RW  '
Revision       : '15HD'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-2 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
resid: 64508
resid: 64512
resid: 64508
resid: 62464
--- snip ---
resid: 62464
resid: 63488
resid: 64512
resid: 64508
resid: 62464
resid: 62464
resid: 62464
--- snip ---
goes on for another 25 lines or so and sits there.

At that point syslog shows me:

Mar  7 13:26:10 localhost kernel: [4295032.709000] cdrom_pc_intr, write: dev hdc: flags = REQ_STARTED REQ_PC REQ_QUIET 
Mar  7 13:26:10 localhost kernel: [4295032.709000] sector 0, nr/cnr 0/0
Mar  7 13:26:10 localhost kernel: [4295032.709000] bio 00000000, biotail 00000000, buffer 00000000, data 00000000, len 0
Mar  7 13:26:10 localhost kernel: [4295032.709000] cdb: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
Mar  7 13:26:10 localhost kernel: [4295032.709000] hdc: cdrom_pc_intr: The
drive appears confused (ireason = 0x02)

It appears that this is a kernel vs cdrecord perhaps vs hardware problem.

cdrecord keeps running so anything I try after that point will also hang.
My fault for not being able to kill it.

Chris





More information about the ubuntu-users mailing list