ISO: Boot failures: `md1.uzip: UZIP(zlib) inflate() failed`, kernel panics and `errno EFAULT`
https://github.com/helloSystem/ISO/commit/cb718009f703ea4c89c28bc3738aa3165aa2ecca
ISO written to physical media
hello-0.4.0_0D8-FreeBSD-12.1-amd64.iso written more than once to a Kingston DataTraveler 3.0, which was stress-tested without error a few days ago, repeatedly failed to boot on an Ergo Vista 631.
First attempt: a sudden restart.
A subsequent attempt:

I tried a different USB port. Still no boot.
I destroyed the GPT, created a new GPT with an ms-basic-data partition, added msdosfs then ran one round of stressdisk, without error: stressdisk.txt
ISO alone
VirtualBox, given all four processors of an HP EliteBook 8570p:

- screenshot taken 2021-01-16 09:57:41
- I chose to stop the machine after around one minute 2021-01-16 09:56 VBox.log because the
ddroutine appeared to make no progress beyond what’s seen in the shot.
Again, with four processors:

- screenshot taken 2021-01-16 10:07:17
- I chose to stop the machine after around nine minutes 2021-01-16 09:58 VBox.log
A few days ago I began suspecting that with some builds, boot failures are more likely with more than one processor given to a (virtual) machine.
Today, limited to one processor: success, 2021-01-16 10:11 VBox.log
Shut down, started with one processor: another success, 2021-01-16 10:34 VBox.log
Shut down, added three processors, started, the dd + ZFS receive routine averaged around 11 MB/s, sudden restart, boot proceeded:
– muted because three seconds was not long enough for me to reach the screen 👎
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 29 (29 by maintainers)
Boot failures:
md1.uzip: UZIP(zlib) inflate() failed, kernel panics anderrno EFAULTFrom opening post https://github.com/helloSystem/ISO/issues/102#issue-787438326
– and from https://github.com/helloSystem/ISO/issues/102#issuecomment-761793443
12.1-RELEASEand12.2-RELEASEas bases for helloSystemFreeBSD bug 254318 – [panic] when a specific sequence of read requests is issued to a geom_uzip device the kernel panics
md1.uzip: UZIP(zlib) inflate() failedscenarios.I might treat helloSystem boot time sudden restarts as symptomatic of system crashes, with possibly the same cause.
13.⋯Bug 254318 observes:
Advice received via e-mail, quoted without attribution with permission, with added emphasis:
https://www.freebsd.org/cgi/man.cgi?query=mdconfig&sektion=8&manpath=FreeBSD+12.1-RELEASE+and+Ports
0.4.0 (0D13)and0.4.0 (0D18)Booted more than once without error in a VirtualBox guest (0D18).
Mostly without error with an Ergo Vista 631 (0D13 on a USB flash drive).
On the Ergo:
It would be nice to have OpenZFS but IIRC it’s not packaged where you want it