USB CD Burners? - Problem

Brian Chabot brian at datasquire.net
Mon Apr 4 02:47:00 EDT 2005


Derek Martin wrote:

> In theory, any drive should work fine, since they all pretty much just
> implement SCSI over USB.  That's well supported in the Linux kernel.
> But as with everything else, YMMV.

Well, I ended up getting a Memorex "ultraspeed CD Recorder" 52x/52x/32x 
USB 2.0, 1.1 compatible.

...and now I have a question.

If I plug it in (hot), it's detected fine, mounts fine, creates a link 
to /dev/sc0 etc. etc.  After messing with permissions to be able to 
write to CD, I burned a few.  Here's where I run into a problem.

The machine is an Athlon 2200+XP, 512MB RAM running Mandrake 10.2RC2 
(Kernel 2.6.11-6mdk).

dmesg shows the following when I plug it in:
===================================================================
usb 4-6: new high speed USB device using ehci_hcd and address 5
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 5
usb-storage: waiting for device to settle before scanning
   Vendor: Memorex   Model: 52MAXX 3252AJ1    Rev: 4WS2
   Type:   CD-ROM                             ANSI SCSI revision: 00
sr0: scsi3-mmc drive: 52x/52x writer cd/rw xa/form2 cdda tray
Attached scsi CD-ROM sr0 at scsi2, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi2, channel 0, id 0, lun 0,  type 5
usb-storage: device scan complete
cdrom: sr0: mrw address space DMA selected
===================================================================

/var/log/messages shows:
===================================================================
Apr  4 02:39:45 alfred kernel: usb 4-6: new high speed USB device using 
ehci_hcd and address 5
Apr  4 02:39:45 alfred kernel: scsi2 : SCSI emulation for USB Mass 
Storage devices
Apr  4 02:39:50 alfred kernel:   Vendor: Memorex   Model: 52MAXX 3252AJ1 
    Rev: 4WS2
Apr  4 02:39:50 alfred kernel:   Type:   CD-ROM 
     ANSI SCSI revision: 00
Apr  4 02:39:53 alfred kernel: sr0: scsi3-mmc drive: 52x/52x writer 
cd/rw xa/form2 cdda tray
Apr  4 02:39:53 alfred kernel: Attached scsi generic sg0 at scsi2, 
channel 0, id 0, lun 0,  type 5
Apr  4 02:39:53 alfred scsi.agent[14826]: cdrom at 
/devices/pci0000:00/0000:00:10.3/usb4/4-6/4-6:1.0/host2/target2:0:0/2:0:0:0
Apr  4 02:39:53 alfred fstab-sync[14868]: added mount point /mnt/cdrom1 
for /dev/scsi/host2/bus0/target0/lun0/cd
Apr  4 02:39:56 alfred kernel: cdrom: sr0: mrw address space DMA selected
===================================================================

....and all is well.

Now I burn a CD.  Any CD.  I like to make sure it burns well, so I have 
k3b check the disk and it gets about 70% of the way through and hangs 
for a few minutes.  Then it errors out that the verification could not 
complete.

/var/log/messages then shows:
===================================================================
Apr  4 02:30:31 alfred kernel: SCSI error : <0 0 0 0> return code = 
0x8000002
Apr  4 02:30:31 alfred kernel: sr0: Current: sense key: Medium Error
Apr  4 02:30:31 alfred kernel:     Additional sense: Unrecovered read error
Apr  4 02:30:34 alfred kernel: SCSI error : <0 0 0 0> return code = 
0x8000002
Apr  4 02:30:34 alfred kernel: sr0: Current: sense key: Medium Error
Apr  4 02:30:34 alfred kernel:     Additional sense: Unrecovered read error
Apr  4 02:30:38 alfred kernel: SCSI error : <0 0 0 0> return code = 
0x8000002
Apr  4 02:30:38 alfred kernel: sr0: Current: sense key: Medium Error
Apr  4 02:30:38 alfred kernel:     Additional sense: Unrecovered read error
Apr  4 02:30:47 alfred kernel: SCSI error : <0 0 0 0> return code = 0x70000
Apr  4 02:30:53 alfred kernel: SCSI error : <0 0 0 0> return code = 0x70000
Apr  4 02:31:02 alfred kernel: usb 4-6: reset high speed USB device 
using ehci_hcd and address 3
Apr  4 02:31:02 alfred kernel: scsi: Device offlined - not ready after 
error recovery: host 0 channel 0 id 0 lun 0
Apr  4 02:31:02 alfred kernel: scsi0 (0:0): rejecting I/O to offline device
Apr  4 02:31:02 alfred kernel: VFS: busy inodes on changed media.
Apr  4 02:31:02 alfred kernel: scsi0 (0:0): rejecting I/O to offline device
Apr  4 02:31:12 alfred last message repeated 2483 times
===================================================================
(Note that this is the error from te previous time it hung... )

I then unplug the drive and all is well again.

And ideas?


Brian

-- 
---------------------------------------------------------------
| brian+sig at datasquire.net          http://www.hirebrian.net  |
| IT/MIS Manager - 6 Yrs Experience - Contract or Permanent   |
|          Self-taught, Fast Learner, and Team Player         |
|            Ready to Start TODAY at Your Company.            |
---------------------------------------------------------------



More information about the gnhlug-discuss mailing list