From owner-freebsd-current@FreeBSD.ORG Mon Oct 11 21:10:23 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D901016A4CE for ; Mon, 11 Oct 2004 21:10:23 +0000 (GMT) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id D100943D2D for ; Mon, 11 Oct 2004 21:10:22 +0000 (GMT) (envelope-from Emanuel.Strobl@gmx.net) Received: (qmail 1647 invoked by uid 65534); 11 Oct 2004 21:10:21 -0000 Received: from flb.schmalzbauer.de (EHLO cale.flintsbach.schmalzbauer.de) (62.245.232.135) by mail.gmx.net (mp022) with SMTP; 11 Oct 2004 23:10:21 +0200 X-Authenticated: #301138 From: Emanuel Strobl To: freebsd-current@freebsd.org Date: Mon, 11 Oct 2004 23:10:14 +0200 User-Agent: KMail/1.7 References: <200410111101.59356.Emanuel.Strobl@gmx.net> <200410111848.15914.Emanuel.Strobl@gmx.net> <20041011170312.GA16348@ns1.xcllnt.net> In-Reply-To: <20041011170312.GA16348@ns1.xcllnt.net> X-OS: FreeBSD X-Birthday: 10/06/72 X-Address: Munich, 80686 X-Tel: +49 89 18947781 X-CelPhone: +49 173 9967781 X-Country: Germany MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1350075.zK3Ay9GF4q"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200410112310.19966.Emanuel.Strobl@gmx.net> cc: Marcel Moolenaar Subject: Re: missing ad0p2 device while GEOM sees GPT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Oct 2004 21:10:24 -0000 --nextPart1350075.zK3Ay9GF4q Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Am Montag, 11. Oktober 2004 19:03 schrieb Marcel Moolenaar: [...] > > But when I try it fails becaus there also is no /dev/ad0p at all. > > Odd. I'll see if I can reproduce this. In the mean time, see if md(4) > exhibits the same behaviour. > > > Btw, it's a i386 box, not ia64. > > I know. :-) Nice :) I have news, please let me know if I'm doing things the right way. = Now=20 I set up a standard MBR with one standard slice and standard labels inside.= =20 Then I issued 'gpt migrate -k -s ad0' and now I have a booting box and coul= d=20 add ('gpt add -b ??????? -s 2000000 -i 3 -t ufs ad0') a third GPT part of=20 type ufs. After a reboot I also have the device ad0p3, but why do I need to reboot? And why doesn't 'gpt show ad0' work without setting kern.geom.debugflags to= =20 16? And like I posted in another mail, as soon as there is a GPT on the disk=20 sysinstall panickes (BARF <171>, panic: Going nowhere without my init!). And while I'm at sysinstall I'd liek to repeat another posting: Sysinstall= =20 always sets the boot flag to any slice, so if you add (or define two at onc= e)=20 a slice you have a invalid partition tabel (in the MBR) with two active=20 flags. Here's some logs: GEOM: new disk ad0 GEOM: Configure ad0s1, start 32256 length 10733958144 end 10733990399 GEOM: Configure ad0s2, start 10733990400 length 10733990400 end 21467980799 GEOM: Configure ad0p3, start 21467980800 length 1024000000 end 22491980799 [0] f:80 typ:165 s(CHS):0/1/1 e(CHS):1023/254/63 s:63 l:20964762 [1] f:00 typ:165 s(CHS):1023/255/63 e(CHS):1023/254/63 s:20964825 l:20964825 [2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 [3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 GEOM: Configure ad0s1, start 32256 length 10733958144 end 10733990399 GEOM: Configure ad0s2, start 10733990400 length 10733990400 end 21467980799 WARNING: Expected rawoffset 0, found 63 GEOM: Configure ad0s1a, start 0 length 268435456 end 268435455 GEOM: Configure ad0s1b, start 268435456 length 2121146368 end 2389581823 GEOM: Configure ad0s1c, start 0 length 10733958144 end 10733958143 GEOM: Configure ad0s1d, start 2389581824 length 268435456 end 2658017279 GEOM: Configure ad0s1e, start 2658017280 length 268435456 end 2926452735 GEOM: Configure ad0s1f, start 2926452736 length 7807505408 end 10733958143 WARNING: Expected rawoffset 0, found 20964825 GEOM: Configure ad0s2c, start 0 length 10733990400 end 10733990399 GEOM: Configure ad0s1a, start 0 length 268435456 end 268435455 GEOM: Configure ad0s1b, start 268435456 length 2121146368 end 2389581823 GEOM: Configure ad0s1c, start 0 length 10733958144 end 10733958143 GEOM: Configure ad0s1d, start 2389581824 length 268435456 end 2658017279 GEOM: Configure ad0s1e, start 2658017280 length 268435456 end 2926452735 GEOM: Configure ad0s1f, start 2926452736 length 7807505408 end 10733958143 GEOM: Configure ad0s2c, start 0 length 10733990400 end 10733990399 --nextPart1350075.zK3Ay9GF4q Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBava7Bylq0S4AzzwRAvrrAKCG/mOzmWW6/ptLd6E4EKX6D3MzyACgj/G4 vGS6X7MhzO3RQ9ZNpKBaF6Q= =o1c0 -----END PGP SIGNATURE----- --nextPart1350075.zK3Ay9GF4q--