Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Apr 2005 15:32:17 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        "Wojciech A. Koszek" <dunstan@freebsd.czest.pl>
Cc:        freebsd-geom@FreeBSD.org
Subject:   Re: Panic while loading GEOM BSD class (KASSERTions)
Message-ID:  <20050405133217.GK837@darkness.comp.waw.pl>
In-Reply-To: <20050404195820.GA70074@freebsd.czest.pl>
References:  <20050404195820.GA70074@freebsd.czest.pl>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Mon, Apr 04, 2005 at 07:58:20PM +0000, Wojciech A. Koszek wrote:
+> 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.

GEOM_BSD is always added to the kernel:

/sys/conf/files.alpha:geom/geom_bsd.c                   standard
/sys/conf/files.alpha:geom/geom_bsd_enc.c               standard
/sys/conf/files.amd64:geom/geom_bsd.c                   standard
/sys/conf/files.amd64:geom/geom_bsd_enc.c               standard
/sys/conf/files.i386:geom/geom_bsd.c                    standard
/sys/conf/files.i386:geom/geom_bsd_enc.c                standard
/sys/conf/files.ia64:geom/geom_bsd.c                    standard
/sys/conf/files.ia64:geom/geom_bsd_enc.c                standard
/sys/conf/files.pc98:geom/geom_bsd.c                    standard
/sys/conf/files.pc98:geom/geom_bsd_enc.c                standard
/sys/conf/files.sparc64:geom/geom_bsd.c                 standard
/sys/conf/files.sparc64:geom/geom_bsd_enc.c             standard

'standard' means it is always compiled in.

You can look for BSD class in 'sysctl -b kern.geom.confxml' output.

And if you want to ask if we should panic or not if class is already
there... I suggested phk@ in the past to just return an error, not
sure what his response was (maybe 'prepare a patch' :)).

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFCUpNhForvXbEpPzQRAkRAAKDDujflxrO4gE3rh3NLpaeC/JnKfQCgy2vA
M6jnpqKm9fLSFAQEy0y9xco=
=hb8v
-----END PGP SIGNATURE-----

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