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
F166431510: D7718.diff
Thu, Aug 13, 1:20 PM
Unknown Object (File)
Tue, Aug 11, 3:00 PM
Unknown Object (File)
Mon, Aug 10, 1:55 PM
Unknown Object (File)
Fri, Aug 7, 8:43 PM
Unknown Object (File)
Fri, Aug 7, 3:47 AM
Unknown Object (File)
Fri, Aug 7, 3:45 AM
Unknown Object (File)
Wed, Jul 22, 8:26 AM
Unknown Object (File)
Jul 12 2026, 10:53 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.