[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Solved, sort of, was Re: How to translate cylinders/heads/sectors to what OpenBSD disklabel wants
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Solved, sort of, was Re: How to translate cylinders/heads/sectors to what OpenBSD disklabel wants
- From: David Benfell <David_(_at_)_parts-unknown_(_dot_)_org>
- Date: Sun, 16 Jun 2002 19:11:32 -0700
- Mail-followup-to: misc_(_at_)_openbsd_(_dot_)_org
It turns out the problem is related to the motherboard.
Unfortunately, I would really have to rip apart the system to be able
to tell you what kind of motherboard it is.
As it is, my IDE cables are in a much more orderly arrangement now.
I still think that OpenBSD should have detected cylinders above 1023,
just as Linux and the BIOS did.
But the disk, when plugged into one of the IDE slots which support
UDMA/66 is properly detected under OpenBSD. I have not tested this
but I suspect that disks connected to these slots cannot be used to
boot. They do not appear in the BIOS listing.
This motherboard has four IDE connectors, two of which do not support
UDMA/66. It appears that OpenBSD will only support up to around 8GB
on these non-UDMA/66 slots, that is, if disklabel cooperates.
I returned the old 6.5GB drive to service. It has, so far, been
reliable. (It was the more recent 15GB drive which absolutely had to
go.) I just then had to create /usr and /var partitions on the new
40GB disk and restore their contents.
On Sun, 16 Jun 2002 09:33:08 -0700, David Benfell wrote:
> I had to dig into my remote queue on another system to find the
> response from Thorsten Glaser <tygs_(_at_)_netcologne_(_dot_)_de>. Fortunately, I'm
> a little better with qmail than I am with disk geometry.
> Thanks, Thorsten, for the response.
> > As this is my mail server, I'm presently unable to receive your
> > responses at my normal e-mail address. Please cc me at
> > benfell_(_at_)_starshine_(_dot_)_org
> He suggested, 'specifically you want "b <RET> 0 <RET> * <RET>".'
> When I do this (in disklabel), I get:
> bytes/sector: 512
> sectors/track: 17
> tracks/cylinder: 8
> sectors/cylinder: 136
> cylinders: 1024
> total sectors: 139264
> free sectors: 139264
> This is only slightly better than when I told it to use the disk
> geometry with "g d", rather disappointing for a 40GB disk.
> > When I tell it to use the disk geometry, it reports:
> > bytes/sector: 512
> > sectors/track: 17
> > tracks/cylinder: 8
> > sectors/cylinder: 136
> > cylinders: 1024
> > total sectors: 139264
> > free sectors: 128457
> > If I understand correctly, this translates to something on the order
> > of 71MB total.
> > Disturbingly, it apparently only sees 128457 free sectors even though
> > the whole disk is supposed to be available for this installation.
> > That would give me something like 65MB for the installation.
> > Unsurprisingly, this is not enough.
> He also suggested that I should read the man page. Unfortunately,
> this really doesn't shed any light on the problem for me.
> Can anyone help?
> David Benfell, LCP
> Resume available at http://www.parts-unknown.org/resume.html
David Benfell, LCP
Resume available at http://www.parts-unknown.org/resume.html
[demime 0.98d removed an attachment of type application/pgp-signature]