Skip to content

Installer stalls with 'kern.geom.part.mbr.enforce_chs: 0 -> 0' #200

@probonopd

Description

@probonopd

Describe the bug

Installer stalls with ever-repeating

kern.geom.part.mbr.enforce_chs: 0 -> 0
kern.geom.part.mbr.enforce_chs: 0 -> 0
kern.geom.part.mbr.enforce_chs: 0 -> 0
kern.geom.part.mbr.enforce_chs: 0 -> 0
kern.geom.part.mbr.enforce_chs: 0 -> 0

in Installer Log

At this point we have the following processes running:

 2721  -  I     0:00,01 /usr/local/bin/sudo -n -E furybsd-install
 2722  -  I     0:00,00 /bin/sh /usr/local/bin/furybsd-install
 2735  -  S     0:15,01 /bin/sh /usr/libexec/bsdinstall/zfsboot
52035  -  S     0:00,00 /bin/sh /usr/libexec/bsdinstall/zfsboot

The command sysctl kern.geom.part.mbr.enforce_chs=0 seems to be coming from /usr/libexec/bsdinstall/zfsboot.

If we comment it out, then we hang on

zfsboot
Probing devices, please wait (this can take a while)...

/usr/libexec/bsdconfig/ lives in FreeBSD base, so the question is, did the change from FreeBSD 12.1 to 12.2 cause this? The issue did not exist in 12.1 based ISOs such as 0.4.0 nor does it exist in 13.0 based experimental builds.

After this point, I also get in /var/log/messages:

FreeBSD kernel: (da0:umass-sim0:0:0:0): Retrying command, 0 more tries remain
FreeBSD kernel: (da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 00 00 00 00 80 00 
FreeBSD kernel: (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
FreeBSD kernel: (da0:umass-sim0:0:0:0): Error 5, Retries exhausted

Is this the cause of the previous installation attempt?

To Reproduce
Steps to reproduce the behavior:

  1. Run Live ISO
  2. Try "Install FreeBSD"
  3. Open the "Installer Log" window

Version (please complete the following information):

NOT OK:
FreeBSD 12.2-RELEASE r366954 GENERIC
helloSystem build: 0E104 for commit: 67192eb

OK:
FreeBSD 13.0-RC3
helloSystem build: 0E103 for commit: 67192eb - same commit and exact same hardware

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions