how to install linux-modules-extra under pve?

mcdull

Member
Aug 23, 2020
65
2
13
46
The requirement is to install the module that I could use it in container. However, I have searched lots of post and did not find any source that is available to do it under pve.
I am running 6.5.13-1-pve, any suggestion? Thanks.

<-- ubuntu sample-->
apt install linux-modules-extra-`uname -r`
modprobe binder_linux devices="binder,hwbinder,vndbinder"
modprobe ashmem_linux
 
I would like to run redroid "an android emulator" in lxc container.
I remembered I had it running a year ago, probably in the age of 5.14 or 5.15 kernel. But I cannot recall how I am able to create the binder module.
There is no such package as "linux-modules-extra" in Debian. The binder_linux and ashmem_linux modules are for Android. What exactly are you trying to do?
 
I don't have access to my Proxmox right now but I checked a Debian 12 machine and it has the binder module but not ashmem. I believe binder was brought into the mainline kernel at some point.

The other one you'll probably have to build from source. Or you could install an Ubuntu VM and run your emulator there.
 
If you want to compile additional modules for the proxmox kernel, you may look into dkms. Hopefully those modules are dkms buildable, otherwise you would need to rebuild the proxmox kernel itself.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!