Re: ide problems

Andre M. Hedrick (hedrick@Astro.Dyer.Vanderbilt.Edu)
Tue, 22 Jun 1999 19:14:12 -0500 (CDT)


On Tue, 22 Jun 1999, Chuck Campbell wrote:

> [root@helium /root]# hdparm -i /dev/hdb (info obtained at boot time)
>
> /dev/hdb:
>
> Model=Maxtor 91303D6, FwRev=GAS54112, SerialNo=A60A8EFC
> Config={ Fixed }
> RawCHS=25249/16/63, TrkSize=0, SectSize=0, ECCbytes=29
> BuffType=3(DualPortCache), BuffSize=512kB, MaxMultSect=16, MultSect=off
> DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=2(fast)
> CurCHS=25249/16/63, CurSects=25450992, LBA=yes, LBAsects=25450992
> ^^^^^^^^^^^

This is corrected geometry held in drive->id.

> tDMA={min:120,rec:120}, DMA modes: mword0 mword1 *mword2
> IORDY=on/off, tPIO={min:120,w/IORDY:120}, PIO modes: mode3 mode4
>
>
> [root@helium /root]# hdparm -I /dev/hdb (info requested from the drive)
>
> /dev/hdb:
>
> Model=aMtxro9 31306D , FwRev=AG5S1421, SerialNo=6AA0E8CF
> Config={ Fixed }
> RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=29
> BuffType=3(DualPortCache), BuffSize=512kB, MaxMultSect=16, MultSect=off
> DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=2(fast)
> CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=25450992
> ^^^^^^^^^^^

This is raw from the drive and you see that it follows the capacity rules.
Since we do not call "read_max_address" followed by "set_max_address"
to rewrite the NVRAM on the drive and change the default values in the
drive........we fake it..........

I do not have the desire to dork with my large/huge disks with this
setfeatures command, thus we don't do it.

> tDMA={min:120,rec:120}, DMA modes: mword0 mword1 *mword2
> IORDY=on/off, tPIO={min:120,w/IORDY:120}, PIO modes: mode3 mode4
>
> [root@helium block]# /sbin/fdisk -l /dev/hdb
>
> Disk /dev/hdb: 16 heads, 63 sectors, 25249 cylinders
> Units = cylinders of 1008 * 512 bytes
>
> Device Boot Start End Blocks Id System
> /dev/hdb1 1 265 133528+ 82 Linux swap
> /dev/hdb2 * 266 469 102816 83 Linux native
> /dev/hdb3 470 673 102816 83 Linux native
> /dev/hdb4 674 16383 7917840 83 Linux native

Is it not nice that we get the translation correct so you can use all of
your drive?

Andre Hedrick
The Linux IDE guy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/