Hello,
We are using intel atom C3558 denverton_NS platform. This platform is booting with coreboot4.16. Payload of coreboot is Seabios. Openbsd running in our board. Sometimes occur unexpected exception. You can find all coreboot and exception log above and you can find coreboot .config file. What is cause that exception. How can I solve it.
Mahmut ÖLGER Embedded Software Engineer
Dear Mahmut,
[Please only send plain text messages to mailing lists.]
Am 21.12.22 um 13:37 schrieb Mahmut Olger via coreboot:
We are using intel atom C3558 denverton_NS platform. This platform is booting with coreboot4.16.
Welcome.
Payload of coreboot is Seabios. Openbsd running in our board. Sometimes occur unexpected exception. You can find all coreboot and exception log above and you can find coreboot .config file. What is cause that exception. How can I solve it.
Stabbing in the dark, I’d suggest to test latest code first, so build from the master branch.
I am adding the maintainers to Cc. Maybe they have an idea.
Kind regards,
Paul
Hi Mahmut,
I no longer work on this, don`t known current code status and can`t check if it is related to your issue or not but from your log:
[INFO ] SF: Detected 00 0000 with sector size 0x1000, total 0x1000000 [ERROR] SF size 0x1000000 does not correspond to CONFIG_ROM_SIZE 0x800000!!
When I last worked on this board CONFIG_ROM_SIZE should be set to real/physical size of your flash chip (guessing 0x1000000 = 16M) And CONFIG_CBFS_SIZE (writing from my memory) to expected coreboot image size i.e. 0x800000 (8M)
After building it will give you 16M image then you need to extract coreboot part (last 8M) and flush it to top of flash address space (or use other methods to build full image)
Mariusz
-----Original Message----- From: Paul Menzel pmenzel@molgen.mpg.de Sent: Wednesday, December 21, 2022 2:28 PM To: coreboot@coreboot.org Cc: Eusebio, Vanessa F vanessa.f.eusebio@intel.com Subject: [coreboot] Re: Unexpected Exception on Intel Harcuvar CRB (Intel Denverton-NS SoC) with coreboot 4.16
Dear Mahmut,
[Please only send plain text messages to mailing lists.]
Am 21.12.22 um 13:37 schrieb Mahmut Olger via coreboot:
We are using intel atom C3558 denverton_NS platform. This platform is booting with coreboot4.16.
Welcome.
Payload of coreboot is Seabios. Openbsd running in our board. Sometimes occur unexpected exception. You can find all coreboot and exception log above and you can find coreboot .config file. What is cause that exception. How can I solve it.
Stabbing in the dark, I’d suggest to test latest code first, so build from the master branch.
I am adding the maintainers to Cc. Maybe they have an idea.
Kind regards,
Paul _______________________________________________ coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-leave@coreboot.org -------------------------------------------------------------- Intel Research and Development Ireland Limited Registered in Ireland Registered Office: Collinstown Industrial Park, Leixlip, County Kildare Registered Number: 308263
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
Hi, The log show x86 exception 18 which is a "Machine-check exception". This exception indicates a unrecoverable error found in your hardware.
Regards, Patrick Rudolph B.Sc. Electrical Engineering System Firmware Developer
9elements GmbH, Kortumstraße 19-21, 44787 Bochum, Germany Email: patrick.rudolph@9elements.com Phone: +49 234 68 94 188
Sitz der Gesellschaft: Bochum Handelsregister: Amtsgericht Bochum, HRB 17519 Geschäftsführung: Sebastian Deutsch, Eray Basar
Datenschutzhinweise nach Art. 13 DSGVO
On Wed, Dec 21, 2022 at 1:38 PM Mahmut Olger via coreboot coreboot@coreboot.org wrote:
Hello,
We are using intel atom C3558 denverton_NS platform. This platform is booting with coreboot4.16. Payload of coreboot is Seabios. Openbsd running in our board. Sometimes occur unexpected exception. You can find all coreboot and exception log above and you can find coreboot .config file. What is cause that exception. How can I solve it.
Mahmut ÖLGER Embedded Software Engineer _______________________________________________ coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-leave@coreboot.org
Hi,
Thank you for your answer.
How can we understand which part of the hardware it is originating from?
Mahmut ÖLGER Embedded Software Engineer ________________________________ From: Patrick Rudolph patrick.rudolph@9elements.com Sent: Thursday, December 22, 2022 2:54 PM To: Mahmut Olger mahmut.olger@andasis.com Cc: coreboot@coreboot.org coreboot@coreboot.org Subject: Re: [coreboot] Coreboot Unexpected Exception
Hi, The log show x86 exception 18 which is a "Machine-check exception". This exception indicates a unrecoverable error found in your hardware.
Regards, Patrick Rudolph B.Sc. Electrical Engineering System Firmware Developer
9elements GmbH, Kortumstraße 19-21, 44787 Bochum, Germany Email: patrick.rudolph@9elements.com Phone: +49 234 68 94 188
Sitz der Gesellschaft: Bochum Handelsregister: Amtsgericht Bochum, HRB 17519 Geschäftsführung: Sebastian Deutsch, Eray Basar
Datenschutzhinweise nach Art. 13 DSGVO
On Wed, Dec 21, 2022 at 1:38 PM Mahmut Olger via coreboot coreboot@coreboot.org wrote:
Hello,
We are using intel atom C3558 denverton_NS platform. This platform is booting with coreboot4.16. Payload of coreboot is Seabios. Openbsd running in our board. Sometimes occur unexpected exception. You can find all coreboot and exception log above and you can find coreboot .config file. What is cause that exception. How can I solve it.
Mahmut ÖLGER Embedded Software Engineer _______________________________________________ coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-leave@coreboot.org
Hi,
On 23. 12. 22 9:38, Mahmut Olger via coreboot wrote:
Hi, *How can we understand which part of the hardware it is originating from?*
I can just give very general guidance because I'm out of this project for long time.
Basically machine check means that something seriously went wrong. Possible causes:
1) ECC memory errors/misconfigured memory setup 2) PCI resource allocation problem (e.g. something overlaping I/O apic area) 3) CPU erratum - I remember some CPU suffer from fake machine check exception 4) system memory map wrong?
To figure out what went wrong, you need to print out the machine check registers. Every CPU model has different amount of register banks. You will likely need to patch the handler to print it in there, or use some kind of hardware debugger.
For details for machine check and the registers/possible causes - look for "CHAPTER 15 MACHINE-CHECK ARCHITECTURE" in Intel 64 and IA-32 Architectures Software Developer’s Manual Volume 3 (3A, 3B, 3C & 3D): System Programming Guide
Also handy chapter is "INTERPRETING THE MCA ERROR CODES"
Thanks, Rudolf
Mahmut ÖLGER Embedded Software Engineer
*From:* Patrick Rudolph patrick.rudolph@9elements.com *Sent:* Thursday, December 22, 2022 2:54 PM *To:* Mahmut Olger mahmut.olger@andasis.com *Cc:* coreboot@coreboot.org coreboot@coreboot.org *Subject:* Re: [coreboot] Coreboot Unexpected Exception Hi, The log show x86 exception 18 which is a "Machine-check exception". This exception indicates a unrecoverable error found in your hardware.
Regards, Patrick Rudolph B.Sc. Electrical Engineering System Firmware Developer
9elements GmbH, Kortumstraße 19-21, 44787 Bochum, Germany Email: patrick.rudolph@9elements.com Phone: +49 234 68 94 188
Sitz der Gesellschaft: Bochum Handelsregister: Amtsgericht Bochum, HRB 17519 Geschäftsführung: Sebastian Deutsch, Eray Basar
Datenschutzhinweise nach Art. 13 DSGVO
On Wed, Dec 21, 2022 at 1:38 PM Mahmut Olger via coreboot coreboot@coreboot.org wrote:
Hello,
We are using intel atom C3558 denverton_NS platform. This platform is booting with coreboot4.16. Payload of coreboot is Seabios. Openbsd running in our board. Sometimes occur unexpected exception. You can find all coreboot and exception log above and you can find coreboot .config file. What is cause that exception. How can I solve it.
Mahmut ÖLGER Embedded Software Engineer _______________________________________________ coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-leave@coreboot.org
coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-leave@coreboot.org
Rudolf Marek wrote:
For details for machine check and the registers/possible causes - look for "CHAPTER 15 MACHINE-CHECK ARCHITECTURE" in Intel 64 and IA-32 Architectures Software Developer’s Manual Volume 3 (3A, 3B, 3C & 3D): System Programming Guide
Also handy chapter is "INTERPRETING THE MCA ERROR CODES"
Another source of inspiration is drivers/edac/ in the Linux kernel source.
//Peter