From owner-freebsd-geom@FreeBSD.ORG Tue Apr 5 13:59:56 2005 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 749DA16A4CE; Tue, 5 Apr 2005 13:59:56 +0000 (GMT) Received: from freebsd.czest.pl (silver.iplus.pl [80.48.250.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59D3243D66; Tue, 5 Apr 2005 13:59:35 +0000 (GMT) (envelope-from dunstan@freebsd.czest.pl) Received: from freebsd.czest.pl (freebsd.czest.pl [80.48.250.4]) by freebsd.czest.pl (8.12.10/8.12.9) with ESMTP id j35E7btf075567; Tue, 5 Apr 2005 14:07:37 GMT (envelope-from dunstan@freebsd.czest.pl) Received: (from dunstan@localhost) by freebsd.czest.pl (8.12.10/8.12.9/Submit) id j35E7bt7075566; Tue, 5 Apr 2005 14:07:37 GMT (envelope-from dunstan) Date: Tue, 5 Apr 2005 14:07:35 +0000 From: "Wojciech A. Koszek" To: Pawel Jakub Dawidek Message-ID: <20050405140735.GA75518@freebsd.czest.pl> References: <20050404195820.GA70074@freebsd.czest.pl> <20050405133217.GK837@darkness.comp.waw.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050405133217.GK837@darkness.comp.waw.pl> User-Agent: Mutt/1.4.2.1i cc: freebsd-geom@freebsd.org Subject: Re: Panic while loading GEOM BSD class (KASSERTions) X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Apr 2005 13:59:56 -0000 On Tue, Apr 05, 2005 at 03:32:17PM +0200, Pawel Jakub Dawidek wrote: > On Mon, Apr 04, 2005 at 07:58:20PM +0000, Wojciech A. Koszek wrote: > +> Hello GEOM hackers, [..] > > GEOM_BSD is always added to the kernel: > > /sys/conf/files.alpha:geom/geom_bsd.c standard [..] > 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' :)). Hi Pawel, I mean exacly this. We have GEOM_BSD by default. but it would be nice to cleanly return with error code. Similar problem is reported with if_run.ko and if_ppp.ko (PR: kern/79493). Regards, -- * Wojciech A. Koszek && dunstan@FreeBSD.czest.pl