iPXE booting possibly broken on OS X Sierra Update
Hi @sysadminatelier, @Abuelika, @Seb-B, @dfuriet, @Warget, @Imperilled
I finally got to borrow a MacBookPro8,2 from a friend to test booting it using straight iPXE over network. And guess what, it’s just working. I am a bit confused. So I try to collect all the information to hopefully get this sorted. These are the specs of the system I have:
Model Identifier : MacBookPro8,2
Boot Rom Version : MBP81.0047.B32
SMC Version : 1.69f4
Ethernet card : Broadcom 57765-B0
Firmware : 57765-a1.37
Version : 10.2.10
tg3.efi- all working fine (so both the SNP and the native driver seem fine):
iPXE initialising devices...ok iPXE 1.0.0+ (70544) -- Open Source Network Boot Firmware -- http://ipxe.org Features : DNS FTP HTTPS iSCSI NFS TFTP SRP VLAN AoE EFI Menu iPXE> dhcp Waiting for link-up on net0.... ok Configuring (net0 c8:2a:14:xx:xx:xx)...... ok iPXE> ifstat net0: c8:2a:14:xx:xx:xx using 14e4-16b4 on 0000:02:00.0 (open) [Link:up, TX:3 TXE:0 RX:6 RXE:0]
Works like a charm even if I have the iPXE commands embedded in the script and run without any delay!
Topics in iPXE and FOG forum:
- The issue has to do with the network equipment. I use an unmanaged dumb mini switch. Maybe all of you want to give this a try again.
- Although the Sierra version is not the very latest (I have 10.12.5 right now while 10.12.6 update came out 19th of July 2017) it’s still very recent and I doubt that mine is too old to have the bug. Possibly even one of the latest updates fixed the issue. So please upgrade your Mac and see if that helps.
- Possibly the NIC in this MacBookPro8,2 is just slightly different to all the others? Maybe, but I kind of doubt this is making the difference.
“Make a FOG backup of a machine that is known to have this PXE boot issue”
well, I’d certainly love to be able to do that wouldn’t I
Sure you cannot PXE boot the Macs right now but you should be able to image using George’s great tutorial on building a bootable USB image - see here.
I’m not sure either about the firmware, but it would seem strange to me that it would be reverted at the same time as the OS, but as I said we’ll try just to make sure.
"Make a FOG backup of a machine that is known to have this PXE boot issue"
well, I’d certainly love to be able to do that wouldn’t I
Seriously though, the clients are in use in a another building and have quite a load of heavy applications on it, so I would have to wait for one to be inoccupied for at least two days (one for the test, one for reverting to a usable state). I’ll chack the occupation planning of these room and try to get this done as soon as it can be.
@Seb-B Thanks for posting the link to the iPXE forum again. Haven’t noticed that there were new posts on that topic. Though I don’t think there is much news to what we already know. But still it’s good to know that another person is onto that. Seems like Curtis definitely knows the bits. I will try to contact him and see what we can do.
… it has to do with the firmware installed with Sierra (which will not be reverted if we switch back to El Capitan) so I don’t have much hope for that …
Are you sure about the firmware not being reverted? I kind of hoped (not knowing enough about Macs) that installing El Capitan would also install the old firmware version but possibly I am wrong. I still think it’s worth trying just so we know. In case this is irreversible I’d find this even worse.
It’s going to take some us time to try and revert to an El Capitan OS…
Couldn’t you just test this on one single client? Make a FOG backup of a machine that is known to have this PXE boot issue, pop in the El Capitan DVD and do a fresh clean install (removing all the Sierra stuff before)? That shouldn’t take very long, right?
we just tried resetting the PRAM on the imac, sadly it didn’t change anything.
It’s going to take some us time to try and revert to an El Capitan OS and I think it was established in the ipxe forum that it has to do with the firmware installed with Sierra (which will not be reverted if we switch back to El Capitan) so I don’t have much hope for that. I’ll still try as soon as I can though, and keep you informed.
@Seb-B Thanks heaps for getting back to me on this one. As you see I have worked with a MacBookPro8,2 which has a very similar NIC (BCM57765 instead of your BCM57766) and this one does not seem to cause the issue. So I still hope that we can figure this one out and get it fixed.
According to your other post using
snp.efididn’t work either. The chief iPXE developer asked me to give this a try and see what we get. Let’s see what he thinks of your video.
What I have been wondering for a while is: We have people reporting that machines PXE booted properly before upgrading to Sierra and it stopped working right after the upgrade. So I am really wondering if installing an earlier release or maybe resetting NVRAM would make this issue go away again. Would this be possible for you to test?
EDIT: I just had an even better idea. Do you still have an image with a pre-Sierra Mac OS X installed? Would be great testing to deploy this, boot once into Mac OS X and then see if PXE booting does work again after that.
In our case, we already tried going through an unmanageable switch when it was tought to be a spanning tree error, but I can’t remember if it was a 100mbps or a 1Gbps. I’ll give it another try with a 100Mbps ASAP just to be sure.
I’ll keep you in touch.
Found something interesting here. For this first test (all working great) I used an old 100MBit/s switch as I don’t have much equipment here at hand. Just for the fun of it I tried connecting the MacBook straight to my PC (where FOG is running in a VM) to get a full Gigabit connection. Again booting into iPXE it takes a lot longer when it waits for the link to come up and sometimes even fails. Possibly this is just caused by my crippled setup here but I think you guys should all give it a try. Connect your Mac to the LAN using a dumb 100 MBit/s mini switch! Sure this is not a solution to the problem but we might figure out where this is gonna take us.