Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 May 2004 10:32:18 -0400
From:      John Baldwin <jhb@FreeBSD.org>
To:        freebsd-alpha@FreeBSD.org
Subject:   Re: geom_bsd
Message-ID:  <200405241032.18350.jhb@FreeBSD.org>
In-Reply-To: <20040522162706.GA7409@dischord.org>
References:  <20040522162706.GA7409@dischord.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 22 May 2004 12:27 pm, Nick Jones wrote:
> I'm having a problem when loading geom_bsd on an Alpha XPS1000 machine and
> subsequently attempting to access a particular IDE drive, which is as
> follows:
>
> [nick@lungfish nick]$ uname -a
> FreeBSD lungfish.dischord.org 5.2.1-RELEASE-p4 FreeBSD 5.2.1-RELEASE-p4 #0:
> Mon Apr  5 13:14:34 BST 2004
> nick@lungfish.dischord.org:/usr/obj/usr/src/sys/LUNGFISH  alpha
>
> [nick@lungfish nick]$ dmesg | grep -i maxtor
> ad0: 39205MB <Maxtor 6E040L0> [79656/16/63] at ata1-master WDMA2
>
> [nick@lungfish nick]$ sudo bsdlabel /dev/ad0
> bsdlabel: /dev/ad0: no valid label found

If you are adding a new label do this:

sudo bsdlabel /dev/ad0 auto

> [nick@lungfish nick]$ sudo kldload geom_bsd
>
> At this point I notice this in /var/log/messages:
>
> May 22 16:22:24 lungfish kernel: module_register: module g_bsd already
> exists! May 22 16:22:24 lungfish kernel: Module g_bsd failed to register:
> 17

Yes, GEOM_BSD is compiled into Alpha kernels by default, so you don't need to 
load the module.  The fact that the module loads at all is a bug that 
probably leads to the hang you see.

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



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