Code Monkey home page Code Monkey logo

relax-intel-rmrr's Introduction

relax-intel-rmrr's People

Contributors

aterfax avatar kiler129 avatar michaeltrip avatar orpheegt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

relax-intel-rmrr's Issues

[Question] What is the correct process to update?

Hi,

I am using 5.15.39-3-pve-relaxablermrr successfully. I now would like to update to the latest kernel. What is the right sequence to update?

My assumption would be:

  1. install 5.19.7-2 kernel
  2. install patch for 5.19.7-2 kernel
  3. pin this kernel version (change the current pinning)
  4. reboot

Am I correctly assuming?

Possible fail for HPE MicroServer Gen8. HPE Smart Array P222 Controller. Proxmox 7.3-3 host. TrueNAS SCALE VM.

HPE MicroServer Gen8. HPE Smart Array P222 Controller. Proxmox 7.3-3 host. TrueNAS-SCALE-22.12.0 VM.

Slightly modified GRUB line:
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on,relax_rmrr iommu=pt intremap=no_x2apic_optout mitigations=auto,nosmt l1tf=full,force"

The P222 configuration and drives were checked in the host using HPE's ssacli prior to installation of your debs. There are no other PCI device passthroughs on the system.

The PCI Device options used advanced, All functions, ROM-Bar and PCI-Express. With these settings the VM boot showed:

SeaBIOS (version rel-1.16.0.0.gd239552ce722-prebuilt.qemu.org)
Machine UUID e0384dcf-f846-4e99-85e0-############
Slot ?? HP Smart Array P222 Controller       Initializing...  ///////

The '/' are actually spinning |\-/, etc. So, the VM has not frozen, but the initialization just didn't complete.

I then changed the PCI Device settings and removed ROM-Bar. The FreeNAS VM boots properly, drives appear, I can create a pool, etc. But I haven't tried to install ssacli into FreeNAS yet to make sure I can manage the array from within FreeNAS.

Is it expected that ROM-Bar should be disabled for HBAs and are there any other ramifications if it's left disabled since the default in Proxmox is to have it enabled?

Proxmox 7.3 Kernel doesn't compile

Hey,

i've tried to compile the kernel for Proxmox 7.3 (5.19.17) with docker, but it doesn't work.

...
WARNING: modpost: vmlinux.o(.text+0xa28e24): Section mismatch in reference from the function i8042_probe() to the variable .init.rodata:i8042_quirks
The function i8042_probe() references
the variable __initconst i8042_quirks.
This is often because i8042_probe lacks a __initconst
annotation or the annotation of i8042_quirks is wrong.

  MODINFO modules.builtin.modinfo
  GEN     modules.builtin
  CC      .vmlinux.export.o
  LD      .tmp_vmlinux.btf
  BTF     .btf.vmlinux.bin.o
Killed
  LD      .tmp_vmlinux.kallsyms1
  KSYMS   .tmp_vmlinux.kallsyms1.S
  AS      .tmp_vmlinux.kallsyms1.S
  LD      .tmp_vmlinux.kallsyms2
  KSYMS   .tmp_vmlinux.kallsyms2.S
  AS      .tmp_vmlinux.kallsyms2.S
  LD      vmlinux
  BTFIDS  vmlinux
FAILED: load BTF from vmlinux: No such file or directory
make[2]: *** [Makefile:1171: vmlinux] Error 255
make[2]: *** Deleting file 'vmlinux'
make[2]: Leaving directory '/build/proxmox/proxmox-kernel/pve-kernel/build/ubuntu-kinetic'
make[1]: *** [debian/rules:128: .compile_mark] Error 2
make[1]: Leaving directory '/build/proxmox/proxmox-kernel/pve-kernel/build'
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
make: *** [Makefile:60: pve-kernel-5.19.17-1-pve-relaxablermrr_5.19.17-1_amd64.deb] Error 2

Proxmox-Boot-Tool

I think this is now the preferred method over using update-grub, has the side effect of preventing apt dist-upgrade from overwriting your selected kernel.

root@pve# proxmox-boot-tool kernel list
Manually selected kernels:
None.

Automatically selected kernels:
5.15.102-1-pve
5.15.108-1-pve
6.2.11-1-pve-relaxablermrr

root@pve# proxmox-boot-tool kernel pin 6.2.11-1-pve-relaxablermrr
Setting '6.2.11-1-pve-relaxablermrr' as grub default entry and running update-grub.
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.2.11-1-pve-relaxablermrr
Found initrd image: /boot/initrd.img-6.2.11-1-pve-relaxablermrr
Found linux image: /boot/vmlinuz-5.15.108-1-pve
Found initrd image: /boot/initrd.img-5.15.108-1-pve
Found linux image: /boot/vmlinuz-5.15.102-1-pve
Found initrd image: /boot/initrd.img-5.15.102-1-pve
Found memtest86+ image: /boot/memtest86+.bin
Found memtest86+ multiboot image: /boot/memtest86+_multiboot.bin
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
done

root@pve# proxmox-boot-tool refresh
Running hook script 'proxmox-auto-removal'..
Running hook script 'zz-proxmox-boot'..
Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..
No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync.

root@pve# proxmox-boot-tool kernel list
Manually selected kernels:
None.

Automatically selected kernels:
5.15.102-1-pve
5.15.108-1-pve
6.2.11-1-pve-relaxablermrr

Pinned kernel:
6.2.11-1-pve-relaxablermrr

[Question] Proxmox 7.4 Kernel

Hi , @Aterfax , thank for all your hard work , are you testing still a kernel for proxmox 7.4 ?? , or the 6.1.10 works also with PX7.4 ??

im at 6.1.0-1 , with PX 7.3.4 , just wondering if i should update to 6.1.10 and put PX 7.3.6 because your release notes says its tested , or if theres is anyone with 7.4 with existing kernel that is working ??

whats the recomendation ??

Many thanks keep up the good work !!!

Any Love for 6.2.11-2?

Any chance on a release for 6.2.11-2? I tried compiling myself on my system but it keeps failing:

make[4]: Entering directory '/root/relax-intel-rmrr/build/proxmox/proxmox-kernel/pve-kernel/pve-kernel-6.2.16/modules/pkg-zfs'
[ -x ./scripts/zfs-tests.sh ] && \
    ./scripts/zfs-tests.sh -c
Missing helper script common.sh
make[4]: [Makefile:1513: all-local] Error 1 (ignored)
make[4]: Leaving directory '/root/relax-intel-rmrr/build/proxmox/proxmox-kernel/pve-kernel/pve-kernel-6.2.16/modules/pkg-zfs'
make[3]: Leaving directory '/root/relax-intel-rmrr/build/proxmox/proxmox-kernel/pve-kernel/pve-kernel-6.2.16/modules/pkg-zfs'
make[2]: Leaving directory '/root/relax-intel-rmrr/build/proxmox/proxmox-kernel/pve-kernel/pve-kernel-6.2.16/modules/pkg-zfs'
cp modules/pkg-zfs/module/avl/zavl.ko modules/
cp modules/pkg-zfs/module/nvpair/znvpair.ko modules/
cp modules/pkg-zfs/module/unicode/zunicode.ko modules/
cp modules/pkg-zfs/module/zcommon/zcommon.ko modules/
cp modules/pkg-zfs/module/icp/icp.ko modules/
cp modules/pkg-zfs/module/zfs/zfs.ko modules/
cp modules/pkg-zfs/module/lua/zlua.ko modules/
cp modules/pkg-zfs/module/spl/spl.ko modules/
cp modules/pkg-zfs/module/zstd/zzstd.ko modules/
make[1]: Leaving directory '/root/relax-intel-rmrr/build/proxmox/proxmox-kernel/pve-kernel/pve-kernel-6.2.16'
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
make: *** [Makefile:63: pve-kernel-6.2.16-2-pve-relaxablermrr_6.2.16-2_amd64.deb] Error 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.