Next Previous Contents

12. To orio twn 65535 kylindrwn sto linux

To HDIO_GETGEO ioctl epistrefei ton ari8mo twn kylindrwn se tupo short. Ayto shmainei oti an exte panw apo 65535 kylindroys, o ari8mos perikoptetai kai (gia ena typiko SCSI disko me 1 MiB ana kulindro) enas diskos 80 GiB 8a fainetai ws 16 GiB. Efoson anagnwris8ei ayto to problhma, apofeugetai eukola.

12.1 IDE problhmata me diskoys 34+ GB

Diskoi megaluteroi twn 33.8 GB de doyleuoyn me pyrhnes palaioteroys toy 2.3.21. Oi leptomereies einai: Ypo8este oti agorasate ena neo IBM-DPTA-373420 disko me xwrhtikothta 66835440 tomeis (34.2 GB). Pyrhnes palaioteroi toy 2.3.21 8a sas poune oti to mege8os toy diskoy einai 769*16*63 = 775152 tomeis (0.4 GB), poy einai ligo apogohteytiko. Kai dinontas tis parametroys hdc=4160,255,63 de boh8aei ka8oloy - apla agnoountai. Ti symbainei; H roytina idedisk_setup() briskei th gewmetria poy anaferei o diskos (poy einai 16383/16/63) kai parakamptei o,ti dinei o xrhsths sth grammh entolwn, wste ta dedomena toy xrhsth na xrhsimopoiountai mono gia th gewmetria toy BIOS. H roytina current_capacity() h idedisk_capacity() ypologizei ton ari8mo kylindrwn ws 66835440/(16*63)=66305, alla afou apo8hkeuetai se short ari8mo, ginetai 769. Efoson h lba_capacity_is_ok() katestrece to id->cyls, ka8e epomenh klhsh se ayto 8a einai la8os kai o diskos 8a ginei 769*16*63. Gia pollous pyrhnes yparxei patch. Gia ton 2.0.38 mporei na bre8ei sto ftp.kernel.org. Gia ton 2.2.12 einai sto www.uwsg.indiana.edu. Oi 2.2.14pre pyrhnes yposthrizoyn aytous toys diskoys. Stoys 2.3.* pyrhnes, yparxei yposthrijh apo ton 2.3.21. Pantws, to problhma mporei na `ly8ei' xrhsimopoiwntas toys braxykyklwthres gia na kopei to mege8os se 33.8 GB. Se polles periptwseis mia anaba8mish toy BIOS 8a xreiastei an 8elete na ekkinhsete to susthma apo ayto to disko.


Next Previous Contents