[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



Package: kernel-image-2.6.8-2-k7
Version: 2.6.8-16
Severity: important


hi

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

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

a.


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages kernel-image-2.6.8-2-k7 depends on:
ii  coreutils [fileutils]         5.2.1-2    The GNU core utilities
ii  fileutils                     5.2.1-2    The GNU file management utilities 
ii  initrd-tools                  0.1.81.1   tools to create initrd image for p
ii  module-init-tools             3.2-pre1-2 tools for managing Linux kernel mo

-- no debconf information

-- 
Andrea Mennucc
 "Ukn ow,Ifina llyfixe dmysp acebar.ohwh atthef"
1
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
Initializing Cryptographic API
PCI: Via IRQ fixup for 0000:00:09.0, from 5 to 1
PCI: Via IRQ fixup for 0000:00:09.1, from 11 to 9
PCI: Via IRQ fixup for 0000:00:11.2, from 0 to 1
PCI: Via IRQ fixup for 0000:00:11.3, from 9 to 1
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Serial: 8250/16550 driver $Revision: 1.90 $ 48 ports, IRQ sharing enabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
NET: Registered protocol family 2
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
NET: Registered protocol family 8
NET: Registered protocol family 20
ACPI: (supports S0 S1 S4 S5)
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 4500 blocks [1 disk] into ram disk... |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/done.
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 148k freed
vesafb: probe of vesafb0 failed with error -6
NET: Registered protocol family 1
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:11.1
ACPI: PCI interrupt 0000:00:11.1[A]: no GSI
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8233a (rev 00) IDE UDMA133 controller on pci0000:00:11.1
    ide0: BM-DMA at 0xa000-0xa007, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xa008-0xa00f, BIOS settings: hdc:DMA, hdd:DMA
hda: Maxtor 6Y080L0, ATA DISK drive
Using anticipatory io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: max request size: 128KiB
hda: 160086528 sectors (81964 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(133)
 /dev/ide/host0/bus0/target0/lun0: p1 p2 p3 < p5 p6 p7 >
hdc: LG CD-RW CED-8120B, ATAPI CD/DVD-ROM drive
hdd: HL-DT-ST DVDRAM GSA-4163B, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Adding 488368k swap on /dev/hda2.  Priority:-1 extents:1
EXT3 FS on hda1, internal journal
input: ImPS/2 Logitech Wheel Mouse on isa0060/serio1
8139too Fast Ethernet driver 0.9.27
ACPI: PCI interrupt 0000:00:0d.0[A] -> GSI 16 (level, low) -> IRQ 185
eth0: RealTek RTL8139 at 0xa800, 00:40:f4:45:7c:4a, IRQ 185
eth0:  Identified 8139 chip type 'RTL-8139C'
hdc: ATAPI 32X CD-ROM CD-R/RW drive, 8192kB Cache, DMA
Uniform CD-ROM driver Revision: 3.20
mice: PS/2 mouse device common for all mice
hdd: ATAPI 40X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache, UDMA(33)
ts: Compaq touchscreen protocol output
input: PC Speaker
inserting floppy driver for 2.6.8-2-k7
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
Capability LSM initialized
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda5, internal journal
EXT3-fs: mounted filesystem with writeback data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda7, internal journal
EXT3-fs: mounted filesystem with writeback data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda6, internal journal
EXT3-fs: mounted filesystem with journal data mode.
ACPI: PCI interrupt 0000:00:05.0[A] -> GSI 17 (level, low) -> IRQ 169
usbcore: registered new driver usbfs
usbcore: registered new driver hub
USB Universal Host Controller Interface driver v2.2
ACPI: PCI interrupt 0000:00:09.0[A] -> GSI 19 (level, low) -> IRQ 177
uhci_hcd 0000:00:09.0: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
uhci_hcd 0000:00:09.0: irq 177, io base 0000b400
uhci_hcd 0000:00:09.0: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ACPI: PCI interrupt 0000:00:09.1[B] -> GSI 16 (level, low) -> IRQ 185
uhci_hcd 0000:00:09.1: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#2)
uhci_hcd 0000:00:09.1: irq 185, io base 0000b000
uhci_hcd 0000:00:09.1: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI interrupt 0000:00:11.2[D] -> GSI 21 (level, low) -> IRQ 193
uhci_hcd 0000:00:11.2: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#3)
uhci_hcd 0000:00:11.2: irq 193, io base 00009800
uhci_hcd 0000:00:11.2: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ACPI: PCI interrupt 0000:00:11.3[D] -> GSI 21 (level, low) -> IRQ 193
uhci_hcd 0000:00:11.3: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#4)
uhci_hcd 0000:00:11.3: irq 193, io base 00009400
uhci_hcd 0000:00:11.3: new USB bus registered, assigned bus number 4
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
ACPI: PCI interrupt 0000:00:09.2[C] -> GSI 17 (level, low) -> IRQ 169
ehci_hcd 0000:00:09.2: VIA Technologies, Inc. USB 2.0
ehci_hcd 0000:00:09.2: irq 169, pci mem d0885000
ehci_hcd 0000:00:09.2: new USB bus registered, assigned bus number 5
ehci_hcd 0000:00:09.2: USB 2.0 enabled, EHCI 0.95, driver 2004-May-10
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 4 ports detected
ne2k-pci.c:v1.03 9/22/2003 D. Becker/P. Gortmaker
  http://www.scyld.com/network/ne2k-pci.html
ACPI: PCI interrupt 0000:00:0e.0[A] -> GSI 17 (level, low) -> IRQ 169
eth1: RealTek RTL-8029 found at 0xa400, IRQ 169, 00:40:05:32:4F:3D.
irda_init()
NET: Registered protocol family 23
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected VIA KT266/KY266x/KT333 chipset
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: AGP aperture is 128M @ 0xf0000000
cpci_hotplug: CompactPCI Hot Plug Core version: 0.2
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: acpi_pciehprm:\_SB_.PCI0 evaluate _BBN fail=0x5
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x5
shpchp: acpi_shpchprm:\_SB_.PCI0 evaluate _BBN fail=0x5
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x5
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
Real Time Clock Driver v1.12
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
NET: Registered protocol family 10
Disabled Privacy Extensions on device c02fc1a0(lo)
IPv6 over IPv4 tunneling driver
eth0: no IPv6 routers present
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

Reply to: