From owner-freebsd-current@FreeBSD.ORG Tue Sep 22 18:47:03 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A68F1065676 for ; Tue, 22 Sep 2009 18:47:03 +0000 (UTC) (envelope-from faber@zod.isi.edu) Received: from zod.isi.edu (zod.isi.edu [128.9.168.221]) by mx1.freebsd.org (Postfix) with ESMTP id 780908FC17 for ; Tue, 22 Sep 2009 18:47:03 +0000 (UTC) Received: from zod.isi.edu (localhost [127.0.0.1]) by zod.isi.edu (8.14.3/8.14.3) with ESMTP id n8MIl0te014481; Tue, 22 Sep 2009 11:47:00 -0700 (PDT) (envelope-from faber@zod.isi.edu) Received: (from faber@localhost) by zod.isi.edu (8.14.3/8.14.3/Submit) id n8MIl0Uq014479; Tue, 22 Sep 2009 11:47:00 -0700 (PDT) (envelope-from faber) Date: Tue, 22 Sep 2009 11:47:00 -0700 From: Ted Faber To: Dimitry Andric Message-ID: <20090922184700.GE38036@zod.isi.edu> References: <20090921201903.GB52169@zod.isi.edu> <20090922041055.GA29399@zod.isi.edu> <4AB8AB12.7010406@andric.com> <20090922151441.GA38036@zod.isi.edu> <4AB90D2B.30801@andric.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="l+goss899txtYvYf" Content-Disposition: inline In-Reply-To: <4AB90D2B.30801@andric.com> User-Agent: Mutt/1.4.2.3i X-url: http://www.isi.edu/~faber Cc: freebsd-current@freebsd.org Subject: Re: RELENG_8 regression: cannot detect partitions (now with boot -v) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 22 Sep 2009 18:47:03 -0000 --l+goss899txtYvYf Content-Type: multipart/mixed; boundary="imjhCm/Pyz7Rq5F2" Content-Disposition: inline --imjhCm/Pyz7Rq5F2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 22, 2009 at 07:45:15PM +0200, Dimitry Andric wrote: > On 2009-09-22 17:14, Ted Faber wrote: > > That's the USB disk label I was using to get the boot from. The slices > > on ad0: /dev/ad0s1a /dev/ad0s1d and /dev/ad0s1e are the ones I don't > > see. >=20 > Just checking. :) Can you run (from a rescue disk or 7-STABLE): >=20 > dd if=3D/dev/ad2 count=3D4 2>/dev/null | hexdump -C >=20 > and post the output here? Output of fdisk and bsdlabel would also be > handy. The bsdlabel and fdisk were attached to the first message, but I've attached them here as well, along with the output of=20 $ dd if=3D/dev/ad0 count=3D4 2>/dev/null | hexdump -C from the running 7.2 install. 7.2 finds the disk as ad0 not ad2. I've also gotten a pointer to this message, which sounds a lot like my problem: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=3D774931+0+archive/2009/freebs= d-current/20090118.freebsd-current I'm planning to save that sector and then try erasing it as the message suggests when I get access to the machine tonight. If the output from the dd above will confirm that diagnosis, that would be great. I don't know what a stale disklabel looks like, myself... Thanks! --=20 Ted Faber http://www.isi.edu/~faber PGP: http://www.isi.edu/~faber/pubkeys.= asc Unexpected attachment on this mail? See http://www.isi.edu/~faber/FAQ.html#= SIG --imjhCm/Pyz7Rq5F2 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=sec 00000000 fc 31 c0 8e c0 8e d8 8e d0 bc 00 7c 89 e6 bf 00 |.1.........|....| 00000010 06 b9 00 01 f3 a5 89 fd b1 08 f3 ab fe 45 f2 e9 |.............E..| 00000020 00 8a f6 46 bb 20 75 08 84 d2 78 07 80 4e bb 40 |...F. u...x..N.@| 00000030 8a 56 ba 88 56 00 e8 fc 00 52 bb c2 07 31 d2 88 |.V..V....R...1..| 00000040 6f fc 0f a3 56 bb 73 19 8a 07 bf 87 07 b1 03 f2 |o...V.s.........| 00000050 ae 74 0e b1 0b f2 ae 83 c7 09 8a 0d 01 cf e8 c5 |.t..............| 00000060 00 42 80 c3 10 73 d8 58 2c 7f 3a 06 75 04 72 05 |.B...s.X,.:.u.r.| 00000070 48 74 0d 30 c0 04 b0 88 46 b8 bf b2 07 e8 a6 00 |Ht.0....F.......| 00000080 be 7b 07 e8 b2 00 8a 56 b9 4e e8 8e 00 eb 05 b0 |.{.....V.N......| 00000090 07 e8 b0 00 30 e4 cd 1a 89 d7 03 7e bc b4 01 cd |....0......~....| 000000a0 16 75 0d 30 e4 cd 1a 39 fa 72 f2 8a 46 b9 eb 16 |.u.0...9.r..F...| 000000b0 30 e4 cd 16 88 e0 3c 1c 74 f1 2c 3b 3c 04 76 06 |0.....<.t.,;<.v.| 000000c0 2c c7 3c 04 77 c9 98 0f a3 46 0c 73 c2 88 46 b9 |,.<.w....F.s..F.| 000000d0 be 00 08 8a 14 89 f3 3c 04 9c 74 0a c0 e0 04 05 |.......<..t.....| 000000e0 be 07 93 c6 07 80 53 f6 46 bb 40 75 08 bb 00 06 |......S.F.@u....| 000000f0 b4 03 e8 59 00 5e 9d 75 06 8a 56 b8 80 ea 30 bb |...Y.^.u..V...0.| 00000100 00 7c b4 02 e8 47 00 72 86 81 bf fe 01 55 aa 0f |.|...G.r.....U..| 00000110 85 7c ff be 85 07 e8 19 00 ff e3 b0 46 e8 24 00 |.|..........F.$.| 00000120 b0 31 00 d0 eb 17 0f ab 56 0c be 78 07 e8 eb ff |.1......V..x....| 00000130 89 fe e8 03 00 be 85 07 ac a8 80 75 05 e8 04 00 |...........u....| 00000140 eb f6 24 7f 53 bb 07 00 b4 0e cd 10 5b c3 8a 74 |..$.S.......[..t| 00000150 01 8b 4c 02 b0 01 56 89 e7 f6 46 bb 80 74 13 66 |..L...V...F..t.f| 00000160 6a 00 66 ff 74 08 06 53 6a 01 6a 10 89 e6 48 80 |j.f.t..Sj.j...H.| 00000170 cc 40 cd 13 89 fc 5e c3 20 20 a0 0a 44 65 66 61 |.@....^. ..Defa| 00000180 75 6c 74 3a a0 0d 8a 00 05 0f 01 06 07 0b 0c 0e |ult:............| 00000190 83 a5 a6 a9 0d 0c 0b 0a 09 08 0a 0e 11 10 01 3f |...............?| 000001a0 bf 44 4f d3 4c 69 6e 75 f8 46 72 65 65 42 53 c4 |.DO.Linu.FreeBS.| 000001b0 66 bb 44 72 69 76 65 20 b1 00 80 0f b6 00 80 01 |f.Drive ........| 000001c0 01 00 a5 0e ff ff 3f 00 00 00 42 45 1c 1d 00 00 |......?...BE....| 000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.| 00000200 57 45 56 82 00 00 00 00 61 6d 6e 65 73 69 61 63 |WEV.....amnesiac| 00000210 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000220 00 00 00 00 00 00 00 00 00 02 00 00 3f 00 00 00 |............?...| 00000230 10 00 00 00 a9 64 07 00 f0 03 00 00 70 59 1c 1d |.....d......pY..| 00000240 00 00 00 00 00 00 00 00 10 0e 01 00 00 00 00 00 |................| 00000250 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000280 00 00 00 00 57 45 56 82 19 0d 08 00 00 20 00 00 |....WEV...... ..| 00000290 00 00 00 00 60 59 1c 1d 10 00 00 00 00 00 00 00 |....`Y..........| 000002a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 000002b0 00 00 00 00 70 59 1c 1d 00 00 00 00 00 00 00 00 |....pY..........| 000002c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000800 --imjhCm/Pyz7Rq5F2 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=fdisk ******* Working on device /dev/ad0 ******* parameters extracted from in-core disklabel are: cylinders=484521 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=484521 heads=16 sectors/track=63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 488392002 (238472 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 14/ sector 63 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: --imjhCm/Pyz7Rq5F2 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=label Content-Transfer-Encoding: quoted-printable # /dev/ad0s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 4194304 0 4.2BSD 0 0 0=20 b: 20971520 4194304 swap =20 c: 488392002 0 unused 0 0 # "raw" part, don'= t edit d: 41943040 25165824 4.2BSD 2048 16384 28552=20 e: 421283138 67108864 4.2BSD 0 0 0=20 --imjhCm/Pyz7Rq5F2-- --l+goss899txtYvYf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAkq5G6QACgkQaUz3f+Zf+Xu0aACeJCe+hbEM7NThHQxnws9X4uT3 kEMAoORVA15YBqj2tje48xkK5bnJpLlU =6kpw -----END PGP SIGNATURE----- --l+goss899txtYvYf--