Giter Club home page Giter Club logo

Comments (4)

mcb30 avatar mcb30 commented on May 23, 2024 1

@raphaelmeyer Since you have a sequence of operations in Genode that is able to recover from the situation, I would suggest bisecting this sequence to isolate the minimum operation(s) required to effect a recovery.

For example, the call to netdev_link_down() should be superfluous since that will not touch the hardware in any way (it affects only the internally recorded link state). Bisecting the operations performed by netdev_close() and netdev_open() is harder, but you can start with bypassing the netdevice core by calling intel_close() and intel_open() directly, then try various bits of those routines to see what minimally clears the error condition.

from ipxe.

NiKiZe avatar NiKiZe commented on May 23, 2024

And this is tested with the latest version of iPXE?

from ipxe.

mcb30 avatar mcb30 commented on May 23, 2024

@raphaelmeyer Are you able to reproduce the problem with iPXE, or does this occur only when using iPXE's driver within Genode?

from ipxe.

raphaelmeyer avatar raphaelmeyer commented on May 23, 2024

Thank you very much for your inputs.

Indeed, I could not reproduce the issue with iPXE itself. I tried by setting up an infinite iPXE loop, even with adding undionly.kpxe once before entering the loop as well.

I am not sure about how recent the iPXE code in genode is. The driver drivers/net/intel.c is basically the same as in iPXE master, but I found a few differences in net/netdevice.c. The issue was still present when I incoporated these differences into the genode code.

These insights will help to further narrow down the issue. Probably it's in how netdevice is used by genode as a driver interface.

Therefore, I close the issue, but I would still be very happy to receive further feedback.

from ipxe.

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.