Date: Tue, 5 Nov 2002 23:03:04 +0100 From: Marcin Cieslak <saper@system.pl> To: John Hay <jhay@icomtek.csir.co.za> Cc: current@FreeBSD.ORG, phk@FreeBSD.ORG Subject: Re: fdisk -BI ob clean disk broken - but 1.64 works Message-ID: <20021105220304.GA73267@barbera.system.pl> In-Reply-To: <200211020850.gA28ohm4086473@zibbi.icomtek.csir.co.za> References: <200211020850.gA28ohm4086473@zibbi.icomtek.csir.co.za>
next in thread | previous in thread | raw e-mail | index | archive | help
--tKW2IUtsqtDRztdT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On my system, FreeBSD 5.0-CURRENT #1: Mon Nov 4 21:00:50 CET 2002=20
fdisk ceased to work after a recent upgrade.
It used to work fine under GEOMized kernel
with both internal ATA disks and external IDE drive
attached via fireware or USB (tested both).
I had to switch to non-GEOM kernel (my disklabels
give my warnings), updated everything, and fdisk
ceased to work.
I reverted fdisk.c to 1.64 (used to be 1.66)
and now fdisk works fine again (with a non-GEOM kernel).
Disk layouts below.
Another question, can I "geomize" existing disk?
I keep getting disklabel warnings about mismatched
partitions and slices.
--=20
<< Marcin Cieslak // saper@system.pl >>
******* Working on device /dev/ad0 *******
parameters extracted from in-core disklabel are:
cylinders=3D2432 heads=3D255 sectors/track=3D63 (16065 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=3D2432 heads=3D255 sectors/track=3D63 (16065 blks/cyl)
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX)
start 63, size 14474502 (7067 Meg), flag 0
beg: cyl 0/ head 1/ sector 1;
end: cyl 900/ head 254/ sector 63
The data for partition 2 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 14474565, size 4192965 (2047 Meg), flag 80 (active)
beg: cyl 901/ head 0/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 18667530, size 20402550 (9962 Meg), flag 0
beg: cyl 1023/ head 255/ sector 63;
end: cyl 1023/ head 254/ sector 63
The data for partition 4 is:
<UNUSED>
******* Working on device /dev/da0 *******
parameters extracted from in-core disklabel are:
cylinders=3D7297 heads=3D255 sectors/track=3D63 (16065 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=3D7297 heads=3D255 sectors/track=3D63 (16065 blks/cyl)
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX)
start 63, size 6136641 (2996 Meg), flag 0
beg: cyl 0/ head 1/ sector 1;
end: cyl 381/ head 252/ sector 63
The data for partition 2 is:
sysid 14 (0x0e),(Primary 'big' DOS (>=3D 32MB, LBA))
start 6136704, size 2087568 (1019 Meg), flag 0
beg: cyl 381/ head 253/ sector 1;
end: cyl 511/ head 238/ sector 63
The data for partition 3 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 8224272, size 4450320 (2173 Meg), flag 80 (active)
beg: cyl 511/ head 239/ sector 1;
end: cyl 788/ head 243/ sector 63
The data for partition 4 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 12674592, size 41930343 (20473 Meg), flag 80 (active)
beg: cyl 788/ head 244/ sector 1;
end: cyl 1023/ head 254/ sector 63
--tKW2IUtsqtDRztdT
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)
iQCVAwUBPchAGD2W2v2wY27ZAQGn3AP7BRH8KkP/2A7FivoJC/z3x1hNA8jSqnUH
V7GOtD4sHIt7En1qLG97UQ936NWb+IwF58jOzyb28ODrJBOqu77FPWbzCWwENPgg
9YS59qq3YAqBRhxneKQmJR3W9XmXXGQLB3wE1DT25Qa3nXNQryuwc3wa80Y559Su
tSYgIOjFX08=
=KlRn
-----END PGP SIGNATURE-----
--tKW2IUtsqtDRztdT--
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021105220304.GA73267>
