On Thu, Sep 16, 2004 at 10:20:12AM -0400, Alan Stern wrote: > 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? > Free Libre Open Source Software!
> > 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? > No, It happes even when I connect the drive, then disconnect it. In 2.6.7/2.6.8, I had no problem even when disconnecting the drive in the middle of an operation, But with 2.6.9-rc2, I can't even disconnect it, Even when it's idle. > 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? > /var/log/debug: Sep 16 18:03:38 localhost kernel: usb-storage: storage_disconnect() called Sep 16 18:03:38 localhost kernel: usb-storage: usb_stor_stop_transport called Sep 16 18:03:38 localhost kernel: usb-storage: queuecommand called Sep 16 18:03:38 localhost kernel: usb-storage: *** thread awakened. Sep 16 18:03:38 localhost kernel: usb-storage: No command during disconnect Sep 16 18:03:38 localhost kernel: usb-storage: *** thread sleeping. Sep 16 18:03:43 localhost kernel: usb-storage: command_abort called Sep 16 18:03:43 localhost kernel: usb-storage: -- nothing to abort Sep 16 18:03:43 localhost kernel: usb-storage: device_reset called Sep 16 18:03:43 localhost kernel: usb-storage: No reset during disconnect Sep 16 18:03:43 localhost kernel: usb-storage: bus_reset called Sep 16 18:03:43 localhost kernel: usb-storage: No reset during disconnect and in /var/log/messages: Sep 16 18:03:38 localhost kernel: usb 1-2: USB disconnect, address 2 Sep 16 18:03:43 localhost kernel: scsi: Device offlined - not ready after error recovery: host 0 channel 0 id 0 lun 0 Sep 16 18:03:43 localhost kernel: Badness in scsi_device_set_state at drivers/scsi/scsi_lib.c:1688 Sep 16 18:03:43 localhost kernel: [<cf92d24f>] scsi_device_set_state+0xc4/0x112 [scsi_mod]Sep 16 18:03:43 localhost kernel: [<cf92afa0>] scsi_eh_offline_sdevs+0x64/0x80 [scsi_mod] Sep 16 18:03:43 localhost kernel: [<cf92b4b0>] scsi_unjam_host+0xb6/0x1eb [scsi_mod] Sep 16 18:03:43 localhost kernel: [<c0115777>] default_wake_function+0x0/0x12 Sep 16 18:03:43 localhost kernel: [<cf92b6b4>] scsi_error_handler+0xcf/0x16b [scsi_mod] Sep 16 18:03:43 localhost kernel: [<cf92b5e5>] scsi_error_handler+0x0/0x16b [scsi_mod] Sep 16 18:03:43 localhost kernel: [<c010425d>] kernel_thread_helper+0x5/0xb Sep 16 18:03:43 localhost kernel: Badness in kref_get at lib/kref.c:32 Sep 16 18:03:43 localhost kernel: [<c01aa017>] kref_get+0x44/0x46 Sep 16 18:03:43 localhost kernel: [<c01a9c65>] kobject_get+0x1a/0x24 Sep 16 18:03:43 localhost kernel: [<c0218ec6>] get_device+0x18/0x21 Sep 16 18:03:43 localhost kernel: [<cf92c9c4>] scsi_request_fn+0x25/0x367 [scsi_mod] Sep 16 18:03:43 localhost kernel: [<c021f1e2>] blk_insert_request+0xae/0xcc Sep 16 18:03:43 localhost kernel: [<c0106428>] dump_stack+0x1c/0x20 Sep 16 18:03:43 localhost kernel: [<cf92ba11>] scsi_queue_insert+0x89/0xd0 [scsi_mod] Sep 16 18:03:43 localhost kernel: [<cf92b381>] scsi_eh_flush_done_q+0x6f/0xe8 [scsi_mod] Sep 16 18:03:43 localhost kernel: [<cf92b47c>] scsi_unjam_host+0x82/0x1eb [scsi_mod] Sep 16 18:03:43 localhost kernel: [<c0115777>] default_wake_function+0x0/0x12 Sep 16 18:03:43 localhost kernel: [<cf92b6b4>] scsi_error_handler+0xcf/0x16b [scsi_mod] Sep 16 18:03:43 localhost kernel: [<cf92b5e5>] scsi_error_handler+0x0/0x16b [scsi_mod] Sep 16 18:03:43 localhost kernel: [<c010425d>] kernel_thread_helper+0x5/0xb Sep 16 18:03:43 localhost kernel: cf92ee79 Sep 16 18:03:43 localhost kernel: Modules linked in: ipv6 thermal fan button processor ac battery microcode sr_mod usb_storage uhci_hcd ohci_hcd ehci_hcd usbcore ext2 dm_mod eepro100 mii toshiba_acpi psmouse pcspkr msr snd_seq_midi snd_intel8x0 snd_ac97_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc gameport snd_mpu401_uart snd_rawmidi snd_seq_oss snd_seq_midi_event snd_seq snd_timer snd_seq_device snd soundcore ide_cd cdrom sd_mod scsi_mod rtc unix ............... Ask me for more details, And i'll give you as much as you need! Thanks for your time and efforts. -- ---------------- -- Katoob Main Developer Linux registered user #224950, ICQ #58475622 -- Don't send me any attachment in Micro$oft (.DOC, .PPT) format please Read http://www.fsf.org/philosophy/no-word-attachments.html Preferable attachments: .PDF, .HTML, .TXT Thanx for adding this text to Your signature -- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCM/IT d-(++)@ s+(++):->+++ a-- C+++$>++++ UL+++$>++++ P+++$>+++++ L+++(++++)$>+++++ E>+++ W++?>$ N+>+++ o? K-? !w++ !O !M !V !PS@ !PE@ Y+ PGP=+++ t? 5? !X R? tv-- b+@ DI D+ G-- e++>+++ h-->++ !r y? ------END GEEK CODE BLOCK------
signature.asc
Description: Digital signature
