[vox-tech] Large Hard Disks

Jeff Newmiller vox-tech@lists.lugod.org
Fri, 30 Aug 2002 13:45:41 -0700 (PDT)


Somehow I thought I was over all this "large hard disk" headache, but the
CHS legacy lives on for those of us who try to put together yesterday's
motherboard with today's hard disks, and cabling is getting more
complicated too.  I figured I would describe my experience for others to
learn from, and I hope learn from any followup comments.  Just to be
crystal clear, I am primarily interested in minimizing cost rather than
maximizing performance.  :)

My configuration: I have an ASUS P5A-B motherboard with AMD K6-2 450MHz
CPU, with (I believe) a UDMA-33 (pio3 and pio4) IDE interface.  I started
out with a Maxtor 90871U2 10G hard disk, 40pin IDE cable, and BIOS dated
1998.  Running Debian sarge, with kernel 2.2.20, with no dual boot
partitions.

I bought a Seagate ST380020A 81GB hard disk for $79 ($85 total) from
www.basoncomputer.com, and hooked it up as primary slave.  The BIOS hit
the IDE drive inventory and hung checking that drive.

I tried putting it alone as master, no dice.  I installed a UDMA-66 cable
(80 pins), no dice.  After talking to Peter S, I downloaded a BIOS upgrade
(gotta pull out the bootable MSDOS disk), and upgraded... April 2001
version.  No dice.

I went back to Google, and discovered that there were two BIOSes with
exactly the same date and version number for this motherboard... one with
"no sound support and >32G" and the other with "sound support and <32G".
Grabbed the no sound version and wrote it in. Then the bios passed the
drive check, but hung when reporting the drive size.

I installed the "pretend I am 32GB" jumper, and it worked.  Yuck... I paid
for 50GB I can't use? Gotta do better...

Proceeding on clues from the Large-Disk-Howto, I removed the stupidity
jumper and entered the bios setup program and told the BIOS that the disk
was not in LBA mode, but in "normal" mode, with a default 8GB geometry.  
The bios check now runs ok, the size is wrong but doesn't hang, but Linux
now sees the entire disk.  Apparently fixes introduced around 2.2.5 allow
Linux to decipher the true state of affairs and ignore the bad information
in the BIOS.  I would never have guessed that I would be better off with a
CHS configuration rather than a LBA configuration in bios.

hdparm -t says the disk is running at 14.8MB/s. The only funky bit I 
have noticed so far is that hdparm -b fails with
"HDIO_GET_BUSSTATE failed: Input/output error".

Well, now I have enough disk space to install UML. :)

---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil@dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...2k
---------------------------------------------------------------------------