Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Nov 2002 17:39:10 -0800
From:      "Ronald F. Guilmette" <rfg@monkeys.com>
To:        Nate Lawson <nate@root.org>
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: Upgrade from Adaptec 2940UW to 29160N - Problem solved! 
Message-ID:  <90002.1038361150@monkeys.com>
In-Reply-To: Your message of Tue, 26 Nov 2002 17:20:17 -0800. <Pine.BSF.4.21.0211261719290.87386-100000@root.org> 

next in thread | previous in thread | raw e-mail | index | archive | help

In message <Pine.BSF.4.21.0211261719290.87386-100000@root.org>, you wrote:

>On Tue, 26 Nov 2002, Ronald F. Guilmette wrote:
>> In message <Pine.BSF.4.21.0211261503340.87003-100000@root.org>, 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?90002.1038361150>