[flashrom] flashrom: Can't mmap memory

Pádraig Brady P at draigBrady.com
Mon Oct 4 18:31:03 CEST 2010


On 30/09/10 17:46, Michael Karcher wrote:
> Am Donnerstag, den 30.09.2010, 17:36 +0100 schrieb Pádraig Brady:
>> Nothing seems pertinent in flashrom -V.
>> I've changed the hardware to one with a different BIOS chip. Same issue.
>> I went back to an older build of ours with glibc-2.11-2 and it works!
>> I downgraded from glibc-2.11.2-1 to glibc-2.11-2 on our current build and still broken.
>> So it's some recent config in our build that's triggering this.
> 
> Or a compiler bug/bugfix, if you updated the compiler between the old
> builds and the new ones.

After an interesting session in gdb I single stepped into
some assembly and noticed the culprit "sar" instruction,
which was in a preloaded closed source library that was
intercepting mmap().

cheers,
Pádraig.




More information about the flashrom mailing list