This message was deleted.
# harvester
a
This message was deleted.
b
besides installing the packages you might need to edit the
/oem/90_custom.yaml
file to include the modprobe bits.
Copy code
name: Harvester Configuration
stages:
  initramfs:
  - commands:
    - modprobe kvm
b
ok let me try that, and I should be able to add kernel module options there for installed modules?
b
Yeah there's two different parts, you need to install the files/containers from the package manager, but you also need to activate them through the
stages.initramfs.commads
in the yaml.
b
Not pretty, but did the trick
Copy code
stages:
  initramfs:
  - commands:
    - modprobe -r bnx2x
    - modprobe bnx2x int_mode=2 disable_tpa=1 multi_mode=4 pri_map=0x22221100 qs_per_cos=0x10101 num_vfs=16 tx_switching=1
Ok so that is working, however now sr-iov will not work. I tested, and something breaks when doing modprobe -r, so I still need to figure out how to add the kernel module options on boot.
a
does this help at all? https://docs.harvesterhci.io/v1.2/troubleshooting/os#how-to-permanently-edit-kernel-parameters -- you can edit the grub config to add kernel parameters to the
linux ($loopdev)$kernel $kernelcmd
line (I assume something like
<http://bnx2x.int|bnx2x.int>_mode=2 ...
and so forth)
(probably still need the
modprobe
in
90_custom.yaml
and I don't know why that wouldn't have passed the parameters through that you need when you tried it before - sorry!)
b
Awesome, thanks!
Oh that worked, thank you so much. I would never have figured out bnx2x.whatever
a
cool, delighted to hear it worked 🙂
k
@high-alligator-99144