Trouble booting second ide drive (gmirror configuration).

Josef Karthauser joe at FreeBSD.org
Thu Jan 11 03:45:29 PST 2007


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 at tao.org.uk) === http://x2obuilder.com/tao ===
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20070111/432b6852/attachment.pgp


More information about the freebsd-fs mailing list