Re: Kernel / atari-fdisk problem with IDE-HD > 8,4 GB
the problem is already discussed on IBM's storage-server at:
http://www.storage.ibm.com/techsup/hddtech/linuxfaqs.htm
with a link to:
http://www.deva.net/LDP/HOWTO/Large-Disk-HOWTO.html
where you can find the folloing:
>-----------------------
>11. The Linux IDE 8 GiB limit
> The Linux IDE driver gets the geometry and capacity of a disk (and lots of other stuff) by > using an ATA IDENTIFY request. Until recently the driver would not believe the returned > value of lba_capacity if it was
> more than 10% larger than the capacity computed by C*H*S. However, by industry agreement > large IDE disks (with more than 16514064 sectors) return C=16383, H=16, S=63, for a total > 16514064 sectors
> (7.8 GB) independent of their actual size, but give their actual size in lba_capacity.
> Recent Linux kernels (2.0.34, 2.1.90) know about this and do the right thing. If you have > older Linux kernel and do not want to upgrade, and this kernel only sees 8 GiB of a much
> larger disk, then try changing
> the routine lba_capacity_is_ok in /usr/src/linux/drivers/block/ide.c into something like
>
> static int lba_capacity_is_ok (struct hd_driveid *id) {
> id->cyls = id->lba_capacity / (id->heads * id->sectors);
> return 1;
> }
>
>For a more cautious patch, see 2.1.90.
>-------------------------
so I fetched the latest , some days ago, atari-installation disks which
a 2.0.36 -
I guess ?? - Kernel and put it an my Linux-Boot-directory and
modified my bootstrap.arg - file to use this Kernel instead.
With 'diskus' i wiped out the oversized partition overlapping the
16383/16/63-barrier.
unfortunatly it did not fix the problem, atari-fdisk - which is 0.7.1 -
reports
still errors. reporting the disk-size to the 16383/16/63
industry-agreement as mentioned above.
Finaly I tried to add a 'hd= C/H/S' in the bootstrap.arg file with no
success.
As my m68k-Linux-machine is not complete installed, and I did not setup
m68-crosscompiling an my Intel
I simply started this question.
Reply to: