Coder Social home page Coder Social logo

kernel panic on host power on about u-boot HOT 3 OPEN

bradbishop avatar bradbishop commented on June 9, 2024
kernel panic on host power on

from u-boot.

Comments (3)

shenki avatar shenki commented on June 9, 2024

I suspect this is due to my removal of the VGA setup from u-boot:

6d9e287#diff-84ea64abf02622ef709560b072e47382L83

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.

from u-boot.

mdmillerii avatar mdmillerii commented on June 9, 2024

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.

from u-boot.

shenki avatar shenki commented on June 9, 2024

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

from u-boot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.