Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Dec 2005 20:49:07 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Lapo Nustrini <lapo@seanet.com>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: gmirror load problem
Message-ID:  <20051211194907.GC1029@garage.freebsd.pl>
In-Reply-To: <97205FE2-7C60-4CD6-B908-92DBBCF902F3@seanet.com>
References:  <169FE8E2-A191-491B-864D-C1CBE28EE827@seanet.com> <20051210022959.GA726@garage.freebsd.pl> <97205FE2-7C60-4CD6-B908-92DBBCF902F3@seanet.com>

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

--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--



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