Re: Origin of hard drive parameters



On Sep 6, 2006, at 11:40 AM, Hilt, Ian wrote:
Basically, I want to know where the BIOS gets the hard drive parameters
when the Drive Type is set to "AUTO" in the BIOS configuration. The best
I've been able to come up with from the internet is an "IDENTIFY"
command that purportedly
(<http://www.linux.com/howtos/Large-Disk-HOWTO-10.shtml>) gets its
information from the "IDE controller". This does not answer my question
completely. Are the parameters returned by the controller hard coded
into a chip on the board or are they on the platters of the hard drive,
or neither?

"Neither" is probably the best answer.

The hard disk has an on-board controller which answers the ATA "IDENTIFY DEVICE" command with the hard drive parameters used by the BIOS, assuming that the BIOS is operating in the legacy C/H/S mode rather than the newer LBA mode which uses absolute block numbers. Note that the answer the drive controller gives will normally be a fabricated geometry which does not have anything to do with the actual geometry of the physical device, in part because drives nowadays keep a variable number of sectors per track rather than using a CAV layout.

--
-Chuck

_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Loss of SCSI boot after CMOS battery replacement
    ... result of my old motherboard BIOS after all. ... controller takes priority over the SCSI ... IDE first to SCSI first. ... SCSI drives and Win98. ...
    (comp.periphs.scsi)
  • Re: HDD Compatibility
    ... and new larger drives appear in the ... BIOS Upgrades ... available expansion slot and then connecting your hard drives to it. ... than having to connect them to the controller card itself. ...
    (alt.comp.hardware.pc-homebuilt)
  • Re: install problems for freeBSD 6 on tyan i7520
    ... > and a CD connected through a separate controller channel. ... > I have tried many scenarios for connecting a single hard drive, ... The BIOS sees it. ... > drives seem to be there named just as the boot loader and BIOS see them. ...
    (freebsd-current)
  • Re: 486 problem
    ... The 486 board has Phoenix bios. ... My 386 machine used an MFM controller board and I ... IDE drives are RLL format ...
    (sci.electronics.repair)
  • Re: how to use promise fastTrak 378 with IDE disks?
    ... operation in the BIOS? ... drives are recognized for given BIOS setting. ... driveattached to the promise controller were recognized in your last ... therefore it did not know where to find your root partition ...
    (Debian-User)