Did some more testing and will merge this into dev-branch now before the new release. Have tested on CentOS (existing installation and fresh) as well as Debian (fresh installation). Should be good to go.
@bloodwar I have looked through the code up and down, forth and back… Just don’t know all about UEFI and have no idea why this goes wrong. I am pretty close to sending a message to the kernel mailinglist. But before that I’d like you to try other kernels first. Please use some older kernels just to see if those can boot on that device. I think the easiest way is to download old kernel binaries here and here, plugin the USB key you made and put the kernel binary on it as EFI/BOOT/BOOTX64.EFI (rename that file - GRUB EFI binary).
Now boot the Lenovo N24 off that USB key and see how far you get. If you see Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)) than you are past the issue. If it just sits there for 3 minutes then I’d expect it to be locked. Please try at least 10 kernel binaries of various versions from the links above.
@sebastian-roth I found the error was only in regards to the checkbox. It worked the “first” login entry you make, but the modal window wasn’t closing. So you would press the delete button again, causing the invalid login (as it was at that point invalid as no credentials were being passed anymore).
I’ve been working on the on and off over the last weeks. This is what I just sent to iPXE dev Michael Brown:
Tried looking at the NIC registers as suggested by NiKiZe in the forums a while back. Added ethtool code to dump registers to iPXE but from my tests it looks like many registers are different on every reboot and I have no idea which registers mean what. For now I don’t think this is getting us anywhere. But I am open to suggestions.
Digging through the tg3*.c code I figured that there might be some auto negotiation issue on the iMac model I have. Curtis did not seem to have that and got that sort of fixed. Now I am seeing the same thing as Curtis, interface comes up and it tries to send packets to wire but fails so. As far as I know Curtis has been onto this together with you on a IRC chat.
On the other lane I have tested the Linux code a fair bit. Tested 4.13.4, early 3.9 and the very first commit that added 57766 NIC support to the Linux kernel. I did test those early versions as I hoped to clarify if the later added binary firmware blob is playing a role or if any commit in the kernel code did fix an issue with Macs. Turns out it’s not from my tests. They all worked like a charm on the iMac that cannot send packets within iPXE.
Hope we’ll find some time to give me some hints on where to dig next.
@Seb-B As well if you have ideas and suggestions on how to diff the tg3 code of iPXE and the Linux kernel to figure out what’s up. I have started to but there seem to be too many minor differences making it really hard to diff. Though I have the feeling that we should be able to solve this soon as Linux kernel is working great.
I can’t tell you what version I’m running at home. But I am able to use FF on Zorin (ubuntu based). That is my primary browser I use for the fog forums. I can confirm when I get home. As for right now I’m using FF 47.0 on my windows computer and it is fine.