Bug 225181 - SLOF Data Storage Exception on boot with kernel built with devel/powerpc64-xtoolchain-gcc
Summary: SLOF Data Storage Exception on boot with kernel built with devel/powerpc64-xt...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 11.1-RELEASE
Hardware: powerpc Any
: --- Affects Only Me
Assignee: freebsd-ppc (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-15 15:43 UTC by Kenneth Salerno
Modified: 2018-01-15 18:09 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Salerno 2018-01-15 15:43:28 UTC
11.1-RELEASE kernel built with XCC devel/powerpc64-xtoolchain-gcc (GCC 6.3.1) fails to boot from qemu-system-ppc64 -m pseries (SLOF fw) with Data Storage Exception. Crashes just before CPU detection (following FreeBSD version banner).

The same kernel built without XCC boots as expected.

Please let me know what output or logs would be useful to troubleshoot this issue. It is not clear to me if this is a SLOF stack issue or compiler issue.
Comment 1 Kenneth Salerno 2018-01-15 15:49:05 UTC
Also want to add I am running an older version of SLOF (packaged with QEMU 2.4.1) because the latest SLOF packaged with QEMU 2.10.2 fails to read superblock of boot disk (MBR/dos label) and cannot even bootstrap FreeBSD, so I have no way of knowing if this was fixed in a more current SLOF or not. But again, I need assistance to first determine if this is a compiler issue or SLOF issue.