corna / me_cleaner

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

Only one RAM module detected on x230 with Coreboot #198

Closed divico closed 6 years ago

divico commented 6 years ago

I applied me_cleaner with Coreboot using the CONFIG_USE_ME_CLEANER option on a Thinkpad x230 (as described in the wiki).

Everything works well so far except that only one slot of my two 8G RAM is used. Memtest detects the two slots (2x 8G), but reports only 8G as total memory. So does Archlinux. The same RAM modules were correctly detected before flashing Coreboot with the stripped ME.

The same issue was mentioned before in this comment

You'll find bellow the output for intelmetool -s and lspci -v , meminfo as well as memtest. Please let me know if more is needed. Thank you !

sudo ./intelmetool -s
Bad news, you have a `QM77 Express Chipset LPC Controller` so you have ME hardware on board and you can't control or disable it, continuing...

MEI found: [8086:1e3a] 7 Series/C216 Chipset Family MEI Controller #1

ME Status   : 0x1e003052
ME Status 2 : 0x1632017a

ME: FW Partition Table      : OK
ME: Bringup Loader Failure  : NO
ME: Firmware Init Complete  : NO
ME: Manufacturing Mode      : YES
ME: Boot Options Present    : NO
ME: Update In Progress      : NO
ME: Current Working State   : Recovery
ME: Current Operation State : M0 with UMA
ME: Current Operation Mode  : Normal
ME: Error Code              : Image Failure
ME: Progress Phase          : BUP Phase
ME: Power Management Event  : Pseudo-global reset
ME: Progress Phase State    : M0 kernel load

ME: Extend SHA-256: f0b1b87824433f0a421ddc0cf152d1cd3d2b5e3ce7a373b3333a70ce98dd821d

ME: has a broken implementation on your board withthis firmware

ME: failed to become ready
ME: failed to become ready
ME: GET FW VERSION message failed
ME: failed to become ready
ME: failed to become ready
ME: GET FWCAPS message failed
sudo lspci -v

00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
        Subsystem: Lenovo 3rd Gen Core processor DRAM Controller
        Flags: bus master, fast devsel, latency 0
        Capabilities: [e0] Vendor Specific Information: Len=0c <?>
        Kernel driver in use: ivb_uncore

00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04)
        Subsystem: Lenovo 7 Series/C216 Chipset Family MEI Controller
        Flags: bus master, fast devsel, latency 0
        Memory at e1642000 (64-bit, non-prefetchable) [size=16]
        Capabilities: [50] Power Management version 3
        Capabilities: [8c] MSI: Enable- Count=1/1 Maskable- 64bit+
        Kernel modules: mei_me
cat /proc/meminfo
MemTotal:        8094680 kB
MemFree:         4993772 kB
MemAvailable:    6032044 kB

img_20180510_171232

divico commented 6 years ago

This issue is solved, it was a hardware problem with slot 1