Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 May 1996 16:48:33 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        erich@uruk.org
Cc:        terry@lambert.org, dutchman@spase.nl, freebsd-hackers@freebsd.org
Subject:   Re: Glitch in install procedure.
Message-ID:  <199605212348.QAA02519@phaeton.artisoft.com>
In-Reply-To: <199605212304.QAA14261@uruk.org> from "erich@uruk.org" at May 21, 96 04:04:47 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> > This will let you map the 0x8x ID's to BSD devices, and therefore
> > map the geometries, known by ID's, to the BSD devices.
> > 
> > This solves all the problems.
> 
> INT 13 reads might not work, since even the probe might ruin the BIOS
> setup with the controller.

If this happens, it's broken.

I know all you would need to do is preread all BIOS devices to get unique
sector/byte identifiers.  There isn't enough room in the second stage
boot to do this before the probe.  If the kernel could make vm86()
calls, it could do it before the probe, though.

> Well, we do know:
> 
>   1) The order of IDE controller initialization.

??? I don't know how to figure that one...

>   2) Each SCSI adapter driver knows it's BIOS translation, right?
>      (or what it's capable of...  the newer BusLogic controllers,
>       for example, adapt to the BIOS translation it finds in the
>       MBR of each hard drive if you have it set up right)

No.  Adaptec 1742 controllers (for instance) have two possible
translation modes, based on an EISA config setting.  The BusLogic
"autodetection" is scary.

In any case, you have to ask the controller using BIOS (INT 13, AH=0x08)
to get the BIOS answer.  8-(.

> > Have you looked at the VFAT32 code?  They change both the partition
> > table data and the msdos.dos/io.dos (the replacements for io.sys and
> > msdos.sys for DOS 7.x).  The add additional INT 13 entry points for
> > doing all this, and they make the system recognize them.
> 
> Well, the "standard" BIOS LBA calls might just work if I use them, though
> there are still a few issues to resolve.

Yeah, like whether or not they are there when you boot off the floppy
to boot BSD. They aren't, if they are provided by ONTrack or similar
software and you didn't boot off the hard drive.  8-(.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



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