corna / me_cleaner

Tool for partial deblobbing of Intel ME/TXE firmware images
GNU General Public License v3.0
4.51k stars 279 forks source link

me cleaner brakes wired internet on haswell #311

Open maxbla opened 4 years ago

maxbla commented 4 years ago

CPU: Haswell (Intel i5 4670k) Motherboard: ASRock Z97M-ITX/AC Ethernet controller: Qualcomm Atheros QCA8171 Gigabit Ethernet (rev 10) (from lspci output)

After running me_cleaner, the Ethernet interface doesn't show up to multiple Linux OSs. To be clear, running ip link or ifconfig, the enp2s0 device simply isn't listed (and doesn't work). This is true on all of Ubuntu, Arch and Fedora. Strangely, WiFi does work. Reflashing the original firmware immediately fixed the issue.

After some experiments, this ethernet problem occurs when using the -S flag and when using no flags, but when using the -s flag, ethernet works.

I used an external CH341A flasher.

65a commented 4 years ago

Same issue here on Kabylake-U i5 device. I have tried a variety of options in Flash Image Tool as well. My symptoms are the same as yours. In OEM bios with -s, it works. In OEM bios with -S, first ethernet device is missing. In Coreboot, the same is true as OEM bios. Notably, Coreboot logs seem to indicate the entire PCI Express root port #1 goes missing.

czeej commented 4 years ago

Is it possible for you to swap the NIC out? Maybe if someone who is good can get schematics or look at the routing could maybe know whats going on there.

I always thought that is a good option for desktop instead of using the provided NIC. Try white listing the NFTP network stack partition. Although, for peace of mind I'd just be removing it and getting a network card if a desktop however, sounds like your a laptop. Although, because you can remove the kernel and if you get internet. It'll be headless which is pretty cool if it works. I'm curious myself if this is the same across all Haswell implementations of just a few.

Might be the way the Mobo vendor implemented the Internet NIC. or the lack there of.