Strange reboot since 9.1

Andriy Gapon avg at FreeBSD.org
Thu Mar 7 12:55:35 UTC 2013


on 07/03/2013 12:27 Loïc Blot said the following:
> Hello,
> i have enabled dumpdev="AUTO" and run kgdb after a reboot.
> Here is the backtrace:
> 
> root at freebsd-server> kgdb

It's a stack trace of the first thread in your live running system.
You need to read kgdb(1), inspect your /var/crash directory and pass a proper
vmcore file, if any, to kgdb.

> GNU gdb 6.1.1 [FreeBSD]
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you
> are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for
> details.
> This GDB was configured as "amd64-marcel-freebsd"...
> #0  sched_switch (td=0xffffffff812228a0, newtd=0xfffffe00051c8000,
> flags=Variable "flags" is not available.
> ) at /usr/src/sys/kern/sched_ule.c:1927
> 1927			cpuid = PCPU_GET(cpuid);
> (kgdb) bt
> #0  sched_switch (td=0xffffffff812228a0, newtd=0xfffffe00051c8000,
> flags=Variable "flags" is not available.
> ) at /usr/src/sys/kern/sched_ule.c:1927
> #1  0xffffffff808f2d46 in mi_switch (flags=260, newtd=0x0)
> at /usr/src/sys/kern/kern_synch.c:485
> #2  0xffffffff8092ba72 in sleepq_timedwait (wchan=0xffffffff81222400,
> pri=84) at /usr/src/sys/kern/subr_sleepqueue.c:658
> #3  0xffffffff808f332f in _sleep (ident=0xffffffff81222400, lock=0x0,
> priority=Variable "priority" is not available.
> ) at /usr/src/sys/kern/kern_synch.c:246
> #4  0xffffffff80b429db in scheduler (dummy=Variable "dummy" is not
> available.
> ) at /usr/src/sys/vm/vm_glue.c:788
> #5  0xffffffff8089c047 in mi_startup ()
> at /usr/src/sys/kern/init_main.c:277
> #6  0xffffffff802b526c in btext ()
> at /usr/src/sys/amd64/amd64/locore.S:81
> #7  0x0000000000000001 in ?? ()
> #8  0xffffffff81240f80 in tdq_cpu ()
> #9  0xffffffff812228a0 in proc0 ()
> #10 0x0000000000000000 in ?? ()
> #11 0xffffffff81529b90 in ?? ()
> #12 0xffffffff81529b38 in ?? ()
> #13 0xfffffe00051c8000 in ?? ()
> #14 0xffffffff8091352e in sched_switch (td=0x0, newtd=0x0,
> flags=Variable "flags" is not available.
> ) at /usr/src/sys/kern/sched_ule.c:1921
> Previous frame inner to this frame (corrupt stack?)
> (kgdb) bt f
> #0  sched_switch (td=0xffffffff812228a0, newtd=0xfffffe00051c8000,
> flags=Variable "flags" is not available.
> ) at /usr/src/sys/kern/sched_ule.c:1927
> 	__res = 2
> 	__s = Variable "__s" is not available.
> 


-- 
Andriy Gapon


More information about the freebsd-stable mailing list