On Thu, 16 Sep 2004, Mohammed Sameer wrote:

> Yes, I've got it, thanks.
> VIVA LA FLOSS!

I hate to ask -- what is La Floss?

> The burner works great with 2.6.9-rc2, I burned 3 times usind dummy mode, and I 
> burned 2 CDs, everything was great, I'll buy more blanks and a rewritable CD 
> tomorrow and do a more intensive test ;)
> But, When I unplug the USB cable or turn the drive of, I get a kernel oops:
> 
> Sep 15 23:34:55 localhost kernel: usb 1-2: new high speed USB device using address 2
> Sep 15 23:34:56 localhost kernel: Initializing USB Mass Storage driver...
> Sep 15 23:34:56 localhost kernel: scsi0 : SCSI emulation for USB Mass Storage devices
> Sep 15 23:34:56 localhost kernel:   Vendor: MSI       Model: CD-RW CR52        Rev: 
> 3.70
> Sep 15 23:34:56 localhost kernel:   Type:   CD-ROM                             ANSI 
> SCSI revision: 02
> Sep 15 23:34:56 localhost usb.agent[1960]:      usb-storage: loaded successfully
> Sep 15 23:34:56 localhost kernel: usbcore: registered new driver usb-storage
> Sep 15 23:34:56 localhost kernel: USB Mass Storage support registered.
> Sep 15 23:34:56 localhost scsi.agent[2006]: cdrom at 
> /devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.0/host0/0:0:0:0
> Sep 15 23:34:56 localhost kernel: sr0: scsi3-mmc drive: 40x/40x writer cd/rw 
> xa/form2 cdda tray
> Sep 15 23:34:59 localhost kernel: usb 1-2: USB disconnect, address 2
> Sep 15 23:35:04 localhost kernel: scsi: Device offlined - not ready after error 
> recovery: host 0 channel 0 id 0 lun 0
> Sep 15 23:35:04 localhost kernel: Badness in scsi_device_set_state at 
> drivers/scsi/scsi_lib.c:1688
> Sep 15 23:35:04 localhost kernel:  [<cf92d24f>] scsi_device_set_state+0xc4/0x112 
> [scsi_mod]Sep 15 23:35:04 localhost kernel:  [<cf92afa0>] 
> scsi_eh_offline_sdevs+0x64/0x80 [scsi_mod]
> Sep 15 23:35:04 localhost kernel:  [<cf92b4b0>] scsi_unjam_host+0xb6/0x1eb [scsi_mod]
> Sep 15 23:35:04 localhost kernel:  [<c0115777>] default_wake_function+0x0/0x12
> Sep 15 23:35:04 localhost kernel:  [<cf92b6b4>] scsi_error_handler+0xcf/0x16b 
> [scsi_mod]
> Sep 15 23:35:04 localhost kernel:  [<cf92b5e5>] scsi_error_handler+0x0/0x16b 
> [scsi_mod]
> Sep 15 23:35:04 localhost kernel:  [<c010425d>] kernel_thread_helper+0x5/0xb

This looks like the system was using the CD drive for something when you 
disconnected it.  Was anything happening at the time?

It also looks like the problem leading to the oops exists somewhere in the
SCSI layer, not in the USB stack.

What do you get in your log if you turn on the usb-storage verbose 
debugging option in the kernel configuration, and configure 
/etc/syslog.conf to capture kernel debugging messages?

Alan Stern



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to