<div dir="ltr">Hello Shawn,<div><br></div><div>Happy New Year to you too. I wish you and all Coreboot community to be blessed by Health. :-)</div><div><br></div><div>Needless to say, I found your changes there, but just yesterday evening.</div><div><br></div><div>Here they are: <a href="https://github.com/zamaudio/intelmetool/commit/052350ae131b34b95f55a56c35e3b84e80fa860a">https://github.com/zamaudio/intelmetool/commit/052350ae131b34b95f55a56c35e3b84e80fa860a</a></div><div><br></div><div>I also fetched the latest coreboot few moments the same time, and checked: these changes are not incorporated in the latest Coreboot: 4.5-759-gab8f7d315e</div><div><br></div><div>So, I'll ask kindly Damien to add these changes into Coreboot (there are a bit more lines that you added there).</div><div><br></div><div>Damien (Zammit),</div><div><br></div><div>could you, please, update Coreboot intelmetool with the latest changes?</div><div><br></div><div>I'll look (later) into two latest net links you have provided to me. :-)</div><div><br></div><div>Thank you,</div><div>Zoran</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 5, 2017 at 7:22 AM, Shawn <span dir="ltr"><<a href="mailto:citypw@gmail.com" target="_blank">citypw@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Zoran,<br>
<br>
Happy new year;-)<br>
<br>
intelmetool merged the patch, plz check:<br>
<br>
<a href="https://github.com/zamaudio/intelmetool" rel="noreferrer" target="_blank">https://github.com/zamaudio/<wbr>intelmetool</a><br>
<br>
If you're going to only neutralize the ME, you can use external<br>
programmer && try me_cleaner:<br>
<br>
<a href="https://github.com/corna/me_cleaner/" rel="noreferrer" target="_blank">https://github.com/corna/me_<wbr>cleaner/</a><br>
<br>
We've only tested a few coreboot supported mainboards on neutralizing<br>
ME( I'm afarid your hardware isn't on the list-_-):<br>
<br>
<a href="https://github.com/hardenedlinux/hardenedlinux_profiles/tree/master/coreboot" rel="noreferrer" target="_blank">https://github.com/<wbr>hardenedlinux/hardenedlinux_<wbr>profiles/tree/master/coreboot</a><br>
<br>
On Wed, Jan 4, 2017 at 8:28 PM, Zoran Stojsavljevic<br>
<div class="HOEnZb"><div class="h5"><<a href="mailto:zoran.stojsavljevic@gmail.com">zoran.stojsavljevic@gmail.com</a><wbr>> wrote:<br>
> Hello Shawn,<br>
><br>
> I am late, I apologize... New Year, everything is slow, me either.<br>
><br>
> For me, the link you have provided does not work?! it is HTTP 404 (page not<br>
> found). Could you, please, repost the valid link? Or to attach the given<br>
> patch to this email?<br>
><br>
> With the normal Coreboot intelmetool (where I added one more printk() to<br>
> explore what are the device ids the tool looks into), I have the following:<br>
><br>
> [root@localhost intelmetool]# uname -a<br>
> Linux localhost.localdomain 4.8.15-300.fc25.x86_64 #1 SMP Thu Dec 15<br>
> 23:10:23 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux<br>
> [1]+  Done                    emacs intelmetool.h<br>
> [root@localhost intelmetool]# ./intelmetool -s<br>
> dev->vendor_id = 0x8086, dev->device_id = 0x9c22<br>
> dev->vendor_id = 0x8086, dev->device_id = 0x9c03<br>
> dev->vendor_id = 0x8086, dev->device_id = 0x9c43<br>
> Bad news, you have a `8 Series LPC Controller` so you have ME hardware on<br>
> board and you can't control or disable it, continuing...<br>
><br>
> Error mapping physical memory 0x0000004275159040 [0x4000] ERRNO=1<br>
> Segmentation fault (core dumped)<br>
><br>
> [root@localhost intelmetool]# lspci -nn | grep 9c22<br>
> 00:1f.3 SMBus [0c05]: Intel Corporation 8 Series SMBus Controller<br>
> [8086:9c22] (rev 04)<br>
> [root@localhost intelmetool]# lspci -nn | grep 9c03<br>
> 00:1f.2 SATA controller [0106]: Intel Corporation 8 Series SATA Controller 1<br>
> [AHCI mode] [8086:9c03] (rev 04)<br>
> [root@localhost intelmetool]# lspci -nn | grep 9c43<br>
> 00:1f.0 ISA bridge [0601]: Intel Corporation 8 Series LPC Controller<br>
> [8086:9c43] (rev 04)<br>
> [root@localhost intelmetool]#<br>
><br>
> Yet, in intelmetool.h it says explicitly:<br>
><br>
> // Definitely has ME and is very difficult to remove<br>
> [snap]<br>
> #define PCI_DEVICE_ID_INTEL_LYNXPOINT_<wbr>LP_FULL    0x9c41<br>
> #define PCI_DEVICE_ID_INTEL_LYNXPOINT_<wbr>LP_PREM  0x9c43<br>
> #define PCI_DEVICE_ID_INTEL_LYNXPOINT_<wbr>LP_BASE   0x9c45<br>
><br>
> Coreboot ME pros, any comment on my HW (i5-4300U HSW ULT + PCH LynxPoint)?<br>
> Appreciate any help!<br>
><br>
> Thank you,<br>
> Zoran<br>
><br>
> On Fri, Dec 30, 2016 at 11:25 AM, Shawn <<a href="mailto:citypw@gmail.com">citypw@gmail.com</a>> wrote:<br>
>><br>
>> This is a work around patch( I think?):<br>
>><br>
>> <a href="https://github.com/hardenedlinux/intelmetool/commit/ad778fc347b2bb0494abe2186632a072b8ad1a11" rel="noreferrer" target="_blank">https://github.com/<wbr>hardenedlinux/intelmetool/<wbr>commit/<wbr>ad778fc347b2bb0494abe2186632a0<wbr>72b8ad1a11</a><br>
>><br>
>> ./intelmetool -s<br>
>> RCBA at 0x00000000<br>
>> MEI not hidden on PCI, checking if visible<br>
>> MEI found: [8086:9d3a] Sunrise Point-LP CSME HECI<br>
>><br>
>> ME Status   : 0xa0000245<br>
>> ME Status 2 : 0x86110306<br>
>><br>
>> ME: FW Partition Table      : OK<br>
>> ME: Bringup Loader Failure  : NO<br>
>> ME: Firmware Init Complete  : YES<br>
>> ME: Manufacturing Mode      : NO<br>
>> ME: Boot Options Present    : NO<br>
>> ME: Update In Progress      : NO<br>
>> ME: Current Working State   : Normal<br>
>> ME: Current Operation State : M0 with UMA<br>
>> ME: Current Operation Mode  : Normal<br>
>> ME: Error Code              : No Error<br>
>> ME: Progress Phase          : Clean Moff->Mx wake<br>
>> ME: Power Management Event  : Pseudo-global reset<br>
>> ME: Progress Phase State    : Unknown 0x11<br>
>><br>
>> PCI READ [bc] : 0x000000bc<br>
>> ME: Extend Register not valid<br>
>><br>
>> ME seems okay on this board<br>
>> WRITE    [00] : CB: 0x80040007<br>
>> WRITE    [00] : CB: 0x000002ff<br>
>> READ     [08] : CB: 0x801c0007<br>
>> READ     [08] : CB: 0x000082ff<br>
>> READ     [08] : CB: 0x000b0000<br>
>> READ     [08] : CB: 0x0000049c<br>
>> READ     [08] : CB: 0x000b0000<br>
>> READ     [08] : CB: 0x0000049c<br>
>> READ     [08] : CB: 0x000b0000<br>
>> READ     [08] : CB: 0x0000049c<br>
>> ME: Firmware Version 11.0.1180.0 (code) 11.0.1180.0 (recovery)<br>
>> 11.0.1180.0 (fitc)<br>
>> WRITE    [00] : CB: 0x80080007<br>
>> WRITE    [00] : CB: 0x00000203<br>
>> WRITE    [00] : CB: 0x00000000<br>
>> READ     [08] : CB: 0x800d0007<br>
>> READ     [08] : CB: 0x00008203<br>
>> READ     [08] : CB: 0x00000000<br>
>> READ     [08] : CB: 0x111a4004<br>
>> READ     [08] : CB: 0x00000031<br>
>> ME Capability: Full Network manageability                 : OFF<br>
>> ME Capability: Regular Network manageability              : OFF<br>
>> ME Capability: Manageability                              : OFF<br>
>> ME Capability: Small business technology                  : OFF<br>
>> ME Capability: Level III manageability                    : OFF<br>
>> ME Capability: IntelR Anti-Theft (AT)                     : OFF<br>
>> ME Capability: IntelR Capability Licensing Service (CLS)  : ON<br>
>> ME Capability: IntelR Power Sharing Technology (MPC)      : OFF<br>
>> ME Capability: ICC Over Clocking                          : ON<br>
>> ME Capability: Protected Audio Video Path (PAVP)          : ON<br>
>> ME Capability: IPV6                                       : OFF<br>
>> ME Capability: KVM Remote Control (KVM)                   : OFF<br>
>> ME Capability: Outbreak Containment Heuristic (OCH)       : OFF<br>
>> ME Capability: Virtual LAN (VLAN)                         : ON<br>
>> ME Capability: TLS                                        : OFF<br>
>> ME Capability: Wireless LAN (WLAN)                        : OFF<br>
>> exiting<br>
>><br>
>> On Fri, Dec 30, 2016 at 11:04 AM, Shawn <<a href="mailto:citypw@gmail.com">citypw@gmail.com</a>> wrote:<br>
>> > Hi Zoran,<br>
>> ><br>
>> > Thanks for the info. I added my Device ID into the intelmetool.h:<br>
>> ><br>
>> > diff --git a/intelmetool.h b/intelmetool.h<br>
>> > index d79d6b0..16ca43a 100644<br>
>> > --- a/intelmetool.h<br>
>> > +++ b/intelmetool.h<br>
>> > @@ -225,6 +225,7 @@<br>
>> >  #define PCI_DEVICE_ID_INTEL_ICH9DO             0x2914<br>
>> >  #define PCI_DEVICE_ID_INTEL_ICH9R              0x2916<br>
>> >  #define PCI_DEVICE_ID_INTEL_ICH9               0x2918<br>
>> > +#define PCI_DEVICE_ID_INTEL_SUNRISE            0x9d3a<br>
>> ><br>
>> >  #define PCI_DEV_CAN_DISABLE_ME_IF_<wbr>PRESENT(x) ( \<br>
>> >         ( (x) == PCI_DEVICE_ID_INTEL_ICH8       ) || \<br>
>> > @@ -232,6 +233,7 @@<br>
>> >         ( (x) == PCI_DEVICE_ID_INTEL_ICH9DH     ) || \<br>
>> >         ( (x) == PCI_DEVICE_ID_INTEL_ICH9DO     ) || \<br>
>> >         ( (x) == PCI_DEVICE_ID_INTEL_ICH9R      ) || \<br>
>> > +       ( (x) == PCI_DEVICE_ID_INTEL_SUNRISE    ) || \<br>
>> >         ( (x) == PCI_DEVICE_ID_INTEL_ICH9       ))<br>
>> ><br>
>> >  // Not sure at all<br>
>> ><br>
>> > This one should be the ME?<br>
>> > +-16.0  Intel Corporation Sunrise Point-LP CSME HECI [8086:9d3a]<br>
>> ><br>
>> > #./intelmetool -s<br>
>> > Not sure if ME hardware is present because you have a `Sunrise<br>
>> > Point-LP CSME HECI`, but it is possible to disable it if you do,<br>
>> > continuing...<br>
>> > RCBA at 0x00000000<br>
>> > MEI not hidden on PCI, checking if visible<br>
>> > MEI device not found, huh?<br>
>> > exiting<br>
>> ><br>
>> ><br>
>> ><br>
>> > On Thu, Dec 29, 2016 at 12:50 AM, Zoran Stojsavljevic<br>
>> > <<a href="mailto:zoran.stojsavljevic@gmail.com">zoran.stojsavljevic@gmail.com</a><wbr>> wrote:<br>
>> >>>> I'm not sure if intelmetool support Skylake as well.<br>
>> >><br>
>> >> Investigated more. The coreboot intelmetool is the latest one, as I<br>
>> >> understood (comparing one from github and coreboot).<br>
>> >><br>
>> >> And Sunrise Point is NOT supported (look into latest coreboot's<br>
>> >> coreboot/util/intelmetool/<wbr>intelmetool.h). You can try to add it (as<br>
>> >> Device<br>
>> >> ID), manually, peek around the C code, and see if this can help you.<br>
>> >><br>
>> >> Zoran<br>
>> >><br>
>> >> On Wed, Dec 28, 2016 at 5:26 PM, Zoran Stojsavljevic<br>
>> >> <<a href="mailto:zoran.stojsavljevic@gmail.com">zoran.stojsavljevic@gmail.com</a><wbr>> wrote:<br>
>> >>><br>
>> >>> Hello Shawn,<br>
>> >>><br>
>> >>> Please, follow my CLI transcript from my Future Fedora 26 VM over<br>
>> >>> WIN10<br>
>> >>> (now rawhide) with Fedora 4.8.15 kernel implanted (kernel 4.10.0-rc0<br>
>> >>> gives<br>
>> >>> me lot of  griefs, I do not trust it, so I eliminated it for now):<br>
>> >>><br>
>> >>> [zoran@localhost ~]$ cd projects/<br>
>> >>> [zoran@localhost projects]$ mkdir intelmetool<br>
>> >>> [zoran@localhost projects]$ cd intelmetool/<br>
>> >>> [zoran@localhost intelmetool]$ pwd<br>
>> >>> /home/zoran/projects/<wbr>intelmetool<br>
>> >>> [zoran@localhost intelmetool]$ uname -r<br>
>> >>> 4.8.15-300.fc25.x86_64<br>
>> >>> [zoran@localhost intelmetool]$ git clone<br>
>> >>> <a href="https://github.com/zamaudio/intelmetool.git" rel="noreferrer" target="_blank">https://github.com/zamaudio/<wbr>intelmetool.git</a><br>
>> >>> Cloning into 'intelmetool'...<br>
>> >>> remote: Counting objects: 214, done.<br>
>> >>> remote: Total 214 (delta 0), reused 0 (delta 0), pack-reused 214<br>
>> >>> Receiving objects: 100% (214/214), 72.42 KiB | 0 bytes/s, done.<br>
>> >>> Resolving deltas: 100% (125/125), done.<br>
>> >>> [zoran@localhost intelmetool]$ ls -al<br>
>> >>> total 12<br>
>> >>> drwxrwxr-x.  3 zoran zoran 4096 Dec 28 17:06 .<br>
>> >>> drwxrwxr-x. 10 zoran zoran 4096 Dec 28 17:05 ..<br>
>> >>> drwxrwxr-x.  3 zoran zoran 4096 Dec 28 17:06 intelmetool<br>
>> >>> [zoran@localhost intelmetool]$ cd intelmetool/<br>
>> >>> [zoran@localhost intelmetool]$ ls -al<br>
>> >>> total 100<br>
>> >>> drwxrwxr-x. 3 zoran zoran  4096 Dec 28 17:06 .<br>
>> >>> drwxrwxr-x. 3 zoran zoran  4096 Dec 28 17:06 ..<br>
>> >>> drwxrwxr-x. 8 zoran zoran  4096 Dec 28 17:06 .git<br>
>> >>> -rw-rw-r--. 1 zoran zoran    16 Dec 28 17:06 .gitignore<br>
>> >>> -rw-rw-r--. 1 zoran zoran  8956 Dec 28 17:06 intelmetool.c<br>
>> >>> -rw-rw-r--. 1 zoran zoran  9783 Dec 28 17:06 intelmetool.h<br>
>> >>> -rw-rw-r--. 1 zoran zoran   532 Dec 28 17:06 LICENSE<br>
>> >>> -rw-rw-r--. 1 zoran zoran   351 Dec 28 17:06 Makefile<br>
>> >>> -rw-rw-r--. 1 zoran zoran 16810 Dec 28 17:06 me.c<br>
>> >>> -rw-rw-r--. 1 zoran zoran 10622 Dec 28 17:06 me.h<br>
>> >>> -rw-rw-r--. 1 zoran zoran  7246 Dec 28 17:06 me_status.c<br>
>> >>> -rw-rw-r--. 1 zoran zoran  1109 Dec 28 17:06 mmap.c<br>
>> >>> -rw-rw-r--. 1 zoran zoran   224 Dec 28 17:06 mmap.h<br>
>> >>> -rw-rw-r--. 1 zoran zoran    90 Dec 28 17:06 README.md<br>
>> >>> [zoran@localhost intelmetool]$ su -m<br>
>> >>> Password:<br>
>> >>> [root@localhost intelmetool]# make<br>
>> >>> gcc -Wall -O0 -g -I. -c me_status.c  -o me_status.o<br>
>> >>> gcc -Wall -O0 -g -I. -c me.c  -o me.o<br>
>> >>> me.c: In function ‘mei_dump’:<br>
>> >>> me.c:63:18: warning: variable ‘csr’ set but not used<br>
>> >>> [-Wunused-but-set-variable]<br>
>> >>>   struct mei_csr *csr;<br>
>> >>>                   ^~~<br>
>> >>> gcc -Wall -O0 -g -I. -c mmap.c  -o mmap.o<br>
>> >>> mmap.c: In function ‘map_physical_exact’:<br>
>> >>> mmap.c:11:26: warning: passing argument 1 of ‘mmap’ makes pointer from<br>
>> >>> integer without a cast [-Wint-conversion]<br>
>> >>>          virt_addr = mmap(mapto, len, PROT_WRITE | PROT_READ,<br>
>> >>> MAP_SHARED|MAP_FIXED,<br>
>> >>>                           ^~~~~<br>
>> >>> In file included from mmap.h:4:0,<br>
>> >>>                  from mmap.c:1:<br>
>> >>> /usr/include/sys/mman.h:57:14: note: expected ‘void *’ but argument is<br>
>> >>> of<br>
>> >>> type ‘uint64_t {aka long unsigned int}’<br>
>> >>>  extern void *mmap (void *__addr, size_t __len, int __prot,<br>
>> >>>               ^~~~<br>
>> >>> gcc -Wall -O0 -g -I. -o intelmetool intelmetool.o me_status.o me.o<br>
>> >>> mmap.o<br>
>> >>> -lpci<br>
>> >>> [root@localhost intelmetool]# date<br>
>> >>> Wed Dec 28 17:07:26 CET 2016<br>
>> >>> [root@localhost intelmetool]# ls -al<br>
>> >>> total 228<br>
>> >>> drwxrwxr-x. 3 zoran zoran  4096 Dec 28 17:07 .<br>
>> >>> drwxrwxr-x. 3 zoran zoran  4096 Dec 28 17:06 ..<br>
>> >>> drwxrwxr-x. 8 zoran zoran  4096 Dec 28 17:06 .git<br>
>> >>> -rw-rw-r--. 1 zoran zoran    16 Dec 28 17:06 .gitignore<br>
>> >>> -rwxr-xr-x. 1 root  root  47008 Dec 28 17:07 intelmetool<br>
>> >>> -rw-rw-r--. 1 zoran zoran  8956 Dec 28 17:06 intelmetool.c<br>
>> >>> -rw-rw-r--. 1 zoran zoran  9783 Dec 28 17:06 intelmetool.h<br>
>> >>> -rw-rw-r--. 1 zoran zoran 22144 Dec 28 17:06 intelmetool.o<br>
>> >>> -rw-rw-r--. 1 zoran zoran   532 Dec 28 17:06 LICENSE<br>
>> >>> -rw-rw-r--. 1 zoran zoran   351 Dec 28 17:06 Makefile<br>
>> >>> -rw-rw-r--. 1 zoran zoran 16810 Dec 28 17:06 me.c<br>
>> >>> -rw-rw-r--. 1 zoran zoran 10622 Dec 28 17:06 me.h<br>
>> >>> -rw-r--r--. 1 root  root  28984 Dec 28 17:07 me.o<br>
>> >>> -rw-rw-r--. 1 zoran zoran  7246 Dec 28 17:06 me_status.c<br>
>> >>> -rw-r--r--. 1 root  root  15704 Dec 28 17:07 me_status.o<br>
>> >>> -rw-rw-r--. 1 zoran zoran  1109 Dec 28 17:06 mmap.c<br>
>> >>> -rw-rw-r--. 1 zoran zoran   224 Dec 28 17:06 mmap.h<br>
>> >>> -rw-r--r--. 1 root  root   7648 Dec 28 17:07 mmap.o<br>
>> >>> -rw-rw-r--. 1 zoran zoran    90 Dec 28 17:06 README.md<br>
>> >>> [root@localhost intelmetool]# ./intelmetool<br>
>> >>> ME is not present on your board because we found a `82371AB/EB/MB<br>
>> >>> PIIX4<br>
>> >>> ISA`, you are safe, exiting<br>
>> >>> [root@localhost intelmetool]#<br>
>> >>> _______<br>
>> >>><br>
>> >>> Do NOT forget: I run Fedora rawhide on VMWorkstation 12.5.2 Type 2 HYP<br>
>> >>> on<br>
>> >>> the top of WIN10 64 Pro!<br>
>> >>><br>
>> >>> Please, do the same on Mint18 distro on raw HW, and see if this will<br>
>> >>> give<br>
>> >>> you some different results then what you have presently?<br>
>> >>><br>
>> >>> Please, let us know!<br>
>> >>><br>
>> >>> Zoran<br>
>> >>><br>
>> >>> On Wed, Dec 28, 2016 at 11:06 AM, Shawn <<a href="mailto:citypw@gmail.com">citypw@gmail.com</a>> wrote:<br>
>> >>>><br>
>> >>>> Hi Zoran,<br>
>> >>>><br>
>> >>>> I created hwdb.bin via:<br>
>> >>>><br>
>> >>>> # udevadm hwdb --update<br>
>> >>>><br>
>> >>>> The result is still "segfault". dmesg:<br>
>> >>>><br>
>> >>>> [  972.044664] intelmetool[5055]: segfault at 16 ip 000000000040169e<br>
>> >>>> sp 000072ed96a44680 error 4 in intelmetool[400000+6000]<br>
>> >>>> [  972.044674] grsec: Segmentation fault occurred at 0000000000000016<br>
>> >>>> in /usr/local/bin/intelmetool[<wbr>intelmetool:5055] uid/euid:0/0<br>
>> >>>> gid/egid:0/0, parent /bin/bash[bash:4332] uid/euid:0/0 gid/egid:0/0<br>
>> >>>> [  972.044685] grsec: denied resource overstep by requesting 4096 for<br>
>> >>>> RLIMIT_CORE against limit 0 for<br>
>> >>>> /usr/local/bin/intelmetool[<wbr>intelmetool:5055] uid/euid:0/0<br>
>> >>>> gid/egid:0/0, parent /bin/bash[bash:4332] uid/euid:0/0 gid/egid:0/0<br>
>> >>>><br>
>> >>>><br>
>> >>>> On Mon, Dec 26, 2016 at 9:49 PM, Zoran Stojsavljevic<br>
>> >>>> <<a href="mailto:zoran.stojsavljevic@gmail.com">zoran.stojsavljevic@gmail.com</a><wbr>> wrote:<br>
>> >>>> > Not sure if your strace log has anything to do with intelmetool.<br>
>> >>>> ><br>
>> >>>> > I did on your strace log the following (and in RED is possible<br>
>> >>>> > cause of<br>
>> >>>> > your<br>
>> >>>> > problems):<br>
>> >>>> ><br>
>> >>>> > [zoran@localhost projects]$ cat crash.log | grep ENOENT<br>
>> >>>> > access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file<br>
>> >>>> > or<br>
>> >>>> > directory)<br>
>> >>>> > access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file<br>
>> >>>> > or<br>
>> >>>> > directory)<br>
>> >>>> > access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file<br>
>> >>>> > or<br>
>> >>>> > directory)<br>
>> >>>> > access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file<br>
>> >>>> > or<br>
>> >>>> > directory)<br>
>> >>>> > access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file<br>
>> >>>> > or<br>
>> >>>> > directory)<br>
>> >>>> > access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file<br>
>> >>>> > or<br>
>> >>>> > directory)<br>
>> >>>> > access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file<br>
>> >>>> > or<br>
>> >>>> > directory)<br>
>> >>>> > access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file<br>
>> >>>> > or<br>
>> >>>> > directory)<br>
>> >>>> > access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file<br>
>> >>>> > or<br>
>> >>>> > directory)<br>
>> >>>> > open("/usr/share/misc/pci.ids.<wbr>gz", O_RDONLY) = -1 ENOENT (No such<br>
>> >>>> > file<br>
>> >>>> > or<br>
>> >>>> > directory)<br>
>> >>>> > connect(4, {sa_family=AF_LOCAL, sun_path="/var/run/nscd/<wbr>socket"},<br>
>> >>>> > 110)<br>
>> >>>> > = -1<br>
>> >>>> > ENOENT (No such file or directory)<br>
>> >>>> > connect(4, {sa_family=AF_LOCAL, sun_path="/var/run/nscd/<wbr>socket"},<br>
>> >>>> > 110)<br>
>> >>>> > = -1<br>
>> >>>> > ENOENT (No such file or directory)<br>
>> >>>> > access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file<br>
>> >>>> > or<br>
>> >>>> > directory)<br>
>> >>>> > access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file<br>
>> >>>> > or<br>
>> >>>> > directory)<br>
>> >>>> > access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file<br>
>> >>>> > or<br>
>> >>>> > directory)<br>
>> >>>> > access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file<br>
>> >>>> > or<br>
>> >>>> > directory)<br>
>> >>>> > open("/root/.pciids-cache", O_RDONLY)   = -1 ENOENT (No such file<br>
>> >>>> > or<br>
>> >>>> > directory)<br>
>> >>>> > open("/etc/systemd/hwdb/hwdb.<wbr>bin", O_RDONLY|O_CLOEXEC) = -1 ENOENT<br>
>> >>>> > (No<br>
>> >>>> > such<br>
>> >>>> > file or directory)<br>
>> >>>> > open("/etc/udev/hwdb.bin", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such<br>
>> >>>> > file or<br>
>> >>>> > directory)<br>
>> >>>> > open("/usr/lib/systemd/hwdb/<wbr>hwdb.bin", O_RDONLY|O_CLOEXEC) = -1<br>
>> >>>> > ENOENT<br>
>> >>>> > (No<br>
>> >>>> > such file or directory)<br>
>> >>>> > open("/lib/systemd/hwdb/hwdb.<wbr>bin", O_RDONLY|O_CLOEXEC) = -1 ENOENT<br>
>> >>>> > (No<br>
>> >>>> > such<br>
>> >>>> > file or directory)<br>
>> >>>> > [zoran@localhost projects]$<br>
>> >>>> ><br>
>> >>>> > I guess, you have one very important missing file in your Linux<br>
>> >>>> > configuration, this one: /etc/systemd/hwdb/hwdb.bin...<br>
>> >>>> > /etc/udev/hwdb.bin ?!<br>
>> >>>> ><br>
>> >>>> > Here is good read:<br>
>> >>>> > <a href="https://www.freedesktop.org/software/systemd/man/hwdb.html" rel="noreferrer" target="_blank">https://www.freedesktop.org/<wbr>software/systemd/man/hwdb.html</a><br>
>> >>>> ><br>
>> >>>> ><br>
>> >>>> > <a href="http://www.dsm.fordham.edu/cgi-bin/man-cgi.pl?topic=systemd-hwdb&ampsect=8" rel="noreferrer" target="_blank">http://www.dsm.fordham.edu/<wbr>cgi-bin/man-cgi.pl?topic=<wbr>systemd-hwdb&ampsect=8</a><br>
>> >>>> ><br>
>> >>>> > Have no idea who is creating this file, but you can check your<br>
>> >>>> > Linux<br>
>> >>>> > distro<br>
>> >>>> > / tree with the following paths to find hwdb.bin:<br>
>> >>>> ><br>
>> >>>> > /etc/systemd/hwdb/hwdb.bin<br>
>> >>>> > /etc/udev/hwdb.bin                    <<======= In my Fedora<br>
>> >>>> > rawhide VM<br>
>> >>>> > (future Fedora 26) I have here hwdb.bin =======<br>
>> >>>> > /usr/lib/systemd/hwdb/hwdb.bin<br>
>> >>>> > /lib/systemd/hwdb/hwdb.bin<br>
>> >>>> ><br>
>> >>>> > If you don't have in any, please, create one with the following<br>
>> >>>> > link:<br>
>> >>>> ><br>
>> >>>> ><br>
>> >>>> > <a href="http://www.dsm.fordham.edu/cgi-bin/man-cgi.pl?topic=systemd-hwdb&ampsect=8" rel="noreferrer" target="_blank">http://www.dsm.fordham.edu/<wbr>cgi-bin/man-cgi.pl?topic=<wbr>systemd-hwdb&ampsect=8</a><br>
>> >>>> ><br>
>> >>>> > Please, let us know!<br>
>> >>>> ><br>
>> >>>> > Zoran<br>
>> >>>> ><br>
>> >>>> > On Mon, Dec 26, 2016 at 3:42 PM, Shawn <<a href="mailto:citypw@gmail.com">citypw@gmail.com</a>> wrote:<br>
>> >>>> >><br>
>> >>>> >> Hi,<br>
>> >>>> >><br>
>> >>>> >> intelmetool occurs "segfault" on my laptop running Mint 18 with<br>
>> >>>> >> PaX/Grsecurity 4.7.10. The PCI info:<br>
>> >>>> >><br>
>> >>>> >> -[0000:00]-+-00.0  Intel Corporation Sky Lake Host Bridge/DRAM<br>
>> >>>> >> Registers [8086:1904]<br>
>> >>>> >>            +-02.0  Intel Corporation Sky Lake Integrated Graphics<br>
>> >>>> >> [8086:1916]<br>
>> >>>> >>            +-04.0  Intel Corporation Skylake Processor Thermal<br>
>> >>>> >> Subsystem [8086:1903]<br>
>> >>>> >>            +-14.0  Intel Corporation Sunrise Point-LP USB 3.0 xHCI<br>
>> >>>> >> Controller [8086:9d2f]<br>
>> >>>> >>            +-14.2  Intel Corporation Sunrise Point-LP Thermal<br>
>> >>>> >> subsystem [8086:9d31]<br>
>> >>>> >>            +-15.0  Intel Corporation Sunrise Point-LP Serial IO<br>
>> >>>> >> I2C<br>
>> >>>> >> Controller [8086:9d60]<br>
>> >>>> >>            +-15.1  Intel Corporation Sunrise Point-LP Serial IO<br>
>> >>>> >> I2C<br>
>> >>>> >> Controller [8086:9d61]<br>
>> >>>> >>            +-16.0  Intel Corporation Sunrise Point-LP CSME HECI<br>
>> >>>> >> [8086:9d3a]<br>
>> >>>> >>            +-1c.0-[01]----00.0  NVIDIA Corporation GM107M [GeForce<br>
>> >>>> >> GTX<br>
>> >>>> >> 960M] [10de:139b]<br>
>> >>>> >>            +-1c.4-[02]----00.0  Samsung Electronics Co Ltd NVMe<br>
>> >>>> >> SSD<br>
>> >>>> >> Controller [144d:a802]<br>
>> >>>> >>            +-1c.6-[03]----00.0  Qualcomm Atheros Killer E2400<br>
>> >>>> >> Gigabit<br>
>> >>>> >> Ethernet Controller [1969:e0a1]<br>
>> >>>> >>            +-1c.7-[04]----00.0  Qualcomm Atheros QCA6174 802.11ac<br>
>> >>>> >> Wireless Network Adapter [168c:003e]<br>
>> >>>> >>            +-1d.0-[05]----00.0  Samsung Electronics Co Ltd NVMe<br>
>> >>>> >> SSD<br>
>> >>>> >> Controller [144d:a802]<br>
>> >>>> >>            +-1d.2-[06-3e]--<br>
>> >>>> >>            +-1f.0  Intel Corporation Sunrise Point-LP LPC<br>
>> >>>> >> Controller<br>
>> >>>> >> [8086:9d48]<br>
>> >>>> >>            +-1f.2  Intel Corporation Sunrise Point-LP PMC<br>
>> >>>> >> [8086:9d21]<br>
>> >>>> >>            +-1f.3  Intel Corporation Sunrise Point-LP HD Audio<br>
>> >>>> >> [8086:9d70]<br>
>> >>>> >>            \-1f.4  Intel Corporation Sunrise Point-LP SMBus<br>
>> >>>> >> [8086:9d23]<br>
>> >>>> >><br>
>> >>>> >> The crash log was attached! I'm not sure if intelmetool support<br>
>> >>>> >> Skylake as well. One tiny feature of PaX/Grsecurity prevent the<br>
>> >>>> >> ioperm<br>
>> >>>> >> for killing the potential threats in case which<br>
>> >>>> >> the adversary re-flash the SPI ROM once they get the root priv. It<br>
>> >>>> >> does affect flashrom but intelmetool. I also ran intelmetool on<br>
>> >>>> >> the<br>
>> >>>> >> distro( Mint 18) kernel and got the same result.<br>
>> >>>> >><br>
>> >>>> >><br>
>> >>>> >> --<br>
>> >>>> >> GNU powered it...<br>
>> >>>> >> GPL protect it...<br>
>> >>>> >> God blessing it...<br>
>> >>>> >><br>
>> >>>> >> regards<br>
>> >>>> >> Shawn<br>
>> >>>> >><br>
>> >>>> >> --<br>
>> >>>> >> coreboot mailing list: <a href="mailto:coreboot@coreboot.org">coreboot@coreboot.org</a><br>
>> >>>> >> <a href="https://www.coreboot.org/mailman/listinfo/coreboot" rel="noreferrer" target="_blank">https://www.coreboot.org/<wbr>mailman/listinfo/coreboot</a><br>
>> >>>> ><br>
>> >>>> ><br>
>> >>>><br>
>> >>>><br>
>> >>>><br>
>> >>>> --<br>
>> >>>> GNU powered it...<br>
>> >>>> GPL protect it...<br>
>> >>>> God blessing it...<br>
>> >>>><br>
>> >>>> regards<br>
>> >>>> Shawn<br>
>> >>><br>
>> >>><br>
>> >><br>
>> ><br>
>> ><br>
>> ><br>
>> > --<br>
>> > GNU powered it...<br>
>> > GPL protect it...<br>
>> > God blessing it...<br>
>> ><br>
>> > regards<br>
>> > Shawn<br>
>><br>
>><br>
>><br>
>> --<br>
>> GNU powered it...<br>
>> GPL protect it...<br>
>> God blessing it...<br>
>><br>
>> regards<br>
>> Shawn<br>
><br>
><br>
<br>
<br>
<br>
--<br>
GNU powered it...<br>
GPL protect it...<br>
God blessing it...<br>
<br>
regards<br>
Shawn<br>
</div></div></blockquote></div><br></div>