From owner-freebsd-fs@FreeBSD.ORG Thu Jan 11 11:45:29 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 793DB16A40F for ; Thu, 11 Jan 2007 11:45:29 +0000 (UTC) (envelope-from joe@tao.org.uk) Received: from mailhost.tao.org.uk (transwarp.tao.org.uk [87.74.4.34]) by mx1.freebsd.org (Postfix) with ESMTP id 29B4413C441 for ; Thu, 11 Jan 2007 11:45:27 +0000 (UTC) (envelope-from joe@tao.org.uk) Received: from genius.tao.org.uk (genius.tao.org.uk [87.74.4.41]) by mailhost.tao.org.uk (Postfix) with ESMTP id 985666EC7; Thu, 11 Jan 2007 11:45:25 +0000 (GMT) Received: by genius.tao.org.uk (Postfix, from userid 1000) id C0BB940EF; Thu, 11 Jan 2007 11:45:24 +0000 (GMT) Date: Thu, 11 Jan 2007 11:45:24 +0000 From: Josef Karthauser To: Peter Jeremy Message-ID: <20070111114524.GA13405@genius.tao.org.uk> References: <20070107232055.GA2450@genius.tao.org.uk> <20070109062606.GA853@turion.vk2pj.dyndns.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fUYQa+Pmc3FrFX/N" Content-Disposition: inline In-Reply-To: <20070109062606.GA853@turion.vk2pj.dyndns.org> User-Agent: Mutt/1.5.11 Cc: freebsd-fs@freebsd.org Subject: Re: Trouble booting second ide drive (gmirror configuration). X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jan 2007 11:45:29 -0000 --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 [238216/16/63] at ata0-master U= DMA100 ad1: 117246MB [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--