Page MenuHomeFreeBSD

bd_int13probe() should check extended info if sector info is bad
ClosedPublic

Authored by tsoome on Aug 31 2016, 12:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jan 31, 2:15 PM
Unknown Object (File)
Sat, Jan 31, 12:46 PM
Unknown Object (File)
Sat, Jan 31, 10:29 AM
Unknown Object (File)
Fri, Jan 30, 4:07 AM
Unknown Object (File)
Thu, Jan 29, 7:07 PM
Unknown Object (File)
Dec 28 2025, 7:03 AM
Unknown Object (File)
Dec 27 2025, 9:29 AM
Unknown Object (File)
Nov 29 2025, 3:08 AM
Subscribers

Details

Summary

Joyent found the issue with some Dell systems and specific USB sticks,
where UEFI+BIOS emulation is reporting bad sector data from INT13 AH=08.

This patch will allow int13 EDD info to be probed and will try to
use EDD info.

Also, the grub2 has note that some BIOS does return total sectors 0 from EDD,
this should be checked and computed size is used, if needed.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

tsoome retitled this revision from to bd_int13probe() should check extended info if sector info is bad.
tsoome updated this object.
tsoome edited the test plan for this revision. (Show Details)
tsoome added reviewers: allanjude, imp.
tsoome added a subscriber: peter.
allanjude edited edge metadata.

nice work

Approved for commit.

This revision is now accepted and ready to land.Aug 31 2016, 4:21 PM
This revision was automatically updated to reflect the committed changes.