Project

General

Profile

Actions

Bug #7642

closed

loader: gptzfsboot i386_zfs_probe can hung the boot

Added by Jean-Pierre André over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
bootloader
Start date:
2016-12-04
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
External Bug:

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.

Actions #1

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.

https://www.illumos.org/rb/r/283/

Actions #2

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>

Actions

Also available in: Atom PDF