Control: tag -1 - moreinfo Control: tag -1 upstream Control: severity -1 normal Control: clone -1 -2 Control: retitle -1 WARNING on reload of sr_mod Control: forwarded -1 http://thread.gmane.org/gmane.linux.kernel/1469680 Control: retitle -2 WARNING on removal of SCSI device which is still in use Control: tag -2 patch
On Fri, 2014-04-18 at 13:08 +0100, Luke Kenneth Casson Leighton wrote: > On Thu, Apr 17, 2014 at 1:24 PM, Ben Hutchings <b...@decadent.org.uk> wrote: > > Control: tag -1 moreinfo > > > > On Thu, 2014-04-17 at 09:46 +0100, root wrote: > >> Package: src:linux > >> Version: 3.13.7-1 > >> Severity: important > >> > >> > >> > >> -- Package-specific info: > >> ** Version: > >> Linux version 3.13-1-amd64 (debian-ker...@lists.debian.org) (gcc version > >> 4.8.2 (Debian 4.8.2-16) ) #1 SMP Debian 3.13.7-1 (2014-03-25) > >> > >> ** Command line: > >> BOOT_IMAGE=/vmlinuz-3.13-1-amd64 root=/dev/mapper/pc-root ro > >> > >> ** Tainted: PWO (4609) > >> * Proprietary module has been loaded. > >> * Taint on warning. > >> * Out-of-tree module has been loaded. > >> > >> ** Kernel log: > >> Apr 17 09:42:12 teenymac kernel: [1202533.365163] sr0: scsi3-mmc drive: > >> 24x/24x writer cd/rw xa/form2 cdda tray > >> Apr 17 09:42:12 teenymac kernel: [1202533.365187] cdrom: Uniform CD-ROM > >> driver Revision: 3.20 > >> Apr 17 09:42:12 teenymac kernel: [1202533.365355] ------------[ cut here > >> ]------------ > >> Apr 17 09:42:12 teenymac kernel: [1202533.365363] WARNING: CPU: 0 PID: > >> 14387 at /build/linux-oxWk_8/linux-3.13.7/block/blk-core.c:457 > >> blk_queue_bypass_end+0x54/0x60() > > > > I see a WARNING here but not the segfault. Was there actually a > > segfault in addition to this? > > > >> Apr 17 09:42:12 teenymac kernel: [1202533.365364] Modules linked in: > >> sr_mod(+) cdrom nls_cp437 vfat fat nls_utf8 isofs usb_storage b43 ctr ccm > >> snd_seq_dummy adm1021 nouveau mxm_wmi wmi ttm drm_kms_helper drm > >> i2c_algo_bit snd_hrtimer ip6table_filter ip6_tables iptable_filter > >> ip_tables ebtable_nat ebtables x_tables parport_pc ppdev lp parport 8021q > >> garp stp mrp cpufreq_stats speedstep_lib binfmt_misc cpufreq_userspace > >> cpufreq_powersave cpufreq_conservative uinput nfsd auth_rpcgss > >> oid_registry nfs_acl nfs lockd fscache sunrpc appletalk ipx p8023 p8022 > >> psnap llc rose netrom ax25 tun firewire_sbp2 loop fuse arc4 snd_usb_audio > >> bcma mac80211 snd_usbmidi_lib snd_hda_codec_realtek snd_seq_midi cfg80211 > >> uvcvideo snd_seq_midi_event videobuf2_vmalloc videobuf2_memops ftdi_sio > >> iTCO_wdt iTCO_vendor_support snd_hda_intel rfkill snd_hda_codec joydev > >> videobuf2_core snd_rawmidi snd_hwdep applesmc usbserial snd_pcm > >> hid_appleir hid_generic evdev input_polldev lpc_ich mfd_core i2c_i801 > >> videodev media snd_page_alloc i2c_core usbhid hid > >> Apr 17 09:42:12 teenymac kernel: coretemp acpi_cpufreq rng_core processor > >> snd_seq snd_seq_device snd_timer apple_bl snd kvm_intel kvm video > >> thermal_sys soundcore button ext4 crc16 mbcache jbd2 dm_mod sd_mod > >> crc_t10dif crct10dif_common ata_generic firewire_ohci ata_piix > >> firewire_core crc_itu_t ehci_pci uhci_hcd ehci_hcd ssb mmc_core pcmcia > >> pcmcia_core libata scsi_mod usbcore usb_common [last unloaded: cdrom] > > [...] > > > > I notice you unloaded the cdrom module previously. Did you remove and > > reinsert any other modules? Did you remove and reattach the drive? > > sorry ben it appears that somehow cut/paste didn't get everything, > here's a bit more (attached). no no other modules. I can *see* sr_mod being reinserted and I *know* you couldn't remove cdrom without first removing sr_mod. > yes remove and > reattach the drive. yes use a disk that hadn't burned properly. The attached log shows two different WARNINGs. Here's what I *think* is happening: > Apr 17 09:24:08 teenymac kernel: [1201449.213969] usb 2-5: USB disconnect, > device number 18 Drive removed. > Apr 17 09:24:08 teenymac laptop-mode: Laptop mode > Apr 17 09:24:08 teenymac laptop-mode: enabled, not active > Apr 17 09:24:08 teenymac laptop-mode: Laptop mode > Apr 17 09:24:08 teenymac laptop-mode: enabled, not active > Apr 17 09:30:01 teenymac kernel: [1201802.449248] cdrom: This disc doesn't > have any tracks I recognize! > Apr 17 09:30:02 teenymac kernel: [1201802.581292] sr 0:0:0:0: [sr0] > Apr 17 09:30:02 teenymac kernel: [1201802.581309] Result: hostbyte=DID_OK > driverbyte=DRIVER_SENSE > Apr 17 09:30:02 teenymac kernel: [1201802.581311] sr 0:0:0:0: [sr0] > Apr 17 09:30:02 teenymac kernel: [1201802.581313] Sense Key : Illegal Request > [current] > Apr 17 09:30:02 teenymac kernel: [1201802.581317] sr 0:0:0:0: [sr0] > Apr 17 09:30:02 teenymac kernel: [1201802.581319] Add. Sense: Logical block > address out of range > Apr 17 09:30:02 teenymac kernel: [1201802.581321] sr 0:0:0:0: [sr0] CDB: > Apr 17 09:30:02 teenymac kernel: [1201802.581323] Read(10): 28 00 00 00 00 00 > 00 00 01 00 I don't understand why there is attempted I/O to a device that was physically removed 6 minutes earlier! Maybe something has kept the block device open, but no other processes should be allowed to open it. [...] > Apr 17 09:33:06 teenymac kernel: [1201987.152091] usb 2-5: new high-speed USB > device number 25 using ehci-pci > Apr 17 09:33:06 teenymac kernel: [1201987.288918] usb 2-5: New USB device > found, idVendor=0e8d, idProduct=1806 > Apr 17 09:33:06 teenymac kernel: [1201987.288927] usb 2-5: New USB device > strings: Mfr=1, Product=2, SerialNumber=3 > Apr 17 09:33:06 teenymac kernel: [1201987.288933] usb 2-5: Product: MT1887 > Apr 17 09:33:06 teenymac kernel: [1201987.288938] usb 2-5: Manufacturer: > MediaTek Inc > Apr 17 09:33:06 teenymac kernel: [1201987.288943] usb 2-5: SerialNumber: > R90V6YADC00AM6 > Apr 17 09:33:06 teenymac kernel: [1201987.292742] usb-storage 2-5:1.0: USB > Mass Storage device detected > Apr 17 09:33:06 teenymac kernel: [1201987.292876] scsi9 : usb-storage 2-5:1.0 > Apr 17 09:33:06 teenymac mtp-probe: checking bus 2, device 25: > "/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-5" > Apr 17 09:33:06 teenymac mtp-probe: bus: 2, device: 25 was not an MTP device > Apr 17 09:33:07 teenymac laptop-mode: Laptop mode > Apr 17 09:33:07 teenymac laptop-mode: enabled, not active > Apr 17 09:33:07 teenymac laptop-mode: Laptop mode > Apr 17 09:33:07 teenymac laptop-mode: enabled, not active > Apr 17 09:33:07 teenymac kernel: [1201988.295440] scsi 9:0:0:0: CD-ROM > TSSTcorp CDDVDW SE-208DB MF00 PQ: 0 ANSI: 0 > Apr 17 09:33:07 teenymac kernel: [1201988.327917] sr1: scsi3-mmc drive: > 62x/24x writer dvd-ram cd/rw xa/form2 cdda tray > Apr 17 09:33:07 teenymac kernel: [1201988.328255] sr 9:0:0:0: Attached scsi > CD-ROM sr1 Drive reattached. Note it's now 'sr1', as 'sr0' seems to still be hanging around. > Apr 17 09:33:34 teenymac kernel: [1202015.082904] cdrom: This disc doesn't > have any tracks I recognize! > Apr 17 09:33:34 teenymac kernel: [1202015.274263] sr 9:0:0:0: [sr1] > Apr 17 09:33:34 teenymac kernel: [1202015.274273] Result: hostbyte=DID_OK > driverbyte=DRIVER_SENSE > Apr 17 09:33:34 teenymac kernel: [1202015.274278] sr 9:0:0:0: [sr1] > Apr 17 09:33:34 teenymac kernel: [1202015.274282] Sense Key : Illegal Request > [current] > Apr 17 09:33:34 teenymac kernel: [1202015.274289] sr 9:0:0:0: [sr1] > Apr 17 09:33:34 teenymac kernel: [1202015.274294] Add. Sense: Logical block > address out of range > Apr 17 09:33:34 teenymac kernel: [1202015.274307] sr 9:0:0:0: [sr1] CDB: > Apr 17 09:33:34 teenymac kernel: [1202015.274309] Read(10): 28 00 00 00 00 00 > 00 00 01 00 00 00 > Apr 17 09:33:34 teenymac kernel: [1202015.274317] end_request: critical > target error, dev sr1, sector 0 Again, it can't be read successfully. [...] > Apr 17 09:36:37 teenymac kernel: [1202197.835944] usb 2-5: USB disconnect, > device number 25 Drive removed again. > Apr 17 09:36:37 teenymac kernel: [1202197.873329] ------------[ cut here > ]------------ > Apr 17 09:36:37 teenymac kernel: [1202197.873339] WARNING: CPU: 0 PID: 12646 > at /build/linux-oxWk_8/linux-3.13.7/fs/sysfs/group.c:214 > device_del+0x3b/0x1b0() > Apr 17 09:36:37 teenymac kernel: [1202197.873342] sysfs group > ffffffff8187f3a0 not found for kobject 'target9:0:0' > Apr 17 09:36:37 teenymac kernel: [1202197.873343] Modules linked in: > nls_cp437 vfat fat nls_utf8 isofs usb_storage b43 ctr ccm snd_seq_dummy > adm1021 nouveau mxm_wmi wmi ttm drm_kms_helper drm i2c_algo_bit snd_hrtimer > ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables > x_tables parport_pc ppdev lp parport 8021q garp stp mrp cpufreq_stats > speedstep_lib binfmt_misc cpufreq_userspace cpufreq_powersave > cpufreq_conservative uinput nfsd auth_rpcgss oid_registry nfs_acl nfs lockd > fscache sunrpc appletalk ipx p8023 p8022 psnap llc rose netrom ax25 tun > firewire_sbp2 loop fuse arc4 snd_usb_audio bcma mac80211 snd_usbmidi_lib > snd_hda_codec_realtek snd_seq_midi cfg80211 uvcvideo snd_seq_midi_event > videobuf2_vmalloc videobuf2_memops ftdi_sio iTCO_wdt iTCO_vendor_support > snd_hda_intel rfkill snd_hda_codec joydev videobuf2_core snd_rawmidi > snd_hwdep applesmc usbserial snd_pcm hid_appleir hid_generic evdev > input_polldev lpc_ich mfd_core i2c_i801 videodev media snd_page_alloc > i2c_core usbhid hid coretemp acpi_c > Apr 17 09:36:37 teenymac kernel: pufreq rng_core processor snd_seq > snd_seq_device snd_timer apple_bl snd kvm_intel kvm video thermal_sys > soundcore button ext4 crc16 mbcache jbd2 dm_mod sd_mod crc_t10dif > crct10dif_common sr_mod cdrom ata_generic firewire_ohci ata_piix > firewire_core crc_itu_t ehci_pci uhci_hcd ehci_hcd ssb mmc_core pcmcia > pcmcia_core libata scsi_mod usbcore usb_common [last unloaded: b43] > Apr 17 09:36:37 teenymac kernel: [1202197.873436] CPU: 0 PID: 12646 Comm: > hald-addon-stor Tainted: P O 3.13-1-amd64 #1 Debian 3.13.7-1 > Apr 17 09:36:37 teenymac kernel: [1202197.873438] Hardware name: Apple > Computer, Inc. iMac6,1/Mac-F4218FC8, BIOS IM61.88Z.0093.B07.0706281250 > 06/28/07 > Apr 17 09:36:37 teenymac kernel: [1202197.873440] 0000000000000009 > ffffffff814a1327 ffff880002261d38 ffffffff8105ba72 > Apr 17 09:36:37 teenymac kernel: [1202197.873443] ffff880005c95400 > ffff880002261d88 ffff88005d4ef100 ffff88005f094188 > Apr 17 09:36:37 teenymac kernel: [1202197.873446] ffff88005d4ef000 > ffffffff8105bad7 ffffffff8170edb8 0000000000000028 > Apr 17 09:36:37 teenymac kernel: [1202197.873449] Call Trace: > Apr 17 09:36:37 teenymac kernel: [1202197.873455] [<ffffffff814a1327>] ? > dump_stack+0x41/0x51 > Apr 17 09:36:37 teenymac kernel: [1202197.873459] [<ffffffff8105ba72>] ? > warn_slowpath_common+0x72/0x90 > Apr 17 09:36:37 teenymac kernel: [1202197.873461] [<ffffffff8105bad7>] ? > warn_slowpath_fmt+0x47/0x50 > Apr 17 09:36:37 teenymac kernel: [1202197.873464] [<ffffffff8135169b>] ? > device_del+0x3b/0x1b0 > Apr 17 09:36:37 teenymac kernel: [1202197.873478] [<ffffffffa0085dbd>] ? > scsi_target_reap_usercontext+0x1d/0x30 [scsi_mod] > Apr 17 09:36:37 teenymac kernel: [1202197.873482] [<ffffffff81073547>] ? > execute_in_process_context+0x57/0x60 > Apr 17 09:36:37 teenymac kernel: [1202197.873490] [<ffffffffa008909c>] ? > scsi_device_dev_release_usercontext+0x16c/0x1b0 [scsi_mod] > Apr 17 09:36:37 teenymac kernel: [1202197.873493] [<ffffffff81073547>] ? > execute_in_process_context+0x57/0x60 > Apr 17 09:36:37 teenymac kernel: [1202197.873496] [<ffffffff81350e28>] ? > device_release+0x28/0x90 > Apr 17 09:36:37 teenymac kernel: [1202197.873500] [<ffffffff81271d93>] ? > kobject_cleanup+0x33/0x70 > Apr 17 09:36:37 teenymac kernel: [1202197.873507] [<ffffffffa006d2d6>] ? > scsi_cd_put+0x36/0x50 [sr_mod] > Apr 17 09:36:37 teenymac kernel: [1202197.873512] [<ffffffffa006d31a>] ? > sr_block_release+0x2a/0x40 [sr_mod] > Apr 17 09:36:37 teenymac kernel: [1202197.873516] [<ffffffff811af52d>] ? > __blkdev_put+0x14d/0x190 > Apr 17 09:36:37 teenymac kernel: [1202197.873519] [<ffffffff811aff5c>] ? > blkdev_close+0x1c/0x20 > Apr 17 09:36:37 teenymac kernel: [1202197.873523] [<ffffffff8117af65>] ? > __fput+0xc5/0x210 > Apr 17 09:36:37 teenymac kernel: [1202197.873526] [<ffffffff81078ea7>] ? > task_work_run+0x97/0xd0 > Apr 17 09:36:37 teenymac kernel: [1202197.873531] [<ffffffff81012969>] ? > do_notify_resume+0x59/0x90 > Apr 17 09:36:37 teenymac kernel: [1202197.873534] [<ffffffff814ae7b2>] ? > int_signal+0x12/0x17 > Apr 17 09:36:37 teenymac kernel: [1202197.873536] ---[ end trace > d612d66b72504ae1 ]--- This looks similar to (though not quite the same as) <https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1283604> which is supposed to be fixed in 3.15. The fixes might get into Debian sooner than that, although James Bottomley recommended waiting some time to see if this causes regressions in 3.15. > Apr 17 09:36:37 teenymac laptop-mode: Laptop mode > Apr 17 09:36:37 teenymac laptop-mode: enabled, not active > Apr 17 09:36:37 teenymac laptop-mode: Laptop mode > Apr 17 09:36:37 teenymac laptop-mode: enabled, not active > Apr 17 09:39:01 teenymac /USR/SBIN/CRON[13838]: (root) CMD ( [ -x > /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ > -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin > +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete) > Apr 17 09:39:01 teenymac kernel: [1202342.150892] cdrom: This disc doesn't > have any tracks I recognize! > Apr 17 09:39:02 teenymac kernel: [1202342.510678] sr 0:0:0:0: [sr0] > Apr 17 09:39:02 teenymac kernel: [1202342.510688] Result: hostbyte=DID_OK > driverbyte=DRIVER_SENSE > Apr 17 09:39:02 teenymac kernel: [1202342.510693] sr 0:0:0:0: [sr0] > Apr 17 09:39:02 teenymac kernel: [1202342.510697] Sense Key : Illegal Request > [current] > Apr 17 09:39:02 teenymac kernel: [1202342.510704] sr 0:0:0:0: [sr0] > Apr 17 09:39:02 teenymac kernel: [1202342.510709] Add. Sense: Logical block > address out of range > Apr 17 09:39:02 teenymac kernel: [1202342.510714] sr 0:0:0:0: [sr0] CDB: > Apr 17 09:39:02 teenymac kernel: [1202342.510718] Read(10): 28 00 00 00 00 00 > 00 00 01 00 > Apr 17 09:39:02 teenymac kernel: [1202342.510732] end_request: I/O error, dev > sr0, sector 0 > Apr 17 09:39:02 teenymac kernel: [1202342.510738] Buffer I/O error on device > sr0, logical block 0 More attempted I/O to 'sr0' which was supposed to be removed 15 minutes ago. [...] > Apr 17 09:41:30 teenymac kernel: [1202491.046635] cdrom: Uniform CD-ROM > driver unloaded cdrom module removed. > Apr 17 09:42:12 teenymac kernel: [1202533.365163] sr0: scsi3-mmc drive: > 24x/24x writer cd/rw xa/form2 cdda tray > Apr 17 09:42:12 teenymac kernel: [1202533.365187] cdrom: Uniform CD-ROM > driver Revision: 3.20 cdrom module reinserted. > Apr 17 09:42:12 teenymac kernel: [1202533.365355] ------------[ cut here > ]------------ > Apr 17 09:42:12 teenymac kernel: [1202533.365363] WARNING: CPU: 0 PID: 14387 > at /build/linux-oxWk_8/linux-3.13.7/block/blk-core.c:457 > blk_queue_bypass_end+0x54/0x60() > Apr 17 09:42:12 teenymac kernel: [1202533.365364] Modules linked in: > sr_mod(+) cdrom nls_cp437 vfat fat nls_utf8 isofs usb_storage b43 ctr ccm > snd_seq_dummy adm1021 nouveau mxm_wmi wmi ttm drm_kms_helper drm i2c_algo_bit > snd_hrtimer ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat > ebtables x_tables parport_pc ppdev lp parport 8021q garp stp mrp > cpufreq_stats speedstep_lib binfmt_misc cpufreq_userspace cpufreq_powersave > cpufreq_conservative uinput nfsd auth_rpcgss oid_registry nfs_acl nfs lockd > fscache sunrpc appletalk ipx p8023 p8022 psnap llc rose netrom ax25 tun > firewire_sbp2 loop fuse arc4 snd_usb_audio bcma mac80211 snd_usbmidi_lib > snd_hda_codec_realtek snd_seq_midi cfg80211 uvcvideo snd_seq_midi_event > videobuf2_vmalloc videobuf2_memops ftdi_sio iTCO_wdt iTCO_vendor_support > snd_hda_intel rfkill snd_hda_codec joydev videobuf2_core snd_rawmidi > snd_hwdep applesmc usbserial snd_pcm hid_appleir hid_generic evdev > input_polldev lpc_ich mfd_core i2c_i801 videodev media snd_page_alloc > i2c_core usbhid hid > Apr 17 09:42:12 teenymac kernel: coretemp acpi_cpufreq rng_core processor > snd_seq snd_seq_device snd_timer apple_bl snd kvm_intel kvm video thermal_sys > soundcore button ext4 crc16 mbcache jbd2 dm_mod sd_mod crc_t10dif > crct10dif_common ata_generic firewire_ohci ata_piix firewire_core crc_itu_t > ehci_pci uhci_hcd ehci_hcd ssb mmc_core pcmcia pcmcia_core libata scsi_mod > usbcore usb_common [last unloaded: cdrom] > Apr 17 09:42:12 teenymac kernel: [1202533.365442] CPU: 0 PID: 14387 Comm: > modprobe Tainted: P W O 3.13-1-amd64 #1 Debian 3.13.7-1 > Apr 17 09:42:12 teenymac kernel: [1202533.365443] Hardware name: Apple > Computer, Inc. iMac6,1/Mac-F4218FC8, BIOS IM61.88Z.0093.B07.0706281250 > 06/28/07 > Apr 17 09:42:12 teenymac kernel: [1202533.365446] 0000000000000009 > ffffffff814a1327 0000000000000000 ffffffff8105ba72 > Apr 17 09:42:12 teenymac kernel: [1202533.365449] ffff88003646b1c0 > ffff88004081c880 ffff88004081c800 ffff88004081c870 > Apr 17 09:42:12 teenymac kernel: [1202533.365452] ffff88004081c80c > ffffffff812497b4 ffff88003646b1c0 ffffffff8124cd8d > Apr 17 09:42:12 teenymac kernel: [1202533.365455] Call Trace: > Apr 17 09:42:12 teenymac kernel: [1202533.365461] [<ffffffff814a1327>] ? > dump_stack+0x41/0x51 > Apr 17 09:42:12 teenymac kernel: [1202533.365464] [<ffffffff8105ba72>] ? > warn_slowpath_common+0x72/0x90 > Apr 17 09:42:12 teenymac kernel: [1202533.365467] [<ffffffff812497b4>] ? > blk_queue_bypass_end+0x54/0x60 > Apr 17 09:42:12 teenymac kernel: [1202533.365471] [<ffffffff8124cd8d>] ? > blk_register_queue+0x2d/0x130 > Apr 17 09:42:12 teenymac kernel: [1202533.365474] [<ffffffff81256ef9>] ? > add_disk+0x1b9/0x490 > Apr 17 09:42:12 teenymac kernel: [1202533.365480] [<ffffffffa002f24c>] ? > sr_probe+0x4bc/0x510 [sr_mod] > Apr 17 09:42:12 teenymac kernel: [1202533.365485] [<ffffffff81355058>] ? > driver_probe_device+0x68/0x220 > Apr 17 09:42:12 teenymac kernel: [1202533.365487] [<ffffffff813552cb>] ? > __driver_attach+0x7b/0x80 > Apr 17 09:42:12 teenymac kernel: [1202533.365490] [<ffffffff81355250>] ? > __device_attach+0x40/0x40 > Apr 17 09:42:12 teenymac kernel: [1202533.365493] [<ffffffff81353413>] ? > bus_for_each_dev+0x53/0x90 > Apr 17 09:42:12 teenymac kernel: [1202533.365499] [<ffffffff81354810>] ? > bus_add_driver+0x170/0x220 > Apr 17 09:42:12 teenymac kernel: [1202533.365503] [<ffffffffa0035000>] ? > 0xffffffffa0034fff > Apr 17 09:42:12 teenymac kernel: [1202533.365506] [<ffffffff81355866>] ? > driver_register+0x56/0xd0 > Apr 17 09:42:12 teenymac kernel: [1202533.365510] [<ffffffffa0035000>] ? > 0xffffffffa0034fff > Apr 17 09:42:12 teenymac kernel: [1202533.365514] [<ffffffffa0035025>] ? > init_sr+0x25/0x1000 [sr_mod] > Apr 17 09:42:12 teenymac kernel: [1202533.365517] [<ffffffff81002162>] ? > do_one_initcall+0x112/0x170 > Apr 17 09:42:12 teenymac kernel: [1202533.365522] [<ffffffff810c6937>] ? > load_module+0x1b07/0x23f0 > Apr 17 09:42:12 teenymac kernel: [1202533.365524] [<ffffffff810c3530>] ? > m_show+0x1c0/0x1c0 > Apr 17 09:42:12 teenymac kernel: [1202533.365528] [<ffffffff810c72b1>] ? > SyS_init_module+0x91/0xc0 > Apr 17 09:42:12 teenymac kernel: [1202533.365532] [<ffffffff814ae4f9>] ? > system_call_fastpath+0x16/0x1b > Apr 17 09:42:12 teenymac kernel: [1202533.365533] ---[ end trace > d612d66b72504ae2 ]--- > Apr 17 09:42:12 teenymac kernel: [1202533.365582] sr 0:0:0:0: Attached scsi > CD-ROM sr0 [...] sr_mod module reinserted, tries to re-register the block queue for sr0. In fact I can reproduce the same WARNING with a device that is still physically present. This was reported upstream as <http://thread.gmane.org/gmane.linux.kernel/1469680> but is still unfixed (apparently should be fixed differently from the patch posted there). Ben. -- Ben Hutchings Lowery's Law: If it jams, force it. If it breaks, it needed replacing anyway.
signature.asc
Description: This is a digitally signed message part