Open bradbishop opened 8 years ago
I suspect this is due to my removal of the VGA setup from u-boot:
I deleted this as u-boot wasn't using VGA. Oops.
I will test this tory by doing the equivalent setup in the kernel.
Seperaretly, we should fix the host so it does not crash when the BMC has done something it does not expect.
Finally, as we discussed on Thursday, we should work out a way for the BMC to communicate to the host kernel that the VGA device is not present and should not be touched. @jk-ozlabs suggested removing the device tree node for the vga device before the kenrel sees it.
The vga node is discovered over the PCIe bus and not via the host device tree. (there are security bits that can disable the vga device from the host).
I believe the issue here is the BMC crashes when the host boots, around the time the VGA driver is initializing.
The driver uses some scratch registers to find out how much BMC ram to use for the vga device. I suspect this memory was not reserved from the BMC and the host stomped on the BMC kernel's memory.
I mistakenly thought the null pointer dereference was on the host.
You're correct @mdmillerii, we don't reserve any memory for the vga device in OpenBMC
I opened this against u-boot because the kernel has not changed. After moving to 2016.05 there is a kernel panic while booting the host:
its not much but that is all I get on the console
Meanwhile here is where we are in the boot (from the host console):
I was using https://github.com/openbmc/openbmc/commit/856271db10ba2a1659ed5987953d2ab4b8d7c60d