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)
Wed, Jul 22, 8:26 AM
Unknown Object (File)
Sun, Jul 12, 10:53 AM
Unknown Object (File)
Sat, Jul 11, 8:57 AM
Unknown Object (File)
Fri, Jul 3, 3:18 PM
Unknown Object (File)
Fri, Jul 3, 6:20 AM
Unknown Object (File)
Jun 21 2026, 8:01 PM
Unknown Object (File)
Jun 20 2026, 9:37 PM
Unknown Object (File)
May 6 2026, 11:10 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.