[coreboot] Intel: After suspend/resume `cbmem -l` fails with `Program cbmem tried to access /dev/mem between f0000->1f0000.`

Michał Masłowski mtjm at mtjm.eu
Tue Jan 6 12:30:17 CET 2015


> Does somebody have a coreboot log from serial or USB for cold boot and
> resume, please? I am unable to get one right now, because the docking
> station is not here.

I have logs from EHCI debug: normal boot and resume from suspend to RAM.

>> Using dd, grep and hexdump shows that the coreboot table entry at memory
>> address 0x500 gets zeroed.  /proc/iomem considers that address
>> "reserved".

Guessing from searching the code: smm_setup_structures from
src/southbridge/intel/i82801gx/smi.c overwrote it, called by acpi_resume
in src/arch/x86/boot/acpi.c.  I haven't checked how the (mentioned in
the comment) GNVS relocation or coreboot table writing are done, nor how
it's different when resuming.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20150106/1dc13bb6/attachment-0001.asc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boot.log.gz
Type: application/gzip
Size: 11657 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20150106/1dc13bb6/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: suspend.log.gz
Type: application/gzip
Size: 9961 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20150106/1dc13bb6/attachment-0003.bin>


More information about the coreboot mailing list