multipath-tcp / mptcp

⚠️⚠️⚠️ Deprecated 🚫 Out-of-tree Linux Kernel implementation of MultiPath TCP. 👉 Use https://github.com/multipath-tcp/mptcp_net-next repo instead ⚠️⚠️⚠️
https://github.com/multipath-tcp/mptcp_net-next
Other
887 stars 334 forks source link

Question: MPTCP kernel installation in VBox VM #519

Closed ddimopou closed 3 months ago

ddimopou commented 7 months ago

Hello,

I'm trying to install MPTCP v0.96 (linux kernel 5.4.230.mptcp) using the available deb packages (from https://github.com/multipath-tcp/mptcp/releases), into a VirtualBox (v7.0.12) VM running 64-bit Ubuntu 22.04 (kernel 6.2.0-37-generic).

But kernel boot load fails with: initramfs unpacking failed invalid magic at start of compressed archive, and Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

I have searched each and every post in the internet but could not find a solution to this:

I am not familiar with the linux kernel specifics, but I'd first like to understand if there is some known compatibility/dependency issue between my running kernel (6.2.0-37), and the MPTCP one (5.4.230.mptcp) I'm trying to boot from.

In case there is no such incompatibility and it should be expected to work, then it would probably be a virtualbox specific issue (?)

Just for the record, I've tried building myself 5.4.243, with the exact same issue during boot.

Maybe I miss something vital in the whole procedure. Any hints from your past experience are highly appreciated.

Thanks in advance for your time and help.

Regards, Dimitris

ddimopou commented 7 months ago

Update..

Same issue seems to be already mentioned in #484 Following the instructions there, did the trick.

After modifying the compression scheme to lz4 into initramfs.conf and issuing sudo update-initramfs -u, boot initially failed. But after trying initiramfs update for my specific target kernel, worked: sudo update-initramfs -u -k 5.4.230.mptcp

Thanks a lot for helping us.

Dimitris