On Wed, Sep 15, 2004 at 11:51:52AM -0400, Alan Stern wrote:
> On Wed, 15 Sep 2004, Mohammed Sameer wrote:
> 
> > > > # lsusb
> > > > Bus 002 Device 001: ID 0000:0000  
> > > > Bus 001 Device 003: ID 05e3:0701 Genesys Logic, Inc. Optical Device
> > > > Bus 001 Device 001: ID 0000:0000  
> > > > 
> > > > lsusb is not identifying it correctly, Can this be the problem ?
> > > 
> > > What do you mean, not correctly?  What's wrong with the above?  Does it
> > > disagree with the information in /proc/bus/usb/devices?  Does lsusb
> > > identify the drive differently under ealier versions of the kernel?
> > > 
> > what I meant is that the device is MSI, not Genesys Logic!
> 
> There are actually _two_ devices involved.  One is the CD drive itself, 
> which is manufactured by MSI.  The other is the enclosure with its USB-IDE 
> interface; that is made by Genesys Logic.  So naturally enough, one shows 
> up in /proc/scsi/scsi and the other shows up in /proc/bus/usb/devices.
> 
Yes, I've got it, thanks.
VIVA 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
Sep 15 23:35:04 localhost kernel: Badness in kref_get at lib/kref.c:32
Sep 15 23:35:04 localhost kernel:  [<c01aa017>] kref_get+0x44/0x46
Sep 15 23:35:04 localhost kernel:  [<c01a9c65>] kobject_get+0x1a/0x24
Sep 15 23:35:04 localhost kernel:  [<c0218ec6>] get_device+0x18/0x21
Sep 15 23:35:04 localhost kernel:  [<cf92c9c4>] scsi_request_fn+0x25/0x367 [scsi_mod]
Sep 15 23:35:04 localhost kernel:  [<c021f1e2>] blk_insert_request+0xae/0xcc
Sep 15 23:35:04 localhost kernel:  [<c0106428>] dump_stack+0x1c/0x20
Sep 15 23:35:04 localhost kernel:  [<cf92ba11>] scsi_queue_insert+0x89/0xd0 [scsi_mod]
Sep 15 23:35:04 localhost kernel:  [<cf92b381>] scsi_eh_flush_done_q+0x6f/0xe8 
[scsi_mod]
Sep 15 23:35:04 localhost kernel:  [<cf92b47c>] scsi_unjam_host+0x82/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
Sep 15 23:35:04 localhost kernel: cf92ee79
Sep 15 23:35:04 localhost kernel: Modules linked in: sr_mod usb_storage ipv6 thermal 
fan button processor ac battery microcode 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
Sep 15 23:35:04 localhost kernel: CPU:    0
Sep 15 23:35:04 localhost kernel: EIP:    0060:[<cf92ee79>]    Not tainted VLI
Sep 15 23:35:04 localhost kernel: EFLAGS: 00010082   (2.6.9-rc2-Uniball-1) 
Sep 15 23:35:04 localhost kernel: EIP is at scsi_device_dev_release+0x26/0xeb 
[scsi_mod]
Sep 15 23:35:04 localhost kernel: eax: ca09b984   ebx: ca09b808   ecx: 00200200   edx: 
00100100
Sep 15 23:35:04 localhost kernel: esi: ca09b800   edi: 00000282   ebp: cef2aab4   esp: 
ca0c3e80
Sep 15 23:35:04 localhost kernel: ds: 007b   es: 007b   ss: 0068
Sep 15 23:35:04 localhost kernel: Process scsi_eh_0 (pid: 1990, threadinfo=ca0c2000 
task=cd8be020)
Sep 15 23:35:04 localhost kernel: Stack: 00000046 ca09b9a8 c0334488 c03344a0 cef2aad8 
c0218bf8 ca09b984 ca09b9a8 
Sep 15 23:35:04 localhost kernel:        c0334488 c03344a0 c01a9d07 ca09b9a8 ca09b9c0 
c01a9d09 cef2aa00 cec78128 
Sep 15 23:35:04 localhost kernel:        c01aa052 ca09b9a8 cef2aa00 cec78128 ca09b984 
cef3ecb0 ca09b800 c01a9d31 
Sep 15 23:35:04 localhost kernel: Call Trace:
Sep 15 23:35:04 localhost kernel:  [<c0218bf8>] device_release+0x58/0x5c
Sep 15 23:35:04 localhost kernel:  [<c01a9d07>] kobject_cleanup+0x98/0x9a
Sep 15 23:35:04 localhost kernel:  [<c01a9d09>] kobject_release+0x0/0xa
Sep 15 23:35:04 localhost kernel:  [<c01aa052>] kref_put+0x39/0x93
Sep 15 23:35:04 localhost kernel:  [<c01a9d31>] kobject_put+0x1e/0x22
Sep 15 23:35:04 localhost kernel:  [<c01a9d09>] kobject_release+0x0/0xa
Sep 15 23:35:04 localhost kernel:  [<cf92cb82>] scsi_request_fn+0x1e3/0x367 [scsi_mod]
Sep 15 23:35:04 localhost kernel:  [<c021f1e2>] blk_insert_request+0xae/0xcc
Sep 15 23:35:04 localhost kernel:  [<c0106428>] dump_stack+0x1c/0x20
Sep 15 23:35:04 localhost kernel:  [<cf92ba11>] scsi_queue_insert+0x89/0xd0 [scsi_mod]
Sep 15 23:35:04 localhost kernel:  [<cf92b381>] scsi_eh_flush_done_q+0x6f/0xe8 
[scsi_mod]
Sep 15 23:35:04 localhost kernel:  [<cf92b47c>] scsi_unjam_host+0x82/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
Sep 15 23:35:04 localhost kernel: Code: e9 7c a0 8e f0 55 57 56 53 83 ec 04 8b 44 24 
18 8b 68 20 8d b0 7c fe ff ff 9c 5f fa 8d 98 84 fe ff ff 8b 90 84 fe ff ff 8b 4b 04 
<89> 4a 04 89 11 c7 43 04 00 02 20 00 8d 98 8c fe ff ff 8b 90 8c 
Sep 15 23:35:04 localhost kernel:  Badness in kref_get at lib/kref.c:32
Sep 15 23:35:04 localhost kernel:  [<c01aa017>] kref_get+0x44/0x46
Sep 15 23:35:04 localhost kernel:  [<c01a9c65>] kobject_get+0x1a/0x24
Sep 15 23:35:04 localhost kernel:  [<c0218ec6>] get_device+0x18/0x21
Sep 15 23:35:04 localhost kernel:  [<cf92c9c4>] scsi_request_fn+0x25/0x367 [scsi_mod]
Sep 15 23:35:04 localhost kernel:  [<c021cd3e>] elv_next_request+0x10/0xfc
Sep 15 23:35:04 localhost kernel:  [<c021e93f>] blk_unplug_work+0x0/0x14
Sep 15 23:35:04 localhost kernel:  [<c021e905>] __generic_unplug_device+0x3e/0x40
Sep 15 23:35:04 localhost kernel:  [<c021e917>] generic_unplug_device+0x10/0x15
Sep 15 23:35:04 localhost kernel:  [<c021e94f>] blk_unplug_work+0x10/0x14
Sep 15 23:35:04 localhost kernel:  [<c0125c57>] worker_thread+0x1a0/0x23b
Sep 15 23:35:04 localhost kernel:  [<c0115777>] default_wake_function+0x0/0x12
Sep 15 23:35:04 localhost kernel:  [<c0115777>] default_wake_function+0x0/0x12
Sep 15 23:35:04 localhost kernel:  [<c0125ab7>] worker_thread+0x0/0x23b
Sep 15 23:35:04 localhost kernel:  [<c0129345>] kthread+0xa5/0xab
Sep 15 23:35:04 localhost kernel:  [<c01292a0>] kthread+0x0/0xab
Sep 15 23:35:04 localhost kernel:  [<c010425d>] kernel_thread_helper+0x5/0xb
Sep 15 23:35:04 localhost kernel: cf92ee79
Sep 15 23:35:04 localhost kernel: Modules linked in: sr_mod usb_storage ipv6 thermal 
fan button processor ac battery microcode 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
Sep 15 23:35:04 localhost kernel: CPU:    0
Sep 15 23:35:04 localhost kernel: EIP:    0060:[<cf92ee79>]    Not tainted VLI
Sep 15 23:35:04 localhost kernel: EFLAGS: 00010082   (2.6.9-rc2-Uniball-1) 
Sep 15 23:35:04 localhost kernel: EIP is at scsi_device_dev_release+0x26/0xeb 
[scsi_mod]
Sep 15 23:35:04 localhost kernel: eax: ca09b984   ebx: ca09b808   ecx: 00200200   edx: 
00100100
Sep 15 23:35:04 localhost kernel: esi: ca09b800   edi: 00000282   ebp: cef2aab4   esp: 
c1341ea4
Sep 15 23:35:04 localhost kernel: ds: 007b   es: 007b   ss: 0068
Sep 15 23:35:04 localhost kernel: Process kblockd/0 (pid: 36, threadinfo=c1340000 
task=c12afaa0)
Sep 15 23:35:04 localhost kernel: Stack: 00000046 ca09b9a8 c0334488 c03344a0 cef2aad8 
c0218bf8 ca09b984 ca09b9a8 
Sep 15 23:35:04 localhost kernel:        c0334488 c03344a0 c01a9d07 ca09b9a8 ca09b9c0 
c01a9d09 cef2aa00 cec78128 
Sep 15 23:35:04 localhost kernel:        c01aa052 ca09b9a8 cef2aa00 cec78128 ca09b984 
cef3ecb0 ca09b800 c01a9d31 
Sep 15 23:35:04 localhost kernel: Call Trace:
Sep 15 23:35:04 localhost kernel:  [<c0218bf8>] device_release+0x58/0x5c
Sep 15 23:35:04 localhost kernel:  [<c01a9d07>] kobject_cleanup+0x98/0x9a
Sep 15 23:35:04 localhost kernel:  [<c01a9d09>] kobject_release+0x0/0xa
Sep 15 23:35:04 localhost kernel:  [<c01aa052>] kref_put+0x39/0x93
Sep 15 23:35:04 localhost kernel:  [<c01a9d31>] kobject_put+0x1e/0x22
Sep 15 23:35:04 localhost kernel:  [<c01a9d09>] kobject_release+0x0/0xa
Sep 15 23:35:04 localhost kernel:  [<cf92cb82>] scsi_request_fn+0x1e3/0x367 [scsi_mod]
Sep 15 23:35:04 localhost kernel:  [<c021cd3e>] elv_next_request+0x10/0xfc
Sep 15 23:35:04 localhost kernel:  [<c021e93f>] blk_unplug_work+0x0/0x14
Sep 15 23:35:04 localhost kernel:  [<c021e905>] __generic_unplug_device+0x3e/0x40
Sep 15 23:35:04 localhost kernel:  [<c021e917>] generic_unplug_device+0x10/0x15
Sep 15 23:35:04 localhost kernel:  [<c021e94f>] blk_unplug_work+0x10/0x14
Sep 15 23:35:04 localhost kernel:  [<c0125c57>] worker_thread+0x1a0/0x23b
Sep 15 23:35:04 localhost kernel:  [<c0115777>] default_wake_function+0x0/0x12
Sep 15 23:35:04 localhost kernel:  [<c0115777>] default_wake_function+0x0/0x12
Sep 15 23:35:04 localhost kernel:  [<c0125ab7>] worker_thread+0x0/0x23b
Sep 15 23:35:04 localhost kernel:  [<c0129345>] kthread+0xa5/0xab
Sep 15 23:35:04 localhost kernel:  [<c01292a0>] kthread+0x0/0xab
Sep 15 23:35:04 localhost kernel:  [<c010425d>] kernel_thread_helper+0x5/0xb
Sep 15 23:35:04 localhost kernel: Code: e9 7c a0 8e f0 55 57 56 53 83 ec 04 8b 44 24 
18 8b 68 20 8d b0 7c fe ff ff 9c 5f fa 8d 98 84 fe ff ff 8b 90 84 fe ff ff 8b 4b 04 
<89> 4a 04 89 11 c7 43 04 00 02 20 00 8d 98 8c fe ff ff 8b 90 8c 

-- 
----------------
-- 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------

Attachment: signature.asc
Description: Digital signature

Reply via email to