Skip site navigation (1)Skip section navigation (2)
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>

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

[-- Attachment #1 --]
On Tue, Jan 09, 2007 at 05:26:06PM +1100, Peter Jeremy wrote:
> 
> The logs you included showed the loader complaining "can't load 'kernel'"
> rather than having a corrupt disklabel.
> 
> 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.
 
> 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.
 
> 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=238216 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=238216 heads=16 sectors/track=63 (1008 blks/cyl)

    ******* Working on device /dev/ad1 *******
    parameters extracted from in-core disklabel are:
    cylinders=238216 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=238216 heads=16 sectors/track=63 (1008 blks/cyl)

and this is the boot time probe:

    ad0: 117246MB <Maxtor 6Y120L0/YAR41VW0> [238216/16/63] at ata0-master UDMA100
    ad1: 117246MB <Maxtor 6Y120L0/YAR41VW0> [238216/16/63] at ata0-slave UDMA100

Joe
-- 
=== Josef Karthauser (joe@tao.org.uk) === http://x2obuilder.com/tao ===

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (FreeBSD)

iEYEARECAAYFAkWmI1QACgkQXVIcjOaxUBZdswCggROrBAJzwmQ5/+pDiqA7U881
0ckAoOaCF5iAWTRU+g4UOGOyLCzg8LlV
=XyLH
-----END PGP SIGNATURE-----
home | help

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