Corey Minyard <[email protected]> writes:

> So, can you check the following after attempting to load the module?
>
>    * Can you look in /proc/ipmi and /proc/ipmi/0 see what exists?

/proc/ipmi exists but is empty.

>      If /proc/ipmi/0 exists, and the version, ipmb, and stats files
>      exist in it, that means add_proc_entries() succeeded.  If type,
>      si_stats, and params exist, that means initialization should be
>      complete.
>
>    * Can you look in /sys/class/ipmi?  If ipmi0 exists there, that
>      means the sysfs code probably worked ok.

Negative, again: /sys/class/ipmi is empty as well.

> I'm guessing this is either some transient bug someplace else or some
> latent bug in the IPMI code that is being exercised by some other
> change.

At least it is 100% reproducible under v2.6.30-rc5-112-g1d80cac.
Reverting 4dec302ff71ebf48f5784a2d2fc5e3745e6d4d52 as Andrew suggested
solves it, though.

> If you are really adventurous, you could compile the kernel with the
> MAGIC_SYSRQ config enabled, then to a sysrq-T to get a backtrace of
> all tasks.

That's why I included the INFO in my first message.  Here it is again,
twice, not that it's changing much...

[  141.794391] IPMI System Interface driver.
[  141.802509] ipmi_si: Trying SMBIOS-specified smic state machine at i/o 
address 0xecf4, slave address 0x20, irq 0
[  299.004257] Firewall heartbeat: IN=bond0 OUT= 
MAC=00:06:5b:f3:43:66:00:11:5d:5b:b8:c0:08:00 SRC=195.111.104.33 
DST=195.111.98.18 LEN=40 TOS=0x00 PREC=0x00 TTL=253 ID=16453 PROTO=TCP 
SPT=23375 DPT=49 WINDOW=3963 RES=0x00 ACK URGP=0 
[  362.025575] INFO: task modprobe:4612 blocked for more than 120 seconds.
[  362.038874] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this 
message.
[  362.054607] modprobe      D f5d5e480     0  4612   4557
[  362.065289]  f047fe68 00000082 00000000 f5d5e480 f047fe48 f909a1cf c046acc0 
c0467de4
[  362.081557]  c046acc0 f64922c0 f6492474 c180acc0 00000000 c1807de8 f6095c00 
fc314600
[  362.097776]  f047fe18 c0114a21 f047fe28 c0121ba6 f047fe30 00000282 f047fe30 
c03244ac
[  362.114004] Call Trace:
[  362.118990]  [<f909a1cf>] ? i_ipmi_request+0x8f5/0x916 [ipmi_msghandler]
[  362.132461]  [<c0114a21>] ? native_smp_send_reschedule+0x43/0x45
[  362.144554]  [<c0121ba6>] ? resched_task+0x60/0x64
[  362.154225]  [<c01292c3>] ? try_to_wake_up+0x1f3/0x1fd
[  362.164572]  [<c031b81a>] schedule+0x8/0x17
[  362.173029]  [<f909b745>] ipmi_register_smi+0x3ca/0xba1 [ipmi_msghandler]
[  362.186666]  [<c028681c>] ? put_device+0xf/0x11
[  362.195811]  [<c028782a>] ? device_add+0x497/0x516
[  362.205466]  [<c013f2e7>] ? autoremove_wake_function+0x0/0x33
[  362.217049]  [<fc30d39c>] try_smi_init+0x58f/0x726 [ipmi_si]
[  362.228449]  [<fc3103e5>] init_ipmi_si+0x3e2/0x748 [ipmi_si]
[  362.239849]  [<c010304f>] do_one_initcall+0x4a/0x115
[  362.249854]  [<fc310003>] ? init_ipmi_si+0x0/0x748 [ipmi_si]
[  362.261254]  [<c0142c0b>] ? __blocking_notifier_call_chain+0x40/0x4c
[  362.274029]  [<c014ff97>] sys_init_module+0x87/0x18b
[  362.284047]  [<c0107c94>] sysenter_do_call+0x12/0x28
[  482.293573] INFO: task modprobe:4612 blocked for more than 120 seconds.
[  482.306878] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this 
message.
[  482.322605] modprobe      D f5d5e480     0  4612   4557
[  482.333310]  f047fe68 00000082 00000000 f5d5e480 f047fe48 f909a1cf c046acc0 
c0467de4
[  482.349557]  c046acc0 f64922c0 f6492474 c180acc0 00000000 c1807de8 f6095c00 
fc314600
[  482.365812]  f047fe18 c0114a21 f047fe28 c0121ba6 f047fe30 00000282 f047fe30 
c03244ac
[  482.382042] Call Trace:
[  482.387042]  [<f909a1cf>] ? i_ipmi_request+0x8f5/0x916 [ipmi_msghandler]
[  482.400520]  [<c0114a21>] ? native_smp_send_reschedule+0x43/0x45
[  482.412609]  [<c0121ba6>] ? resched_task+0x60/0x64
[  482.422278]  [<c01292c3>] ? try_to_wake_up+0x1f3/0x1fd
[  482.432622]  [<c031b81a>] schedule+0x8/0x17
[  482.441081]  [<f909b745>] ipmi_register_smi+0x3ca/0xba1 [ipmi_msghandler]
[  482.454723]  [<c028681c>] ? put_device+0xf/0x11
[  482.463866]  [<c028782a>] ? device_add+0x497/0x516
[  482.473519]  [<c013f2e7>] ? autoremove_wake_function+0x0/0x33
[  482.485086]  [<fc30d39c>] try_smi_init+0x58f/0x726 [ipmi_si]
[  482.496488]  [<fc3103e5>] init_ipmi_si+0x3e2/0x748 [ipmi_si]
[  482.507886]  [<c010304f>] do_one_initcall+0x4a/0x115
[  482.517887]  [<fc310003>] ? init_ipmi_si+0x0/0x748 [ipmi_si]
[  482.530792]  [<c0142c0b>] ? __blocking_notifier_call_chain+0x40/0x4c
[  482.543574]  [<c014ff97>] sys_init_module+0x87/0x18b
[  482.553589]  [<c0107c94>] sysenter_do_call+0x12/0x28

Sysrq-t doesn't differ at all, but shows apache2 and kipmi0 as well:

[  566.662734] apache2       S f6dfb480     0  3805   3740
[  566.662734]  f4f81e28 00200082 00000000 f6dfb480 f4f81db8 c01366af c046acc0 
c0467de4
[  566.662734]  c046acc0 f65ee550 f65ee704 c180acc0 00000000 00000000 00200282 
00006180
[  566.662734]  f6cae814 f6cae800 f4f81de0 c01367c0 f4f81dfc fc30cdb8 00000004 
00200286
[  566.662734] Call Trace:
[  566.662734]  [<c01366af>] ? lock_timer_base+0x1f/0x3e
[  566.662734]  [<c01367c0>] ? add_timer+0x14/0x16
[  566.662734]  [<fc30cdb8>] ? smi_timeout+0xb6/0xbd [ipmi_si]
[  566.662734]  [<c011c70a>] ? default_spin_lock_flags+0x8/0xe
[  566.662734]  [<c031b81a>] schedule+0x8/0x17
[  566.662734]  [<c031b960>] schedule_timeout+0x17/0x16a
[  566.662734]  [<c031d0d2>] ? _spin_lock_bh+0x15/0x1a
[  566.662734]  [<c031d137>] ? _spin_unlock_bh+0x11/0x13
[  566.662734]  [<c02a49cb>] ? release_sock+0x94/0x9c
[  566.662734]  [<c013f45d>] ? prepare_to_wait_exclusive+0x49/0x4f
[  566.662734]  [<c02d418c>] inet_csk_accept+0x9e/0x197
[  566.662734]  [<c013f2e7>] ? autoremove_wake_function+0x0/0x33
[  566.662734]  [<c02ef412>] inet_accept+0x20/0x93
[  566.662734]  [<c02a3b82>] sys_accept4+0xe2/0x184
[  566.662734]  [<c013f2e7>] ? autoremove_wake_function+0x0/0x33
[  566.662734]  [<c01a639b>] ? d_free+0x25/0x37
[  566.662734]  [<c01e76c2>] ? security_file_permission+0xf/0x11
[  566.662734]  [<c02a3d98>] sys_socketcall+0x174/0x183
[  566.662734]  [<c0199c9c>] ? sys_read+0x57/0x60
[  566.662734]  [<c0107c94>] sysenter_do_call+0x12/0x28
[  566.662734] modprobe      D f5d5e480     0  4612   4557
[  566.662734]  f047fe68 00000082 00000000 f5d5e480 f047fe48 f909a1cf c046acc0 
c0467de4
[  566.662734]  c046acc0 f64922c0 f6492474 c180acc0 00000000 c1807de8 f6095c00 
fc314600
[  566.662734]  f047fe18 c0114a21 f047fe28 c0121ba6 f047fe30 00000282 f047fe30 
c03244ac
[  566.662734] Call Trace:
[  566.662734]  [<f909a1cf>] ? i_ipmi_request+0x8f5/0x916 [ipmi_msghandler]
[  566.662734]  [<c0114a21>] ? native_smp_send_reschedule+0x43/0x45
[  566.662734]  [<c0121ba6>] ? resched_task+0x60/0x64
[  566.662734]  [<c01292c3>] ? try_to_wake_up+0x1f3/0x1fd
[  566.662734]  [<c031b81a>] schedule+0x8/0x17
[  566.662734]  [<f909b745>] ipmi_register_smi+0x3ca/0xba1 [ipmi_msghandler]
[  566.662734]  [<c028681c>] ? put_device+0xf/0x11
[  566.662734]  [<c028782a>] ? device_add+0x497/0x516
[  566.662734]  [<c013f2e7>] ? autoremove_wake_function+0x0/0x33
[  566.662734]  [<fc30d39c>] try_smi_init+0x58f/0x726 [ipmi_si]
[  566.662734]  [<fc3103e5>] init_ipmi_si+0x3e2/0x748 [ipmi_si]
[  566.662734]  [<c010304f>] do_one_initcall+0x4a/0x115
[  566.662734]  [<fc310003>] ? init_ipmi_si+0x0/0x748 [ipmi_si]
[  566.662734]  [<c0142c0b>] ? __blocking_notifier_call_chain+0x40/0x4c
[  566.662734]  [<c014ff97>] sys_init_module+0x87/0x18b
[  566.662734]  [<c0107c94>] sysenter_do_call+0x12/0x28
[  566.662734] kipmi0        S f6d6d300     0  4616      2
[  566.662734]  f4947f58 00000046 f7475510 f6d6d300 000009fb 00000000 c046acc0 
c0467de4
[  566.662734]  c046acc0 f7617180 f7617334 c181acc0 00000001 00000000 f7617180 
f76171ac
[  566.662734]  c181acc0 f4947f18 c0124aa7 f4947f14 c011c70a f4947f28 c031cf35 
c031b7cf
[  566.662734] Call Trace:
[  566.662734]  [<c0124aa7>] ? pick_next_task_fair+0x83/0x8a
[  566.662734]  [<c011c70a>] ? default_spin_lock_flags+0x8/0xe
[  566.662734]  [<c031cf35>] ? _spin_lock_irqsave+0x20/0x28
[  566.662734]  [<c031b7cf>] ? __schedule+0x82e/0x871
[  566.662734]  [<c031cf35>] ? _spin_lock_irqsave+0x20/0x28
[  566.662734]  [<c031b81a>] schedule+0x8/0x17
[  566.662734]  [<c031ba94>] schedule_timeout+0x14b/0x16a
[  566.662734]  [<c0136995>] ? process_timeout+0x0/0xa
[  566.662734]  [<c031baf6>] ? schedule_timeout_interruptible+0x15/0x17
[  566.662734]  [<c031baf6>] schedule_timeout_interruptible+0x15/0x17
[  566.662734]  [<fc30ccf1>] ipmi_thread+0x5a/0x6b [ipmi_si]
[  566.662734]  [<fc30cc97>] ? ipmi_thread+0x0/0x6b [ipmi_si]
[  566.662734]  [<c013efed>] kthread+0x45/0x6b
[  566.662734]  [<c013efa8>] ? kthread+0x0/0x6b
[  566.662734]  [<c0108737>] kernel_thread_helper+0x7/0x10

I couldn't find anything IPMI related.
-- 
Regards,
Feri.

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
Openipmi-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openipmi-developer

Reply via email to