Page MenuHomeFreeBSD

Bug 212114 - loader: zio_checksum_verify() must test spa for NULL pointer
ClosedPublic

Authored by tsoome on Aug 24 2016, 3:31 PM.
Tags
None
Referenced Files
F81640928: D7634.id19639.diff
Fri, Apr 19, 9:04 AM
Unknown Object (File)
Thu, Apr 18, 1:40 AM
Unknown Object (File)
Tue, Apr 16, 6:42 PM
Unknown Object (File)
Dec 23 2023, 12:27 PM
Unknown Object (File)
Dec 1 2023, 1:07 PM
Unknown Object (File)
Nov 22 2023, 8:46 AM
Unknown Object (File)
Nov 14 2023, 10:11 PM
Unknown Object (File)
Nov 6 2023, 9:14 PM
Subscribers

Details

Summary

During the disks probing to discover the zfs pools, the loader will attempt to read the pool label with NULL (uninitialized) spa. The normal loader operations do hide the issue, but userboot did reveal it by crashing bhyveload.

Test Plan

bhyveload should operate without crash.

Diff Detail

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

Event Timeline

tsoome retitled this revision from to Bug 212114 - loader: zio_checksum_verify() must test spa for NULL pointer.
tsoome updated this object.
tsoome edited the test plan for this revision. (Show Details)
tsoome added reviewers: allanjude, imp.
allanjude edited edge metadata.

Approved for commit

This revision is now accepted and ready to land.Aug 24 2016, 3:45 PM

With D7634 and D7635 applied I can boot my root on ZFS bhyves again. Thanks.

This revision was automatically updated to reflect the committed changes.