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)
Fri, Nov 15, 2:11 PM
Unknown Object (File)
Wed, Nov 13, 3:22 AM
Unknown Object (File)
Mon, Oct 28, 2:58 AM
Unknown Object (File)
Oct 10 2024, 3:58 PM
Unknown Object (File)
Sep 22 2024, 8:03 PM
Unknown Object (File)
Sep 21 2024, 4:54 AM
Unknown Object (File)
Sep 18 2024, 11:20 AM
Unknown Object (File)
Sep 18 2024, 10:32 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 Passed
Unit
No Test Coverage
Build Status
Buildable 4985
Build 5051: arc lint + arc unit

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.