vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I am running sarge with the 2.6.8 kernel on a Dell Inspiron 1100 laptop. I've got a usb cd/dvd rw drive. I have no problem plugging it in and using it. But when I unplug it, the system freezes. It doesn't happen immediately but after a minute or so. It's device file is /dev/scd0 and it mounts at /media/cdrecorder. Here's the dmesg listing from when I plug it in and after I unplug it (and before it freezes): usb 4-3: new high speed USB device using address 4 scsi1 : SCSI emulation for USB Mass Storage devices Vendor: DVDRW Model: USB 16X Rev: A087 Type: CD-ROM ANSI SCSI revision: 02 USB Mass Storage device found at 4 sr0: scsi3-mmc drive: 48x/48x writer cd/rw xa/form2 cdda tray Attached scsi CD-ROM sr0 at scsi1, channel 0, id 0, lun 0 Attached scsi generic sg0 at scsi1, channel 0, id 0, lun 0, type 5 ISO 9660 Extensions: Microsoft Joliet Level 3 ISO 9660 Extensions: RRIP_1991A usb 4-3: USB disconnect, address 4 scsi: Device offlined - not ready after error recovery: host 1 channel 0 id 0 lun 0 sr 1:0:0:0: Illegal state transition cancel->offline Badness in scsi_device_set_state at drivers/scsi/scsi_lib.c:1643 [<d0e225ea>] scsi_device_set_state+0xc4/0xcf [scsi_mod] [<d0e2075d>] scsi_eh_offline_sdevs+0x47/0x60 [scsi_mod] [<d0e20d3d>] scsi_unjam_host+0x18d/0x1a2 [scsi_mod] [<d0e20e68>] scsi_error_handler+0x116/0x15a [scsi_mod] [<d0e20d52>] scsi_error_handler+0x0/0x15a [scsi_mod] [<c01041e1>] kernel_thread_helper+0x5/0xb Badness in kobject_get at lib/kobject.c:433 [<c018c93a>] kobject_get+0x2e/0x38 [<c01d3ecc>] get_device+0x13/0x1a [<d0e21ebd>] scsi_request_fn+0x20/0x35b [scsi_mod] [<c01d8d2c>] blk_insert_request+0x87/0xa9 [<d0e21155>] scsi_queue_insert+0x84/0x8e [scsi_mod] [<d0e20b58>] scsi_eh_flush_done_q+0x7e/0xd6 [scsi_mod] [<d0e20d4a>] scsi_unjam_host+0x19a/0x1a2 [scsi_mod] [<d0e20e68>] scsi_error_handler+0x116/0x15a [scsi_mod] [<d0e20d52>] scsi_error_handler+0x0/0x15a [scsi_mod] [<c01041e1>] kernel_thread_helper+0x5/0xb Unable to handle kernel paging request at virtual address 00100104 printing eip: d0e23ceb *pde = 06e15067 *pte = 00000000 Oops: 0002 [#1] PREEMPT Modules linked in: sg sr_mod nls_iso8859_1 nls_cp437 vfat fat sd_mod usb_storage scsi_mod thermal fan button processor ac battery i830 parport_pc lp parport ipv6 isofs ds af_packet pcspkr snd_intel8x0m snd_intel8x0 snd_ac97_codec snd_pcm snd_timer snd_page_alloc gameport snd_mpu401_uart snd_rawmidi snd_seq_device snd pci_hotplug hw_random intel_agp agpgart ehci_hcd usblp uhci_hcd usbcore i810_audio ac97_codec soundcore b44 mii yenta_socket pcmcia_core tsdev mousedev joydev evdev capability commoncap psmouse ide_cd cdrom genrtc ext3 jbd ide_generic piix ide_disk ide_core unix font vesafb cfbcopyarea cfbimgblt cfbfillrect CPU: 0 EIP: 0060:[<d0e23ceb>] Not tainted EFLAGS: 00010002 (2.6.8-2-386) EIP is at scsi_device_dev_release+0x2d/0xf9 [scsi_mod] eax: 00100100 ebx: cf406008 ecx: 00200200 edx: cf406184 esi: cf406000 edi: 00000286 ebp: cfb054b4 esp: c35efef0 ds: 007b es: 007b ss: 0068 Process scsi_eh_1 (pid: 26283, threadinfo=c35ee000 task=ce50a6c0) Stack: cf4061a8 c02cbc08 c02cbc20 cfb054d8 c01d3c89 cf406184 c018c984 cf4061a8 c35ee000 ca7dcb00 cf406000 c286fe2c d0e221ed cf4061a8 cfb05400 cfb058b0 ca7dcb00 c286fe2c 00000202 c01d8d2c c286fe2c cf406000 ca7dcb00 cfb05400 Call Trace: [<c01d3c89>] device_release+0x14/0x44 [<c018c984>] kobject_cleanup+0x40/0x65 [<d0e221ed>] scsi_request_fn+0x350/0x35b [scsi_mod] [<c01d8d2c>] blk_insert_request+0x87/0xa9 [<d0e21155>] scsi_queue_insert+0x84/0x8e [scsi_mod] [<d0e20b58>] scsi_eh_flush_done_q+0x7e/0xd6 [scsi_mod] [<d0e20d4a>] scsi_unjam_host+0x19a/0x1a2 [scsi_mod] [<d0e20e68>] scsi_error_handler+0x116/0x15a [scsi_mod] [<d0e20d52>] scsi_error_handler+0x0/0x15a [scsi_mod] [<c01041e1>] kernel_thread_helper+0x5/0xb Code: 89 48 04 89 01 c7 43 04 00 02 20 00 8d 9a 8c fe ff ff 8b 4b <6>note: scsi_eh_1[26283] exited with preempt_count 1 Badness in kobject_get at lib/kobject.c:433 [<c018c93a>] kobject_get+0x2e/0x38 [<c01d3ecc>] get_device+0x13/0x1a [<d0e21ebd>] scsi_request_fn+0x20/0x35b [scsi_mod] [<c01d858e>] __generic_unplug_device+0x2c/0x2f [<c01d85a7>] generic_unplug_device+0x16/0x2a [<c01d85df>] blk_unplug_work+0xb/0xd [<c0124c52>] worker_thread+0x19c/0x22a [<c01d85d4>] blk_unplug_work+0x0/0xd [<c01161b1>] default_wake_function+0x0/0x12 [<c01161b1>] default_wake_function+0x0/0x12 [<c0124ab6>] worker_thread+0x0/0x22a [<c0127b06>] kthread+0x6d/0x97 [<c0127a99>] kthread+0x0/0x97 [<c01041e1>] kernel_thread_helper+0x5/0xb Unable to handle kernel paging request at virtual address 00100104 printing eip: d0e23ceb *pde = 06e15067 *pte = 00000000 Oops: 0002 [#2] PREEMPT Modules linked in: sg sr_mod nls_iso8859_1 nls_cp437 vfat fat sd_mod usb_storage scsi_mod thermal fan button processor ac battery i830 parport_pc lp parport ipv6 isofs ds af_packet pcspkr snd_intel8x0m snd_intel8x0 snd_ac97_codec snd_pcm snd_timer snd_page_alloc gameport snd_mpu401_uart snd_rawmidi snd_seq_device snd pci_hotplug hw_random intel_agp agpgart ehci_hcd usblp uhci_hcd usbcore i810_audio ac97_codec soundcore b44 mii yenta_socket pcmcia_core tsdev mousedev joydev evdev capability commoncap psmouse ide_cd cdrom genrtc ext3 jbd ide_generic piix ide_disk ide_core unix font vesafb cfbcopyarea cfbimgblt cfbfillrect CPU: 0 EIP: 0060:[<d0e23ceb>] Not tainted EFLAGS: 00010002 (2.6.8-2-386) EIP is at scsi_device_dev_release+0x2d/0xf9 [scsi_mod] eax: 00100100 ebx: cf406008 ecx: 00200200 edx: cf406184 esi: cf406000 edi: 00000286 ebp: cfb054b4 esp: cf4ebef8 ds: 007b es: 007b ss: 0068 Process kblockd/0 (pid: 33, threadinfo=cf4ea000 task=cf4e96f0) Stack: cf4061a8 c02cbc08 c02cbc20 cfb054d8 c01d3c89 cf406184 c018c984 cf4061a8 cf4ea000 cf4ea000 cf406000 c286fe2c d0e221ed cf4061a8 cfb05400 c286fe2c cf4ea000 c286ff1c 00000293 c01d858e c286fe2c cf4ea000 c01d85a7 c286fe2c Call Trace: [<c01d3c89>] device_release+0x14/0x44 [<c018c984>] kobject_cleanup+0x40/0x65 [<d0e221ed>] scsi_request_fn+0x350/0x35b [scsi_mod] [<c01d858e>] __generic_unplug_device+0x2c/0x2f [<c01d85a7>] generic_unplug_device+0x16/0x2a [<c01d85df>] blk_unplug_work+0xb/0xd [<c0124c52>] worker_thread+0x19c/0x22a [<c01d85d4>] blk_unplug_work+0x0/0xd [<c01161b1>] default_wake_function+0x0/0x12 [<c01161b1>] default_wake_function+0x0/0x12 [<c0124ab6>] worker_thread+0x0/0x22a [<c0127b06>] kthread+0x6d/0x97 [<c0127a99>] kthread+0x0/0x97 [<c01041e1>] kernel_thread_helper+0x5/0xb Code: 89 48 04 89 01 c7 43 04 00 02 20 00 8d 9a 8c fe ff ff 8b 4b <6>note: kblockd/0[33] exited with preempt_count 1 Can someone help me figure out what's happening? |
| |||
| On Sat, 2006-07-08 at 00:17 +0000, Ed LaBonte wrote: > I am running sarge with the 2.6.8 kernel on a Dell Inspiron 1100 laptop. > I've got a usb cd/dvd rw drive. I have no problem plugging it in and using > it. But when I unplug it, the system freezes. It doesn't happen > immediately but after a minute or so. It's device file is /dev/scd0 and it > mounts at /media/cdrecorder. Here's the dmesg listing from when I plug it > in and after I unplug it (and before it freezes): > > usb 4-3: new high speed USB device using address 4 scsi1 : SCSI emulation > for USB Mass Storage devices > Vendor: DVDRW Model: USB 16X Rev: A087 Type: CD-ROM > ANSI SCSI revision: 02 > USB Mass Storage device found at 4 > sr0: scsi3-mmc drive: 48x/48x writer cd/rw xa/form2 cdda tray Attached > scsi CD-ROM sr0 at scsi1, channel 0, id 0, lun 0 Attached scsi generic sg0 > at scsi1, channel 0, id 0, lun 0, type 5 ISO 9660 Extensions: Microsoft > Joliet Level 3 ISO 9660 Extensions: RRIP_1991A > usb 4-3: USB disconnect, address 4 > scsi: Device offlined - not ready after error recovery: host 1 channel 0 > id 0 lun 0 sr 1:0:0:0: Illegal state transition cancel->offline Badness in > scsi_device_set_state at drivers/scsi/scsi_lib.c:1643 > [<d0e225ea>] scsi_device_set_state+0xc4/0xcf [scsi_mod] [<d0e2075d>] > scsi_eh_offline_sdevs+0x47/0x60 [scsi_mod] [<d0e20d3d>] > scsi_unjam_host+0x18d/0x1a2 [scsi_mod] [<d0e20e68>] > scsi_error_handler+0x116/0x15a [scsi_mod] [<d0e20d52>] > scsi_error_handler+0x0/0x15a [scsi_mod] [<c01041e1>] > kernel_thread_helper+0x5/0xb > Badness in kobject_get at lib/kobject.c:433 > [<c018c93a>] kobject_get+0x2e/0x38 > [<c01d3ecc>] get_device+0x13/0x1a > [<d0e21ebd>] scsi_request_fn+0x20/0x35b [scsi_mod] [<c01d8d2c>] > blk_insert_request+0x87/0xa9 [<d0e21155>] scsi_queue_insert+0x84/0x8e > [scsi_mod] [<d0e20b58>] scsi_eh_flush_done_q+0x7e/0xd6 [scsi_mod] > [<d0e20d4a>] scsi_unjam_host+0x19a/0x1a2 [scsi_mod] [<d0e20e68>] > scsi_error_handler+0x116/0x15a [scsi_mod] [<d0e20d52>] > scsi_error_handler+0x0/0x15a [scsi_mod] [<c01041e1>] > kernel_thread_helper+0x5/0xb > Unable to handle kernel paging request at virtual address 00100104 > printing eip: > d0e23ceb > *pde = 06e15067 > *pte = 00000000 > Oops: 0002 [#1] > PREEMPT > Modules linked in: sg sr_mod nls_iso8859_1 nls_cp437 vfat fat sd_mod > usb_storage scsi_mod thermal fan button processor ac battery i830 > parport_pc lp parport ipv6 isofs ds af_packet pcspkr snd_intel8x0m > snd_intel8x0 snd_ac97_codec snd_pcm snd_timer snd_page_alloc gameport > snd_mpu401_uart snd_rawmidi snd_seq_device snd pci_hotplug hw_random > intel_agp agpgart ehci_hcd usblp uhci_hcd usbcore i810_audio ac97_codec > soundcore b44 mii yenta_socket pcmcia_core tsdev mousedev joydev evdev > capability commoncap psmouse ide_cd cdrom genrtc ext3 jbd ide_generic piix > ide_disk ide_core unix font vesafb cfbcopyarea cfbimgblt cfbfillrect CPU: > 0 > EIP: 0060:[<d0e23ceb>] Not tainted EFLAGS: 00010002 (2.6.8-2-386) > EIP is at scsi_device_dev_release+0x2d/0xf9 [scsi_mod] eax: 00100100 > ebx: cf406008 ecx: 00200200 edx: cf406184 esi: cf406000 edi: > 00000286 ebp: cfb054b4 esp: c35efef0 ds: 007b es: 007b ss: 0068 > Process scsi_eh_1 (pid: 26283, threadinfo=c35ee000 task=ce50a6c0) Stack: > cf4061a8 c02cbc08 c02cbc20 cfb054d8 c01d3c89 cf406184 c018c984 cf4061a8 > c35ee000 ca7dcb00 cf406000 c286fe2c d0e221ed cf4061a8 cfb05400 > cfb058b0 ca7dcb00 c286fe2c 00000202 c01d8d2c c286fe2c cf406000 > ca7dcb00 cfb05400 > Call Trace: > [<c01d3c89>] device_release+0x14/0x44 [<c018c984>] > kobject_cleanup+0x40/0x65 [<d0e221ed>] scsi_request_fn+0x350/0x35b > [scsi_mod] [<c01d8d2c>] blk_insert_request+0x87/0xa9 [<d0e21155>] > scsi_queue_insert+0x84/0x8e [scsi_mod] [<d0e20b58>] > scsi_eh_flush_done_q+0x7e/0xd6 [scsi_mod] [<d0e20d4a>] > scsi_unjam_host+0x19a/0x1a2 [scsi_mod] [<d0e20e68>] > scsi_error_handler+0x116/0x15a [scsi_mod] [<d0e20d52>] > scsi_error_handler+0x0/0x15a [scsi_mod] [<c01041e1>] > kernel_thread_helper+0x5/0xb > Code: 89 48 04 89 01 c7 43 04 00 02 20 00 8d 9a 8c fe ff ff 8b 4b > <6>note: scsi_eh_1[26283] exited with preempt_count 1 > Badness in kobject_get at lib/kobject.c:433 > [<c018c93a>] kobject_get+0x2e/0x38 > [<c01d3ecc>] get_device+0x13/0x1a > [<d0e21ebd>] scsi_request_fn+0x20/0x35b [scsi_mod] [<c01d858e>] > __generic_unplug_device+0x2c/0x2f [<c01d85a7>] > generic_unplug_device+0x16/0x2a [<c01d85df>] blk_unplug_work+0xb/0xd > [<c0124c52>] worker_thread+0x19c/0x22a [<c01d85d4>] > blk_unplug_work+0x0/0xd > [<c01161b1>] default_wake_function+0x0/0x12 [<c01161b1>] > default_wake_function+0x0/0x12 [<c0124ab6>] worker_thread+0x0/0x22a > [<c0127b06>] kthread+0x6d/0x97 > [<c0127a99>] kthread+0x0/0x97 > [<c01041e1>] kernel_thread_helper+0x5/0xb > Unable to handle kernel paging request at virtual address 00100104 > printing eip: > d0e23ceb > *pde = 06e15067 > *pte = 00000000 > Oops: 0002 [#2] > PREEMPT > Modules linked in: sg sr_mod nls_iso8859_1 nls_cp437 vfat fat sd_mod > usb_storage scsi_mod thermal fan button processor ac battery i830 > parport_pc lp parport ipv6 isofs ds af_packet pcspkr snd_intel8x0m > snd_intel8x0 snd_ac97_codec snd_pcm snd_timer snd_page_alloc gameport > snd_mpu401_uart snd_rawmidi snd_seq_device snd pci_hotplug hw_random > intel_agp agpgart ehci_hcd usblp uhci_hcd usbcore i810_audio ac97_codec > soundcore b44 mii yenta_socket pcmcia_core tsdev mousedev joydev evdev > capability commoncap psmouse ide_cd cdrom genrtc ext3 jbd ide_generic piix > ide_disk ide_core unix font vesafb cfbcopyarea cfbimgblt cfbfillrect CPU: > 0 > EIP: 0060:[<d0e23ceb>] Not tainted EFLAGS: 00010002 (2.6.8-2-386) > EIP is at scsi_device_dev_release+0x2d/0xf9 [scsi_mod] eax: 00100100 > ebx: cf406008 ecx: 00200200 edx: cf406184 esi: cf406000 edi: > 00000286 ebp: cfb054b4 esp: cf4ebef8 ds: 007b es: 007b ss: 0068 > Process kblockd/0 (pid: 33, threadinfo=cf4ea000 task=cf4e96f0) Stack: > cf4061a8 c02cbc08 c02cbc20 cfb054d8 c01d3c89 cf406184 c018c984 cf4061a8 > cf4ea000 cf4ea000 cf406000 c286fe2c d0e221ed cf4061a8 cfb05400 > c286fe2c cf4ea000 c286ff1c 00000293 c01d858e c286fe2c cf4ea000 > c01d85a7 c286fe2c > Call Trace: > [<c01d3c89>] device_release+0x14/0x44 [<c018c984>] > kobject_cleanup+0x40/0x65 [<d0e221ed>] scsi_request_fn+0x350/0x35b > [scsi_mod] [<c01d858e>] __generic_unplug_device+0x2c/0x2f [<c01d85a7>] > generic_unplug_device+0x16/0x2a [<c01d85df>] blk_unplug_work+0xb/0xd > [<c0124c52>] worker_thread+0x19c/0x22a [<c01d85d4>] > blk_unplug_work+0x0/0xd > [<c01161b1>] default_wake_function+0x0/0x12 [<c01161b1>] > default_wake_function+0x0/0x12 [<c0124ab6>] worker_thread+0x0/0x22a > [<c0127b06>] kthread+0x6d/0x97 > [<c0127a99>] kthread+0x0/0x97 > [<c01041e1>] kernel_thread_helper+0x5/0xb > Code: 89 48 04 89 01 c7 43 04 00 02 20 00 8d 9a 8c fe ff ff 8b 4b > <6>note: kblockd/0[33] exited with preempt_count 1 > > Can someone help me figure out what's happening? Do you unmount the device? -- Jeremy Boden |
| ||||
| On Sat, 08 Jul 2006 10:02:14 +0100, Jeremy Boden wrote: >> Can someone help me figure out what's happening? > > Do you unmount the device? Yes, I unmount it. I listed dmesg after mounting, accessing, and unmounting and it the "tail" of the dmesg each time was: usb 4-3: new high speed USB device using address 4 scsi1 : SCSI emulation for USB Mass Storage devices Vendor: DVDRW Model: USB 16X Rev: A087 Type: CD-ROM ANSI SCSI revision: 02 USB Mass Storage device found at 4 sr0: scsi3-mmc drive: 48x/48x writer cd/rw xa/form2 cdda tray Attached scsi CD-ROM sr0 at scsi1, channel 0, id 0, lun 0 Attached scsi generic sg0 at scsi1, channel 0, id 0, lun 0, type 5 ISO 9660 Extensions: Microsoft Joliet Level 3 ISO 9660 Extensions: RRIP_1991A |