[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#319457: kernel-image-2.6.8-2-k7: DVD Burning with ide-scsi : oops the kernel, hangs ide-scsi



On Fri, 22 Jul 2005, A Mennucc wrote:

> I just bought a DVD Burner; I wanted to burn stuff, so I loaded
> ide-scsi (since this was the way to go some years ago - I did not 
> know that now is deprecated) ; the command 
> $ dvdrecord dev=1,0,0 -v -dummy -dao  debian-31r0a-i386-binary-1.iso
> segfaulted, and its fork started printing:
>  dvdrecord: No such device or address. Cannot send SCSI cmd via ioctl

indeed don't use ide-scsi.
did you specify it for the bootloader?

cdrecord allows you to specifies your ide devices that way:
cdrecord dev=/dev/hdd
 
> Moreover the kernel oopsed (NULL pointer dereference)
> and then the module ide-scsi seems dead
> (cannot remove it, does not respond); see dmesg in attachment

yes it's not maintained, known fact.

<snipp>
> cdrom: This disc doesn't have any tracks I recognize!
> Uniform CD-ROM driver unloaded
> SCSI subsystem initialized
> ide-scsi is deprecated for cd burning! Use ide-cd and give dev=/dev/hdX as device
> scsi0 : SCSI host adapter emulation for IDE ATAPI devices
>   Vendor: LG        Model: CD-RW CED-8120B   Rev: 2.00
>   Type:   CD-ROM                             ANSI SCSI revision: 02
> scsi1 : SCSI host adapter emulation for IDE ATAPI devices
>   Vendor: HL-DT-ST  Model: DVDRAM GSA-4163B  Rev: A103
>   Type:   CD-ROM                             ANSI SCSI revision: 02
> sr0: scsi3-mmc drive: 24x/32x writer cd/rw xa/form2 cdda tray
> Uniform CD-ROM driver Revision: 3.20
> Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
> sr1: scsi3-mmc drive: 78x/78x writer dvd-ram cd/rw xa/form2 cdda tray
> Attached scsi CD-ROM sr1 at scsi1, channel 0, id 0, lun 0
> Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 5
> Attached scsi generic sg1 at scsi1, channel 0, id 0, lun 0,  type 5
> cdrom: This disc doesn't have any tracks I recognize!
> ide-scsi: No active request in idescsi_eh_reset
> scsi: Device offlined - not ready after error recovery: host 1 channel 0 id 0 lun 0
> SCSI error: host 1 id 0 lun 0 return code = 6000000
> 	Sense class 0, sense error 0, extended sense 0
> scsi1 (0:0): rejecting I/O to offline device
> SCSI error: host 1 id 0 lun 0 return code = 4000000
> 	Sense class 0, sense error 0, extended sense 0
> Unable to handle kernel NULL pointer dereference at virtual address 000001e0
>  printing eip:
> d09093fc
> *pde = 00000000
> Oops: 0000 [#1]
> PREEMPT 
> Modules linked in: sg sr_mod cdrom ide_scsi scsi_mod ipv6 rtc parport_pc parport 8139cp pci_hotplug via_agp agpgart via_ircc irda crc_ccitt ne2k_pci 8390 ehci_hcd uhci_hcd usbcore snd_cmipci snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_opl3_lib snd_timer snd_hwdep gameport snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore capability commoncap minix vfat fat floppy pcspkr tsdev mousedev evdev 8139too mii psmouse ext3 jbd mbcache ide_generic via82cxxx ide_disk ide_core unix font vesafb cfbcopyarea cfbimgblt cfbfillrect
> CPU:    0
> EIP:    0060:[<d09093fc>]    Not tainted
> EFLAGS: 00210016   (2.6.8-2-k7) 
> EIP is at idescsi_queue+0x11c/0x640 [ide_scsi]
> eax: 00000000   ebx: c6ad5ee0   ecx: c93d79e0   edx: d087b84c
> esi: c93d7a3e   edi: c93d79e0   ebp: c93d7a34   esp: c6c9dc98
> ds: 007b   es: 007b   ss: 0068
> Process modprobe (pid: 5597, threadinfo=c6c9c000 task=cf5aa8e0)
> Stack: cfffb360 00000020 d0abda2e c6ad5ee0 cfb6c689 00000010 00000000 c93d7a48 
>        00200246 cd7077a0 000001d4 d087b84c c93d79e0 00200293 c93d79e0 cfe43a00 
>        d0abd87f c93d79e0 d0abdad0 d0ac0240 00000000 c93d7a68 c93d79e0 ccd8c400 
> Call Trace:
>  [<d0abda2e>] scsi_init_cmd_from_req+0xde/0x180 [scsi_mod]
>  [<d0abd87f>] scsi_dispatch_cmd+0x18f/0x260 [scsi_mod]
>  [<d0abdad0>] scsi_done+0x0/0x30 [scsi_mod]
>  [<d0ac0240>] scsi_times_out+0x0/0xc0 [scsi_mod]
>  [<d0ac355a>] scsi_request_fn+0x1ea/0x400 [scsi_mod]
>  [<c01f9115>] __elv_add_request+0x45/0xa0
>  [<c01fb92a>] blk_insert_request+0xba/0xe0
>  [<d0ac213a>] scsi_insert_special_req+0x3a/0x40 [scsi_mod]
>  [<d0ac23b9>] scsi_wait_req+0x69/0xa0 [scsi_mod]
>  [<d0ac22c0>] scsi_wait_done+0x0/0x90 [scsi_mod]
>  [<d090f4d1>] sr_do_ioctl+0x91/0x2b0 [sr_mod]
>  [<d090f1b5>] sr_packet+0x25/0x40 [sr_mod]
>  [<d0aa7671>] cdrom_get_disc_info+0x61/0xb0 [cdrom]
>  [<d0aa36eb>] cdrom_mrw_exit+0x1b/0x70 [cdrom]
>  [<c016e782>] iput+0x62/0x80
>  [<d0aa32e4>] unregister_cdrom+0x94/0xe0 [cdrom]
>  [<c016b562>] dput+0x22/0x210
>  [<d090f212>] sr_kref_release+0x42/0x70 [sr_mod]
>  [<c01a7d4a>] kref_put+0x1a/0x20
>  [<d090f277>] sr_remove+0x37/0x4f [sr_mod]
>  [<c01f5b14>] device_release_driver+0x64/0x70
>  [<c01f5d54>] bus_remove_device+0x64/0xb0
>  [<c01f4bad>] device_del+0x5d/0xa0
>  [<d0ac62a6>] scsi_remove_device+0x56/0xc0 [scsi_mod]
>  [<d0ac55e4>] scsi_forget_host+0x44/0x90 [scsi_mod]
>  [<d0abe3c3>] scsi_remove_host+0x13/0x60 [scsi_mod]
>  [<d090919d>] idescsi_cleanup+0x4d/0x60 [ide_scsi]
>  [<d0860071>] ide_unregister_driver+0x71/0xb0 [ide_core]
>  [<c01309d8>] try_stop_module+0x28/0x30
>  [<d0909f4f>] exit_idescsi_module+0xf/0x13 [ide_scsi]
>  [<c0130b91>] sys_delete_module+0x131/0x180
>  [<c0147b00>] do_munmap+0x90/0x1b0
>  [<c0106107>] syscall_call+0x7/0xb
> Code: 8b 80 e0 01 00 00 a8 01 74 05 0f ba 6b 34 02 8b 4b 1c 89 4c 
>  <6>note: modprobe[5597] exited with preempt_count 1
> bad: scheduling while atomic!
>  [<c027eabc>] schedule+0x47c/0x490
>  [<c0143aeb>] unmap_page_range+0x4b/0x80
>  [<c0143ccc>] unmap_vmas+0x1ac/0x1c0
>  [<c0147fab>] exit_mmap+0x8b/0x170
>  [<c011a044>] mmput+0x64/0x90
>  [<c011e6ac>] do_exit+0x15c/0x420
>  [<c0116cb0>] do_page_fault+0x0/0x549
>  [<c01072a8>] die+0xf8/0x100
>  [<c0116e8e>] do_page_fault+0x1de/0x549
>  [<c0118082>] activate_task+0x62/0x80
>  [<c0118184>] try_to_wake_up+0xa4/0xc0
>  [<c0118af8>] __wake_up_common+0x38/0x60
>  [<c0116cb0>] do_page_fault+0x0/0x549
>  [<c0106ba9>] error_code+0x2d/0x38
>  [<d09093fc>] idescsi_queue+0x11c/0x640 [ide_scsi]
>  [<d0abda2e>] scsi_init_cmd_from_req+0xde/0x180 [scsi_mod]
>  [<d0abd87f>] scsi_dispatch_cmd+0x18f/0x260 [scsi_mod]
>  [<d0abdad0>] scsi_done+0x0/0x30 [scsi_mod]
>  [<d0ac0240>] scsi_times_out+0x0/0xc0 [scsi_mod]
>  [<d0ac355a>] scsi_request_fn+0x1ea/0x400 [scsi_mod]
>  [<c01f9115>] __elv_add_request+0x45/0xa0
>  [<c01fb92a>] blk_insert_request+0xba/0xe0
>  [<d0ac213a>] scsi_insert_special_req+0x3a/0x40 [scsi_mod]
>  [<d0ac23b9>] scsi_wait_req+0x69/0xa0 [scsi_mod]
>  [<d0ac22c0>] scsi_wait_done+0x0/0x90 [scsi_mod]
>  [<d090f4d1>] sr_do_ioctl+0x91/0x2b0 [sr_mod]
>  [<d090f1b5>] sr_packet+0x25/0x40 [sr_mod]
>  [<d0aa7671>] cdrom_get_disc_info+0x61/0xb0 [cdrom]
>  [<d0aa36eb>] cdrom_mrw_exit+0x1b/0x70 [cdrom]
>  [<c016e782>] iput+0x62/0x80
>  [<d0aa32e4>] unregister_cdrom+0x94/0xe0 [cdrom]
>  [<c016b562>] dput+0x22/0x210
>  [<d090f212>] sr_kref_release+0x42/0x70 [sr_mod]
>  [<c01a7d4a>] kref_put+0x1a/0x20
>  [<d090f277>] sr_remove+0x37/0x4f [sr_mod]
>  [<c01f5b14>] device_release_driver+0x64/0x70
>  [<c01f5d54>] bus_remove_device+0x64/0xb0
>  [<c01f4bad>] device_del+0x5d/0xa0
>  [<d0ac62a6>] scsi_remove_device+0x56/0xc0 [scsi_mod]
>  [<d0ac55e4>] scsi_forget_host+0x44/0x90 [scsi_mod]
>  [<d0abe3c3>] scsi_remove_host+0x13/0x60 [scsi_mod]
>  [<d090919d>] idescsi_cleanup+0x4d/0x60 [ide_scsi]
>  [<d0860071>] ide_unregister_driver+0x71/0xb0 [ide_core]
>  [<c01309d8>] try_stop_module+0x28/0x30
>  [<d0909f4f>] exit_idescsi_module+0xf/0x13 [ide_scsi]
>  [<c0130b91>] sys_delete_module+0x131/0x180
>  [<c0147b00>] do_munmap+0x90/0x1b0
>  [<c0106107>] syscall_call+0x7/0xb
> Unable to handle kernel NULL pointer dereference at virtual address 000001e0
>  printing eip:
> d09093fc
> *pde = 00000000
> Oops: 0000 [#2]
> PREEMPT 
> Modules linked in: sg sr_mod cdrom ide_scsi scsi_mod ipv6 rtc parport_pc parport 8139cp pci_hotplug via_agp agpgart via_ircc irda crc_ccitt ne2k_pci 8390 ehci_hcd uhci_hcd usbcore snd_cmipci snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_opl3_lib snd_timer snd_hwdep gameport snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore capability commoncap minix vfat fat floppy pcspkr tsdev mousedev evdev 8139too mii psmouse ext3 jbd mbcache ide_generic via82cxxx ide_disk ide_core unix font vesafb cfbcopyarea cfbimgblt cfbfillrect
> CPU:    0
> EIP:    0060:[<d09093fc>]    Not tainted
> EFLAGS: 00010002   (2.6.8-2-k7) 
> EIP is at idescsi_queue+0x11c/0x640 [ide_scsi]
> eax: 00000000   ebx: c8203b20   ecx: c93d79e0   edx: d087b84c
> esi: c93d7a3a   edi: c93d79e0   ebp: c93d7a34   esp: c008deb8
> ds: 007b   es: 007b   ss: 0068
> Process scsi_eh_0 (pid: 4565, threadinfo=c008c000 task=c57467a0)
> Stack: cfffb360 00000020 c008c000 c8203b20 c93d79e0 c93d7a48 00000000 c93d7a48 
>        00000246 cd7079e0 000001d4 d087b84c 00000296 c008c000 c93d79e0 c008df14 
>        d0ac0655 c93d79e0 d0ac0520 d0ac04c0 0000007b 00002002 cfe43a00 00000000 
> Call Trace:
>  [<d0ac0655>] scsi_send_eh_cmnd+0xb5/0x200 [scsi_mod]
>  [<d0ac0520>] scsi_eh_done+0x0/0x80 [scsi_mod]
>  [<d0ac04c0>] scsi_eh_times_out+0x0/0x60 [scsi_mod]
>  [<d0ac0b56>] scsi_eh_tur+0x96/0x100 [scsi_mod]
>  [<d0ac0c61>] scsi_eh_abort_cmds+0xa1/0xe0 [scsi_mod]
>  [<d0ac1ba0>] scsi_unjam_host+0xb0/0x200 [scsi_mod]
>  [<c0118aa0>] default_wake_function+0x0/0x20
>  [<d0ac1df3>] scsi_error_handler+0x103/0x1c0 [scsi_mod]
>  [<d0ac1cf0>] scsi_error_handler+0x0/0x1c0 [scsi_mod]
>  [<c0104291>] kernel_thread_helper+0x5/0x14
> Code: 8b 80 e0 01 00 00 a8 01 74 05 0f ba 6b 34 02 8b 4b 1c 89 4c 
>  <6>note: scsi_eh_0[4565] exited with preempt_count 1

use ide-cd as noted above.

--
maks




Reply to: