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

Bug#283190: kernel-image-2.6.8-1-686-smp: Oops when unloading ide-scsi module



Package: kernel-image-2.6.8-1-686-smp
Version: 2.6.8-5
Severity: normal

Due to the current state of the ide-scsi module (not needed ?, not
maintained ?, etc) I'm not sure how severe this problem really is, but
I can reproduce a kernel Oops by loading and unloading the ide-scsi
module. The oops happens on the unload. I don't actually need this
module though, but I was playing around with some remote SCSI stuff
and wanted to see if it worked. There is also a lot of documentation
out there written for 2.4 that tells users this module is needed for
CD burning so it's likely users will attempt to load it. It would be
better if the module was broken in some other way then crashing the
whole box...

Here's the trace:

Nov 26 22:39:59 localhost kernel: Unable to handle kernel NULL pointer dereference at virtual address 000001f0
Nov 26 22:39:59 localhost kernel:  printing eip:
Nov 26 22:39:59 localhost kernel: f8ed84ad
Nov 26 22:39:59 localhost kernel: *pde = 00000000
Nov 26 22:39:59 localhost kernel: Oops: 0000 [#1]
Nov 26 22:39:59 localhost kernel: PREEMPT SMP 
Nov 26 22:39:59 localhost kernel: Modules linked in: snd_pcm_oss snd_mixer_oss sg sr_mod cdrom ide_scsi nvidia rfcomm l2cap bluetooth lp binfmt_misc autofs4 ipv6 nfs lockd sunrpc es1370 via82cxxx pci_hotplug via_agp pcspkr floppy 3c59x uhci_hcd usbcore parport_pc parport agpgart snd_ens1370 snd_rawmidi snd_seq_device snd_pcm snd_timer snd_page_alloc gameport snd_ak4531_codec snd soundcore capability commoncap evdev mousedev tsdev ide_generic ide_core psmouse via686a w83781d i2c_sensor i2c_isa i2c_viapro i2c_core rtc xfs reiserfs jfs vfat fat isofs ext2 ext3 jbd mbcache sd_mod aic7xxx sym53c8xx scsi_transport_spi scsi_mod unix font vesafb cfbcopyarea cfbimgblt cfbfillrect
Nov 26 22:39:59 localhost kernel: CPU:    0
Nov 26 22:39:59 localhost kernel: EIP:    0060:[__crc_device_suspend+522526/9159485]    Tainted: P  
Nov 26 22:39:59 localhost kernel: EFLAGS: 00010016   (2.6.8-1-686-smp) 
Nov 26 22:39:59 localhost kernel: EIP is at idescsi_queue+0x11d/0x650 [ide_scsi]
Nov 26 22:39:59 localhost kernel: eax: 00000000   ebx: f7a013e0   ecx: f8865b90   edx: f75495c0
Nov 26 22:39:59 localhost kernel: esi: 00001388   edi: f8c420cc   ebp: f7549614   esp: f10efc8c
Nov 26 22:39:59 localhost kernel: ds: 007b   es: 007b   ss: 0068
Nov 26 22:39:59 localhost kernel: Process rmmod (pid: 2890, threadinfo=f10ee000 task=f77b6730)
Nov 26 22:39:59 localhost kernel: Stack: f7fff560 00000020 f7549680 f7a013e0 f7549614 f7a4d489 f10ee000 f88684f0 
Nov 26 22:39:59 localhost kernel:        00000246 f645dec0 000001e4 f8c420cc f7fca400 00000000 00000293 f75495c0 
Nov 26 22:39:59 localhost kernel:        f7fca400 f8865929 f75495c0 f8865b90 f88684f0 00000000 f754964c f75495c0 
Nov 26 22:39:59 localhost kernel: Call Trace:
Nov 26 22:39:59 localhost kernel:  [__crc_utf8_wctomb+5731303/6417782] scsi_times_out+0x0/0xc0 [scsi_mod]
Nov 26 22:39:59 localhost kernel:  [__crc_utf8_wctomb+5720096/6417782] scsi_dispatch_cmd+0x1b9/0x2a0 [scsi_mod]
Nov 26 22:39:59 localhost kernel:  [__crc_utf8_wctomb+5720711/6417782] scsi_done+0x0/0x30 [scsi_mod]
Nov 26 22:39:59 localhost kernel:  [__crc_utf8_wctomb+5731303/6417782] scsi_times_out+0x0/0xc0 [scsi_mod]
Nov 26 22:39:59 localhost kernel:  [__crc_utf8_wctomb+5745580/6417782] scsi_request_fn+0x235/0x4d0 [scsi_mod]
Nov 26 22:39:59 localhost kernel:  [__elv_add_request+69/176] __elv_add_request+0x45/0xb0
Nov 26 22:39:59 localhost kernel:  [blk_insert_request+217/256] blk_insert_request+0xd9/0x100
Nov 26 22:39:59 localhost kernel:  [__crc_utf8_wctomb+5740095/6417782] scsi_insert_special_req+0x38/0x40 [scsi_mod]
Nov 26 22:39:59 localhost kernel:  [__crc_utf8_wctomb+5740808/6417782] scsi_wait_req+0x71/0xb0 [scsi_mod]
Nov 26 22:39:59 localhost kernel:  [__crc_utf8_wctomb+5740519/6417782] scsi_wait_done+0x0/0xb0 [scsi_mod]
Nov 26 22:39:59 localhost kernel:  [__crc_device_suspend+547347/9159485] sr_do_ioctl+0x92/0x2a0 [sr_mod]
Nov 26 22:39:59 localhost kernel:  [__crc_device_suspend+546518/9159485] sr_packet+0x25/0x40 [sr_mod]
Nov 26 22:39:59 localhost kernel:  [__crc_device_suspend+617670/9159485] cdrom_get_disc_info+0x65/0xc0 [cdrom]
Nov 26 22:39:59 localhost kernel:  [__crc_device_suspend+601068/9159485] cdrom_mrw_exit+0x1b/0x70 [cdrom]
Nov 26 22:39:59 localhost kernel:  [destroy_inode+97/112] destroy_inode+0x61/0x70
Nov 26 22:39:59 localhost kernel:  [__crc_device_suspend+599998/9159485] unregister_cdrom+0xbd/0x120 [cdrom]
Nov 26 22:39:59 localhost kernel:  [__crc_device_suspend+546636/9159485] sr_kref_release+0x5b/0xa0 [sr_mod]
Nov 26 22:39:59 localhost kernel:  [kref_put+25/32] kref_put+0x19/0x20
Nov 26 22:39:59 localhost kernel:  [__crc_device_suspend+546761/9159485] sr_remove+0x38/0x51 [sr_mod]
Nov 26 22:39:59 localhost kernel:  [device_release_driver+102/112] device_release_driver+0x66/0x70
Nov 26 22:39:59 localhost kernel:  [bus_remove_device+101/176] bus_remove_device+0x65/0xb0
Nov 26 22:39:59 localhost kernel:  [device_del+95/176] device_del+0x5f/0xb0
Nov 26 22:39:59 localhost kernel:  [__crc_utf8_wctomb+5757965/6417782] scsi_remove_device+0x56/0xc0 [scsi_mod]
Nov 26 22:39:59 localhost kernel:  [__crc_utf8_wctomb+5754546/6417782] scsi_forget_host+0x5b/0xb0 [scsi_mod]
Nov 26 22:39:59 localhost kernel:  [__crc_utf8_wctomb+5723370/6417782] scsi_remove_host+0x13/0x60 [scsi_mod]
Nov 26 22:39:59 localhost kernel:  [__crc_device_suspend+521918/9159485] idescsi_cleanup+0x4d/0x60 [ide_scsi]
Nov 26 22:39:59 localhost kernel:  [__crc_pm_idle+3237421/5290900] ide_unregister_driver+0x8c/0xe0 [ide_core]
Nov 26 22:39:59 localhost kernel:  [__crc_device_suspend+525696/9159485] exit_idescsi_module+0xf/0x11 [ide_scsi]
Nov 26 22:39:59 localhost kernel:  [sys_delete_module+301/400] sys_delete_module+0x12d/0x190
Nov 26 22:39:59 localhost kernel:  [do_munmap+144/464] do_munmap+0x90/0x1d0
Nov 26 22:39:59 localhost kernel:  [syscall_call+7/11] syscall_call+0x7/0xb
Nov 26 22:39:59 localhost kernel: Code: 8b 80 f0 01 00 00 a8 01 74 06 f0 0f ba 6b 34 02 8b 43 1c 89 
Nov 26 22:39:59 localhost kernel:  <6>note: rmmod[2890] exited with preempt_count 1


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686-smp
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8

Versions of packages kernel-image-2.6.8-1-686-smp depends on:
ii  coreutils [fileutils]         5.2.1-2    The GNU core utilities
ii  initrd-tools                  0.1.74     tools to create initrd image for p
ii  module-init-tools             3.1-pre6-1 tools for managing Linux kernel mo

-- no debconf information



Reply to: