"Why this patch? The problem is that the legacy BIOS interface
(INT13/AH=3D08) for querying the disk geometry returns different values
than the extended INT13 interface which the EDD code currently uses. This
is because the legacy interface only provides a 10-bit cylinder field, so
modern BIOSes "lie" about the head/sector counts in order to make more of
the disk visible within the first 1024 cylinders.
Many non-Linux applications, including the stock Windows boot loader, DOS
fdisk, etc., rely upon the legacy interface and geometry. So it is useful
to be able to obtain the legacy values from a running Linux kernel.
What this patch does is to add new entries under
/sys/firmware/edd/int13_devXX named "legacy_cylinders", "legacy_heads", and
"legacy_sectors". These provide the geometry given by the legacy
INT13/AH=3D08 BIOS interface, just like the current "default_cylinders"
etc. provide the the geometry given by the INT13/AH=3D48 interface.
Without this patch, I cannot use Linux to partition a drive and install
Windows, which happens to be my application."
voilà, plus qu'a attendre que mdk utilise ce kernel dans leur 10.0 final.
[^] # Re: Sortie du redressement judiciaire de MandrakeSoft
Posté par fabien . En réponse à la dépêche Sortie du redressement judiciaire de MandrakeSoft. Évalué à 1.
http://www.kernel.org/pub/linux/kernel/v2.6/testing/ChangeLog-2.6.5(...)
"Why this patch? The problem is that the legacy BIOS interface
(INT13/AH=3D08) for querying the disk geometry returns different values
than the extended INT13 interface which the EDD code currently uses. This
is because the legacy interface only provides a 10-bit cylinder field, so
modern BIOSes "lie" about the head/sector counts in order to make more of
the disk visible within the first 1024 cylinders.
Many non-Linux applications, including the stock Windows boot loader, DOS
fdisk, etc., rely upon the legacy interface and geometry. So it is useful
to be able to obtain the legacy values from a running Linux kernel.
What this patch does is to add new entries under
/sys/firmware/edd/int13_devXX named "legacy_cylinders", "legacy_heads", and
"legacy_sectors". These provide the geometry given by the legacy
INT13/AH=3D08 BIOS interface, just like the current "default_cylinders"
etc. provide the the geometry given by the INT13/AH=3D48 interface.
Without this patch, I cannot use Linux to partition a drive and install
Windows, which happens to be my application."
voilà, plus qu'a attendre que mdk utilise ce kernel dans leur 10.0 final.