Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Apr 2005 19:58:20 +0000
From:      "Wojciech A. Koszek" <dunstan@freebsd.czest.pl>
To:        freebsd-geom@FreeBSD.org
Subject:   Panic while loading GEOM BSD class (KASSERTions)
Message-ID:  <20050404195820.GA70074@freebsd.czest.pl>

next in thread | raw e-mail | index | archive | help
Hello GEOM hackers,

5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #1: Mon Mar 14 21:35:40 CET 2005     

FreeBSD dunstan.freebsd.czest.pl 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #5:
Mon Apr  4 16:54:55 CEST 2005 root@dunstan.freebsd.czest.pl:/usr/obj/usr/src/sys/HOME8  i386

My current kernel configuration:

dunstan@dunstan:(~)$ grep -i geom /usr/src/sys/i386/conf/HOME8
options         GEOM_GPT                # GUID Partition Tables.

# Debugging for use in -current
options	KDB 
options	DDB 
options	GDB
options	INVARIANTS
options	INVARIANT_SUPPORT
options	WITNESS
options	WITNESS_SKIPSPIN
[..]
options	WITNESS_KDB
options	KDB_TRACE
options	KDB_UNATTENDED
options	DDB
options	GDB
[..]
options	MUTEX_DEBUG
options	ALT_BREAK_TO_DEBUGGER
options	KTR
options	KTR_ENTRIES=9000
options	KTR_COMPILE=(KTR_GEN)
options	KTR_MASK=KTR_ALL
options	KTR_VERBOSE

While loading geom_bsd.ko I get repeatable panic.
(kgdb) bt
#0  doadump () at pcpu.h:159
#1  0xc04b8354 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:410
#2  0xc04b866d in panic (fmt=0xc0635bd4 "The GEOM class %s already loaded")
    at /usr/src/sys/kern/kern_shutdown.c:566
#3  0xc0489904 in g_load_class (arg=0xc2b54160, flag=0)
    at /usr/src/sys/geom/geom_subr.c:89
#4  0xc0487477 in one_event () at /usr/src/sys/geom/geom_event.c:185
#5  0xc0487501 in g_run_events () at /usr/src/sys/geom/geom_event.c:205
#6  0xc0488a19 in g_event_procbody () at /usr/src/sys/geom/geom_kern.c:134
#7  0xc04a40e8 in fork_exit (callout=0xc04889dc <g_event_procbody>, arg=0x0, 
    frame=0xd5424d48) at /usr/src/sys/kern/kern_fork.c:790
#8  0xc05f338c in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:209
(kgdb) 

I didn't want to send this report throught freebsd-bugs@.. 
because having debugging options enabled in kernel configuration is not what
users want to do,. I'm also not sure we can qualify it as a bug but..

Regards,
-- 
* Wojciech A. Koszek && dunstan@FreeBSD.czest.pl



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