https://bugzilla.novell.com/show_bug.cgi?id=232423 Summary: module ide_core can't be loaded after resume Product: openSUSE 10.2 Version: Final Platform: i686 OS/Version: Linux Status: NEW Severity: Critical Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: andihartmann@freenet.de QAContact: qa@suse.de The notebook Maxdata 4000 Select IW has been booted with the standard kernel of openSuSE 10.2 (2.6.18.2-34-default, SMP). KDE has been started and a user has been looged on. The user put a usb stick into the usb slot: Jan 6 09:25:07 notebook1 kernel: usb 4-3: new high speed USB device using ehci_hcd and address 12 Jan 6 09:25:07 notebook1 kernel: usb 4-3: new device found, idVendor=04e8, idProduct=0110 Jan 6 09:25:07 notebook1 kernel: usb 4-3: new device strings: Mfr=1, Product=2, SerialNumber=3 Jan 6 09:25:07 notebook1 kernel: usb 4-3: Product: USB DRIVE Jan 6 09:25:07 notebook1 kernel: usb 4-3: Manufacturer: Jan 6 09:25:07 notebook1 kernel: usb 4-3: SerialNumber: ABCD615519000996 Jan 6 09:25:07 notebook1 kernel: usb 4-3: configuration #1 chosen from 1 choice Jan 6 09:25:07 notebook1 kernel: scsi4 : SCSI emulation for USB Mass Storage devices Jan 6 09:25:07 notebook1 kernel: usb-storage: device found at 12 Jan 6 09:25:07 notebook1 kernel: usb-storage: waiting for device to settle before scanning Jan 6 09:25:08 notebook1 kernel: Vendor: Model: USB DRIVE Rev: 1.13 Jan 6 09:25:08 notebook1 kernel: Type: Direct-Access ANSI SCSI revision: 00 Jan 6 09:25:08 notebook1 kernel: SCSI device sdb: 1006592 512-byte hdwr sectors (515 MB) Jan 6 09:25:08 notebook1 kernel: sdb: Write Protect is off Jan 6 09:25:08 notebook1 kernel: sdb: Mode Sense: 23 00 00 00 Jan 6 09:25:08 notebook1 kernel: sdb: assuming drive cache: write through Jan 6 09:25:08 notebook1 kernel: SCSI device sdb: 1006592 512-byte hdwr sectors (515 MB) Jan 6 09:25:08 notebook1 kernel: sdb: Write Protect is off Jan 6 09:25:08 notebook1 kernel: sdb: Mode Sense: 23 00 00 00 Jan 6 09:25:08 notebook1 kernel: sdb: assuming drive cache: write through Jan 6 09:25:08 notebook1 kernel: sdb: sdb1 Jan 6 09:25:08 notebook1 kernel: sd 4:0:0:0: Attached scsi removable disk sdb Jan 6 09:25:08 notebook1 kernel: sd 4:0:0:0: Attached scsi generic sg2 type 0 Jan 6 09:25:08 notebook1 kernel: usb-storage: device scan complete Jan 6 09:25:09 notebook1 hald: mounted /dev/sdb1 on behalf of uid 1000 After using the stick, the device is removed in konqueror sysinfo:/, remove device. In /etc/powersave/sleep, ide_core is defined to be unloaded before suspending (in UNLOAD_MODULES_BEFORE_SUSPEND2DISK, UNLOAD_MODULES_BEFORE_SUSPEND2RAM, UNLOAD_MODULES_BEFORE_STANDBY). During resume, the module is tried to load again, but it oopses: notebook1:~ # ksymoops < oops.tmp ksymoops 2.4.11 on i686 2.6.18.2-34-default. Options used -V (default) -k /proc/kallsyms (default) -l /proc/modules (default) -o /lib/modules/2.6.18.2-34-default/ (default) -m /boot/System.map-2.6.18.2-34-default (default) Warning: You did not tell me where to find symbol information. I will assume that the log matches the kernel and modules that are running right now and I'll use the default options above for symbol resolution. If the current kernel and/or modules do not match the log, you can get more accurate output by telling me the kernel version and where to find map, modules, ksyms etc. ksymoops -h explains the options. Warning (read_ksyms): no kernel symbols in ksyms, is /proc/kallsyms a valid ksyms file? No modules in ksyms, skipping objects No ksyms, skipping lsmod Jan 6 17:08:00 notebook1 kernel: BUG: unable to handle kernel paging request at virtual address e04734b0 Jan 6 17:08:00 notebook1 kernel: c01c01b9 Jan 6 17:08:00 notebook1 kernel: *pde = 1f70e067 Jan 6 17:08:00 notebook1 kernel: Oops: 0002 [#1] Jan 6 17:08:00 notebook1 kernel: CPU: 0 Jan 6 17:08:00 notebook1 kernel: EIP: 0060:[<c01c01b9>] Tainted: G U VLI Using defaults from ksymoops -t elf32-i386 -a i386 Jan 6 17:08:00 notebook1 kernel: EFLAGS: 00010292 (2.6.18.2-34-default #1) Jan 6 17:08:00 notebook1 kernel: eax: c0351501 ebx: e0503494 ecx: e04734b0 edx: e05034b0 Jan 6 17:08:00 notebook1 kernel: esi: ffffffea edi: c03514c0 ebp: dde105e0 esp: d67cbe08 Jan 6 17:08:00 notebook1 kernel: ds: 007b es: 007b ss: 0068 Jan 6 17:08:00 notebook1 kernel: Stack: 00000000 c02bd5d1 e0503494 e0503498 fffffffe c0351540 e0503494 ffffffea Jan 6 17:08:00 notebook1 kernel: c03514c0 dde105e0 c01c037e e0503494 e050347c c0224f19 e0503494 c02bd5cf Jan 6 17:08:00 notebook1 kernel: e04f6efd 00000000 00000001 00000000 dde10000 dde10638 dde105e0 e043785c Jan 6 17:08:00 notebook1 kernel: Call Trace: Jan 6 17:08:00 notebook1 kernel: [<c01c037e>] kobject_register+0x19/0x30 Jan 6 17:08:00 notebook1 kernel: [<c0224f19>] bus_add_driver+0x51/0x107 Jan 6 17:08:00 notebook1 kernel: [<e043785c>] init_module+0x716/0x72f [ide_core] Jan 6 17:08:00 notebook1 kernel: [<c0137119>] __link_module+0x0/0x1f Jan 6 17:08:00 notebook1 kernel: [<c011b951>] __cond_resched+0x16/0x34 Jan 6 17:08:00 notebook1 kernel: [<c02a44e0>] cond_resched+0x2a/0x31 Jan 6 17:08:00 notebook1 kernel: [<c02a4515>] wait_for_completion+0x18/0xa4 Jan 6 17:08:00 notebook1 kernel: [<c0140466>] do_stop+0x0/0x117 Jan 6 17:08:01 notebook1 kernel: [<c0137119>] __link_module+0x0/0x1f Jan 6 17:08:01 notebook1 kernel: [<c013987f>] sys_init_module+0x17fe/0x1981 Jan 6 17:08:01 notebook1 kernel: [<c014ba04>] generic_file_read+0x0/0xb8 Jan 6 17:08:01 notebook1 kernel: [<c0103d5d>] sysenter_past_esp+0x56/0x79 Jan 6 17:08:01 notebook1 kernel: Code: 24 14 00 75 0f 8b 43 28 83 c0 14 e8 31 fe ff ff 89 44 24 14 8b 43 28 8d 53 1c 83 c0 08 8b 48 04 89 43 1c 89 50 04 b0 01 89 4a 04 <89> 11 8b 53 28 86 42 10 8b 44 24 14 89 43 24 c7 44 24 10 00 00
EIP; c01c01b9 <kobject_add+ab/18a> <=====
eax; c0351501 <pnp_bus_type+41/180> ebx; e0503494 <pg0+200d7494/3fbd2400> ecx; e04734b0 <pg0+200474b0/3fbd2400> edx; e05034b0 <pg0+200d74b0/3fbd2400> esi; ffffffea <__kernel_rt_sigreturn+1baa/????> edi; c03514c0 <pnp_bus_type+0/180> ebp; dde105e0 <pg0+1d9e45e0/3fbd2400> esp; d67cbe08 <pg0+1639fe08/3fbd2400>
Trace; c01c037e <kobject_register+19/30> Trace; c0224f19 <bus_add_driver+51/107> Trace; e043785c <pg0+2000b85c/3fbd2400> Trace; c0137119 <__link_module+0/1f> Trace; c011b951 <__cond_resched+16/34> Trace; c02a44e0 <cond_resched+2a/31> Trace; c02a4515 <wait_for_completion+18/a4> Trace; c0140466 <do_stop+0/117> Trace; c0137119 <__link_module+0/1f> Trace; c013987f <sys_init_module+17fe/1981> Trace; c014ba04 <generic_file_read+0/b8> Trace; c0103d5d <sysenter_past_esp+56/79> This architecture has variable length instructions, decoding before eip is unreliable, take these instructions with a pinch of salt. Code; c01c018e <kobject_add+80/18a> 00000000 <_EIP>: Code; c01c018e <kobject_add+80/18a> 0: 24 14 and $0x14,%al Code; c01c0190 <kobject_add+82/18a> 2: 00 75 0f add %dh,0xf(%ebp) Code; c01c0193 <kobject_add+85/18a> 5: 8b 43 28 mov 0x28(%ebx),%eax Code; c01c0196 <kobject_add+88/18a> 8: 83 c0 14 add $0x14,%eax Code; c01c0199 <kobject_add+8b/18a> b: e8 31 fe ff ff call fffffe41 <_EIP+0xfffffe41> Code; c01c019e <kobject_add+90/18a> 10: 89 44 24 14 mov %eax,0x14(%esp) Code; c01c01a2 <kobject_add+94/18a> 14: 8b 43 28 mov 0x28(%ebx),%eax Code; c01c01a5 <kobject_add+97/18a> 17: 8d 53 1c lea 0x1c(%ebx),%edx Code; c01c01a8 <kobject_add+9a/18a> 1a: 83 c0 08 add $0x8,%eax Code; c01c01ab <kobject_add+9d/18a> 1d: 8b 48 04 mov 0x4(%eax),%ecx Code; c01c01ae <kobject_add+a0/18a> 20: 89 43 1c mov %eax,0x1c(%ebx) Code; c01c01b1 <kobject_add+a3/18a> 23: 89 50 04 mov %edx,0x4(%eax) Code; c01c01b4 <kobject_add+a6/18a> 26: b0 01 mov $0x1,%al Code; c01c01b6 <kobject_add+a8/18a> 28: 89 4a 04 mov %ecx,0x4(%edx) This decode from eip onwards should be reliable Code; c01c01b9 <kobject_add+ab/18a> 00000000 <_EIP>: Code; c01c01b9 <kobject_add+ab/18a> <===== 0: 89 11 mov %edx,(%ecx) <===== Code; c01c01bb <kobject_add+ad/18a> 2: 8b 53 28 mov 0x28(%ebx),%edx Code; c01c01be <kobject_add+b0/18a> 5: 86 42 10 xchg %al,0x10(%edx) Code; c01c01c1 <kobject_add+b3/18a> 8: 8b 44 24 14 mov 0x14(%esp),%eax Code; c01c01c5 <kobject_add+b7/18a> c: 89 43 24 mov %eax,0x24(%ebx) Code; c01c01c8 <kobject_add+ba/18a> f: c7 .byte 0xc7 Code; c01c01c9 <kobject_add+bb/18a> 10: 44 inc %esp Code; c01c01ca <kobject_add+bc/18a> 11: 24 10 and $0x10,%al Jan 6 17:08:01 notebook1 kernel: EIP: [<c01c01b9>] kobject_add+0xab/0x18a SS:ESP 0068:d67cbe08 Warning (Oops_read): Code line not seen, dumping what data is available
EIP; c01c01b9 <kobject_add+ab/18a> <=====
The module appears on the modules list after this oops, but cannot be removed, because it's claimed to be used - but there isn't any user. If you want to modprobe usb-storage, modprobe hangs. usb-storage cannot be loaded at all. BTW: Suspending and resuming has been working fine with openSuSE 10.1 The complete modules list is: notebook1:~ # lsmod Module Size Used by ohci1394 37040 0 ieee1394 102584 1 ohci1394 button 10896 0 ide_core 133936 1 ohci_hcd 23428 0 uhci_hcd 26892 0 snd_hda_intel 23060 0 snd_hda_codec 164352 1 snd_hda_intel snd_pcm 86916 2 snd_hda_intel,snd_hda_codec snd_timer 27908 1 snd_pcm snd 61188 4 snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer soundcore 13792 1 snd snd_page_alloc 14472 2 snd_hda_intel,snd_pcm nls_iso8859_1 8320 0 nls_cp437 9984 0 vfat 16640 0 fat 55324 1 vfat af_packet 29320 2 ipv6 263584 18 battery 14340 0 ac 9476 0 twofish 47488 2 cryptoloop 7680 2 apparmor 55572 0 aamatch_pcre 18304 1 apparmor loop 20488 5 cryptoloop dm_mod 60184 12 usbhid 52192 0 pcmcia 40892 0 firmware_class 14080 1 pcmcia 8139too 30592 0 mii 9600 1 8139too yenta_socket 30348 1 rsrc_nonstatic 17024 1 yenta_socket ehci_hcd 34696 0 pcmcia_core 43412 3 pcmcia,yenta_socket,rsrc_nonstatic usbcore 114896 4 ohci_hcd,uhci_hcd,usbhid,ehci_hcd intel_agp 27804 1 i2c_i801 11660 0 agpgart 35528 3 intel_agp i2c_core 25216 1 i2c_i801 reiserfs 237312 6 sr_mod 20132 0 cdrom 38432 1 sr_mod edd 13892 0 fan 8964 1 sg 38044 0 ata_piix 19332 3 ahci 25860 0 libata 119188 2 ata_piix,ahci thermal 18568 1 processor 34664 1 thermal sd_mod 24576 4 scsi_mod 136712 5 sr_mod,sg,ahci,libata,sd_mod notebook1:~ # lspci -v 00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 04) Subsystem: Mitac Unknown device 8048 Flags: bus master, fast devsel, latency 0 Capabilities: [e0] Vendor Specific Information 00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04) (prog-if 00 [VGA]) Subsystem: Mitac Unknown device 8048 Flags: bus master, fast devsel, latency 0, IRQ 11 Memory at d0000000 (32-bit, non-prefetchable) [size=512K] I/O ports at e000 [size=8] Memory at a0000000 (32-bit, prefetchable) [size=256M] Memory at d0080000 (32-bit, non-prefetchable) [size=256K] Capabilities: [d0] Power Management version 2 00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04) Subsystem: Mitac Unknown device 8048 Flags: bus master, fast devsel, latency 0 Memory at d0100000 (32-bit, non-prefetchable) [size=512K] Capabilities: [d0] Power Management version 2 00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04) Subsystem: Mitac Unknown device 8048 Flags: bus master, fast devsel, latency 0, IRQ 209 Memory at d0180000 (64-bit, non-prefetchable) [size=16K] Capabilities: [50] Power Management version 2 Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable- Capabilities: [70] Express Unknown type IRQ 0 00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04) (prog-if 00 [UHCI]) Subsystem: Mitac Unknown device 8048 Flags: bus master, medium devsel, latency 0, IRQ 193 I/O ports at 1200 [size=32] 00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04) (prog-if 00 [UHCI]) Subsystem: Mitac Unknown device 8048 Flags: bus master, medium devsel, latency 0, IRQ 177 I/O ports at 1220 [size=32] 00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04) (prog-if 00 [UHCI]) Subsystem: Mitac Unknown device 8048 Flags: bus master, medium devsel, latency 0, IRQ 201 I/O ports at 1240 [size=32] 00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04) (prog-if 20 [EHCI]) Subsystem: Mitac Unknown device 8048 Flags: bus master, medium devsel, latency 0, IRQ 193 Memory at 20000000 (32-bit, non-prefetchable) [size=1K] Capabilities: [50] Power Management version 2 Capabilities: [58] Debug port 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4) (prog-if 01 [Subtractive decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=01, subordinate=05, sec-latency=32 I/O behind bridge: 0000c000-0000dfff Memory behind bridge: cc000000-cfffffff Prefetchable memory behind bridge: 000000009c000000-000000009fffffff Capabilities: [50] Subsystem: Mitac Unknown device 8048 00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04) Subsystem: Mitac Unknown device 8048 Flags: bus master, medium devsel, latency 0 00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 04) (prog-if 80 [Master]) Subsystem: Mitac Unknown device 8048 Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 177 I/O ports at <unassigned> I/O ports at <unassigned> I/O ports at <unassigned> I/O ports at <unassigned> I/O ports at 1100 [size=16] Capabilities: [70] Power Management version 2 00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 04) Subsystem: Mitac Unknown device 8048 Flags: medium devsel, IRQ 177 I/O ports at 1400 [size=32] 01:02.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller Subsystem: Mitac Unknown device 8048 Flags: bus master, medium devsel, latency 168, IRQ 169 Memory at cc009000 (32-bit, non-prefetchable) [size=4K] Bus: primary=01, secondary=02, subordinate=05, sec-latency=176 Memory window 0: 9c000000-9dfff000 (prefetchable) Memory window 1: ce000000-cffff000 I/O window 0: 0000c400-0000c4ff I/O window 1: 0000c800-0000c8ff 16-bit legacy interface ports at 0001 01:02.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller (prog-if 10 [OHCI]) Subsystem: Mitac Unknown device 8048 Flags: bus master, medium devsel, latency 128, IRQ 177 Memory at fedff800 (32-bit, non-prefetchable) [size=2K] Memory at cc00c000 (32-bit, non-prefetchable) [size=16K] Capabilities: [44] Power Management version 2 01:04.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) Subsystem: Mitac Unknown device 8048 Flags: bus master, medium devsel, latency 128, IRQ 217 I/O ports at c000 [size=256] Memory at cc008000 (32-bit, non-prefetchable) [size=256] Capabilities: [50] Power Management version 2 01:05.0 Network controller: RaLink RT2561/RT61 rev B 802.11g Subsystem: Micro-Star International Co., Ltd. Unknown device b833 Flags: bus master, slow devsel, latency 128, IRQ 11 Memory at cc000000 (32-bit, non-prefetchable) [size=32K] Capabilities: [40] Power Management version 2 If you need some more information, please ask me. I will provide it as far as possible Kind regards, Andreas Hartmann -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.