Date: Thu, 2 Mar 2000 19:06:48 +0100 From: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> To: Brad Knowles <blk@skynet.be> Cc: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>, freebsd-stable@FreeBSD.ORG Subject: Re: Crash on boot when disks are present? Message-ID: <20000302190648.A20429@internal> In-Reply-To: <v0422081db4e45ae73d99@[195.238.1.121]>; from blk@skynet.be on Thu, Mar 02, 2000 at 06:54:30PM %2B0100 References: <v0422080bb4e401fc570d@[195.238.1.121]> <20000302184212.A20215@internal> <v0422081db4e45ae73d99@[195.238.1.121]>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 02-Mar-2000 at 18:54:30 +0100, Brad Knowles wrote:
> At 6:42 PM +0100 2000/3/2, Andre Albsmeier wrote:
>
> > Do you have set the geometry to 1023/256/63 on the affected drives?
> >
> > You might want to look into PR# 16803 ...
>
> Where would this geometry be set? From within the BIOS, I
> presume? I'll have to shut the machine down and take a look.
>
> I'll let you know as soon as I find out what it is currently set
> to, but I think 1023/256/63 is what came up automatically.
You don;t have to shut it down. Simply do an 'fdisk daxxx' where xxx is
the drivenumber. Do it for all drives attached. One with 1023/256/63 is
enough to stop the boot process.
Here is how it looks like now on one of my servers:
------------------ snip --------------------
andre@server:~>fdisk da0
******* Working on device /dev/rda0 *******
parameters extracted from in-core disklabel are:
cylinders=1024 heads=255 sectors/track=63 (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=1024 heads=255 sectors/track=63 (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 165,(FreeBSD/NetBSD/386BSD)
start 0, size 8925000 (4357 Meg), flag 80 (active)
beg: cyl 0/ sector 1/ head 0;
end: cyl 1023/ sector 63/ head 254
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
------------------ snap --------------------
Remember: The line
end: cyl 1023/ sector 63/ head 254
tells us that we have 255 heads because they start with 0. This is already
taken into accout in the line reading:
cylinders=1024 heads=255 sectors/track=63
If this one shows heads=256 (or the former one head 255) you probably
suffer from the same problem as I did.
-Andre
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000302190648.A20429>
