Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jul 2004 14:49:08 +0200
From:      "Karel J. Bosschaart" <karelj@kayjay.xs4all.nl>
To:        freebsd-current@freebsd.org
Subject:   panic: sched_rem: KSE not on run queue
Message-ID:  <20040721124907.GA69115@kayjay.xs4all.nl>

next in thread | raw e-mail | index | archive | help
Hi,

Running -current as of yesterday (07/20), GENERIC kernel. Hangs happen
frequently on this machine (about 5 times a day). I got a crash dump, would=
=20
it be useful to someone?

Karel.


Script started on Wed Jul 21 14:31:57 2004
phys9911# gdb6 -k /=08=1B[Kkernel.debug /usr/crash/vmcore.8=0D=0D
GNU gdb 20040720 [GDB v6.x for FreeBSD]=0D
Copyright 2004 Free Software Foundation, Inc.=0D
GDB is free software, covered by the GNU General Public License, and you ar=
e=0D
welcome to change it and/or distribute copies of it under certain condition=
s.=0D
Type "show copying" to see the conditions.=0D
There is absolutely no warranty for GDB.  Type "show warranty" for details.=
=0D
This GDB was configured as "i386-portbld-freebsd5.2"...=0D
panic: sched_rem: KSE not on run queue=0D
panic messages:=0D
---=0D
panic: sched_rem: KSE not on run queue=0D
cpuid =3D 0; =0D
KDB: enter: panic=0D
panic: from debugger=0D
cpuid =3D 0; =0D
Uptime: 2h31m58s=0D
Dumping 247 MB=0D
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240=0D
---=0D
#0  doadump () at pcpu.h:159=0D
159		__asm __volatile("movl %%fs:0,%0" : "=3Dr" (td));=0D
doadump () at pcpu.h:159=0D
159		__asm __volatile("movl %%fs:0,%0" : "=3Dr" (td));=0D
Ready to go.  Enter 'tr' to connect to the remote target=0D
with /dev/cuaa0, 'tr /dev/cuaa1' to connect to a different port=0D
or 'trf portno' to connect to the remote target with the firewire=0D
interface.  portno defaults to 5556.=0D
=0D
Type 'getsyms' after connection to load kld symbols.=0D
=0D
If you're debugging a local system, you can use 'kldsyms' instead=0D
to load the kld symbols.  That's a less obnoxious interface.=0D
(kgdb) bt=0D
#0  doadump () at pcpu.h:159=0D
During symbol reading, Incomplete CFI data; unspecified registers at 0xc05e=
fc28.=0D
#1  0xc05f0154 in boot (howto=3D0x104) at /usr/src/sys/kern/kern_shutdown.c=
:392=0D
#2  0xc05f046b in panic (fmt=3D0xc079ef47 "from debugger") at /usr/src/sys/=
kern/kern_shutdown.c:554=0D
#3  0xc045eb71 in db_panic (addr=3D0xc0606c3f, have_addr=3D0x0, count=3D0xf=
fffffff, modif=3D0xd4f84a78 "")=0D
    at /usr/src/sys/ddb/db_command.c:434=0D
#4  0xc045eb08 in db_command (last_cmdp=3D0xc0875724, cmd_table=3D0x0, aux_=
cmd_tablep=3D0xc07f6c34, =0D
    aux_cmd_tablep_end=3D0xc07f6c4c) at /usr/src/sys/ddb/db_command.c:348=0D
#5  0xc045ebd0 in db_command_loop () at /usr/src/sys/ddb/db_command.c:454=0D
#6  0xc04604a5 in db_trap (type=3D0x3, code=3D0x0) at /usr/src/sys/ddb/db_m=
ain.c:219=0D
#7  0xc0606e99 in kdb_trap (type=3D0x3, code=3D0x0, tf=3D0xd4f84bbc) at /us=
r/src/sys/kern/subr_kdb.c:387=0D
#8  0xc076ad04 in trap (frame=3D=0D
      {tf_fs =3D 0xd4f80018, tf_es =3D 0xc0600010, tf_ds =3D 0xc07d0010, tf=
_edi =3D 0xc07d3b55, tf_esi =3D 0x1, tf_ebp =3D 0xd4f84bfc, tf_isp =3D 0xd4=
f84be8, tf_ebx =3D 0xd4f84c28, tf_edx =3D 0x0, tf_ecx =3D 0xc1014000, tf_ea=
x =3D 0x12, tf_trapno =3D 0x3, tf_err =3D 0x0, tf_eip =3D 0xc0606c3f, tf_cs=
 =3D 0x8, tf_eflags =3D 0x86, tf_esp =3D 0xd4f84c1c, tf_ss =3D 0xc05f041d})=
=0D
    at /usr/src/sys/i386/i386/trap.c:576=0D
#9  0xc0759a7a in calltrap () at /usr/src/sys/i386/i386/exception.s:140=0D
#10 0xd4f80018 in ?? ()=0D
#11 0xc0600010 in sched_runnable () at /usr/src/sys/kern/sched_ule.c:1492=0D
#12 0xc05f041d in panic (fmt=3D0xc07d3b55 "sched_rem: KSE not on run queue"=
) at /usr/src/sys/kern/kern_shutdown.c:538=0D
#13 0xc060045a in sched_rem (td=3D0x0) at /usr/src/sys/kern/sched_ule.c:166=
8=0D
#14 0xc05f5671 in setrunqueue (td=3D0xc2056b00) at /usr/src/sys/kern/kern_s=
witch.c:362=0D
#15 0xc05ffb1e in sched_wakeup (td=3D0xc2056b00) at /usr/src/sys/kern/sched=
_ule.c:1251=0D
#16 0xc05f68b8 in setrunnable (td=3D0xc2056b00) at /usr/src/sys/kern/kern_s=
ynch.c:408=0D
#17 0xc060c45a in sleepq_resume_thread (td=3D0xc2056b00, pri=3D0xffffffff) =
at /usr/src/sys/kern/subr_sleepqueue.c:632=0D
#18 0xc060c4f4 in sleepq_signal (wchan=3D0xc18ee7dc, flags=3D0xc2056b00, pr=
i=3D0xffffffff)=0D
    at /usr/src/sys/kern/subr_sleepqueue.c:662=0D
#19 0xc05f65a7 in wakeup_one (ident=3D0xc18ee7dc) at /usr/src/sys/kern/kern=
_synch.c:278=0D
#20 0xc05e167b in thread_userret (td=3D0xc1efa000, frame=3D0xd4f84d48) at /=
usr/src/sys/kern/kern_kse.c:1191=0D
#21 0xc060d410 in userret (td=3D0xc1efa000, frame=3D0xd4f84d48, oticks=3D0x=
0) at /usr/src/sys/kern/subr_trap.c:118=0D
#22 0xc076ad9c in trap (frame=3D=0D
      {tf_fs =3D 0xbfbf002f, tf_es =3D 0x280c002f, tf_ds =3D 0xbfbf002f, tf=
_edi =3D 0x280bbf00, tf_esi =3D 0x2c4c0ae0, tf_ebp =3D 0xbfbfd424, tf_isp =
=3D 0xd4f84d74, tf_ebx =3D 0x2c4c0bac, tf_edx =3D 0x13, tf_ecx =3D 0x292c02=
2c, tf_eax =3D 0x2c2c233c, tf_trapno =3D 0xc, tf_err =3D 0x4, tf_eip =3D 0x=
2c2c1fe0, tf_cs =3D 0x1f, tf_eflags =3D 0x10286, tf_esp =3D 0xbfbfd408, tf_=
ss =3D 0x2f})=0D
    at /usr/src/sys/i386/i386/trap.c:635=0D
#23 0xc0759a7a in calltrap () at /usr/src/sys/i386/i386/exception.s:140=0D
#24 0xbfbf002f in ?? ()=0D
#25 0x280c002f in ?? ()=0D
#26 0xbfbf002f in ?? ()=0D
#27 0x280bbf00 in ?? ()=0D
#28 0x2c4c0ae0 in ?? ()=0D
#29 0xbfbfd424 in ?? ()=0D
#30 0xd4f84d74 in ?? ()=0D
#31 0x2c4c0bac in ?? ()=0D
#32 0x00000013 in ?? ()=0D
#33 0x292c022c in ?? ()=0D
#34 0x2c2c233c in ?? ()=0D
#35 0x0000000c in ?? ()=0D
#36 0x00000004 in ?? ()=0D
#37 0x2c2c1fe0 in ?? ()=0D
#38 0x0000001f in ?? ()=0D
#39 0x00010286 in ?? ()=0D
#40 0xbfbfd408 in ?? ()=0D
#41 0x0000002f in ?? ()=0D
#42 0x00046a3c in ?? ()=0D
#43 0x00000008 in ?? ()=0D
#44 0x00046a44 in ?? ()=0D
#45 0x00000008 in ?? ()=0D
#46 0x08a8e000 in ?? ()=0D
#47 0xc150a580 in ?? ()=0D
#48 0xc18e9ba0 in ?? ()=0D
#49 0xd4f84ae8 in ?? ()=0D
#50 0xd4f84ad0 in ?? ()=0D
#51 0xc1efa000 in ?? ()=0D
#52 0xc05ff943 in sched_switch (td=3D0x2c4c0bac, newtd=3D0x280bbf00) at /us=
r/src/sys/kern/sched_ule.c:1172=0D
Previous frame inner to this frame (corrupt stack?)=0D
(kgdb) quit=0D
phys9911# exit=0D=0D
exit=0D

Script done on Wed Jul 21 14:32:34 2004



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040721124907.GA69115>