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
Unknown Object (File)
Thu, Nov 13, 12:13 AM
Unknown Object (File)
Thu, Nov 13, 12:02 AM
Unknown Object (File)
Wed, Nov 12, 6:30 PM
Unknown Object (File)
Wed, Nov 12, 6:00 PM
Unknown Object (File)
Tue, Nov 11, 1:14 AM
Unknown Object (File)
Tue, Oct 28, 5:56 PM
Unknown Object (File)
Sat, Oct 25, 2:32 PM
Unknown Object (File)
Sat, Oct 25, 12:17 AM
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.