helloSystem / ISO

helloSystem Live and installation ISO
https://github.com/helloSystem/
BSD 3-Clause "New" or "Revised" License
806 stars 58 forks source link

FreeBSD 13: Bootloader very slow on some Mac models #350

Open probonopd opened 2 years ago

probonopd commented 2 years ago

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

Not affected

TODO: Test with FreeBSD 12 based helloSystem 0.6.0

Slater91 commented 2 years ago

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

probonopd commented 2 years ago

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

tsoome commented 2 years ago

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...

probonopd commented 2 years ago

Yes, helloSystem is based on 13.0-RELEASE.

tsoome commented 2 years ago

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.

Slater91 commented 2 years ago

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.

probonopd commented 2 years ago

@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 commented 2 years ago

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!

Slater91 commented 2 years ago

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.

probonopd commented 2 years ago

Thanks for retesting.

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

Which exact ISO?

louies0623 commented 11 months ago

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