misc/171524: ipmi driver crashes kernel by reboot or shutdown

Darko Hojnik dhojnik at brainbits.net
Mon Sep 10 16:30:04 UTC 2012


>Number:         171524
>Category:       misc
>Synopsis:       ipmi driver crashes kernel by reboot or shutdown
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 10 16:30:03 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Darko Hojnik
>Release:        9.1-RC1 and 9.0-RELEASE
>Organization:
Brainbits GMBH
>Environment:
FreeBSD mightychicken 9.1-RC1 FreeBSD 9.1-RC1 #0: Tue Aug 14 04:25:06 UTC 2012     root at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Hi there,

if the ipmi driver is loaded the system crashes by reboot or shutdown

root at mightychicken:/root # reboot 
Sep 10 18:39:40 mightychicken reboot: rebooted by root
Sep 10 18:39:40 mightychicken syslogd: exiting on signal 15
Waiting (max 60 seconds) for system process `vnlru' to stop...done
Waiting (max 60 seconds) for system process `bufdaemon' to stop...done
Waiting (max 60 seconds) for system process `syncer' to stop...
Syncing disks, vnodes remaining...4 4 4 Sleeping thread (tid 100167, pid 16) owns a non-sleepable lock
KDB: stack backtrace of thread 100167:
#0 0xffffffff808f29e6 at mi_switch+0x186
#1 0xffffffff8092b7f2 at sleepq_wait+0x42
#2 0xffffffff808f3176 at _sleep+0x376
#3 0xffffffff8174a227 at ipmi_submit_driver_request+0x97
#4 0xffffffff8174a9df at ipmi_set_watchdog+0xaf
#5 0xffffffff8174ac8f at ipmi_wd_event+0x8f
#6 0xffffffff807bb76f at kern_do_pat+0x9f
#7 0xffffffff80983997 at sched_sync+0x1e7
#8 0xffffffff808bb69f at fork_exit+0x11f
#9 0xffffffff80bc320e at fork_trampoline+0xe
panic: sleeping thread
cpuid = 19
KDB: stack backtrace:
#0 0xffffffff80920546 at kdb_backtrace+0x66
#1 0xffffffff808ea55e at panic+0x1ce
#2 0xffffffff8092e9c2 at propagate_priority+0x1d2
#3 0xffffffff8092f6ee at turnstile_wait+0x1be
#4 0xffffffff808d89e8 at _mtx_lock_sleep+0xd8
#5 0xffffffff8097d1c3 at vn_syncer_add_to_worklist+0x143
#6 0xffffffff809812d4 at reassignbuf+0xe4
#7 0xffffffff809659d2 at bdirty+0x42
#8 0xffffffff80969a42 at bdwrite+0x52
#9 0xffffffff80afcac3 at ffs_update+0x2c3
#10 0xffffffff80b09a7f at handle_workitem_remove+0x1cf
#11 0xffffffff80b08f90 at process_worklist_item+0x2b0
#12 0xffffffff80b0cd86 at softdep_process_worklist+0x96
#13 0xffffffff80b0f397 at softdep_flush+0x197
#14 0xffffffff808bb69f at fork_exit+0x11f
#15 0xffffffff80bc320e at fork_trampoline+0xe
Uptime: 28m48s
Automatic reboot in 15 seconds - press a key on the console to abort
Rebooting...
cpu_reset: Restarting BSP
cpu_reset_proxy: Stopped CPU 19

The mainboard is an Tyan S7010 with 96 GB memory and two XEON E5645

by searching on google I've found 

http://freebsd.1045724.n5.nabble.com/stable-9-panic-on-reboot-ipmi-wd-event-td5728441.html

Also I've tried to load the drivers from 9.0 with the same resold.  
>How-To-Repeat:
kldload ipmi
reboot
>Fix:
Workaround

kldunload ipmi
kldunload smbus

reboot

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list