Imac 27" ipxe boot
-
@Tom-Elliott
Thanks, I’ll try and give it a try today (it’s morning here).
I’ll keep you informed with the results. -
@Tom-Elliott @george1421
we tried to use ipxe7156.efi, it did load but the error is still here.the only difference is the response for the other interface which is now
Could not open net0 Input/Output error (http://ipxe.org/1d6a4698)
But the error on the ethernet interface is the same.
-
@Seb-B Please check the LEDs on your switch while this is happening. Are those really ON (link up) all the time? Maybe this is some kind of Spanning Tree issue…
-
@Sebastian-Roth said in Imac 27" ipxe boot:
@Seb-B Please check the LEDs on your switch while this is happening. Are those really ON (link up) all the time? Maybe this is some kind of Spanning Tree issue…
I thought it might be a spanning tree issue too, but the error is the link is down (assuming the link light is off) and not the link is up but can’t pickup an IP address. Unless those Macs do things funny. But checking the link light is a great idea and not assume that its working.
The link light will wink as the iPXE kernel starts, but should not go out and stay out.
-
You might be running into what another person informed me of (which prompted my creating a 10sec delay ipxe file).
So the initial IP comes up from PXE, then hands off to iPXE which has to drop the link and re-open for it to get a dhcp (initial pxe I think is bootp?) that can use different protocols. In some cases the down/up is too fast, and the motherboard essentially hasn’t had time for the device to go down before the system is requesting the new dhcp request. (Leaving the device seeming to be marked in down).
Please try the ipxe.pxe file from the /tftpboot/10secdelay/ folder and see if it at least helps?
-
Hi!
We’ve tried using the ipxe.pxe file from /tftpboot/10secdelay/ folder and this error :
Could not open net1: Input/Output error (http://ipxe/org/1d6a4698)
It then restarts the device initialisation and tres net 0 which appears down.
Could it be that the driver for the card is missing from the pxe file?
-
@Seb-B Can you try using the snponly.efi files? Try all versions (delay, 7156, regular)
-
@Quazz
Hi, we just tried with all snponly files and each time gotConfiguring (net0 38:c9:86:12:xx:xx)..............No configuration method succeeded (http://ipxe.org/040ee186)
as a response.
-
@Seb-B said in Imac 27" ipxe boot:
Well this is a different/interesting error.
This is saying that it can’t get a dhcp address on interface net0. But what is interesting is that it now picks up the mac address of the nic. This tells me that the nic is initializing (!!). Can you confirm what device is
38:c9:86:12:xx:xx
If this was a Dell box, at this point I would say your issue could be related to spanning tree, where the building switch is not using one of the fast spanning tree protocols like RSTP, fast stp, etc.
-
If my memory is serving me correctly, there was a similar thread about this in the past, I’ll see if I can dig it up from the abyss. If I am remembering correctly they other person got it working.
-
Hi,
Yes the mac address of the device is correct.
I don’t think it could be a spanning tree since
a - I a m plugged on a switch port with no spanning tree
b - other iMacs(21.5") on the same port have no problem getting through this step
c - I think using the efi file with the 10sec delay would have worked if this was the case (not sure though)Once again, I could be wrong but spanning tree issues don’t seem logical to me in this case.
Thanks anyhow.
-
@Seb-B is the 21.5" iMac an older generation than the 27" iMac?
With the efi kernel that shows the mac address, please install an unmanaged switch between the building switch and the target computer. This is a quick test to see if its a spanning tree/green ethernet issue.
Understand we are now to the point if guessing a bit, since this is not a FOG issue but an iPXE booting issue.
As long as we are guessing, is the firmware up to date on this target computer?
-
The “working” Imacs are from late 2014 while the “not working” ones are from late 2015.
I’m already plugged on a non manageable switch, that’s what I was trying to tell you in my last reply.
Yes I checked the firmware for the IMac and it is up to date.As for the guessing, I checked this post and checked the cable integrity just in case but to no avail so far…
-
@Seb-B On the windows side, we’ve seen newer nic adapters support some more advanced functions (like green ethernet 802.3az) that seems to be causing issues with pxe booting. The unmanaged switch also blocks this type if pre-link protocols (which is good for us).
When you get the error pxe booting does it give you an option to press ‘s’ to get to an ipxe command prompt?
-
Yes it does, I tried some commands but I’m not really familiar withe the ipxe environment.
-
@Seb-B OK, its been a while since I had to mess with the iPXE kernel. But the first thing I would try is to get to the iPXE command prompt. Wait 30 seconds and then key in
dhcp net0
that will instruct the kernel to try to pick up a dhcp address.I’m going to have to create a similar issue here in my test lab to see if I can remember the commands to confirm the network adapter is ready. But starting with dhcp after 30 seconds will tell us if there is a timeout involved.
-
Ok, I’ve done that after waiting 30 secs and still got the no configuration method succeeded message.
-
@Seb-B Is your fog server, dhcp server, and target computer on the same subnet?
-
Actually no, the dhcp and fog server are on a dedicated server vlan while the host is on another vlan.
However, we have half a hundred stations on this configuration and never encountered any trouble so far.
We did a test where we check on the dhcp server while running
dhcp net0
and get no request on the dhcp.We tried with several efi files and never got anything showing up on the dhcp.
-
@Seb-B Well my thought was to have them on the same subnet (for testing), then setup tcpdump to capture any dhcp being emitted from the mac when you issue the
dhcp net0
ordhcp net1
command. You can install tcpdump on the fog server or in your case setup wireshark to capture ports 67, 68 if done from the FOG server 67,68,69,4011 all udp ports.What I’m interested in is the target computer actually requesting anything on the network wire, or is there still an iPXE <-> Hardware issue. By doing the capture from the fog server and all being on the same subnet you can inspect the entire pxe booting process, from dhcp to tftp moving of the file to the target computer.