View previous topic :: View next topic |
Author |
Message |
ONEEYEMAN Advocate
Joined: 01 Mar 2005 Posts: 3610
|
Posted: Mon May 17, 2021 2:05 pm Post subject: Kernel external modules |
|
|
Hi, ALL,
Recently I updated from the 4.14.65 gentoo-sources to 5.10.27 gentoo-sources.
I had to rebuild the virtualbox-modules afterwards.
However, I have couple of issues:
1. My Anjuta doesn;t want to work proprerly - seems it sometimes goes to an infinite loop.
2. I'm also getting this:
Code: |
00:0001:00000:00000:2021/05/17 09:01:32.59 kernel Warning: The internal timer is not progressing. If this message is generated multiple times, report to SAP Technical Support and restart the server (alarminterval=0).
|
So I decided to switch back to the old kernel.
But now I'm curious if its possible to have both kernels installed and have VB modules compiled for figgerent kernelsand just reboot in the kernel I want without rebuilding vb modules.
Thank you. |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 2964 Location: Edge of marsh USA
|
Posted: Tue May 18, 2021 2:47 am Post subject: |
|
|
Anjuta? (ADDED: Never mind, I looked it up.)
Yes, the virtualbox-modules are built and installed for the kernel identified by the symlink /usr/src/linux. As long as you don't upgrade virtualbox, you should have current modules for older kernels in the respective directory in /lib/modules/ _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 2964 Location: Edge of marsh USA
|
Posted: Tue May 18, 2021 2:51 am Post subject: |
|
|
Maybe you upgraded the kernel in steps that were too big. Try the latest 4.19 and if that works without any new issues move up to 5.4. That's what I did, but I'm sticking to 5.4 for the duration. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
Goverp Advocate
Joined: 07 Mar 2007 Posts: 2004
|
Posted: Tue May 18, 2021 11:07 am Post subject: |
|
|
figueroa wrote: | ... the virtualbox-modules are built and installed for the kernel identified by the symlink /usr/src/linux. ... |
This may be irrelevant but could be useful; I have to use external modules for my WiFi card. Their build process is
Code: | git pull
make
make install
|
and it builds against the running kernel's "/lib/modules/<uname -r>", which is pretty much a pain if you want to build for the next (or alternatively) an older kernel version. Reading the make script, I realised that actually that it actually builds against "/lib/modules/$KVER" and that defaults to "uname -r", but you can override it by setting the KVER environment variable. _________________ Greybeard |
|
Back to top |
|
|
|