Hi, I've got this systematically at boot: [ 16.507977] IPMI System Interface driver. [ 16.508187] general protection fault: 0000 [#1] SMP [ 16.508189] last sysfs file: /sys/module/ipmi_msghandler/initstate [ 16.508191] CPU 0 [ 16.508194] Pid: 1924, comm: modprobe Not tainted 2.6.33-2-amd64 #1 S975XBX2/ [ 16.508196] RIP: 0010:[<ffffffff8117fb95>] [<ffffffff8117fb95>] kobject_put+0x9/0x42 [ 16.508202] RSP: 0018:ffff88010b209ea8 EFLAGS: 00010202 [ 16.508204] RAX: ffffffffa025a980 RBX: 2f6d72642f757067 RCX: ffffffffa0326b50 [ 16.508206] RDX: 0000000000000000 RSI: ffffffffa0325453 RDI: 2f6d72642f757067 [ 16.508208] RBP: ffffffffa0326980 R08: ffffffffa0325a9b R09: 000000000000000e [ 16.508209] R10: 0000000000000000 R11: ffff88010b209d88 R12: 00000000fffffff0 [ 16.508211] R13: ffff88010b209f00 R14: 0000000000000000 R15: ffff88010b209f00 [ 16.508214] FS: 0000000000000000(0000) GS:ffff880005600000(0063) knlGS:00000000f766a8d0 [ 16.508216] CS: 0010 DS: 002b ES: 002b CR0: 000000008005003b [ 16.508217] CR2: 00000000f775634c CR3: 000000010b31a000 CR4: 00000000000006f0 [ 16.508219] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 16.508221] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 16.508223] Process modprobe (pid: 1924, threadinfo ffff88010b208000, task ffff88010ccb6900) [ 16.508225] Stack: [ 16.508225] 0000000000000000 ffffffff8120f5bb 0000000000000000 0000000000000006 [ 16.508228] <0> 0000000000000001 ffff88010b209f00 0000000000000000 ffffffffa03248df [ 16.508230] <0> ffffffffa0326b50 0000000000000292 ffffffff81649fb0 ffffffff81182dc1 [ 16.508233] Call Trace: [ 16.508237] [<ffffffff8120f5bb>] ? driver_register+0x8b/0x111 [ 16.508243] [<ffffffffa03248df>] ? init_ipmi_si+0x5f1/0x79d [ipmi_si] [ 16.508246] [<ffffffff81182dc1>] ? __up_read+0x13/0x99 [ 16.508251] [<ffffffffa03242ee>] ? init_ipmi_si+0x0/0x79d [ipmi_si] [ 16.508254] [<ffffffff81002065>] ? do_one_initcall+0x64/0x174 [ 16.508258] [<ffffffff8107485e>] ? sys_init_module+0xc5/0x21a [ 16.508261] [<ffffffff8103146f>] ? sysenter_dispatch+0x7/0x2e [ 16.508262] Code: 00 e8 28 ff ff ff 48 85 c0 48 89 c3 74 0f 48 c7 c6 70 50 66 81 48 89 c7 e8 57 ff ff ff 48 89 d8 5b c3 48 85 ff 53 48 89 fb 74 37 <f6> 47 3c 01 75 20 48 8b 0f 49 89 f8 48 c7 c2 58 6e 4c 81 be 53 [ 16.508278] RIP [<ffffffff8117fb95>] kobject_put+0x9/0x42 [ 16.508281] RSP <ffff88010b209ea8> [ 16.508283] ---[ end trace 193d07c5a4c14e5e ]--- lspci -v 00:00.0 Host bridge: Intel Corporation 82975X Memory Controller Hub Subsystem: Intel Corporation Device 5842 Flags: bus master, fast devsel, latency 0 Capabilities: [e0] Vendor Specific Information <?> Kernel driver in use: i82975x_edac 00:01.0 PCI bridge: Intel Corporation 82975X PCI Express Root Port (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 Memory behind bridge: fb200000-fb2fffff Capabilities: [88] Subsystem: Intel Corporation Device 5842 Capabilities: [80] Power Management version 2 Capabilities: [90] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+ Capabilities: [a0] Express Root Port (Slot+), MSI 00 Capabilities: [100] Virtual Channel <?> Capabilities: [140] Root Complex Link <?> Kernel driver in use: pcieport 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01) Subsystem: Intel Corporation Device 0420 Flags: bus master, fast devsel, latency 0, IRQ 29 Memory at fb300000 (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 Root Complex Integrated Endpoint, MSI 00 Capabilities: [100] Virtual Channel <?> Capabilities: [130] Root Complex Link <?> Kernel driver in use: HDA Intel 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=02, subordinate=02, sec-latency=0 I/O behind bridge: 00004000-00004fff Memory behind bridge: f4000000-f41fffff Prefetchable memory behind bridge: 00000000f4200000-00000000f43fffff Capabilities: [40] Express Root Port (Slot+), MSI 00 Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+ Capabilities: [90] Subsystem: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 Capabilities: [a0] Power Management version 2 Capabilities: [100] Virtual Channel <?> Capabilities: [180] Root Complex Link <?> Kernel driver in use: pcieport 00:1c.5 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 6 (rev 01) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=03, subordinate=03, sec-latency=0 I/O behind bridge: 00002000-00002fff Memory behind bridge: fb100000-fb1fffff Prefetchable memory behind bridge: 00000000f4400000-00000000f45fffff Capabilities: [40] Express Root Port (Slot+), MSI 00 Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+ Capabilities: [90] Subsystem: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 6 Capabilities: [a0] Power Management version 2 Capabilities: [100] Virtual Channel <?> Capabilities: [180] Root Complex Link <?> Kernel driver in use: pcieport 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01) (prog-if 00 [UHCI]) Subsystem: Intel Corporation Device 5842 Flags: bus master, medium devsel, latency 0, IRQ 23 I/O ports at 3080 [size=32] Kernel driver in use: uhci_hcd 00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01) (prog-if 00 [UHCI]) Subsystem: Intel Corporation Device 5842 Flags: bus master, medium devsel, latency 0, IRQ 19 I/O ports at 3060 [size=32] Kernel driver in use: uhci_hcd 00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01) (prog-if 00 [UHCI]) Subsystem: Intel Corporation Device 5842 Flags: bus master, medium devsel, latency 0, IRQ 18 I/O ports at 3040 [size=32] Kernel driver in use: uhci_hcd 00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01) (prog-if 00 [UHCI]) Subsystem: Intel Corporation Device 5842 Flags: bus master, medium devsel, latency 0, IRQ 16 I/O ports at 3020 [size=32] Kernel driver in use: uhci_hcd 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01) (prog-if 20 [EHCI]) Subsystem: Intel Corporation Device 5842 Flags: bus master, medium devsel, latency 0, IRQ 23 Memory at fb304400 (32-bit, non-prefetchable) [size=1K] Capabilities: [50] Power Management version 2 Capabilities: [58] Debug port: BAR=1 offset=00a0 Kernel driver in use: ehci_hcd 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1) (prog-if 01 [Subtractive decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=04, subordinate=04, sec-latency=32 I/O behind bridge: 00001000-00001fff Memory behind bridge: fa000000-fb0fffff Prefetchable memory behind bridge: 00000000f8000000-00000000f9ffffff Capabilities: [50] Subsystem: Intel Corporation Device 5842 00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01) Subsystem: Intel Corporation Device 5842 Flags: bus master, medium devsel, latency 0 Capabilities: [e0] Vendor Specific Information <?> 00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01) (prog-if 8a [Master SecP PriP]) Subsystem: Intel Corporation Device 5842 Flags: bus master, medium devsel, latency 0, IRQ 18 I/O ports at 01f0 [size=8] I/O ports at 03f4 [size=1] I/O ports at 0170 [size=8] I/O ports at 0374 [size=1] I/O ports at 30b0 [size=16] Kernel driver in use: ata_piix 00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 01) (prog-if 01 [AHCI 1.0]) Subsystem: Intel Corporation DeskTop Board D975XBX Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 27 I/O ports at 30c8 [size=8] I/O ports at 30e4 [size=4] I/O ports at 30c0 [size=8] I/O ports at 30e0 [size=4] I/O ports at 30a0 [size=16] Memory at fb304000 (32-bit, non-prefetchable) [size=1K] Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+ Capabilities: [70] Power Management version 2 Kernel driver in use: ahci 00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01) Subsystem: Intel Corporation DeskTop Board D975XBX Flags: medium devsel, IRQ 19 I/O ports at 3000 [size=32] Kernel driver in use: i801_smbus 01:00.0 Network controller: Atheros Communications Inc. AR5418 802.11abgn Wireless PCI Express Adapter (rev 01) Subsystem: D-Link System Inc Device 3a70 Flags: bus master, fast devsel, latency 0, IRQ 16 Memory at fb200000 (64-bit, non-prefetchable) [size=64K] Capabilities: [40] Power Management version 2 Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable- Capabilities: [60] Express Legacy Endpoint, MSI 00 Capabilities: [90] MSI-X: Enable- Mask- TabSize=1 Capabilities: [100] Advanced Error Reporting <?> Capabilities: [140] Virtual Channel <?> Kernel driver in use: ath9k 03:00.0 Ethernet controller: Intel Corporation 82573E Gigabit Ethernet Controller (Copper) (rev 03) Subsystem: Intel Corporation Device 0001 Flags: bus master, fast devsel, latency 0, IRQ 28 Memory at fb180000 (32-bit, non-prefetchable) [size=128K] Memory at fb100000 (32-bit, non-prefetchable) [size=512K] I/O ports at 2000 [size=32] Capabilities: [c8] Power Management version 2 Capabilities: [d0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable+ Capabilities: [e0] Express Endpoint, MSI 00 Capabilities: [100] Advanced Error Reporting <?> Capabilities: [140] Device Serial Number da-22-77-ff-ff-c0-1c-00 Kernel driver in use: e1000e 03:00.3 Serial controller: Intel Corporation Active Management Technology - SOL (rev 03) (prog-if 02 [16550]) Subsystem: Intel Corporation Device 0000 Flags: bus master, fast devsel, latency 0, IRQ 19 I/O ports at 2020 [size=8] Memory at fb1a1000 (32-bit, non-prefetchable) [size=4K] Capabilities: [c8] Power Management version 2 Capabilities: [d0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable- Capabilities: [e0] Express Endpoint, MSI 00 Capabilities: [100] Advanced Error Reporting <?> Capabilities: [140] Device Serial Number da-22-77-ff-ff-c0-1c-00 Kernel driver in use: serial 03:00.4 IPMI SMIC interface: Intel Corporation 82573E KCS (Active Management) (rev 03) (prog-if 01) Subsystem: Intel Corporation Device 0000 Flags: fast devsel, IRQ 16 Memory at fb1a0000 (32-bit, non-prefetchable) [size=4K] I/O ports at 2028 [size=4] Capabilities: [c8] Power Management version 2 Capabilities: [d0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable- Capabilities: [e0] Express Endpoint, MSI 00 Capabilities: [100] Advanced Error Reporting <?> Capabilities: [140] Device Serial Number da-22-77-ff-ff-c0-1c-00 04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) Subsystem: Realtek Semiconductor Co., Ltd. RT8139 Flags: bus master, medium devsel, latency 32, IRQ 21 I/O ports at 1000 [size=256] Memory at fb004800 (32-bit, non-prefetchable) [size=256] Expansion ROM at fb010000 [disabled] [size=64K] Kernel driver in use: 8139too 04:02.0 VGA compatible controller: nVidia Corporation NV5M64 [RIVA TNT2 Model 64/Model 64 Pro] (rev 15) (prog-if 00 [VGA controller]) Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 18 Memory at fa000000 (32-bit, non-prefetchable) [size=16M] Memory at f8000000 (32-bit, prefetchable) [size=32M] Expansion ROM at fb020000 [disabled] [size=64K] Capabilities: [60] Power Management version 1 Kernel driver in use: nouveau 04:04.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link) (prog-if 10 [OHCI]) Subsystem: Intel Corporation Device 5842 Flags: bus master, medium devsel, latency 32, IRQ 18 Memory at fb004000 (32-bit, non-prefetchable) [size=2K] Memory at fb000000 (32-bit, non-prefetchable) [size=16K] Capabilities: [44] Power Management version 2 Kernel driver in use: firewire_ohci
Did this system work on a previous kernel version? If so, which one? Looking through the code, The only way I can see this happening was if there was another driver already installed with the same name and it did not have a proper drv->p->kobj. But that doesn't make any sense.
No, it never worked before. But this system is quite young and was only tried with 2.6.32 and 2.6.33. I'm sorry I must confess my ignorance, but how could a different driver with the same name be loaded ? The package doesn't seem to contain that kind of thing. [xav@awak:~]$ find /lib/modules/2.6.33-2-amd64/ -name '*ipmi*' /lib/modules/2.6.33-2-amd64/kernel/drivers/char/ipmi /lib/modules/2.6.33-2-amd64/kernel/drivers/char/ipmi/ipmi_msghandler.ko /lib/modules/2.6.33-2-amd64/kernel/drivers/char/ipmi/ipmi_watchdog.ko /lib/modules/2.6.33-2-amd64/kernel/drivers/char/ipmi/ipmi_si.ko /lib/modules/2.6.33-2-amd64/kernel/drivers/char/ipmi/ipmi_poweroff.ko /lib/modules/2.6.33-2-amd64/kernel/drivers/char/ipmi/ipmi_devintf.ko
So it fails with 2.6.32, also? The traceback you have shows that some patches have been backported from 2.6.34, I believe, though that's sometimes hard to tell. Looking at this, it is very strange, because this is occurring far before any device work occurs, at least according to the backtrace. This occurs while the driver is registering itself with the device model. Looking at the 2.6.34 code and backtrace and guessing a little, the only thing I could find to match the backtrace was if the driver name was already registered and the already registered driver was missing something in its data structure. I'm wondering if this debian release has something incorrectly backported. I'll try to pull that code and see.
I see this has been linked from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=571980 . The 326m will probably be installed in about a month (though perhaps without ipmi!) at which point I will be unable to test anything with it. Assuming this is the same issue, I could test alternate kernels if you could point me at any you want testing. Would simply isolating the kernel that introduces the issue help?