Re: KSE Panic

From: Robert Watson <rwatson_at_FreeBSD.ORG>
Date: Sat, 26 Apr 2003 19:31:06 -0400 (EDT)
This could be the TCP timewait handling interaction; I'm currently doing
some iteration on a patch with Jeffrey Hsu to get it resolved.  The panic
message is the same.  You can pull down the patch from:

  http://www.watson.org/~robert/freebsd/tcp_twrespond.diff

It might not apply 100% cleanly since it was against the MAC branch; we'll
be substantially changing the patch before applying it since it doesn't
quite take the right approach.

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert_at_fledge.watson.org      Network Associates Laboratories

On Fri, 25 Apr 2003, Daniel C. Sobral wrote:

> This should have been a mac panic, but KSE got to it last. :-(
> 
> 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: mac_mls_dominate_element: b->mme_type invalid
> 
> syncing disks, buffers remaining... 2227 2227 2227 2227 2227 2227 2227 
> 2227 2227 2227 2227 2227 2227 2227 panic: KSE not on run queue
> Uptime: 4m35s
> 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  0xc01f07b3 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:370
> No locals.
> #2  0xc01f0ab3 in panic () at /usr/src/sys/kern/kern_shutdown.c:541
>          td = (struct thread *) 0xc0ecbab0
>          bootopt = 260
>          newpanic = 0
>          buf = "KSE not on run queue\0ent: b->mme_type invalid", '\0' 
> <repeats 210 times>
> #3  0xc02033f2 in sched_rem (ke=0xc0ecee00) at 
> /usr/src/sys/kern/sched_4bsd.c:626
> No locals.
> #4  0xc01f6063 in adjustrunqueue (td=0xc0ecee00, newpri=205) at 
> /usr/src/sys/kern/kern_switch.c:295
>          kg = (struct ksegrp *) 0xc261bf00
>          ke = (struct kse *) 0xc0ecee00
> #5  0xc02031f5 in sched_prio (td=0x0, prio=0 '\0') at 
> /usr/src/sys/kern/sched_4bsd.c:538
> No locals.
> #6  0xc0202d39 in schedcpu (arg=0x0) at /usr/src/sys/kern/sched_4bsd.c:337
>          loadfac = 11862
>          td = (struct thread *) 0xc2a3a5f0
>          p = (struct proc *) 0xc2a3ed20
>          ke = (struct kse *) 0x0
>          kg = (struct ksegrp *) 0xc261bf00
>          realstathz = 128
>          awake = 1
> #7  0xc01ff74c in softclock (dummy=0x0) at 
> /usr/src/sys/kern/kern_timeout.c:195
>          c_func = (void (*)(void *)) 0xc0202b80 <schedcpu>
>          c_arg = (void *) 0x0
>          c_flags = 14
>          c = (struct callout *) 0x0
>          bucket = (struct callout_tailq *) 0xc7710040
>          curticks = 271060
>          steps = 14
> #8  0xc01cddf2 in ithread_loop (arg=0xc0ec8e80) at 
> /usr/src/sys/kern/kern_intr.c:536
>          ithd = (struct ithd *) 0xc0ec8e80
>          ih = (struct intrhand *) 0xc0ec0380
>          td = (struct thread *) 0xc0ecbab0
>          p = (struct proc *) 0xc0eca780
> #9  0xc01ccec0 in fork_exit (callout=0xc0ec0380, arg=0x0, frame=0x0) at 
> /usr/src/sys/kern/kern_fork.c:796
>          td = (struct thread *) 0x0
>          p = (struct proc *) 0xc0ec8e80
> 
> -- 
> 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
> 
> The whole world is about three drinks behind.
> 		-- Humphrey Bogart
> 
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
> 
Received on Sat Apr 26 2003 - 14:31:04 UTC

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