Re: over 5Gb missing from a 13.5Gb disk

Andre Hedrick (andre@suse.com)
Mon, 6 Dec 1999 19:56:56 -0800 (PST)


The kernel does not report back to hdparm the "corrected" raw or current
values of geometry...

purcell:/proc/ide/hda # cat geometry
physical 26853/16/63
logical 1684/255/63
raw 16383/16/63 < additions added to prove the point >
current 16383/16/63 < additions added to prove the point >

Now go cat /proc/ide/hd(X)/geometry
Then tell us that answer...please.

Model=QUANTUM FIREBALLP KA13.6, FwRev=A42.0400, SerialNo=36290893
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=32256, SectSize=21298, ECCbytes=4
BuffType=3(DualPortCache), BuffSize=371kB, MaxMultSect=16, MultSect=16
DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=2(fast)
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=27067824
tDMA={min:120,rec:120}, DMA modes: mword0 mword1 mword2
IORDY=on/off, tPIO={min:120,w/IORDY:120}, PIO modes: mode3 mode4

Andre Hedrick
The Linux IDE guy

On Mon, 6 Dec 1999, Jyan-Min Fang wrote:

> check this URL
>
> http://www.storage.ibm.com/techsup/hddtech/djna/djnades.htm
>
> look at the logical layout section.
>
> Bottom line: you need to change the CHS to, either 1650/255/63 or
> 26310/16/63.
>
> Jyan-Min Fang
>
> On Sun, 5 Dec 1999, Kristofer T. Karas wrote:
>
> > Wichert Akkerman wrote:
> >
> > >I'm having a problem with a new IBM IDE disk I just bought
> > >Model=IBM-DJNA-371350, FwRev=J76OA30K, SerialNo=GM0GM088910
> > >Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
> > >RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=34
> > ^^^^^^^^^^^
> >
> > There's your problem. The number of cylinders is here is causing problems, as
> > it is clamped to 2^14. Most BIOSes let you lower this number by increasing the
> > number of phony heads to 255. With heads set to 255, your CHS values would be
> > 1650/255/63, which the BIOS and FDISK (and thence the kernel) will understand.
> > Try playing around with the disk geometry parameters in your BIOS to change the
> > large/normal/lba setting until you achieve those values. (But note: if you
> > have Windoze installed, you'll need to back up your disk and reinstall, as it
> > changes the mappings!)
> >
> > Kris
> >
> >
> >
> > -
> > 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/
> >
>
>
> -
> 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/
>

-
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/