Bug #7642
closedloader: gptzfsboot i386_zfs_probe can hung the boot
100%
Description
On a computer, I cannot boot the latest Hipster installation (Oct 2016) from USB. As another computer can boot normally from the same USB key, the install image is supposed to have been copied correctly.
The loading process gets stuck with only a "|" displayed on screen.
As an earlier Hipster version was installed from USB on the failing computer, a misbehavior of the new loader is suspected.
Updated by Toomas Soome over 6 years ago
- Subject changed from Cannot boot from USB to loader: gptzfsboot i386_zfs_probe can hung the boot
- Status changed from New to In Progress
- Assignee set to Toomas Soome
- % Done changed from 0 to 80
While investigating the issue, apparently the gptzfsboot got stuck while walking disks to discover zfs pools. Redesigning i386_zfs_probe() to avoid duplicate scan of the same disk seems to fix the issue, and allows to simplify the disk probing for both pool discovery and establishing the boot device name.
Updated by Electric Monk over 6 years ago
- Status changed from In Progress to Closed
- % Done changed from 80 to 100
git commit 603ef0dd313c5c91c613d6d49d88d341ef9d1991
commit 603ef0dd313c5c91c613d6d49d88d341ef9d1991 Author: Toomas Soome <tsoome@me.com> Date: 2017-02-06T05:09:44.000Z 7642 loader: gptzfsboot i386_zfs_probe can hung the boot Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> Approved by: Robert Mustacchi <rm@joyent.com>