Large Disk HOWTO: The Linux IDE 8 GB limit
7. The Linux IDE 8 GB limitThe 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, recent Quantum Bigfoot 12 GB disks
return C=16383, H=16, S=63, for a total of 16514064 sectors (7.8 GB)
but give lba_capacity of 23547888 sectors (11.2 GB, that is, C=23361).Recent Linux kernels (2.0.34pre14, 2.1.90) know about this
and do the right thing. If you have an older Linux kernel and do
not want to upgrade, and this kernel only sees 8 GB 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.
o
Wyszukiwarka
Podobne podstrony:
large disk hbb2yaalvodg4dz6cm7graotpe2mevaxtebecwi hbb2yaalvodg4dz6cm7graotpe2mevaxtebecwilarge disk howto pl 1large disk howto pl 6large disk howto pllarge disk 5 yxaz2s6h25wtzwavcs3rgtqkuzprpbifkn2rymq yxaz2s6h25wtzwavcs3rgtqkuzprpbifkn2rymqlarge disk 4 hn3b333zrrykmblfdtywit7rvz6njhtgxsgtvwi hn3b333zrrykmblfdtywit7rvz6njhtgxsgtvwilarge disk 3 fkrf7agmbfs5c7ok4xfjjxesjcpnx73hqis52ta fkrf7agmbfs5c7ok4xfjjxesjcpnx73hqis52talarge disk howto pl 4large disk howto pl 2Large Disk HOWTO pl (2)large disk howto pl 5large disk 1 psru2e42cqq7xk2xno6lyg7nvqanyql2t7bqagy psru2e42cqq7xk2xno6lyg7nvqanyql2t7bqagylarge disk 6 wjcxunjrlissthgd6vcqlqxwq77kaezrujarlta wjcxunjrlissthgd6vcqlqxwq77kaezrujarltalarge disk howto pl 3Large Disk HOWTO pllarge disk 2 ih4nqepdankefssd66gjuwenxuaip33jcup563q ih4nqepdankefssd66gjuwenxuaip33jcup563qlarge disk howto pl 7About keys and Yellow Disk 2więcej podobnych podstron