panic: mi_switch: kse state?

From: David Wolfskill <david_at_catwhisker.org>
Date: Thu, 18 Sep 2003 11:53:04 -0700 (PDT)
This is on my (SMP) "build" machine; sources updated between 0347 - 0355
hrs. US/Pacific (7 hrs. W of GMT).

I had done the usual buildworld, kernel, installworld, mergemaster, 
rebooted, ran "healthd -d" for a little while (enough to see some
plausible variation), then entered

        sudo boot0cfg -s 1 ad0 && sudo halt -p || sudo reboot

and got this (cut/pasted from serial console, which is the only access
I have to the box when it's running -CURRENT, since the NIC (RealTek
8129) doesn't seem to work any more with the rl driver (per message
from 3 or 4 days ago):

freebeast(5.1-C)[1] sudo healthd -d
Password:
************************
* Hardware Information *
************************
WinBond Chip: W83627HF
************************

Temp.= 39.0, 26.5, 26.5; Rot.= 5113, 4963, 20454
 Vcore = 1.78, 1.54; Volt. = 3.34, 5.00, 12.04, -11.95, -5.05
Temp.= 39.0, 26.0, 26.0; Rot.= 5113, 4963, 19852
 Vcore = 1.78, 1.54; Volt. = 3.34, 5.00, 12.04, -11.95, -5.05
Temp.= 39.0, 26.0, 26.0; Rot.= 4963, 4963, 19852
 Vcore = 1.78, 1.54; Volt. = 3.33, 5.00, 12.04, -11.95, -5.05
Temp.= 39.0, 25.5, 26.0; Rot.= 5113, 4963, 19852
 Vcore = 1.78, 1.54; Volt. = 3.34, 5.00, 12.04, -11.95, -5.05
Temp.= 39.0, 25.5, 26.0; Rot.= 5113, 4963, 19852
 Vcore = 1.78, 1.^C
freebeast(5.1-C)[2] sudo boot0cfg -s 1 ad0 && sudo halt -p || sudo reboot
[0] f:00 typ:165 s(CHS):0/1/1 e(CHS):260/254/63 s:63 l:4192902
[1] f:00 typ:165 s(CHS):261/0/1 e(CHS):521/254/63 s:4192965 l:4192965
[2] f:00 typ:165 s(CHS):522/0/1 e(CHS):782/254/63 s:8385930 l:4192965
[3] f:80 typ:165 s(CHS):783/0/1 e(CHS):1023/254/63 s:12578895 l:67697910
GEOM: Reconfigure ad0s1, start 32256 length 2146765824 end 2146798079
GEOM: Reconfigure ad0s2, start 2146798080 length 2146798080 end 4293596159
GEOM: Reconfigure ad0s3, start 4293596160 length 2146798080 end 6440394239
GEOM: Reconfigure ad0s4, start 6440394240 length 34661329920 end 41101724159
boot() called on cpu#0
Waiting (max 60 seconds) for system process `vnlru' to stop...stopped
aWaiting (max 60 seconds) for system process `buftdaemon' to stop...a0: spurious interrupt - status=0x50 error=0x00
panic: mi_switch: kse state?
cpuid = 1; lapic.id = 01000000
Debugger("panic")
Stopped at      Debugger+0x55:  xchgl   %ebx,in_Debugger.0
db> tr
Debugger(c03a88d0,1000000,c03a9d2d,d7112a40,100) at Debugger+0x55
panic(c03a9d2d,1,c03a9d09,247,0) at panic+0x15f
sched_switchout(c1507850,9,c03a90f4,1d0,8a26d20d) at sched_switchout+0x4d
mi_switch(c1507850,2,c03a7ce3,244,0) at mi_switch+0x218
_mtx_lock_sleep(c040e7a0,0,c03be2e9,d3,0) at _mtx_lock_sleep+0x266
_mtx_lock_flags(c040e7a0,0,c03be2e9,d3,0) at _mtx_lock_flags+0x98
vm_fault(c040a1c0,0,2,8,c1507850) at vm_fault+0x5a
trap_pfault(d7112ca4,0,c7,c040e760,c7) at trap_pfault+0xe9
trap(ffc00018,c1500010,c1500010,81918a90,c1506b58) at trap+0x31d
calltrap() at calltrap+0x5
--- trap 0xc, eip = 0xd7112d0f, esp = 0xd7112ce4, ebp = 0x8 ---
_end() at 0xd7112d0f
db> show pcpu 0
cpuid        = 0
curthread    = 0xc1507be0: pid 14 "swi8: tty:sio clock"
curpcb       = 0xd711bda0
fpcurthread  = none
idlethread   = 0xc1507980: pid 12 "idle: cpu0"
currentldt   = 0x28
spin locks held:
db> show pcpu 1
cpuid        = 1
curthread    = 0xc1507850: pid 11 "idle: cpu1"
curpcb       = 0xd7112da0
fpcurthread  = none
idlethread   = 0xc1507850: pid 11 "idle: cpu1"
currentldt   = 0x28
spin locks held:
db> show thread
Proc 0xc1506b58 [LOCK  Giant c040e7a0] idle: cpu1
Debugger(c03a88d0,1000000,c03a9d2d,d7112a40,100) at Debugger+0x55
panic(c03a9d2d,1,c03a9d09,247,0) at panic+0x15f
sched_switchout(c1507850,9,c03a90f4,1d0,8a26d20d) at sched_switchout+0x4d
mi_switch(c1507850,2,c03a7ce3,244,0) at mi_switch+0x218
_mtx_lock_sleep(c040e7a0,0,c03be2e9,d3,0) at _mtx_lock_sleep+0x266
_mtx_lock_flags(c040e7a0,0,c03be2e9,d3,0) at _mtx_lock_flags+0x98
vm_fault(c040a1c0,0,2,8,c1507850) at vm_fault+0x5a
trap_pfault(d7112ca4,0,c7,c040e760,c7) at trap_pfault+0xe9
trap(ffc00018,c1500010,c1500010,81918a90,c1506b58) at trap+0x31d
calltrap() at calltrap+0x5
--- trap 0xc, eip = 0xd7112d0f, esp = 0xd7112ce4, ebp = 0x8 ---
_end() at 0xd7112d0f
db> show lockedvnods
Locked vnodes
db> show cbstat
tot = 5400 (active = 0, free = 5400 (reserved = 0, slush = 5400))
db> show pciregs
hostb0_at_pci0:0:0:        class=0x060000 card=0x00000000 chip=0x30911106 rev=0x01 hdr=0x00
pcib1_at_pci0:1:0: class=0x060400 card=0x00000080 chip=0xb0911106 rev=0x00 hdr=0x01
none0_at_pci0:9:0: class=0x020000 card=0x00d810ec chip=0x812910ec rev=0x00 hdr=0x00
none1_at_pci0:14:0:        class=0x040100 card=0x011113f6 chip=0x011113f6 rev=0x10 hdr=0x00
atapci0_at_pci0:15:0:      class=0x010400 card=0x0649101e chip=0x06491095 rev=0x02 hdr=0x00
isab0_at_pci0:17:0:        class=0x060100 card=0x00001106 chip=0x30741106 rev=0x00 hdr=0x00
atapci1_at_pci0:17:1:      class=0x01018a card=0x05711106 chip=0x05711106 rev=0x06 hdr=0x00
none2_at_pci1:0:0: class=0x030000 card=0x8a135333 chip=0x8a135333 rev=0x02 hdr=0x00
db> 


I can leave it like this for a while, in case anyone would like me to
poke around a bit.  Kernel config is in                              
http://www.catwhisker.org/~david/FreeBSD/debug; name is FREEBEAST.  Other
stuff may be put up there upon request. 

Thanks,
david
-- 
David H. Wolfskill				david_at_catwhisker.org
If you want true virus-protection for your PC, install a non-Microsoft OS
on it.  Plausible candidates include FreeBSD, Linux, NetBSD, OpenBSD, and
Solaris (in alphabetical order).
Received on Thu Sep 18 2003 - 09:53:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:22 UTC