Page MenuHomeFreeBSD

Add workaround for HP BIOS issues
ClosedPublic

Authored by kevans on Feb 13 2018, 12:56 AM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 3 2025, 4:50 AM
Unknown Object (File)
Jan 3 2025, 4:39 AM
Unknown Object (File)
Dec 12 2024, 7:26 PM
Unknown Object (File)
Dec 10 2024, 2:51 PM
Unknown Object (File)
Oct 26 2024, 9:42 AM
Unknown Object (File)
Oct 17 2024, 4:54 AM
Unknown Object (File)
Oct 17 2024, 4:53 AM
Unknown Object (File)
Oct 17 2024, 4:53 AM
Subscribers
None

Details

Summary

hrs@ and kuriyama@ have found that on some HP BIOS, a system will fail to boot immediately after installation with the claim that it can't work out which disk they are booting from.

They tracked it down to a buffer overrun, and found that it could be alleviated by doing a dummy read before-hand.

This patch was originally drafted by kuriyama@.

This issue is documented on the wiki here: https://wiki.freebsd.org/HPBIOS3TBHDD

Diff Detail

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

Event Timeline

I wonder if the same problem happens if we bzero the v86 struct before our first INTxx call?

I know that most online references say only certain registers are used, but maybe HP has some weird extension we're tripping over?

In any event, I'm OK with this change, since it has a nice comment.

This revision is now accepted and ready to land.Mar 28 2018, 11:40 PM
This revision was automatically updated to reflect the committed changes.