From owner-freebsd-alpha@FreeBSD.ORG Mon Jun 7 15:46:57 2004 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49FDD16A4CE for ; Mon, 7 Jun 2004 15:46:57 +0000 (GMT) Received: from mail5.speakeasy.net (mail5.speakeasy.net [216.254.0.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27E1343D31 for ; Mon, 7 Jun 2004 15:46:57 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 21274 invoked from network); 7 Jun 2004 15:46:55 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 7 Jun 2004 15:46:55 -0000 Received: from 10.50.41.233 (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i57FkpkV003375; Mon, 7 Jun 2004 11:46:52 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: Nick Jones Date: Mon, 7 Jun 2004 11:47:40 -0400 User-Agent: KMail/1.6 References: <20040522162706.GA7409@dischord.org> <200405241032.18350.jhb@FreeBSD.org> <20040605145544.GA31231@dischord.org> In-Reply-To: <20040605145544.GA31231@dischord.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200406071147.40782.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: freebsd-alpha@FreeBSD.org Subject: Re: geom_bsd X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jun 2004 15:46:57 -0000 On Saturday 05 June 2004 10:55 am, Nick Jones wrote: > John Baldwin (jhb@FreeBSD.org) wrote: > > 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: > > > > If you are adding a new label do this: > > sudo bsdlabel /dev/ad0 auto > > Sorry, I just realised how badly worded my original post was. The drive > in question is pulled from an x86 install of FreeBSD and has data on it > I'd like to access in this Alpha box, therefore I don't want to do > anything destructive. > > From what I understand this should now be possible thanks to GEOM, but > there again I could be wrong. Well, GEOM should let you see the devices in /dev. Note that you will need to add 'GEOM_MBR' to your kernel (either as an option or kldload geom_mbr.ko) so that GEOM will see the MBR that the label lives inside of. That should give you the /dev/ad0s1a, etc. devices. However, I'm not sure if you will be able to mount the filesystems due to sizeof(long) differences. Since the endianness is the same you might be able to, though. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org