panic: KSE not on run queue

From: Daniel C. Sobral <dcs_at_tcoip.com.br>
Date: Mon, 12 May 2003 10:10:07 -0300
Ooops. New panic from a recent (May 9) kernel...

root_at_dcs:/opt/home/dcs$ gdb -k /usr/obj/usr/src/sys/DCS/kernel.debug 
/var/crash/vmcore.0
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 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 "i386-undermydesk-freebsd"...
panic: KSE not on run queue
panic messages:
---
panic: lockmgr: locking against myself

syncing disks, buffers remaining... 229 229 228 228 228 228 228 panic: 
KSE not on run queue
Uptime: 2m21s
Dumping 255 MB
ata0: resetting devices ..
done
  16 32 48 64 80 96 112 128 144 160 176 192 208 224 240
---
Reading symbols from /boot/kernel/snd_cmi.ko...done.
Loaded symbols for /boot/kernel/snd_cmi.ko
Reading symbols from /boot/kernel/snd_pcm.ko...done.
Loaded symbols for /boot/kernel/snd_pcm.ko
Reading symbols from 
/usr/obj/usr/src/sys/DCS/modules/usr/src/sys/modules/mac_biba/mac_biba.ko.debug...done.
Loaded symbols for 
/usr/obj/usr/src/sys/DCS/modules/usr/src/sys/modules/mac_biba/mac_biba.ko.debug
Reading symbols from 
/usr/obj/usr/src/sys/DCS/modules/usr/src/sys/modules/mac_mls/mac_mls.ko.debug...done.
Loaded symbols for 
/usr/obj/usr/src/sys/DCS/modules/usr/src/sys/modules/mac_mls/mac_mls.ko.debug
Reading symbols from 
/usr/obj/usr/src/sys/DCS/modules/usr/src/sys/modules/acpi/acpi.ko.debug...done.
Loaded symbols for 
/usr/obj/usr/src/sys/DCS/modules/usr/src/sys/modules/acpi/acpi.ko.debug
Reading symbols from /boot/kernel/green_saver.ko...done.
Loaded symbols for /boot/kernel/green_saver.ko
Reading symbols from 
/usr/obj/usr/src/sys/DCS/modules/usr/src/sys/modules/linux/linux.ko.debug...done.
Loaded symbols for 
/usr/obj/usr/src/sys/DCS/modules/usr/src/sys/modules/linux/linux.ko.debug
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:238
238             dumping++;
(kgdb) bt full
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:238
No locals.
#1  0xc01e7313 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:370
No locals.
#2  0xc01e765b in panic () at /usr/src/sys/kern/kern_shutdown.c:543
         td = (struct thread *) 0xc0ecbab0
         bootopt = 260
         newpanic = 0
         buf = "KSE not on run queue\0nst myself", '\0' <repeats 224 times>
#3  0xc01fa2b2 in sched_rem (ke=0xc0ecd3c0) at 
/usr/src/sys/kern/sched_4bsd.c:639
No locals.
#4  0xc01ecb03 in adjustrunqueue (td=0xc0ecd3c0, newpri=180) at 
/usr/src/sys/kern/kern_switch.c:295
         kg = (struct ksegrp *) 0xc0ed0900
         ke = (struct kse *) 0xc0ecd3c0
#5  0xc01fa000 in sched_prio (td=0xc262f850, prio=180 '´') at 
/usr/src/sys/kern/sched_4bsd.c:545
No locals.
#6  0xc01f9a69 in schedcpu (arg=0x0) at /usr/src/sys/kern/sched_4bsd.c:337
         loadfac = 1742
         td = (struct thread *) 0xc262f850
         p = (struct proc *) 0xc262ed20
         ke = (struct kse *) 0x0
         kg = (struct ksegrp *) 0xc0ed0900
         realstathz = 128
         awake = 1
#7  0xc01f647c in softclock (dummy=0x0) at 
/usr/src/sys/kern/kern_timeout.c:195
         c_func = (void (*)(void *)) 0xc01f98b0 <schedcpu>
         c_arg = (void *) 0x0
         c_flags = 14
         c = (struct callout *) 0x0
         bucket = (struct callout_tailq *) 0xc7714018
         curticks = 141007
         steps = 14
#8  0xc01c5a32 in ithread_loop (arg=0xc0ec8f00) at 
/usr/src/sys/kern/kern_intr.c:537
         ithd = (struct ithd *) 0xc0ec8f00
         ih = (struct intrhand *) 0xc0ec0300
---Type <return> to continue, or q <return> to quit---
         td = (struct thread *) 0xc0ecbab0
         p = (struct proc *) 0xc0eca780
#9  0xc01c4a20 in fork_exit (callout=0xc0ec0300, arg=0x0, frame=0x0) at 
/usr/src/sys/kern/kern_fork.c:792
         td = (struct thread *) 0x0
         p = (struct proc *) 0xc0ec8f00


The panic was followed, after dump, by a "panic: mi_switch: switch in a 
critical section".

I await further instructions. :-)

-- 
Daniel C. Sobral                   (8-DCS)
Gerencia de Operacoes
Divisao de Comunicacao de Dados
Coordenacao de Seguranca
VIVO Centro Oeste Norte
Fones: 55-61-313-7654/Cel: 55-61-9618-0904
E-mail: Daniel.Capo_at_tco.net.br
         Daniel.Sobral_at_tcoip.com.br
         dcs_at_tcoip.com.br

Outros:
	dcs_at_newsguy.com
	dcs_at_freebsd.org
	capo_at_notorious.bsdconspiracy.net

Cabbage, n.:
	A familiar kitchen-garden vegetable about as large and wise as
a man's head.
		-- Ambrose Bierce, "The Devil's Dictionary"
Received on Mon May 12 2003 - 04:10:15 UTC

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