From owner-freebsd-geom@FreeBSD.ORG Sun Dec 11 19:50:20 2005 Return-Path: X-Original-To: freebsd-geom@freebsd.org 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 31DB516A41F for ; Sun, 11 Dec 2005 19:50:20 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6236843D67 for ; Sun, 11 Dec 2005 19:50:01 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id DAD5B52BC1; Sun, 11 Dec 2005 20:49:58 +0100 (CET) Received: from localhost (ana50.internetdsl.tpnet.pl [83.17.82.50]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 371A452B3E; Sun, 11 Dec 2005 20:49:52 +0100 (CET) Date: Sun, 11 Dec 2005 20:49:07 +0100 From: Pawel Jakub Dawidek To: Lapo Nustrini Message-ID: <20051211194907.GC1029@garage.freebsd.pl> References: <169FE8E2-A191-491B-864D-C1CBE28EE827@seanet.com> <20051210022959.GA726@garage.freebsd.pl> <97205FE2-7C60-4CD6-B908-92DBBCF902F3@seanet.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sHrvAb52M6C8blB9" Content-Disposition: inline In-Reply-To: <97205FE2-7C60-4CD6-B908-92DBBCF902F3@seanet.com> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r535 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-geom@freebsd.org Subject: Re: gmirror load problem X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Dec 2005 19:50:20 -0000 --sHrvAb52M6C8blB9 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 11, 2005 at 11:23:15AM -0800, Lapo Nustrini wrote: +>=20 +> On Dec 9, 2005, at 6:29 PM, Pawel Jakub Dawidek wrote: +>=20 +> >On Fri, Dec 09, 2005 at 12:30:35PM -0800, Lapo Nustrini wrote: +> >+> This time however "gmirror load" returns a "Command 'load' not avail= able" error. +> >+> I thought gmirror must be already loaded but I can't unload gmirror = or see a /dev/mirror directory on the system. +> > +> >Could you paste the result of the following commands: +> > +> > # kldstat -v | grep g_mirror +> > # sysctl kern.module_path +> > # ls -l /boot/kernel/geom_mirror.ko +> > +>=20 +> Sure thing. +>=20 +> % kldstat -v | grep g_mirror +> % sysctl kern.module_path +> kern.module_path: /boot/modules +> % ls -l /boot/kernel/geom_mirror.ko +> -r-xr-xr-x 1 root wheel 79886 Jun 24 13:31 /boot/kernel/geom_mirror.ko +>=20 +>=20 +> Does this shed any light? Yes. Your kern.module_path is wrong. It should have also /boot/kernel/. If you load manually geom_mirror.ko by doing: # kldload /boot/kernel/geom_mirror.ko it will work. The problem you're seeing is related to loader.rc changes probably. If you have loader.rc rev1.1, you should manually update to at least 1.2. The file should be here: /sys/boot/i386/loader/loader.rc I reported this problem to jmg@ which did the change and I was sure it was fixed somehow... This was some time ago, so not sure if this is the problem... --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --sHrvAb52M6C8blB9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDnIKzForvXbEpPzQRApnJAJ9tClysfO15VitW6CBQ4tUMROJecACg+aHy X2PpMFilIPfdXnryv0oMWVQ= =Ef1j -----END PGP SIGNATURE----- --sHrvAb52M6C8blB9--