Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 May 2004 17:27:06 +0100
From:      Nick Jones <nick@freebsd.cx>
To:        freebsd-alpha@freebsd.org
Subject:   geom_bsd
Message-ID:  <20040522162706.GA7409@dischord.org>

next in thread | raw e-mail | index | archive | help
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

[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

But anyway:

[nick@lungfish nick]$ sudo kldstat
Id Refs Address            Size     Name
 1    2 0xfffffc0000300000 4b9298   kernel
 2    1 0xfffffe0002ad6000 14000    geom_bsd.ko

However, as soon as I try and access that disk again:
[nick@lungfish nick]$ sudo bsdlabel /dev/ad0

The box just seems to hang at that point.  It hasn't crashed per se, rather
all disk I/O seems to have gone out of the window.  The only way out of this
is to power-cycle the workstation.

The disk is a standard IDE disk pulled from an x86 install of FreeBSD and is
attached to the on-board IDE controller, but I've also tried with a Highpoint
HPT370A based controller to no avail.

Any ideas?  Thanks in advance.

-- 

--Nick


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