Hello,
I have just updated to Kernel 2.6.28. Now flashrom fails at the following line of code in cbtable.c:
low_1MB = mmap(0, 1024 * 1024, PROT_READ, MAP_SHARED, fd_mem, 0x00000000); if (low_1MB == MAP_FAILED) { perror("Can't mmap memory using " MEM_DEV); exit(-2); }
Do you know if there is a change from 2.6.27 to 2.6.28 which could cause this error?
Ole
Dear Ole,
Am Freitag, den 26.12.2008, 14:09 +0100 schrieb Niels Ole Salscheider:
I have just updated to Kernel 2.6.28. Now flashrom fails at the following line of code in cbtable.c:
low_1MB = mmap(0, 1024 * 1024, PROT_READ, MAP_SHARED, fd_mem, 0x00000000); if (low_1MB == MAP_FAILED) { perror("Can't mmap memory using " MEM_DEV); exit(-2); }
Do you know if there is a change from 2.6.27 to 2.6.28 which could cause this error?
Might [1] relate to your finding?
Thanks,
Paul
[1] http://www.coreboot.org/pipermail/coreboot/2008-December/043497.html
Hello,
Niels Ole Salscheider wrote:
Do you know if there is a change from 2.6.27 to 2.6.28 which could cause this error?
Please check that your kernel doesn't have CONFIG_STRICT_DEVMEM set, as it will stop flashrom from working.
Another poster reported that CONFIG_X86_PAT will also stop flashrom from working. Please try booting with the nopat kernel parameter to temporarily disable it.
//Peter
Am Freitag, den 26.12.2008, 15:08 +0100 schrieb Peter Stuge:
Niels Ole Salscheider wrote:
Do you know if there is a change from 2.6.27 to 2.6.28 which could cause this error?
Please check that your kernel doesn't have CONFIG_STRICT_DEVMEM set, as it will stop flashrom from working.
Another poster reported that CONFIG_X86_PAT will also stop flashrom from working. Please try booting with the nopat kernel parameter to temporarily disable it.
I added your answer to a new entry in the FAQ [1].
Thanks,
Paul
[1] http://www.coreboot.org/FAQ#Can.27t_mmap_memory_using_.2Fdev.2Fmem:_Invalid_...