Giter Site home page Giter Site logo

Comments (2)

isomer avatar isomer commented on July 22, 2024 1

Okay, I think this is fixed in 52c81e9 can you see if this helps you?

from erbium.

isomer avatar isomer commented on July 22, 2024

Hrm. Weird.

erbium has a subsystem called "netinfo" that caches networking information from netlink and keeps that cache up to date as new messages come from the kernel. Other parts of erbium then consult netinfo when they need to know the state of the machine.

At startup erbium's netinfo asks the kernel to dump the current state from the kernel (going through a little state machine where it asks for each different type of information one at a time), and erbium's startup blocks waiting for the dump to complete before erbium continues it's startup and opens it's listening ports.

I suspect that this is stuck there, unable to complete the initialisation for some reason, possibly because it's never receiving the "end of table" message, or it's an infinite loop somewhere trying to parse one of the messages (although I don't see any obvious infinite loops in the code).

The backtrace says netinfo is attempting to parse a "newlink" message which means a new interface is seen, or an existing interface is changing it's properties. You should be able to see what's going on by setting "RUST_LOG=trace" or "RUST_LOG=info,netinfo=trace", it should log a bunch of "Found new interface"... messages, possibly with some weird changes between them?

erbium doesn't ever change the network interface state, so this can't be a bug of the form of erbium noticing a change, then immediately doing something which causes the network inteface state to change again (and I suspect we're still during startup, so the rest of erbium isn't initialised yet).

I thought I'd fixed this yesterday, but, uh, nope. My fix means it's now sitting there waiting for an event that never comes. Urgh.

from erbium.

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.