Page MenuHomeFreeBSD

Retry reading from boot disk if first access fails (HP BIOS bug??)
Needs ReviewPublic

Authored by allanjude on Jul 12 2016, 11:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 20 2023, 3:09 AM
Unknown Object (File)
Oct 4 2023, 3:21 AM
Unknown Object (File)
Aug 26 2023, 9:23 PM
Unknown Object (File)
Jul 6 2023, 10:05 AM
Unknown Object (File)
May 13 2023, 6:17 PM
Unknown Object (File)
Apr 9 2023, 6:17 AM
Unknown Object (File)
Mar 23 2023, 6:42 AM
Unknown Object (File)
Dec 23 2022, 10:07 PM
Subscribers

Details

Reviewers
jhb
smh
Summary

PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=144234

If you try to boot ZFS on certian HP servers, and apparently various other machines, gptzfsboot reports errors:

error 1 lba 32
error 1 lba 1
No ZFS pools located, can't boot

This can be worked around by reading the ZFS pool from a disk other than the one that was booted from.

This patch retries the boot disk, with 'secondary disk' settings, if reading from it fails the first time.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 4495
Build 4546: arc lint + arc unit

Event Timeline

allanjude retitled this revision from to Retry reading from boot disk if first access fails (HP BIOS bug??).
allanjude updated this object.
allanjude edited the test plan for this revision. (Show Details)
allanjude added reviewers: jhb, smh.

Apart from the comment this looks good in principle, however I think we need to better understand why retrying the probe works as it feels like where just hiding the real error with this.

sys/boot/i386/zfsboot/zfsboot.c
609

I think we should make this comment describe why not what we're doing, as the what can be determined from the code, its the why that's important for future readers.