ISO icon indicating copy to clipboard operation
ISO copied to clipboard

FreeBSD 13: Bootloader very slow on some Mac models

Open probonopd opened this issue 2 years ago • 11 comments

Describe the bug Booting FreeBSD 13 based helloSystem 0.7.0 from external USB media is very slow at the bootloader stage (minutes instead of seconds) during which the screen may be blank. People may think the system is not booting at all. It appears like the bootloader is running only at a tiny fraction of the normal speed.

Affected models

  • iMac 7,1
  • MacBook 4,1
  • MacBookPro10,1
  • Macmini5,1

Not affected

  • Macmini4,1 (firmware MM41.88Z.0047.B00.1802021546 02/02/18)

TODO: Test with FreeBSD 12 based helloSystem 0.6.0

probonopd avatar Dec 28 '21 05:12 probonopd

I can add the iMac 7,1 and the MacBook 4,1 to the list, both with helloSystem 0.7.0.

Slater91 avatar Feb 02 '22 22:02 Slater91

Thanks. Added them to the overview above. Did you update the firmware on your Macs to the latest version provided by Apple for those models?

Next step: See if the same issue happens with official FreeBSD ISOs from https://www.freebsd.org/.

Possibly related to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254381?

cc @tsoome

probonopd avatar Feb 05 '22 08:02 probonopd

Thanks. Added them to the overview above. Did you update the firmware on your Macs to the latest version provided by Apple for those models?

Next step: See if the same issue happens with official FreeBSD ISOs from https://www.freebsd.org/.

Possibly related to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254381?

cc @tsoome

The obvious question there is, which version iso etc was used for test? Some fixes did land in current and stable/13, so if you test with 13 release...

tsoome avatar Feb 05 '22 10:02 tsoome

Yes, helloSystem is based on 13.0-RELEASE.

probonopd avatar Feb 05 '22 11:02 probonopd

Yes, helloSystem is based on 13.0-RELEASE.

Aye, well, the 13.1 is about to go to release build cycle. But you can test with one of latest current images, so you can verify if it is improved or not - the console draw was also picked for stable/13.

tsoome avatar Feb 05 '22 11:02 tsoome

Thanks. Added them to the overview above. Did you update the firmware on your Macs to the latest version provided by Apple for those models?

Yes, they are both up to date.

Next step: See if the same issue happens with official FreeBSD ISOs from https://www.freebsd.org/.

Yes, the same issue happens with FreeBSD 13.0-RELEASE.

Slater91 avatar Feb 05 '22 12:02 Slater91

@Slater91 does using https://download.freebsd.org/ftp/snapshots/ISO-IMAGES/13.0/FreeBSD-13.0-STABLE-amd64-20220120-d25147c01a2-249044-bootonly.iso work better? (I couldn't find a "more current" ISO.)

probonopd avatar Feb 05 '22 14:02 probonopd

I can confirm that this is no longer an issue for MacBookPro10,1 on the experimental hello-0.8.0_0H21-FreeBSD-13.1-amd64.iso (based on FreeBSD 13.1-BETA2).

@Slater91 can you please retest the iMac 7,1 and the MacBook 4,1? In case the issue persists for your machines I will reopen the ticket. Thanks!

probonopd avatar Mar 19 '22 16:03 probonopd

Sorry for my late reply. It still is very slow on my MacBook 4,1 using hello-0.8.0_0H21-FreeBSD-13.1-amd64.iso. It takes a couple of minutes to get to the "hit [enter] to boot" text, then it's a few more minutes to get to the actual desktop. By contrast, using plain FreeBSD it takes mere seconds to boot.

Slater91 avatar Apr 11 '22 13:04 Slater91

Thanks for retesting.

By contrast, using plain FreeBSD it takes mere seconds to boot.

Which exact ISO?

probonopd avatar Apr 11 '22 17:04 probonopd

This also has the same problem on MacBookPro9,1 (A1286) 0I46

louies0623 avatar Oct 01 '23 10:10 louies0623