From owner-freebsd-alpha@FreeBSD.ORG Mon Jun 7 18:11:50 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 94DEB16A4D0; Mon, 7 Jun 2004 18:11:50 +0000 (GMT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B1E243D49; Mon, 7 Jun 2004 18:11:49 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) (authenticated bits=0) i57I9taI046178 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Mon, 7 Jun 2004 20:10:25 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id i57I8XUi076418 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 7 Jun 2004 20:08:34 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.11/8.12.11) with ESMTP id i57I8WNa007498; Mon, 7 Jun 2004 20:08:33 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.11/8.12.11/Submit) id i57I5PjO007497; Mon, 7 Jun 2004 20:05:25 +0200 (CEST) (envelope-from ticso) Date: Mon, 7 Jun 2004 20:05:25 +0200 From: Bernd Walter To: John Baldwin Message-ID: <20040607180524.GZ51677@cicely12.cicely.de> References: <20040522162706.GA7409@dischord.org> <200405241032.18350.jhb@FreeBSD.org> <20040605145544.GA31231@dischord.org> <200406071147.40782.jhb@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200406071147.40782.jhb@FreeBSD.org> X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.9 required=3.0 tests=BAYES_00 autolearn=ham version=2.63 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on cicely12.cicely.de cc: freebsd-alpha@freebsd.org Subject: Re: geom_bsd X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de 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 18:11:50 -0000 On Mon, Jun 07, 2004 at 11:47:40AM -0400, John Baldwin wrote: > 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. I migrated a disk from i386 to alpha about 3 years ago whithout problems - it was a DD partioned disk and just required copying the disklabel into the alpha location. If theres any FS specific problem then it has to be new. -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de