From owner-freebsd-stable Thu Mar 2 10: 7: 0 2000 Delivered-To: freebsd-stable@freebsd.org Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by hub.freebsd.org (Postfix) with ESMTP id B94F637C343 for ; Thu, 2 Mar 2000 10:06:53 -0800 (PST) (envelope-from andre.albsmeier@mchp.siemens.de) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer david.siemens.de) Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by david.siemens.de (8.9.3/8.9.3) with ESMTP id TAA25528 for ; Thu, 2 Mar 2000 19:06:51 +0100 (MET) Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7]) by mail1.siemens.de (8.9.3/8.9.3) with ESMTP id TAA26933 for ; Thu, 2 Mar 2000 19:06:51 +0100 (MET) Received: (from daemon@localhost) by curry.mchp.siemens.de (8.9.3/8.9.3) id TAA66998 for ; Thu, 2 Mar 2000 19:06:51 +0100 (CET) Date: Thu, 2 Mar 2000 19:06:48 +0100 From: Andre Albsmeier To: Brad Knowles Cc: Andre Albsmeier , freebsd-stable@FreeBSD.ORG Subject: Re: Crash on boot when disks are present? Message-ID: <20000302190648.A20429@internal> References: <20000302184212.A20215@internal> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from blk@skynet.be on Thu, Mar 02, 2000 at 06:54:30PM +0100 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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: The data for partition 3 is: The data for partition 4 is: ------------------ 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