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, Oct 11, 2:09 AM
Unknown Object (File)
Thu, Oct 9, 7:35 PM
Unknown Object (File)
Mon, Oct 6, 6:09 AM
Unknown Object (File)
Sun, Oct 5, 5:35 AM
Unknown Object (File)
Thu, Sep 25, 12:00 PM
Unknown Object (File)
Tue, Sep 23, 11:29 PM
Unknown Object (File)
Mon, Sep 22, 2:05 PM
Unknown Object (File)
Sep 13 2025, 12:00 PM
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.