Opt-in Linux Kernel 5.15 for Proxmox VE 7.x available

But that kernel is not available in the repo, only pve-kernel-5.13.
It is though, e.g.: http://download.proxmox.com/debian/...on/binary-amd64/pve-kernel-5.15_7.1-8_all.deb

EDIT: Ha, never mind, unlike what is clearly written in the OP (https://forum.proxmox.com/threads/o...r-proxmox-ve-7-x-available.100936/post-435603), it IS required to have pvetest ppa in sources/list.
Maybe you had no Proxmox VE repository setup whatsoever (the node summary would warn you then) or forget to refresh (apt update)?
As some repo is naturally required, but it really doesn't needs to be pvetest...
 
Oh boy, then I really missed something on setting up repos. I only got the ones default from 7.1.2, which update to 7.1.7. The kernel is not available in that repo. Didn't know there exist other repos than pvetest and Entreprise, I will read better!

Sorry for wasting your time, shame on me. :(
 
Does anyone have an issue with USB devices with this 5.15.12-1-pve kernel? I have external storage and a TV tuner for a Plex VM. The VM's with USB configured fail to start. Running lsusb in the proxmox console hangs. This is not an issue with the 5.11.22-7-pve.
 
Does anyone have an issue with USB devices with this 5.15.12-1-pve kernel? I have external storage and a TV tuner for a Plex VM. The VM's with USB configured fail to start. Running lsusb in the proxmox console hangs. This is not an issue with the 5.11.22-7-pve.
Maybe is related to the same of this thread?
What's your Tv Tuner and which driver used?
 
Hi,

using Linux pve 5.15.12-1-pve #1 SMP PVE 5.15.12-3 kernel version iotop is not working properly:

CONFIG_TASK_DELAY_ACCT not enabled in kernel, cannot determine SWAPIN and IO %
 
using Linux pve 5.15.12-1-pve #1 SMP PVE 5.15.12-3 kernel version iotop is not working properly:

CONFIG_TASK_DELAY_ACCT not enabled in kernel,
Sorry but that is simply not true as you can verify yourself, each kernel package ships the config it was built with in /boot:
Bash:
grep TASK_DELAY_ACCT /boot/config-5.15.12-1-pve
CONFIG_TASK_DELAY_ACCT=y

The required TASK_IO_ACCOUNTING and VM_EVENT_COUNTERS are also still enabled.

The actual "culprit" seems to be that for Linux kernels since 5.14, the kernel.task_delayacct sysctl needs to be enabled (ref 1 and ref 2).

For example, temporarily (for new tasks IIRC): sysctl -w kernel.task_delayacct=1

Or permanently, applied on boot:
Bash:
echo 'kernel.task_delayacct=1' >> /etc/sysctl.d/50-enable-task-delayacct.conf
 
Last edited:
  • Like
Reactions: Szabi
I had a weird crash overnight with 5.15.12-1-pve #1 SMP PVE 5.15.12-3. NMI watchdog caught it and restarted the host. Relevant info follows:

proxmox-ve: 7.1-1 (running kernel: 5.15.12-1-pve)
pve-manager: 7.1-10 (running version: 7.1-10/6ddebafe)
pve-kernel-5.15: 7.1-8
pve-kernel-helper: 7.1-8
pve-kernel-5.13: 7.1-6
pve-kernel-5.15.12-1-pve: 5.15.12-3
pve-kernel-5.13.19-3-pve: 5.13.19-7
ceph-fuse: 15.2.15-pve1
corosync: 3.1.5-pve2
criu: 3.15-1+pve-1
glusterfs-client: 9.2-1
ifupdown2: 3.1.0-1+pmx3
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-1
libknet1: 1.22-pve2
libproxmox-acme-perl: 1.4.1
libproxmox-backup-qemu0: 1.2.0-1
libpve-access-control: 7.1-6
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.1-2
libpve-guest-common-perl: 4.0-3
libpve-http-server-perl: 4.1-1
libpve-storage-perl: 7.0-15
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 4.0.11-1
lxcfs: 4.0.11-pve1
novnc-pve: 1.3.0-1
proxmox-backup-client: 2.1.4-1
proxmox-backup-file-restore: 2.1.4-1
proxmox-mini-journalreader: 1.3-1
proxmox-widget-toolkit: 3.4-5
pve-cluster: 7.1-3
pve-container: 4.1-3
pve-docs: 7.1-2
pve-edk2-firmware: 3.20210831-2
pve-firewall: 4.2-5
pve-firmware: 3.3-4
pve-ha-manager: 3.3-3
pve-i18n: 2.6-2
pve-qemu-kvm: 6.1.0-3
pve-xtermjs: 4.16.0-1
qemu-server: 7.1-4
smartmontools: 7.2-1
spiceterm: 3.2-2
swtpm: 0.7.0~rc1+2
vncterm: 1.7-1
zfsutils-linux: 2.1.2-pve1

[15656.782918] BUG: unable to handle page fault for address: ffff9d0e00aac510
[15656.783028] #PF: supervisor write access in kernel mode
[15656.783116] #PF: error_code(0x0002) - not-present page
[15656.783205] PGD 0 P4D 0
[15656.783291] Oops: 0002 [#1] SMP NOPTI
[15656.783379] CPU: 3 PID: 3313 Comm: VM Thread Kdump: loaded Tainted: P S O 5.15.12-1-pve #1
[15656.783483] Hardware name: Compulab fitlet2/fitlet2, BIOS FLT2.0.46.02.01 03/07/2021
[15656.783574] RIP: 0010: plist_del+0x46/0x70
[15656.783670] Code: 40 f0 48 8d 70 f0 4c 39 c6 74 2f 48 8b 47 10 48 89 41 08 48 89 08 48 8b 47 18 48 89 57 08 48 89 57 10 48 8b 4f 20 48 8d 57 18 <48> 89 48 08 48 89 01 48 89 57 18 48 89 57 20 c3 48 89 71 08 48 89
[15656.783813] RSP: 0018:ffffa88f81a9fc68 EFLAGS: 00010246
[15656.783921] RAX: ffff9d0e00aac508 RBX: ffff950e00aac504 RCX: ffff950e00aac508
[15656.784034] RDX: ffffa88f81a9fd10 RSI: ffff950e00aac508 RDI: ffffa88f81a9fcf8
[15656.784144] RBP: ffffa88f81a9fc78 R08: 0000000000000001 R09: 0000000000000000
[15656.784251] R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000
[15656.784359] R13: ffffa88f81a9fcb0 R14: 0000000000000000 R15: ffff950e00aac504
[15656.784469] FS: 00007f71c7e63700(0000) GS:ffff950f77d80000(0000) knlGS:0000000000000000
[15656.784600] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[15656.784708] CR2: ffff9d0e00aac510 CR3: 000000010d70a000 CR4: 00000000003526e0
[15656.784818] Call Trace:
[15656.784916] <TASK>
[15656.785017] ? __unqueue_futex+0x29/0x40
[15656.785130] futex_wait+0x12c/0x250
[15656.785239] ? __hrtimer_init+0x110/0x110
[15656.785347] do_futex+0x19b/0xb90
[15656.785456] ? __seccomp_filter+0x3e8/0x5b0
[15656.785566] ? __seccomp_filter+0x3e8/0x5b0
[15656.785674] ? __seccomp_filter+0x3e8/0x5b0
[15656.785781] ? _copy_from_user+0x2e/0x60
[15656.785891] __x64_sys_futex+0x81/0x1d0
[15656.786001] do_syscall_64+0x5c/0xc0
[15656.786107] ? asm_sysvec_reschedule_ipi+0xa/0x20
[15656.786219] entry_SYSCALL_64_after_hwframe+0x44/0xae
[15656.786331] RIP: 0033:0x7f71ddda4ad8
[15656.786439] Code: 88 ad 00 00 00 e8 48 32 00 00 8b 74 24 30 45 31 c0 4d 89 f2 89 44 24 34 41 b9 ff ff ff ff 31 d2 4c 89 ff b8 ca 00 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 bc 00 00 00 8b 7c 24 34 e8 73 32 00 00 48
[15656.786609] RSP: 002b:00007f71c7e629a0 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
[15656.786744] RAX: ffffffffffffffda RBX: 00007f71c7e62a00 RCX: 00007f71ddda4ad8
[15656.786852] RDX: 0000000000000000 RSI: 0000000000000089 RDI: 00007f71d81b3078
[15656.786960] RBP: 00007f71d81b3050 R08: 0000000000000000 R09: 00000000ffffffff
[15656.787069] R10: 00007f71c7e62a80 R11: 0000000000000246 R12: 0000000000000000
[15656.787179] R13: 00007f71d81b3028 R14: 00007f71c7e62a80 R15: 00007f71d81b3078
[15656.787292] </TASK>
[15656.787390] Modules linked in: msr nft_counter nft_chain_nat nft_compat cfg80211 8021q garp mrp veth ebtable_filter ebtables ip_set ip6table_raw iptable_raw ip6table_filter ip6_tables iptable_filter iptable_nat xt_REDIRECT nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 xt_tcpudp bpfilter nf_tables bonding tls nfnetlink_log nfnetlink intel_rapl_msr intel_rapl_common intel_telemetry_pltdrv intel_punit_ipc intel_telemetry_core x86_pkg_temp_thermal coretemp kvm_intel mei_hdcp kvm irqbypass crct10dif_pclmul ghash_clmulni_intel aesni_intel crypto_simd cryptd rapl intel_cstate joydev input_leds at24 pcspkr 8250_dw mei_me intel_xhci_usb_role_switch mei mac_hid zfs(PO) zunicode(PO) zzstd(O) zlua(O) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O) vhost_net vhost vhost_iotlb tap ib_iser rdma_cm iw_cm ib_cm ib_core iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi drm sunrpc ip_tables x_tables autofs4 xfs btrfs blake2b_generic xor zstd_compress raid6_pq hid_logitech_hidpp uas usb_storage
[15656.787641] dm_thin_pool dm_persistent_data hid_logitech_dj dm_bio_prison dm_bufio libcrc32c hid_generic usbkbd usbmouse usbhid hid lpc_ich i2c_i801 i2c_smbus xhci_pci xhci_pci_renesas intel_lpss_pci intel_lpss idma64 xhci_hcd crc32_pclmul igb ahci i2c_algo_bit dca libahci video intel_pmc_bxt pinctrl_broxton
[15656.788415] CR2: ffff9d0e00aac510

I've attached the dmsg output from the boot after the crash. I've blacklisted the intel i915 drivers and pnd2_edac since I am not using ECC ram.


Running at the time: a single VM (opnsense 22.1 based on FreeBSD 13) and two LXC containers, all with very little if any load. LVM-thin partitioning with XFS root. I am also running the latest Intel Microcode. A memtest was successfully run for 10 passes, so no worries there.
 

Attachments

  • healthydmesg.txt
    68.1 KB · Views: 2
Last edited:
Hello,

I'm not seeing the 5.15 kernel is this only available for enterprise subscription?

Code:
deb https://ftp.debian.org/debian bullseye main contrib
deb https://ftp.debian.org/debian bullseye-updates main contrib
deb https://httpredir.debian.org/debian/ bullseye main contrib non-free
deb http://security.debian.org/debian-security bullseye-security main contrib

Code:
apt search pve-kernel
Sorting... Done
Full Text Search... Done
pve-firmware/now 3.3-3 all [installed,local]
  Binary firmware code for the pve-kernel

pve-kernel-5.11/now 7.0-10 all [installed,local]
  Latest Proxmox VE Kernel Image

pve-kernel-5.11.22-1-pve/now 5.11.22-2 amd64 [installed,local]
  The Proxmox PVE Kernel Image

pve-kernel-5.11.22-3-pve/now 5.11.22-7 amd64 [residual-config]
  (none)

pve-kernel-5.11.22-4-pve/now 5.11.22-9 amd64 [installed,local]
  The Proxmox PVE Kernel Image

pve-kernel-5.11.22-7-pve/now 5.11.22-12 amd64 [installed,local]
  The Proxmox PVE Kernel Image

pve-kernel-5.13/now 7.1-4 all [installed,local]
  Latest Proxmox VE Kernel Image

pve-kernel-5.13.19-1-pve/now 5.13.19-2 amd64 [installed,local]
  The Proxmox PVE Kernel Image

pve-kernel-helper/now 7.1-4 all [installed,local]
  Function for various kernel maintenance tasks.
 
My Fans have started to go crazy with this kernel, had to go back to 5.13
 
Last edited:
Does anyone have an issue with USB devices with this 5.15.12-1-pve kernel? I have external storage and a TV tuner for a Plex VM. The VM's with USB configured fail to start. Running lsusb in the proxmox console hangs. This is not an issue with the 5.11.22-7-pve.
I've some problems with USB devices too. I have an UPS which is connected via USB. The UPS is not recognized by network ups tools.
But the UPS appears in lsusb. I've this issue only with the 5.15.17-1-pve kernel. 2 other kernels I've tried so far are working:
pve-kernel-5.13.19-2-pve
pve-kernel-5.13.19-3-pve
 
What UPS are you using and what kernel module are involved into this (if unsure post the lsmod output in code tags)?
Thnk's for the reply.
It's an Eaton Ellipse 650 UPS.
Bus 001 Device 004: ID 0463:ffff MGE UPS Systems UPS

uname -r:
5.15.17-1-pve

I'm unsure which module is used. Here is the output of lsmod:
Code:
nft_ct                 20480  3
nft_counter            16384  8
xt_nat                 16384  6
xt_tcpudp              20480  31
xt_conntrack           16384  3
xfrm_user              40960  2
xfrm_algo              16384  1 xfrm_user
xt_addrtype            16384  4
overlay               147456  2
binfmt_misc            24576  1
xt_MASQUERADE          20480  6
iptable_nat            16384  4
nf_nat                 49152  3 xt_nat,iptable_nat,xt_MASQUERADE
nf_conntrack          163840  5 xt_conntrack,nf_nat,nft_ct,xt_nat,xt_MASQUERADE
nf_defrag_ipv6         24576  1 nf_conntrack
nf_defrag_ipv4         16384  1 nf_conntrack
wireguard              94208  0
curve25519_x86_64      36864  1 wireguard
libchacha20poly1305    16384  1 wireguard
chacha_x86_64          28672  1 libchacha20poly1305
poly1305_x86_64        28672  1 libchacha20poly1305
libblake2s             16384  1 wireguard
blake2s_x86_64         20480  1 libblake2s
libcurve25519_generic    49152  2 curve25519_x86_64,wireguard
libchacha              16384  1 chacha_x86_64
libblake2s_generic     20480  1 blake2s_x86_64
ip6_udp_tunnel         16384  1 wireguard
udp_tunnel             20480  1 wireguard
tcp_diag               16384  0
inet_diag              24576  1 tcp_diag
cmac                   16384  2
veth                   32768  0
ebtable_filter         16384  0
ebtables               40960  1 ebtable_filter
ip_set                 53248  0
ip6table_raw           16384  0
iptable_raw            16384  0
ip6table_filter        16384  1
ip6_tables             32768  2 ip6table_filter,ip6table_raw
iptable_filter         16384  4
bpfilter               16384  0
nls_utf8               16384  38
cifs                 1236992  20
cifs_arc4              16384  1 cifs
cifs_md4               16384  1 cifs
fscache               380928  1 cifs
netfs                  45056  1 fscache
nf_tables             237568  49 nft_ct,nft_counter
bonding               184320  0
tls                   106496  1 bonding
softdog                16384  2
nfnetlink_log          20480  1
nfnetlink              20480  6 nf_tables,ip_set,nfnetlink_log
si2157                 24576  8
si2183                 28672  8
av201x                 20480  2
ppdev                  24576  0
mei_hdcp               24576  0
intel_rapl_msr         20480  0
intel_pmc_bxt          16384  0
intel_telemetry_pltdrv    20480  0
intel_punit_ipc        16384  1 intel_telemetry_pltdrv
intel_telemetry_core    20480  1 intel_telemetry_pltdrv
x86_pkg_temp_thermal    20480  0
intel_powerclamp       20480  0
coretemp               24576  0
kvm_intel             344064  0
kvm                  1003520  1 kvm_intel
i915                 2998272  3
irqbypass              16384  1 kvm
tbsecp3                61440  21
crct10dif_pclmul       16384  1
ghash_clmulni_intel    16384  0
ttm                    81920  1 i915
joydev                 32768  0
drm_kms_helper        303104  1 i915
gx1133                 28672  1 tbsecp3
aesni_intel           376832  2
cec                    61440  2 drm_kms_helper,i915
crypto_simd            16384  1 aesni_intel
tas2101                28672  3 tbsecp3
rc_core                61440  1 cec
cryptd                 24576  2 crypto_simd,ghash_clmulni_intel
dvb_core              159744  1 tbsecp3
i2c_mux                16384  2 si2183,gx1133
rapl                   20480  0
videobuf2_vmalloc      20480  1 dvb_core
videobuf2_memops       20480  1 videobuf2_vmalloc
i2c_algo_bit           16384  1 i915
intel_cstate           20480  0
ee1004                 20480  0
fb_sys_fops            16384  1 drm_kms_helper
videobuf2_common       90112  3 videobuf2_vmalloc,dvb_core,videobuf2_memops
input_leds             16384  0
syscopyarea            16384  1 drm_kms_helper
videodev              253952  1 videobuf2_common
sysfillrect            20480  1 drm_kms_helper
mei_me                 40960  1
mc                     61440  4 videodev,si2157,dvb_core,videobuf2_common
sysimgblt              16384  1 drm_kms_helper
pcspkr                 16384  0
mei                   135168  3 mei_hdcp,mei_me
efi_pstore             16384  0
processor_thermal_device_pci_legacy    16384  0
processor_thermal_device    20480  1 processor_thermal_device_pci_legacy
processor_thermal_rfim    24576  1 processor_thermal_device
processor_thermal_mbox    16384  2 processor_thermal_rfim,processor_thermal_device
processor_thermal_rapl    20480  1 processor_thermal_device
intel_rapl_common      32768  2 intel_rapl_msr,processor_thermal_rapl
intel_soc_dts_iosf     20480  1 processor_thermal_device_pci_legacy
mac_hid                16384  0
parport_pc             53248  0
parport                69632  2 parport_pc,ppdev
int3400_thermal        20480  0
acpi_thermal_rel       16384  1 int3400_thermal
int3403_thermal        20480  0
int340x_thermal_zone    20480  2 int3403_thermal,processor_thermal_device
int3406_thermal        16384  0
dptf_power             16384  0
zfs                  3739648  6
zunicode              348160  1 zfs
zzstd                 626688  1 zfs
zlua                  159744  1 zfs
zavl                   20480  1 zfs
icp                   315392  1 zfs
zcommon               102400  2 zfs,icp
znvpair               102400  2 zfs,zcommon
spl                   106496  6 zfs,icp,zzstd,znvpair,zcommon,zavl
vhost_net              32768  0
vhost                  53248  1 vhost_net
vhost_iotlb            16384  1 vhost
tap                    24576  1 vhost_net
ib_iser                40960  0
rdma_cm               122880  2 cifs,ib_iser
iw_cm                  49152  1 rdma_cm
ib_cm                 131072  1 rdma_cm
ib_core               380928  5 rdma_cm,cifs,iw_cm,ib_iser,ib_cm
iscsi_tcp              24576  0
libiscsi_tcp           32768  1 iscsi_tcp
libiscsi               65536  3 libiscsi_tcp,iscsi_tcp,ib_iser
scsi_transport_iscsi   135168  5 libiscsi_tcp,iscsi_tcp,ib_iser,libiscsi
drm                   602112  5 drm_kms_helper,i915,ttm
sunrpc                569344  2
ip_tables              32768  3 iptable_filter,iptable_raw,iptable_nat
x_tables               53248  13 ebtables,ip6table_filter,xt_conntrack,ip6table_raw,iptable_filter,xt_tcpudp,xt_addrtype,xt_nat,ip6_tables,iptable_raw,ip_tables,iptable_nat,xt_MASQUERADE
autofs4                45056  2
btrfs                1503232  0
blake2b_generic        20480  0
xor                    24576  1 btrfs
zstd_compress         229376  1 btrfs
raid6_pq              122880  1 btrfs
dm_thin_pool           73728  17
dm_persistent_data     86016  1 dm_thin_pool
dm_bio_prison          20480  1 dm_thin_pool
dm_bufio               32768  1 dm_persistent_data
libcrc32c              16384  5 nf_conntrack,nf_nat,dm_persistent_data,btrfs,nf_tables
hid_microsoft          16384  0
ff_memless             24576  1 hid_microsoft
hid_generic            16384  0
usbkbd                 16384  0
usbhid                 65536  0
hid                   151552  3 usbhid,hid_microsoft,hid_generic
r8169                  94208  0
xhci_pci               20480  0
i2c_i801               36864  0
crc32_pclmul           16384  0
i2c_smbus              20480  1 i2c_i801
realtek                32768  1
xhci_pci_renesas       20480  1 xhci_pci
xhci_hcd              319488  1 xhci_pci
ahci                   45056  2
libahci                36864  1 ahci
video                  53248  2 int3406_thermal,i915
pinctrl_geminilake     24576  0


usbutils > usb-devices:
Code:
T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  4 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  6
P:  Vendor=0463 ProdID=ffff Rev=01.00
S:  Manufacturer=EATON
S:  Product=Ellipse ECO
S:  SerialNumber=000000000
C:  #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=20mA
I:  If#=0x0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=(none)

lshw:
Code:
*-usb:0 UNCLAIMED
                   description: Human interface device
                   product: Ellipse ECO
                   vendor: EATON
                   physical id: 1
                   bus info: usb@1:1
                   version: 1.00
                   serial: 000000000
                   capabilities: usb-2.00
                   configuration: maxpower=20mA speed=12Mbit/s


Please let me know, if you require further information or I can do anything to help.
Thank you in advance
 
Last edited:
Just updated to kernel 5.15.17-1-pve and efifb no longer shows boot messages. echo "efi-framebuffer.0" > /sys/bus/platform/devices/efi-framebuffer.0/driver/unbind also stopped working and broke GPU passthrough again with continuous logging of BAR 0: can't reserve errors.
GPU passthrough worked well enough in 5.15-12-1-pve, to which I have reverted for now. It feels like passthrough with amdgpu is progressively getting worse since 5.11.22-5.
EDIT: Now even video=efifb:off does not function as a work-around like it did before. Passthrough on kernel 5.13.19-4 also works fine.
 
Last edited:

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!