Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Sep 2009 13:19:04 -0700
From:      Ted Faber <faber@isi.edu>
To:        freebsd-current@freebsd.org
Subject:   RELENG_8 regression: cannot detect partitions
Message-ID:  <20090921201903.GB52169@zod.isi.edu>

next in thread | raw e-mail | index | archive | help

--+KJYzRxRHjYqLGl5
Content-Type: multipart/mixed; boundary="eHhjakXzOLJAF9wJ"
Content-Disposition: inline


--eHhjakXzOLJAF9wJ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

8.0 (RELENG_8, from last night) doesn't seem to find the FBSD partitions
on my PATA drive that boots FreeBSD 7-STABLE fine.  RELENG_8 finds the
drive and the BIOS partition (slice).  It fails on the same hardware
that boots 7.2-STABLE just fine.  It drops me into the menu to manually
configure the root partition, but doesn't accept either the native
device names for the root partition (/dev/ad0s1a) or a geom label
(/dev/label/root).  The list of GEOM devices only includes ad0 and
ad0s1.

The disk isn't dangerously dedicated, but I only added geom labels to
the partitions last night.  The glabels work fine under 7.2-STABLE, but
RELENG_8 seems to ignore them.  I've attached output from fdisk,
bsdlabel, and glabel in case I'm misinterpreting them.  I haven't gotten
a dmesg yet, because I need to get this kernel on a memory stick to do
so.

I'll be able to run more diagnostics under 8.0 tonight.

Any ideas?

--=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

--eHhjakXzOLJAF9wJ
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:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>

--eHhjakXzOLJAF9wJ
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

--eHhjakXzOLJAF9wJ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=glabel

      Name  Status  Components
label/root     N/A  ad0s1a
label/swap     N/A  ad0s1b
 label/var     N/A  ad0s1d
 label/usr     N/A  ad0s1e

--eHhjakXzOLJAF9wJ--

--+KJYzRxRHjYqLGl5
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (FreeBSD)

iEYEARECAAYFAkq337cACgkQaUz3f+Zf+XuCuACcCUx4rNnSFz6zvhlyZub2qz7A
gnYAoP1rNkEuRlX65tn28eqIhz/hCRyb
=TdP3
-----END PGP SIGNATURE-----

--+KJYzRxRHjYqLGl5--



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