From owner-freebsd-scsi Tue Nov 26 17:39:13 2002 Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A836637B401 for ; Tue, 26 Nov 2002 17:39:11 -0800 (PST) Received: from segfault.monkeys.com (segfault.monkeys.com [66.60.157.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3172443EA9 for ; Tue, 26 Nov 2002 17:39:11 -0800 (PST) (envelope-from rfg@monkeys.com) Received: from monkeys.com (localhost [127.0.0.1]) by segfault.monkeys.com (Postfix) with ESMTP id D94C94225E; Tue, 26 Nov 2002 17:39:10 -0800 (PST) To: Nate Lawson Cc: freebsd-scsi@freebsd.org Subject: Re: Upgrade from Adaptec 2940UW to 29160N - Problem solved! In-reply-to: Your message of Tue, 26 Nov 2002 17:20:17 -0800. Date: Tue, 26 Nov 2002 17:39:10 -0800 Message-ID: <90002.1038361150@monkeys.com> From: "Ronald F. Guilmette" Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In message , you wrote: >On Tue, 26 Nov 2002, Ronald F. Guilmette wrote: >> In message , you wrote: >> >What is the geometry reported by the BIOS (scsi select utility) and what >> >is the geometry reported by freebsd on boot for the drive? Please give >> >values for both the old and new cards. >> >> Too late. >> >> The geometry has already been changed, and I am _not_ swapping cards on >> this system again anytime soon. >> >> Sorry, but you are about 4 days too late to be asking these questions. > >Ok, well the current values would be helpful. Any information would help >fix the problem for others. > >-Nate The _current_ geometry for the drive in question is shown in the fdisk output below. However I really don't believe that this info will be of any use to anybody. (And anyway, it is definitely _not_ the same as the geometry that was in place before I repartitioned my drive to help solve my 2940UW -> 29160N upgrade problem.) The *only* important things are what I already wrote about... If you are upgrading from a 2940UW to a 29160 (or 29160N or 29160LC) and if a disk that was bootable before the switch now _isn't_ bootable, then you should check the partitioning and make sure that the partition that you have been booting from (and that you want to boot from) is contained entirely within the first 1024 cylinders. If not, then you really should start over, backup everything on the drive, repartition it, first with MS DOS (creating a temporary dummy partition), and then with the OS that you _really_ plan to use, i.e. either FreeBSD or (gasp! Dare I say it?) Linux. Doing these steps worked for me, and now I'm a happy camper. (Remember, putting the temporary DOS partition on the drive has the effect of forcing the FreeBSD and/or Linux versions of fdisk to assume that the geometry has heads=255 and sectors/track=63... which is exactly what we want in order to maximize the portion of the entire disk within which we can put partitions that we _will_ actually be able to successfully boot from.) current geometry info for my IBM 18GB 10K RPM drive: ========================================================================== ******* Working on device /dev/da0 ******* parameters extracted from in-core disklabel are: cylinders=2231 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=2231 heads=255 sectors/track=63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 ... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message