Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Mar 2000 19:38:09 +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:  <20000302193809.A20528@internal>
In-Reply-To: <v04220822b4e461c4d611@[195.238.1.121]>; from blk@skynet.be on Thu, Mar 02, 2000 at 07:25:21PM %2B0100
References:  <v0422080bb4e401fc570d@[195.238.1.121]> <20000302184212.A20215@internal> <v0422081db4e45ae73d99@[195.238.1.121]> <20000302190648.A20429@internal> <v04220822b4e461c4d611@[195.238.1.121]>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 02-Mar-2000 at 19:25:21 +0100, Brad Knowles wrote:
> At 7:06 PM +0100 2000/3/2, Andre Albsmeier wrote:
> 
> >  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's what I get on one of the devices:
> 
> $ fdisk da1
> ******* Working on device /dev/rda1 *******
> parameters extracted from in-core disklabel are:
> cylinders=10873 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=10873 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 63, size 16771797 (8189 Meg), flag 80 (active)
>          beg: cyl 0/ sector 1/ head 1;
>          end: cyl 1023/ sector 63/ head 254
> The data for partition 2 is:
> sysid 165,(FreeBSD/NetBSD/386BSD)
>      start 16771860, size 157902885 (77101 Meg), flag 80 (active)
>          beg: cyl 1023/ sector 63/ head 255
                                          ^^^
                                          |||
Hmm, don't know if this one might cause problems. Do you
really use two slices on this drive? You might try to
change this into 254 if you really use the slice...
But I would try the thing I have written below first...


>          end: cyl 1023/ sector 63/ head 254
> The data for partition 3 is:
> <UNUSED>
> The data for partition 4 is:
> <UNUSED>
> 
> 	I get the same for da2, and da3 is:
> 
> $ fdisk da3
> ******* Working on device /dev/rda3 *******
> parameters extracted from in-core disklabel are:
> cylinders=8698 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=8698 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 63, size 139733307 (68229 Meg), flag 80 (active)
>          beg: cyl 0/ sector 1/ head 1;
>          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>
> 
> 	Devices da4, da5, and da6 are the same logical units, but 
> accessed through the other controller.  I get the same information 
> for them as I do for da1-3 (which is as it should be ;-).
> 
> 
> 	As far as I can tell, these shouldn't cause a problem for me 
> booting, should they?  I mean, the number of cylinders is very high, 
> but the number of heads and sectors/track is right, I think.

You might try the following: Go into the Adaptec BIOS with CTRL-A
and disable the 'include in BIOS scan' entry for every drive
except the boot drive. If you boot from da0 disable the entry
for all other drives on all controllers. As a result, you will
see only your boot drive being scanned during boot. If you can boot
(single user mode is enough) then it might be the same problem as
I had.

The things I wrote in the PR is what I have observed here. I had
255(256) heads in my partitions and changing the to 254(255)
fixed it. Of course it is possible that there are still other
things which simply didn't apply here...

	-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?20000302193809.A20528>