Date: Thu, 11 Jan 2007 11:45:24 +0000 From: Josef Karthauser <joe@FreeBSD.org> To: Peter Jeremy <peterjeremy@optushome.com.au> Cc: freebsd-fs@freebsd.org Subject: Re: Trouble booting second ide drive (gmirror configuration). Message-ID: <20070111114524.GA13405@genius.tao.org.uk> In-Reply-To: <20070109062606.GA853@turion.vk2pj.dyndns.org> References: <20070107232055.GA2450@genius.tao.org.uk> <20070109062606.GA853@turion.vk2pj.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--fUYQa+Pmc3FrFX/N
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Tue, Jan 09, 2007 at 05:26:06PM +1100, Peter Jeremy wrote:
>=20
> The logs you included showed the loader complaining "can't load 'kernel'"
> rather than having a corrupt disklabel.
>=20
> I presume you've confirmed that the disk actually has a kernel on it?
Yes, it's a dump/restore of the existing root partition on the other
disk, and I can mount it correctly and verify this when booted off drive
zero.
=20
> Does the geometry reported by the BIOS match the on-disk geometry from
> fdisk?  Have you tried toggling LBA?
Hmm. How can I verify this? The machine is remote and I've not got
access to the bios screen.
=20
> When you're at the loader prompt, what do "ls /boot" and "ls /boot/kernel"
> return?
It will have to wait until a quiet period so I can reboot to verify, but
my memory tells me that when I tried to see what was on the disk from
the boot loader I got some message about inconsistent or corrupt
disklabel.
Is it possible that it's a bios issue and that the bios isn't correctly
configured for this disk?  How might I work around that if that's the
case?
This is what fdisk reports:
    ******* Working on device /dev/ad0 *******
    parameters extracted from in-core disklabel are:
    cylinders=3D238216 heads=3D16 sectors/track=3D63 (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=3D238216 heads=3D16 sectors/track=3D63 (1008 blks/cyl)
    ******* Working on device /dev/ad1 *******
    parameters extracted from in-core disklabel are:
    cylinders=3D238216 heads=3D16 sectors/track=3D63 (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=3D238216 heads=3D16 sectors/track=3D63 (1008 blks/cyl)
and this is the boot time probe:
    ad0: 117246MB <Maxtor 6Y120L0/YAR41VW0> [238216/16/63] at ata0-master U=
DMA100
    ad1: 117246MB <Maxtor 6Y120L0/YAR41VW0> [238216/16/63] at ata0-slave UD=
MA100
Joe
--=20
=3D=3D=3D Josef Karthauser (joe@tao.org.uk) =3D=3D=3D http://x2obuilder.com=
/tao =3D=3D=3D
--fUYQa+Pmc3FrFX/N
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (FreeBSD)
iEYEARECAAYFAkWmI1QACgkQXVIcjOaxUBZdswCggROrBAJzwmQ5/+pDiqA7U881
0ckAoOaCF5iAWTRU+g4UOGOyLCzg8LlV
=XyLH
-----END PGP SIGNATURE-----
--fUYQa+Pmc3FrFX/N--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070111114524.GA13405>
