Project

General

Profile

Actions

Bug #1652

closed

panic: badmpcount syscall2/end from 0x2815d1e2

Added by rumcic over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

I'm not quite sure how it happened (the machine panicked sometime while I was
sleeping). The dump is located at leaf:~rumko/crash/syscall/*5

Unread portion of the kernel message buffer:
panic: badmpcount syscall2/end from 0x2815d1e2
mp_lock = 00000000; cpuid = 0
Trace beginning at frame 0xf9053ca4
panic(f9053cc8,ffffffff,f234a368,e02ed6b0,f9053d34) at panic+0x14d
panic(c04852b4,2815d1e2,6,1e89,0) at panic+0x14d
syscall2(f9053d40) at syscall2+0x6c7
Xint0x80_syscall() at Xint0x80_syscall+0x36
boot() called on cpu#0
Uptime: 9d0h18m35s
Physical memory: 3065 MB
Dumping 384 MB: 369 353 337 321 305 289 273 257 241 225 209 193 177 161 145 129
113 97 81 65 49 33 17 1

Reading symbols from /boot/modules/powernow.ko...done.
Loaded symbols for /boot/modules/powernow.ko
Reading symbols from /boot/modules/linprocfs.ko...done.
Loaded symbols for /boot/modules/linprocfs.ko
Reading symbols from /boot/modules/if_bridge.ko...done.
Loaded symbols for /boot/modules/if_bridge.ko
Reading symbols from /boot/modules/linux.ko...done.
Loaded symbols for /boot/modules/linux.ko
get_mycpu (di=0xc04dcb20) at ./machine/thread.h:83
83 __asm ("movl %%fs:globaldata,%0" : "=r"
(gd) : "m"(
_mycpu__dummy));
(kgdb) bt
#0 _get_mycpu (di=0xc04dcb20) at ./machine/thread.h:83
#1 md_dumpsys (di=0xc04dcb20)
at /usr/src/sys/platform/pc32/i386/dump_machdep.c:264
#2 0xc01e7af6 in dumpsys () at /usr/src/sys/kern/kern_shutdown.c:838
#3 0xc01e80c8 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:387
#4 0xc01e8626 in panic (fmt=0xc04852b4 "badmpcount syscall2/end from %p")
at /usr/src/sys/kern/kern_shutdown.c:744
#5 0xc04063cc in syscall2 (frame=0xf9053d40)
at /usr/src/sys/platform/pc32/i386/trap.c:1436
#6 0xc03f17c6 in Xint0x80_syscall ()
at /usr/src/sys/platform/pc32/i386/exception.s:876
#7 0x0000001f in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(kgdb)
--
Regards,
Rumko

Actions #1

Updated by dillon over 14 years ago

:I'm not quite sure how it happened (the machine panicked sometime while I was
:sleeping). The dump is located at leaf:~rumko/crash/syscall/*5
:
:Unread portion of the kernel message buffer:
:panic: badmpcount syscall2/end from 0x2815d1e2
:mp_lock = 00000000; cpuid = 0

Fixed.  It was a mismatched MP lock in the linux emulation code.
-Matt
Actions

Also available in: Atom PDF