geom_bsd

John Baldwin jhb at FreeBSD.org
Mon May 24 07:32:15 PDT 2004


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 at 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 at lungfish.dischord.org:/usr/obj/usr/src/sys/LUNGFISH  alpha
>
> [nick at lungfish nick]$ dmesg | grep -i maxtor
> ad0: 39205MB <Maxtor 6E040L0> [79656/16/63] at ata1-master WDMA2
>
> [nick at 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 at 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 at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the freebsd-alpha mailing list