Subject: Re: bin/33633: /sbin/fdisk does not work
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: David Laight <david@l8s.co.uk>
List: netbsd-bugs
Date: 06/02/2006 19:35:02
The following reply was made to PR bin/33633; it has been noted by GNATS.
From: David Laight <david@l8s.co.uk>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: bin/33633: /sbin/fdisk does not work
Date: Fri, 2 Jun 2006 20:42:32 +0100
On Fri, Jun 02, 2006 at 04:55:00PM +0000, ykomatsu@akaumigame.org wrote:
> >Number: 33633
> >Category: bin
> >Synopsis: /sbin/fdisk does not work
...
> # fdisk wd0
> fdisk: removing corrupt bootsel information
> fdisk: Cannot determine the number of heads
>
> fdisk failed in sanity check (xheads == -1),
Can you send the output of 'hexdump -C -n 512 /dev/rwd0d' (or equiv).
I suspect this only happens on XEN (or rather non i386/amd64) where
we don't get any geometry info from the BIOS - so try to calculate
it by solving the simultanious eqns based on the mbr entries.
David
--
David Laight: david@l8s.co.uk