hp-OpenIPMI process causing kernel panic while loading ipmi_si module using insmod command.
Issue
- Kernel panic with following stack traces.
ACPI: PCI Interrupt 0000:01:04.6[A] -> GSI 21 (level, low) -> IRQ 154
ipmi_si: Trying PCI-specified KCS state machine at memory address 0xdfef0000, slave address 0x0, irq 154
ipmi_si: Using PCI Plug and Play interrupt 154
kobject_add failed for ipmi_bmc.17 with -EEXIST, don't try to register things with the same name in the same directory.
Call Trace:
[<ffffffff801498cf>] kobject_add+0x16e/0x199
[<ffffffff801b5564>] device_add+0x85/0x372
[<ffffffff801b8788>] platform_device_add+0x111/0x148
[<ffffffff88d495ad>] :ipmi_msghandler:ipmi_register_smi+0x5cc/0xab7
[<ffffffff8009dba8>] autoremove_wake_function+0x0/0x2e
[<ffffffff88d66475>] :ipmi_si:try_smi_init+0x494/0x685
[<ffffffff88d67533>] :ipmi_si:ipmi_pci_probe+0xa0/0x17f
[<ffffffff8015516b>] pci_device_probe+0x104/0x184
[<ffffffff801b6f19>] driver_probe_device+0x52/0xaa
[<ffffffff801b7048>] __driver_attach+0x65/0xb6
[<ffffffff801b6fe3>] __driver_attach+0x0/0xb6
[<ffffffff801b6862>] bus_for_each_dev+0x43/0x6e
[<ffffffff801b64a8>] bus_add_driver+0x7e/0x130
[<ffffffff80155343>] __pci_register_driver+0x4b/0x6c
[<ffffffff88d67308>] :ipmi_si:init_ipmi_si+0x5c2/0x73f
[<ffffffff800a3ee4>] sys_init_module+0xaf/0x1e8
[<ffffffff8005d28d>] tracesys+0xd5/0xe0
ipmi_msghandler: Unable to register bmc device: -17
ipmi_si: Unable to register device: error -17
Unable to handle kernel NULL pointer dereference at 0000000000000000 RIP:
[<ffffffff80064b3d>] _spin_lock+0x0/0xa
PGD 7e5d26067 PUD 7e432b067 PMD 0
Oops: 0002 [1] SMP
last sysfs file: /devices/pci0000:00/0000:00:00.0/class
CPU 4
Modules linked in: ipmi_si(U) ipmi_devintf(U) ipmi_msghandler(U) gab(PU) llt(PU) vtune_drv(U) nfs lockd fscache nfs_acl autofs4 hpilo sunrpc dmpaa(PU) vxspec(PFU) vxio(PFU) vxdmp(PU) bonding vxportal(PFU) fdd(PFU) vxfs(PU) dm_mirror dm_multipath scsi_dh video hwmon backlight sbs i2c_ec i2c_core button battery asus_acpi acpi_memhotplug ac parport_pc lp parport sg i5000_edac edac_mc serio_raw pcspkr lpfc bnx2 scsi_transport_fc dm_raid45 dm_message dm_region_hash dm_log dm_mod dm_mem_cache ata_piix sata_nv libata mptsas scsi_transport_sas mptspi mptscsih scsi_transport_spi mptbase shpchp cciss sd_mod scsi_mod ext3 jbd uhci_hcd ohci_hcd ehci_hcd
Pid: 25459, comm: insmod Tainted: PF 2.6.18-128.1.6.el5 #1
RIP: 0010:[<ffffffff80064b3d>] [<ffffffff80064b3d>] _spin_lock+0x0/0xa
RSP: 0000:ffff8107e471bc90 EFLAGS: 00010292
RAX: 0000000000000000 RBX: ffff8107ebd61c38 RCX: 00000000c0000100
RDX: ffff81082fd06c00 RSI: ffffffff8014954e RDI: 0000000000000000
RBP: ffff8107ebd61c10 R08: ffff8107e471a000 R09: 0000000000000000
R10: ffff81082b734780 R11: 0000000000000080 R12: 0000000000000000
R13: ffffffff80320c60 R14: 0000000000000000 R15: 0000000000000000
FS: 00002b32cd863210(0000) GS:ffff81082ff79cc0(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 0000000000000000 CR3: 00000007e52f8000 CR4: 00000000000006e0
Process insmod (pid: 25459, threadinfo ffff8107e471a000, task ffff81080d63a820)
Stack: ffffffff8026f625 0000004c899d7342 ffff8107ebd61c00 ffff81080a090000
ffffffff801b5267 ffff81080a090000 ffff8107ebd61c00 ffff81082fd06c00
ffff81080a090000 ffff81082fd06c00 ffffffff801b8980 ffff81082fd06c34
Call Trace:
[<ffffffff8026f625>] klist_del+0x15/0x2a
[<ffffffff801b5267>] device_del+0x22/0x1a9
[<ffffffff801b8980>] platform_device_unregister+0x9/0x12
[<ffffffff88d48784>] :ipmi_msghandler:cleanup_bmc_device+0xde/0xe9
[<ffffffff88d486a6>] :ipmi_msghandler:cleanup_bmc_device+0x0/0xe9
[<ffffffff80034e94>] kref_put+0x6f/0x7a
[<ffffffff88d48697>] :ipmi_msghandler:ipmi_bmc_unregister+0x6a/0x79
[<ffffffff88d48e39>] :ipmi_msghandler:ipmi_unregister_smi+0xc/0xf4
[<ffffffff88d6657f>] :ipmi_si:try_smi_init+0x59e/0x685
[<ffffffff88d67533>] :ipmi_si:ipmi_pci_probe+0xa0/0x17f
[<ffffffff8015516b>] pci_device_probe+0x104/0x184
[<ffffffff801b6f19>] driver_probe_device+0x52/0xaa
[<ffffffff801b7048>] __driver_attach+0x65/0xb6
[<ffffffff801b6fe3>] __driver_attach+0x0/0xb6
[<ffffffff801b6862>] bus_for_each_dev+0x43/0x6e
[<ffffffff801b64a8>] bus_add_driver+0x7e/0x130
[<ffffffff80155343>] __pci_register_driver+0x4b/0x6c
[<ffffffff88d67308>] :ipmi_si:init_ipmi_si+0x5c2/0x73f
[<ffffffff800a3ee4>] sys_init_module+0xaf/0x1e8
[<ffffffff8005d28d>] tracesys+0xd5/0xe0
Code: f0 ff 0f 0f 88 6c 01 00 00 c3 f0 81 2f 00 00 00 01 74 05 e8
RIP [<ffffffff80064b3d>] _spin_lock+0x0/0xa
RSP <ffff8107e471bc90>
Environment
- Red Hat Enterprise Linux 5
- hp-OpenIPMI
- ipmi_si (proprietary module)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.