macOS update broke iPXE
-
@sysadminatelier What did you put for the kernel arg string? You MUST have the initrd=init.xz line in the efi string for booting to work properly. I’m only guessing here that this is part of the problem, but think seeing the whole string would go a lot further.
-
@sysadminatelier said in macOS update broke iPXE:
10.11
is this maybe related to your problem?
http://forum.ipxe.org/archive/index.php/thread-8296.htmlSorry one page 2 you are referencing to this thread, saw it to late sorry.
-
@sysadminatelier Building Georg’s FOS USB stick should also work from a Ubuntu Live system I reckon. The only issue I can see might be
grub-install
being different on the Live system - not sure though.Would you mind sharing details about your MAC model(s) that have an issue with booting iPXE? Please read through this, compare the version numbers and let us know which ones you have. (exact MAC model, NIC ROM and SMC number) I really hope we can get this issue fixed at some point.
-
@sysadminatelier I have a fresh made fos usb boot image I created for another project if you want to test it. PM me for the details.
-
@george1421 can i have that image too please?
-
Good news everyone,
The image that George sent me worked great so it must have been the usb key I made that didn’t quite work. Will investigate on my side and try to redo it to see what went wrong.
Thanks to all for your help
-
@Sebastian-Roth So then that tells us that FOG is working as it should. So the developers should then either look at the uefi hand off from iPXE or iPXE itself as being a bit confused (??)
-
@george1421 It’s some firmware update Apple applied between 10.11 to 10.12. The same iPXE version works in 10.11, upgrade macbook and same iPXE version fails.
-
@sysadminatelier Please take a look at the other thread I posted a couple of minutes ago and tell us about your MAC model(s), and NIC firmware/ROM versions. Just to confirm this is exactly the same issue we are talking about…
I hope to be able to get hold of some MAC devices where I can debug this issue soon. Keep your fingers crossed.
-
Hi Sebastian,
iMac Late 2012
Ethernet card :
Apple 57766-A1
Firmware : 57766a-v1.13, 0x0faa56c8
Version : 10.2.0Mac Mini Late 2014
Ethernet card :
Broadcom 57766-A1
Firmware : 57766a-v1.15, 0xad0d59c9
Version : 10.2.0Both of these have been updated so they only work with the USB method.
I might have the time to check out other macs this week if you need it as I am pretty sure we have 2015 models and they likely weren’t updated.
If you need some other info I’ll be happy to provide what I can.
Thanks
-
@sysadminatelier Thanks for sharing the details. Could you please add
Boot ROM Version
andSMC Version
from your MACs. Find a screenshot of where to find those details here.
We are still not exactly sure but it looks like an update of the Boot ROM version is causing the issue. As mentioned here IM143.0118.B13 was alright but IM143.0118.B14 has the issue. -
Hi Sebastian,
For the iMac Late 2012 :
Model Identifier : iMac13,2
Boot ROM : IM131.010A.B11
SMC Version : 2.11f14For the Mac Mini :
Model Identifier : Macmini7,1
Boot ROM Version : MM71.0220.B14
SMC Version : 2.24f32 -
@sysadminatelier Thanks for posting those as well. We have more and more but it just doesn’t add up for me. The boot ROM version numbers seem to differ from model to model and I can’t see where the issue was probably introduced.
As well I am not able to spin up a Sierra (10.12) installation on an old MacBook. Too bad I can’t get a test setup going here.
Maybe we can tackle this from a different angle. Hope you are keen to get into debugging iPXE and test things out. I compiled an iPXE binary with debug enabled (
DEBUG=netdevice,nii,snpnet
). Please download01_ipxe.efi
here and try it out. Post a picture or video of the output on screen. -
Original pictures (in reverse order): 4_1497885826459_IMG_0189.JPG 3_1497885826459_IMG_0172.JPG 2_1497885826458_IMG_0120.JPG 1_1497885826458_IMG_0112.JPG 0_1497885826458_IMG_0108.JPG
-
@sysadminatelier Thanks heaps for testing and posting the pictures. I forgot to ask you if you could do exactly the same on a MAC that is still working so we have an idea of how it is supposed to look like. Could you please?
As well could you pay attention to the status LED on the switch where the client is connected to. Does it come up at all, turns off at some point?
I put together a combined picture which is easier to follow and updated your post. Hope you don’t mind. All the green and yellow messages in this picture are about the WLAN adapter (net1) which we don’t need at this point. Let’s hope this does not get in the way here. Will be interesting to see what’s different with the older firmware.
-
Hi Sebastian,
Luckily I’ve had to work on a Mac that happens to work with PXE, keep in mind it’s a Mac Pro with 2 ethernet ports so net1 might be the other port.
This is the info I collected before I did the updates :
Model Identifier : MacPro6,1
Boot Rom Version : MP61.0116.B17
SMC Version : 2.20f18Ethernet card : Broadcom 57762-A0
Firmware : 57762-a1.15, 0x525fa2f2
Version : 10.1.11After I did the updates :
Model Identifier : MacPro6,1
Boot Rom Version : MP61.0116.B25
SMC Version : 2.20f18Ethernet card : Broadcom 57762-A0
Firmware : 57762-a1.15, 0x525fa2f2
Version : 10.2.0The updates did break PXE once again, the pictures below are from when the PXE was working as you requested.
Hope this helps !
-
@sysadminatelier Interesting stuff you posted, thanks! After researching and reading for hours I am still missing a brilliant idea. Maybe we can take this from a different perspective.
- I found this in the iPXE forums where one had an issue with link down on another Broadcom NIC (BCM5764m). He was able to work around the issue by using a dump 100 MBit switch to connect the client to. Could you give that a try?
- The driver used within iPXE is
tg3
. A similar one is included in the linux kernel. Please go back to George’s USB FOS… does the network come up properly on one of the updated/broken MACs?
-
@sysadminatelier Did you get to test the stuff I posted last? @Warget Maybe you are keen to try this as well?
As well I am trying to revive the discussion on this in the iPXE forums, so hopefully we’ll push this a little further.
-
@sysadminatelier Ok, I got some new advice from the iPXE devs. Debugging the actual driver issue won’t be easy and will therefore take too many round trips of “try this binary and report again”.
Nevertheless we ought to try out using the SNP binary (debug enabled -
DEBUG=snp:3,nii:3
to start with). So find01_snp.efi
here. Just give it a try and post pictures or video. Make sure when you take those to place the camera or phone on a stack of books in front of the screen so we have a good picture. -
Just cross-linking this here: https://forums.fogproject.org/topic/10615/ipxe-booting-possibly-broken-on-os-x-sierra-update