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

Could not map ME setup memory with iomem=relaxed set #309

Open Xwang1976 opened 4 years ago

Xwang1976 commented 4 years ago

Running intelmetool it keeps saying that cannot read the table even if iomem=relaxed is set.

`sudo ./intelmetool -s

Bad news, you have a HM170 Chipset LPC/eSPI Controller so you have ME hardware on board and you can't control or disable it, continuing...

MEI found: [8086:a13a] 100 Series/C230 Series Chipset Family MEI Controller #1

ME Status : 0x90000245 ME Status 2 : 0x86100106

ME: FW Partition Table : OK ME: Bringup Loader Failure : NO ME: Firmware Init Complete : YES ME: Manufacturing Mode : NO ME: Boot Options Present : NO ME: Update In Progress : NO ME: Current Working State : Normal ME: Current Operation State : M0 with UMA ME: Current Operation Mode : Normal ME: Error Code : No Error ME: Progress Phase : Clean Moff->Mx wake ME: Power Management Event : Pseudo-global reset ME: Progress Phase State : Unknown 0x10

ME: Extend Register not valid

Error mapping physical memory 0x0000003745730560 [0x2000] ERRNO=11 Resource temporarily unavailable Could not map ME setup memory. Do you have kernel cmdline argument 'iomem=relaxed' set ? `

cat /proc/cmdline BOOT_IMAGE=/vmlinuz-linux root=UUID=74296c4e-84df-4eda-87a1-09be9d8e114b rw iomem=relaxed quiet loglevel=3 rd.systemd.show_status=auto rd.udev.log_priority=3 splash mitigations=auto,nosmt pci=noaer nvidia-drm.modeset=1 iommu=soft

Xwang1976 commented 4 years ago

Maybe I've found a solotution. I've run sudo rmmod mei_hdcp sudo rmmod mei_me sudo rmmod mei

to unload all the mei kernel module which where loaded and then executing

sudo intelmetool -m

I've got:

Bad news, you have a HM170 Chipset LPC/eSPI Controller so you have ME hardware on board and you can't control or disable it, continuing...

MEI found: [8086:a13a] 100 Series/C230 Series Chipset Family MEI Controller #1

ME Status : 0x90000245 ME Status 2 : 0x8b100106

ME: FW Partition Table : OK ME: Bringup Loader Failure : NO ME: Firmware Init Complete : YES ME: Manufacturing Mode : NO ME: Boot Options Present : NO ME: Update In Progress : NO ME: Current Working State : Normal ME: Current Operation State : M0 with UMA ME: Current Operation Mode : Normal ME: Error Code : No Error ME: Progress Phase : No Error ME: Power Management Event : Power cycle reset through Moff ME: Progress Phase State : Unknown 0x10

ME: Extend Register not valid

ME: failed to become ready ME: failed to become ready ME: GET FW VERSION message failed

What does it means?