-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kvm port to a 5.15? #54
Comments
Hi @asia-makai, |
I've already added a few #pragma to gently ask gcc not to complain too much..
Thanks a million @Wenzel! |
It could be possible that you need to downgrade binutils, since the version shipped by Ubuntu 22.04 is too new for the relatively old 5.4 kernel [1]. |
@x1tan Oops, I see.. that's what I've feared. Downgrading binutils causes a domino effect, doesn't it? I.e., won't I end up downgrading half of my packages, incl gcc? Thanks! |
so by googling the error I stumbled upon this thread: Which mentions kernel preemption and playing with the config, I managed to build the kernel on ubuntu 22.04:
Not sure why it works at this point, didn't dig in, but it's a workaround. |
Thanks @Wenzel! I've made further steps, so that it compiles. (Options below). Then I had to disable secure boot in my BIOS (to avoid signing the kernel), but it panics... Have you seen that one with your Ubuntu 22.04 by any chance? My config script:
|
Are you using XFS as the main partition filesystem by any chance ? I think i remember having this issue, and the problem was related to a driver fs driver (not present by default on 5.4 kernel, but present on newer ones, which explains why it won't boot) Have a look at that and regenerate the initramfs |
@Wenzel yes, you've seen it all! Impressive :) Thank you! I'll dig further. |
I had ext4. It boots now @Wenzel! Other things I had to do:
I'll see if i manage to get network connection ;) But I fear that I'll need to port your work to a more recent kernel... Do you have a recommendation or just a meld/diff? (I used to intensively play with a Nitro-like system, but this was 7 years ago ;)) Thank you |
Awesome news ! Regarding rebasing the patches, that's huge task that you are undertaking, so be careful :) You might to have a chat with @adlazar on the Slack channel about this. |
Thank you for your help! :) |
How you deal with new hardware? I encounter a lot of drivers issues since the kernel is old |
Hi,
I have tried to compile kvm on Ubuntu 22.04. I'm not sure if it's possible without downgrading a loooot.
I wanted to ask if you have by any chance ported the VMI extensions to 5.15?
Thank you!
The text was updated successfully, but these errors were encountered: