Hi, It's not a GRSEC problem. We have the same issue with the non-grsec kernel (4.7.0-0.bpo.1-amd64 )
I check on HP forum and find this topic https://community.hpe.com/t5/Insight-Control-for-Linux/hp-health-hpasmlited-Debian-segfault/td-p/6921253 I try this workaround and it's OK. Best regards, -----Original Message----- From: Yves-Alexis Perez [mailto:cor...@debian.org] Sent: mardi 13 décembre 2016 21:30 To: Network Services; 848...@bugs.debian.org Subject: Re: Bug#848022: linux-image-4.7.0-1-grsec-amd64: fails to use hp-health. hpasmlited segfault control: severity -1 important control; tag -1 moreinfo On Tue, 2016-12-13 at 11:18 +0100, Network Services wrote: > * What led up to the situation? : service hp-health won't start anymore. Did it ever start on a grsec kernel? > * What exactly did you do (or not do) that was effective (or > ineffective)? : package work on 3.16.0-4-amd64 kernel but crash on this > one. Error in kern.log > > 2016-12-13T11:02:28+01:00 taal kernel: : [ 543.675893] x86/PAT: > hpasmlited:32223 map pfn expected mapping type uncached-minus for [mem > 0xdf7fe000-0xdf7fefff], got write-back > 2016-12-13T11:02:28+01:00 taal kernel: : [ 543.676037] hpasmlited[32223]: > segfault at 0 ip 0000000000422afb sp 000003fc131c6b50 error 4 in > hpasmlited[200000+238000] I'm not familiar with hpasmlited and how it works so you might want to explain that. Also it's apparently not in Debian so I won't be able to provide any help. In any case, my guess would be that it tries to map some page RWX and PaX won't allow that. It doesn't expect mmap or mprotect to fail and thus crashes like that (it's a bug in hpasmlited in any case). You might want to look at the sources if you have them, and you might want to run it under strace just to check if that's a mmap/mprotect call failing. Regards, -- Yves-Alexis