Git Product home page Git Product logo

Comments (6)

glaubitz avatar glaubitz commented on July 30, 2024

This is resolved by reverting the following commits:

a56d4d73b557bdc0171b116886e210827e0ca3cb
8a9587cbd88fdc31cab4e8793f6b15014a3c83d2
211c7bc91d3f2aafbd1cc51f931fcb7e88437b93
5772073d88375164286614e05242a6a0c43bceb6

which are all the commits related to adding netlink support. Although this is already known, I just document it here for others that might run into the same bug.

Adrian

from qemu-m68k.

jrtc27 avatar jrtc27 commented on July 30, 2024

As of this comment, the relevant commits to revert are now:

65e65b2
7c9a671
f0a0acf
b72a43c

from qemu-m68k.

vivier avatar vivier commented on July 30, 2024

As I rebase this branch regularly, the commit IDs change, so the title of these commits are:

linux-user: add partial SOL_NETLINK level in setsockopt()/getsockopt()
linux-user: add netlink audit
linux-user: support netlink protocol NETLINK_KOBJECT_UEVENT
linux-user: add rtnetlink(7) support

I plan to do a 680x0-v2.6.0 which should never be rebased (based on qemu-2.6.0). I will remove the netlink stuff from this branch.

from qemu-m68k.

vivier avatar vivier commented on July 30, 2024

I've found the bugs.

I've a fix for SEGFAULT:
linux-user: fd_trans_host_to_target_data() must process only received data
https://patchwork.ozlabs.org/patch/636628/
linux-user: don't swap NLMSG_DATA() fields
https://patchwork.ozlabs.org/patch/636626/

And I know why "apt-get update" hangs: we byte-swap the data in the guest memory and this corrupts the sequence number (libc/check_pf.c checks the sequence number of the sendto() with the ones of the recvmsg() and the one of the sendto() is corrupted by our byte-swapping).

from qemu-m68k.

vivier avatar vivier commented on July 30, 2024

Should be fixed in 680x0-master-dev now. Please check.

from qemu-m68k.

glaubitz avatar glaubitz commented on July 30, 2024

I think it's safe to close this one. I haven't seen any issues with apt-get update for a while now.

from qemu-m68k.

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.