Re: Detecting LBA on IDE harddisk.

Bryn Paul Arnold Jones (bpaj@gytha.demon.co.uk)
Sat, 17 May 1997 04:34:27 +0100 (BST)


On Fri, 16 May 1997, Daniel Ryde wrote:

>
> The kernel Harddisk detection seems to always detect LBA mode, even if it
> is turned off. IMHO this boot message should'nt be possible:
>
> hda: QUANTUM FIREBALL_TM1280A, 1222MB w/76kB Cache, LBA, CHS=2484/16/63, DMA
>
> In LBA mode the number of cylinders should'nt excced 1024. And in this
> particular case LBA is turned off in the BIOS. I dont know if this screws
> up lilo, but I am having trouble booting with lilo. It just stops whithout
> any "LILO" message (yes I have read the HOWTOs).
>

Erm no. The kernel is just probing the disk (well asking it). If it
supports Liner Block Addressing, fine. If it sais it's pertending to be
2484/16/63 phyisically, fine too. LBA means that you can refure to 0/0/0
as block 0, and keep going up without worring about what that block is in
CHS format. It's one of the ways of getting arround the bios/ide disk
brokeness (like sector address tranlation lets you call that disk
621/64/63 ....).

Wether or not LBA is turned off in the bios, Linux will use it. It's only
the bios that wont. Linux has supported LBA for longer than bioses have.

> Using Linux 2.0.30 in latest Debian.
>
>
> Best Regards
>
> Daniel Ryde
> __________________________________________________________________________
> Tripnet AB Visit Address: Telephone: +46 31 7252500
> Box 5071 Avagen 42 Fasicmile: +46 31 7252501
> S-402 22 GOTEBORG GOTEBORG Email: ryde@tripnet.se
>

--
PGP key pass phrase forgotten,   \ Overload -- core meltdown sequence 
again :( and I don't care ;)      |            initiated.
                                 / This space is intentionally left   
                                |  blank, apart from this text ;-)
                                 \____________________________________