From owner-freebsd-current@FreeBSD.ORG Fri Oct 10 22:17:18 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B83616A4BF for ; Fri, 10 Oct 2003 22:17:18 -0700 (PDT) Received: from mailout09.sul.t-online.com (mailout09.sul.t-online.com [194.25.134.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAA7543F93 for ; Fri, 10 Oct 2003 22:17:15 -0700 (PDT) (envelope-from mike@reifenberger.com) Received: from fwd10.aul.t-online.de by mailout09.sul.t-online.com with smtp id 1A7sCH-0006Tz-08; Fri, 10 Oct 2003 10:00:25 +0200 Received: from mike.reifenberger.com (TtmsVGZZ8eOFK9qrJCdUPErFz2TYfhN+eEhvzLkz0LqbyMQ-uXs8k1@[217.232.230.153]) by fmrl10.sul.t-online.com with esmtp id 1A7sBr-0d6FAO0; Fri, 10 Oct 2003 09:59:59 +0200 Received: from localhost (mike@localhost)h9A7xwQb063142; Fri, 10 Oct 2003 09:59:58 +0200 (CEST) (envelope-from mike@reifenberger.com) X-Authentication-Warning: mike.reifenberger.com: mike owned process doing -bs Date: Fri, 10 Oct 2003 09:59:58 +0200 (CEST) From: mike To: Christian Brueffer In-Reply-To: <20031010000826.GA3038@unixpages.org> Message-ID: <20031010094446.K61497-200000@mike.reifenberger.com> References: <20031010000826.GA3038@unixpages.org> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-147120436-1065772798=:61497" X-Seen: false X-ID: TtmsVGZZ8eOFK9qrJCdUPErFz2TYfhN+eEhvzLkz0LqbyMQ-uXs8k1@t-dialin.net cc: current@freebsd.org Subject: Re: panic: The GEOM class BDE already loaded X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2003 05:17:18 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-147120436-1065772798=:61497 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 10 Oct 2003, Christian Brueffer wrote: > Date: Fri, 10 Oct 2003 02:08:26 +0200 > From: Christian Brueffer > To: current@freebsd.org > Subject: panic: The GEOM class BDE already loaded > > Hi, > > just got the following panic on my server. The panic occured while trying > to attach a gbde encrypted disk. geom_bde is compiled into the kernel. > The problem seems to be that the kld name is 'geom_bde' but the module name is 'g_bde' and gbde's main() we search for the kld which in your case doesn't exist. Could you please try the attached patch for src/sbin/gbde? Bye/2 --- Michael Reifenberger, Business Unit Manager SAP-Basis, Plaut Consulting Comp: Michael.Reifenberger@plaut.de | Priv: Michael@Reifenberger.com http://www.plaut.de | http://www.Reifenberger.com --0-147120436-1065772798=:61497 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="gbde.patch" Content-Transfer-Encoding: BASE64 Content-ID: <20031010095958.M61497@mike.reifenberger.com> Content-Description: Content-Disposition: attachment; filename="gbde.patch" LS0tIGdiZGUuYy5vcmlnCUZyaSBPY3QgMTAgMDk6NTU6MTUgMjAwMw0KKysr IGdiZGUuYwlGcmkgT2N0IDEwIDA5OjU1OjE5IDIwMDMNCkBAIC01Nyw1ICs1 Nyw2IEBADQogI2luY2x1ZGUgPHN5cy9saW5rZXIuaD4NCiANCi0jZGVmaW5l IEdCREVNT0QgImdlb21fYmRlIg0KKyNkZWZpbmUgR0JERUtMRCAiZ2VvbV9i ZGUiDQorI2RlZmluZSBHQkRFTU9EICJnX2JkZSINCiAjZGVmaW5lIEtBU1NF UlQoZm9vLCBiYXIpIGRvIHsgaWYoIShmb28pKSB7IHdhcm4gYmFyIDsgZXhp dCAoMSk7IH0gfSB3aGlsZSAoMCkNCiANCkBAIC02NzMsOCArNjc0LDggQEAN CiAJCXVzYWdlKCJUb28gZmV3IGFyZ3VtZW50c1xuIik7DQogDQotICAgICAg IGlmICgoaSA9IGtsZGZpbmQoR0JERU1PRCkpIDwgMCkgew0KKyAgICAgICBp ZiAoKGkgPSBtb2RmaW5kKEdCREVNT0QpKSA8IDApIHsNCiAgICAgICAgICAg ICAgICAvKiBuZWVkIHRvIGxvYWQgdGhlIGdiZGUgbW9kdWxlICovDQotICAg ICAgICAgICAgICAgaWYgKGtsZGxvYWQoR0JERU1PRCkgPCAwIHx8IGtsZGZp bmQoR0JERU1PRCkgPCAwKSB7DQotICAgICAgICAgICAgICAgICAgICAgICB1 c2FnZShHQkRFTU9EICI6IEtlcm5lbCBtb2R1bGUgbm90IGF2YWlsYWJsZSIp Ow0KKyAgICAgICAgICAgICAgIGlmIChrbGRsb2FkKEdCREVLTEQpIDwgMCB8 fCBrbGRmaW5kKEdCREVLTEQpIDwgMCkgew0KKyAgICAgICAgICAgICAgICAg ICAgICAgdXNhZ2UoR0JERUtMRCAiOiBLZXJuZWwgbW9kdWxlIG5vdCBhdmFp bGFibGUiKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgIH0NCg== --0-147120436-1065772798=:61497--