Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Sep 2009 10:05:16 -0700
From:      Ted Faber <faber@isi.edu>
To:        Jung-uk Kim <jkim@FreeBSD.org>
Cc:        freebsd-stable@FreeBSD.org
Subject:   Re: PATA disks/DVD not detected on ATI IXP 700 - cannot boot (dmesg attached)
Message-ID:  <20090921170516.GA52169@zod.isi.edu>
In-Reply-To: <200909211239.25614.jkim@FreeBSD.org>
References:  <20090916161327.GB87631@zod.isi.edu> <20090919035214.GA12889@zod.isi.edu> <200909211239.25614.jkim@FreeBSD.org>

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

--mojUlQ0s9EVzWg2t
Content-Type: multipart/mixed; boundary="RnlQjJ0d97Da+TV1"
Content-Disposition: inline


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

On Mon, Sep 21, 2009 at 12:39:17PM -0400, Jung-uk Kim wrote:
> On Friday 18 September 2009 11:52 pm, Ted Faber wrote:
> > On Wed, Sep 16, 2009 at 09:13:27AM -0700, Ted Faber wrote:
> > > Hi.
> > >
> > > I'm trying to upgrade a machine to a new motherboard (the ECS
> > > A790GXM-AD3 AM3 790GX) my FreeBSD 7-STABLE system (GENERIC
> > > kernel, compiled from source on 10 Sept 2009) reaches the point
> > > where it's going to mount the root file system and can't find the
> > > disk.  It drops me into the manual specification of root file
> > > system menu, but there are no GEOM-managed disks to choose from.
> >
> > [...]
> >
> > I managed to boot FreeBSD on this motherboard using a USB key.=20
> > Attached is the dmesg from a verbose boot.  Any help would be
> > appreciated.
>=20
> This is a known problem and should be fixed in 8.0.  Sorry, I haven't=20
> had time to back-port the code.  Proabably it's good time to consider=20
> testing 8.0-RC1. ;-)

Thanks for getting back to me.  It does seem to be fixed in 8.0-RC1 (and
thanks for that fix, too).  That is, 8.0-RC1 finds the drive, but...

8.0 (RELENG_8, from last night) doesn't seem to find the FBSD partitions
on the drive.  It finds the drive and the BIOS partition (slice).  It
fails on my old motherboard (not the one above) 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've been waiting for a free moment to write a more complete report, but
since I've got your attention...

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

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

--RnlQjJ0d97Da+TV1
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>

--RnlQjJ0d97Da+TV1
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

--RnlQjJ0d97Da+TV1
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

--RnlQjJ0d97Da+TV1--

--mojUlQ0s9EVzWg2t
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iEYEARECAAYFAkq3skwACgkQaUz3f+Zf+XsHuwCguKJ0TQdgnl1uVETFKirSWnHS
oLMAn3byBERdTpI7qJzEN4OXEKH/0i80
=i16T
-----END PGP SIGNATURE-----

--mojUlQ0s9EVzWg2t--



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