Several problems with Surface Pro 4
-
I’m guessing the issue is due to the ethernet connection going through the keyboard dock thingy.
-
@jhuesser From the images you are getting into the FOS engine. So iPXE has done its part so no need to mess with iPXE files any more. So if you are getting to that point (in your first image), I would do the following:
- Manually register that device (it you have not already)
- Setup a debug capture sequence
- PXE boot the device. It should launch into capture mode and then after a few enter key presses it will drop you to a linux command prompt. This is the FOS engine command line.
From there we can do some debugging like
ip addr show
Please post the output of that command here.Also ensure that the network port this device is connected to has spanning tree turned off (not a good choice) or one of the fast spanning tree protocols enabled. (RSTP, port-fast, fast stp, etc). A quick test would be to place a dumb (unmanaged) switch between your building switch and the target computer. If you can pickup an IP address in this configuration you need to look into your spanning tree configuration on your building switch. What happens when the FOG boots a target device is that as the target boots, it winks (monetarily turns off and back on the network link) as each kernel hands off to the next kernel (i.e. PXE boot ROM-> iPXE and iPXE -> FOS Engine). The issue is that if STP is enabled it takes STP 27 seconds to move from listening to forwarding. By the time the link moves to forwarding, the FOG boot process has already given up.
-
@george1421 thank you. When i PXE boot the surface again with
ipxe7156.efi
and an active upload-debug tastk, it gets as far as in image 1. Network should be fine, I’ve done some imaging with desktop PCs with the same port.@Quazz I’m using an ethernet to usb adapter (offical from Microsoft). It’s new, bought 2 days ago.
-
@jhuesser Alright, well, it has a Realtek nic in it if I’m not mistaken, r8152. Realtek boot files will most likely give you the largest chance of success.
Is it possible to update the BIOS on the surface pro 4? It might help somewhat.
-
@Quazz If I use
realtek7156.efi
The same is happening as withintel7156.efi
(Third image, or again at the bottom). And no it’s not possible to update the UEFI.
-
@jhuesser said in Several problems with Surface Pro 4:
Boot from harddisk``` REFIND_EFI starts, i need to press a key and then windows tries to boot but get stuck at the windows logo. (no problem if i boot without pxe)
Btw. the problem with the windows boot up is solved if I use
ipxe7156.efi
as @Tom-Elliott suggested. -
@jhuesser I think I lost where we are in this thread.
So for the surface pro 4 you identified that you need to pxe boot ipxe7156.efi (actually that will work just fine for surface pro 4 and traditional uefi systems, so you can have just one efi boot file).
From there are we still running into issues?
-
@george1421 exactly.
If i assign a task via fog web interface or select a menu entry in the fog boot menu, always the DHCP error shows up.
-
@jhuesser OK where its failing is that the FOS Engine ( the custom linux operating system that captures and deploys images ) doesn’t have the driver required for that nic. If you do a debug capture (when you schedule a capture you select the debug option) does it allow you to continue and get a to a command prompt?
Since you are at this point you have the right iPXE (pxe boot stuff) we have to now find out why the FOS engine is not talking with the network adapter.
-
@george1421 Created an debug upload task. See the same Output as in this image
@jhuesser said in Several problems with Surface Pro 4:
So it downloads the boot file, start iPXE, start FOS and then it breaks…
-
@jhuesser I’m surprised that it just stops. I assume when you press enter it reboots then?
@Developers Do you know why the FOS engine would stop at this point. From the error message it appears that kernel is not seeing any network adapter since it says interfaces: with no interface name.
-
@george1421 It doesn’t recognize the keyboard at this point. If there is no upload task and the fog menu shows it works, but as soon as the FOS is running, it doesn’t recognize it.
-
@jhuesser Since I’m ignorant of the surface pro, but is there an option to add extra usb stuff, like a usb nic or keyboard?
If the keyboard is unresponsive then the question is the kernel frozen or is the keyboard not recognized. I’m suspecting some unknown usb 3 controller between the kernel device.
-
@george1421 OP is using a USB NIC since it doesn’t have one built-in. It also has a sort of keyboard dock which I’m guessing is what OP is talking about when he says it doesn’t respond.
-
Yeah, I’m using an USB nic. Keyboard is the origiginal surface case keyboard. This is the connector:
As is said, in the boot menu it works fine. But when it stops at the DHCP error and ask to press enter, it doesn’t respond.
-
@jhuesser I’d guess this is either a case of Spanning Tree as George already mentioned (try connecting a dump mini switch between your Surface and the building switch) or we have a driver issue here with the USB NIC you are using. Can you please boot up a normal PC with ubuntu live CD, then after bootup plugin the USB NIC to that PC and run the following commands on a terminal:
lsusb ... dmesg | tail ...
-
I receive this output:
ubuntu-gnome@ubuntu-gnome:~$ lsusb Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 003: ID 090c:1000 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) Flash Drive Bus 003 Device 004: ID 045e:07c6 Microsoft Corp. Bus 003 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 002: ID 046d:c046 Logitech, Inc. RX1000 Laser Mouse Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub ubuntu-gnome@ubuntu-gnome:~$ dmesg | tail [ 24.138016] cdc_ether 3-1.1:2.0 enx5882a88c3afd: renamed from eth0 [ 24.169228] IPv6: ADDRCONF(NETDEV_UP): enx5882a88c3afd: link is not ready [ 24.169330] cdc_ether 3-1.1:2.0 enx5882a88c3afd: kevent 12 may have been dropped [ 24.169334] cdc_ether 3-1.1:2.0 enx5882a88c3afd: kevent 12 may have been dropped [ 24.169949] cdc_ether 3-1.1:2.0 enx5882a88c3afd: kevent 12 may have been dropped [ 24.170093] cdc_ether 3-1.1:2.0 enx5882a88c3afd: kevent 12 may have been dropped [ 24.170115] cdc_ether 3-1.1:2.0 enx5882a88c3afd: kevent 12 may have been dropped [ 25.990587] e1000e: eno1 NIC Link is Down [ 42.564105] cdc_ether 3-1.1:2.0 enx5882a88c3afd: kevent 12 may have been dropped [ 42.564191] cdc_ether 3-1.1:2.0 enx5882a88c3afd: kevent 12 may have been dropped ubuntu-gnome@ubuntu-gnome:~$
I think the network stuff is right. With the same cable / ports etc. I’m able to image the desktop cable. Just put the USB nic in between the surface and the cable and the error shows up…
-
@jhuesser Now I see. From what I remember (check out this post) the
cdc_ether
kernel module is not working nicely and therefore Tom and I decided to through it out kernel config. AFAIK there should be a patch added to the kernel that adds support for those 045e:07c6 and 045e:07ab Microsoft devices to ther8153
driver included in the kernel already. @Tom-Elliott do we still add this patch??As well read through this and see if your DHCP config is fine.
-
@Sebastian-Roth Thank you. Will have a deeper look into it at work on monday.
-
@Sebastian-Roth Hi, so should i download the kernel you posted here?
@Sebastian-Roth said in Several problems with Surface Pro 4:
(check out this post)
As well read through this and see if your DHCP config is fine.
Should be correct. I can’t enable the config through the whole subnet, so i enter it manually for every host.