Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 May 2003 10:10:07 -0300
From:      "Daniel C. Sobral" <dcs@tcoip.com.br>
To:        CURRENT <freebsd-current@FreeBSD.ORG>, Julian Elischer <julian@FreeBSD.ORG>
Subject:   panic: KSE not on run queue
Message-ID:  <3EBF9D2F.7070903@tcoip.com.br>

next in thread | raw e-mail | index | archive | help
Ooops. New panic from a recent (May 9) kernel...

root@dcs:/opt/home/dcs$ gdb -k /usr/obj/usr/src/sys/DCS/kernel.debug=20
/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=20
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for detail=
s.
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:=20
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=20
/usr/obj/usr/src/sys/DCS/modules/usr/src/sys/modules/mac_biba/mac_biba.ko=
=2Edebug...done.
Loaded symbols for=20
/usr/obj/usr/src/sys/DCS/modules/usr/src/sys/modules/mac_biba/mac_biba.ko=
=2Edebug
Reading symbols from=20
/usr/obj/usr/src/sys/DCS/modules/usr/src/sys/modules/mac_mls/mac_mls.ko.d=
ebug...done.
Loaded symbols for=20
/usr/obj/usr/src/sys/DCS/modules/usr/src/sys/modules/mac_mls/mac_mls.ko.d=
ebug
Reading symbols from=20
/usr/obj/usr/src/sys/DCS/modules/usr/src/sys/modules/acpi/acpi.ko.debug..=
=2Edone.
Loaded symbols for=20
/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=20
/usr/obj/usr/src/sys/DCS/modules/usr/src/sys/modules/linux/linux.ko.debug=
=2E..done.
Loaded symbols for=20
/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=3D260) 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 =3D (struct thread *) 0xc0ecbab0
         bootopt =3D 260
         newpanic =3D 0
         buf =3D "KSE not on run queue\0nst myself", '\0' <repeats 224 ti=
mes>
#3  0xc01fa2b2 in sched_rem (ke=3D0xc0ecd3c0) at=20
/usr/src/sys/kern/sched_4bsd.c:639
No locals.
#4  0xc01ecb03 in adjustrunqueue (td=3D0xc0ecd3c0, newpri=3D180) at=20
/usr/src/sys/kern/kern_switch.c:295
         kg =3D (struct ksegrp *) 0xc0ed0900
         ke =3D (struct kse *) 0xc0ecd3c0
#5  0xc01fa000 in sched_prio (td=3D0xc262f850, prio=3D180 '=B4') at=20
/usr/src/sys/kern/sched_4bsd.c:545
No locals.
#6  0xc01f9a69 in schedcpu (arg=3D0x0) at /usr/src/sys/kern/sched_4bsd.c:=
337
         loadfac =3D 1742
         td =3D (struct thread *) 0xc262f850
         p =3D (struct proc *) 0xc262ed20
         ke =3D (struct kse *) 0x0
         kg =3D (struct ksegrp *) 0xc0ed0900
         realstathz =3D 128
         awake =3D 1
#7  0xc01f647c in softclock (dummy=3D0x0) at=20
/usr/src/sys/kern/kern_timeout.c:195
         c_func =3D (void (*)(void *)) 0xc01f98b0 <schedcpu>
         c_arg =3D (void *) 0x0
         c_flags =3D 14
         c =3D (struct callout *) 0x0
         bucket =3D (struct callout_tailq *) 0xc7714018
         curticks =3D 141007
         steps =3D 14
#8  0xc01c5a32 in ithread_loop (arg=3D0xc0ec8f00) at=20
/usr/src/sys/kern/kern_intr.c:537
         ithd =3D (struct ithd *) 0xc0ec8f00
         ih =3D (struct intrhand *) 0xc0ec0300
---Type <return> to continue, or q <return> to quit---
         td =3D (struct thread *) 0xc0ecbab0
         p =3D (struct proc *) 0xc0eca780
#9  0xc01c4a20 in fork_exit (callout=3D0xc0ec0300, arg=3D0x0, frame=3D0x0=
) at=20
/usr/src/sys/kern/kern_fork.c:792
         td =3D (struct thread *) 0x0
         p =3D (struct proc *) 0xc0ec8f00


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

I await further instructions. :-)

--=20
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@tco.net.br
         Daniel.Sobral@tcoip.com.br
         dcs@tcoip.com.br

Outros:
	dcs@newsguy.com
	dcs@freebsd.org
	capo@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"



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