Cylinder/Head/Size Hell Is Not Over pixel@mandrakesoft.com $Date$ Nowadays, you can boot Linux without ever relying on CHS (Cylinder/Head/Size): - CHS information on partition table is obsolete and not used anymore. It was causing the 1024th cylinder limitation: - disallowing partitions above 8GiG. Problem overcome using 28bits Linear Block Addressing (LBA) in partition table. - disallowing to boot on partition above 8GiG (due to int13 limitation used in bootloaders). Problem overcome using int13 extensions (EDD) Logical CHS (Cylinder/Head/Size) and physical CHS are not related anymore. Especially the size of a hard drive is not a multiple of the number of Cylinders. The problem is that many tools still rely somewhat heavily on CHS information. - most tools adjust partitions on cylinder boundary - some tools compute the size of the disk based on CHS (eg: fdisk) Resulting problems in various tools: - last partition not cylinder boundary adjusted, and overrun CHS computed size - fdisk > Total allocated sectors %d greater than the maximum %d - cfdisk (need confirmation) > FATAL ERROR: Bad primary partition %d: Partition ends after end-of-disk or > FATAL ERROR: Bad logical partition %d: Partition ends after end-of-disk - Partition Magic (version?) > Error #109: Partition ends after end of disk - Windows <= 98se, Windows Me (doesn't like it, what error message?) Tools handling it correctly: - parted and so diskdruid in RedHat >= 7.2 (or is it 7.x?) - diskdrake >= Mandrake 8.2 - Windows XP (need confirmation) Tools using the full size of the disk, and so causing pbs with fdisk/cfdisk/...: - diskdrake == Mandrake 8.2 - disagreement between CHS and linear address - parted > "Warning: Unable to align partition properly. This probably means that > another partitioning tool generated an > incorrect partition table, because it didn't have the correct BIOS > geometry. It is safe to ignore,but > ignoring may cause (fixable) problems with some boot loaders. > Ignore Cancel ? C - lilo > Warning: Kernel & BIOS return differing head/sector geometries for device 0x80 > Kernel: 38792 cylinders, 16 heads, 63 sectors > BIOS: 1023 cylinders, 255 heads, 63 sectors > Device 0x2100: Inconsistent partition table, 2nd entry > CHS address in PT: 48:0:1 --> LBA (771120) > LBA address in PT: 48384 --> CHS (3:3:1) > The partition table is *NOT* being adjusted. trgt.description?h=0.6.48'>log</a><a href='/software/ldetect-lst/tree/dkms-modules-info/2.6.33.6-server-2mnb/iscsi_trgt.description?h=0.6.48&id=1ba641cc4e8ea57588f981dde362d0038753b2a8'>tree</a><a class='active' href='/software/ldetect-lst/commit/dkms-modules-info/2.6.33.6-server-2mnb/iscsi_trgt.description?h=0.6.48&id=1ba641cc4e8ea57588f981dde362d0038753b2a8'>commit</a><a href='/software/ldetect-lst/diff/dkms-modules-info/2.6.33.6-server-2mnb/iscsi_trgt.description?h=0.6.48&id=1ba641cc4e8ea57588f981dde362d0038753b2a8'>diff</a><a href='/software/ldetect-lst/stats/dkms-modules-info/2.6.33.6-server-2mnb/iscsi_trgt.description?h=0.6.48'>stats</a></td><td class='form'><form class='right' method='get' action='/software/ldetect-lst/log/dkms-modules-info/2.6.33.6-server-2mnb/iscsi_trgt.description'> <input type='hidden' name='h' value='0.6.48'/><input type='hidden' name='id' value='1ba641cc4e8ea57588f981dde362d0038753b2a8'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/software/ldetect-lst/commit/?h=0.6.48&id=1ba641cc4e8ea57588f981dde362d0038753b2a8'>root</a>/<a href='/software/ldetect-lst/commit/dkms-modules-info?h=0.6.48&id=1ba641cc4e8ea57588f981dde362d0038753b2a8'>dkms-modules-info</a>/<a href='/software/ldetect-lst/commit/dkms-modules-info/2.6.33.6-server-2mnb?h=0.6.48&id=1ba641cc4e8ea57588f981dde362d0038753b2a8'>2.6.33.6-server-2mnb</a>/<a href='/software/ldetect-lst/commit/dkms-modules-info/2.6.33.6-server-2mnb/iscsi_trgt.description?h=0.6.48&id=1ba641cc4e8ea57588f981dde362d0038753b2a8'>iscsi_trgt.description</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='h' value='0.6.48'/><input type='hidden' name='id' value='1ba641cc4e8ea57588f981dde362d0038753b2a8'/><table><tr><td colspan='2'/></tr><tr><td class='label'>context:</td><td class='ctrl'><select name='context' onchange='this.form.submit();'><option value='1'>1</option><option value='2'>2</option><option value='3' selected='selected'>3</option><option value='4'>4</option><option value='5'>5</option><option value='6'>6</option><option value='7'>7</option><option value='8'>8</option><option value='9'>9</option><option value='10'>10</option><option value='15'>15</option><option value='20'>20</option><option value='25'>25</option><option value='30'>30</option><option value='35'>35</option><option value='40'>40</option></select></td></tr><tr><td class='label'>space:</td><td class='ctrl'><select name='ignorews' onchange='this.form.submit();'><option value='0' selected='selected'>include</option><option value='1'>ignore</option></select></td></tr><tr><td class='label'>mode:</td><td class='ctrl'><select name='dt' onchange='this.form.submit();'><option value='0' selected='selected'>unified</option><option value='1'>ssdiff</option><option value='2'>stat only</option></select></td></tr><tr><td/><td class='ctrl'><noscript><input type='submit' value='reload'/></noscript></td></tr></table></form></div><table summary='commit info' class='commit-info'> <tr><th>author</th><td>Giuseppe Ghibò <ghibo@mageia.org></td><td class='right'>2022-11-23 14:17:12 +0100</td></tr> <tr><th>committer</th><td>Giuseppe Ghibò <ghibo@mageia.org></td><td class='right'>2022-11-23 14:17:12 +0100</td></tr> <tr><th>commit</th><td colspan='2' class='sha1'><a href='/software/ldetect-lst/commit/dkms-modules-info/2.6.33.6-server-2mnb/iscsi_trgt.description?h=0.6.48&id=1ba641cc4e8ea57588f981dde362d0038753b2a8'>1ba641cc4e8ea57588f981dde362d0038753b2a8</a> (<a href='/software/ldetect-lst/patch/dkms-modules-info/2.6.33.6-server-2mnb/iscsi_trgt.description?id=1ba641cc4e8ea57588f981dde362d0038753b2a8'>patch</a>)</td></tr> <tr><th>tree</th><td colspan='2' class='sha1'><a href='/software/ldetect-lst/tree/?h=0.6.48&id=1ba641cc4e8ea57588f981dde362d0038753b2a8'>69c06d7c95298975e88c5b9a272694f8087f3170</a> /<a href='/software/ldetect-lst/tree/dkms-modules-info/2.6.33.6-server-2mnb/iscsi_trgt.description?h=0.6.48&id=1ba641cc4e8ea57588f981dde362d0038753b2a8'>dkms-modules-info/2.6.33.6-server-2mnb/iscsi_trgt.description</a></td></tr> <tr><th>parent</th><td colspan='2' class='sha1'><a href='/software/ldetect-lst/commit/dkms-modules-info/2.6.33.6-server-2mnb/iscsi_trgt.description?h=0.6.48&id=a2f07a43bc0694b001da18b5b2b6dc6b1c17efb7'>a2f07a43bc0694b001da18b5b2b6dc6b1c17efb7</a> (<a href='/software/ldetect-lst/diff/dkms-modules-info/2.6.33.6-server-2mnb/iscsi_trgt.description?h=0.6.48&id=1ba641cc4e8ea57588f981dde362d0038753b2a8&id2=a2f07a43bc0694b001da18b5b2b6dc6b1c17efb7'>diff</a>)</td></tr><tr><th>download</th><td colspan='2' class='sha1'><a href='/software/ldetect-lst/snapshot/ldetect-lst-1ba641cc4e8ea57588f981dde362d0038753b2a8.tar'>ldetect-lst-1ba641cc4e8ea57588f981dde362d0038753b2a8.tar</a><br/><a href='/software/ldetect-lst/snapshot/ldetect-lst-1ba641cc4e8ea57588f981dde362d0038753b2a8.tar.gz'>ldetect-lst-1ba641cc4e8ea57588f981dde362d0038753b2a8.tar.gz</a><br/><a href='/software/ldetect-lst/snapshot/ldetect-lst-1ba641cc4e8ea57588f981dde362d0038753b2a8.tar.bz2'>ldetect-lst-1ba641cc4e8ea57588f981dde362d0038753b2a8.tar.bz2</a><br/><a href='/software/ldetect-lst/snapshot/ldetect-lst-1ba641cc4e8ea57588f981dde362d0038753b2a8.tar.xz'>ldetect-lst-1ba641cc4e8ea57588f981dde362d0038753b2a8.tar.xz</a><br/><a href='/software/ldetect-lst/snapshot/ldetect-lst-1ba641cc4e8ea57588f981dde362d0038753b2a8.zip'>ldetect-lst-1ba641cc4e8ea57588f981dde362d0038753b2a8.zip</a><br/></td></tr></table> <div class='commit-subject'>Update pcitable from 515.86.01 (A800 and some model of RTX 3070 Ti, RTX 3060 Ti, RTX 3060)<span class='decoration'><a class='tag-deco' href='/software/ldetect-lst/tag/?h=0.6.43'>0.6.43</a></span></div><div class='commit-msg'>