Open kroeckx opened 6 years ago
sudo -- ./mei-amt-check
Error: Management Engine refused connection. This probably means you don't have AMT (result:'-1')
faiul: Inappropriate ioctl for device
diff --git a/mei-amt-check.c b/mei-amt-check.c
index d3f7f0f..ee37deb 100644
--- a/mei-amt-check.c
+++ b/mei-amt-check.c
@@ -140,7 +140,8 @@ static bool mei_init(struct mei *me, const uuid_le *guid,
memcpy(&data.in_client_uuid, &me->guid, sizeof(me->guid));
result = ioctl(me->fd, IOCTL_MEI_CONNECT_CLIENT, &data);
if (result) {
- mei_err(me, "Management Engine refused connection. This probably means you don't have AMT\n");
+ mei_err(me, "Management Engine refused connection. This probably means you don't have AMT (result:'%d')\n", result);
+ //Otherwise, it shall return −1 and set errno to indicate the error.
goto err;
}
cl = &data.out_client_properties;
@@ -159,6 +160,7 @@ static bool mei_init(struct mei *me, const uuid_le *guid,
return true;
err:
mei_deinit(me);
+ perror("faiul");
return false;
}
Module Size Used by
mei_me 36864 0
mei 114688 1 mei_me
00:16.0 Communication controller: Intel Corporation 200 Series PCH CSME HECI #1
Subsystem: ASUSTeK Computer Inc. 200 Series PCH CSME HECI
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 133
Region 0: Memory at df14d000 (64-bit, non-prefetchable) [size=4K]
Capabilities: [50] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold-)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
Address: 00000000fee20004 Data: 4023
Kernel driver in use: mei_me
I'm using this BIOS:
Version 1002 2018/07/06
8.76 MBytes
PRIME Z370-A BIOS 1002
seen here: https://www.asus.com/us/Motherboards/PRIME-Z370-A/HelpDesk_BIOS/
I don't remember anything with Intel Management Engine in BIOS, but I seem to remember something about AMT, so I'll try to look that up after reboot and update this.can't find anything about AMT either!
I faced the same issue.
Motherboard: Intel DH61HO Processor: Intel Core i3-2100
My BIOS shows iAMT, by the way, though I cannot do anything to it.
Yes, getting
Error: Management Engine refused connection. This probably means you don't have AMT
on 2 PCs:
ASUSTeK COMPUTER INC. H81M-K with Intel(R) Pentium(R) CPU G3240 @ 3.10GHz
and
MSI E3 KRAIT GAMING V5 (MS-7A43) with Intel(R) Xeon(R) CPU E3-1270 v5 @ 3.60GHz
The MSI Krait has no AMT or ME mentioned in bios, nor in manual (PDF).
When I run this, I get:
It would be helpful to put in the README.me that that is a possible output and what that means, and why it's different than the
Intel AMT: DISABLED
output.The mei driver is loaded, lspci outputs: 00:16.0 Communication controller: Intel Corporation Wildcat Point-LP MEI Controller #1 (rev 03)
dmesg doesn't say anything about mei.
I think I don't have an AMT.