On 6/12/24 08:14, David M Johnson wrote:
> On 6/11/24 16:49, Gaokai Zhang wrote:
>> Yeah, you are correct, I just figure that out, but I've been using the
>> command on small-lan and other profiles on some c240g5 but they worked
>> fine, and I don't know why;
>> btw, do you know how to do it correctly?
>
> Looks like you reloaded your node's disk and are back to the default
> kernel. What kernel did you install? FWIW, I have never used the
> ubuntu-drivers package to install the nvidia tools, so I can't really
> say what it might have done, but a packaged kernel missing the `bnxt`
> driver seems really unlikely.
Mike said it looked like you had built a kernel from source. It is
pretty hard to capture required kernel config options to get your custom
kernel to run on all Cloudlab machines. My standard advice is therefore
to copy the stock Ubuntu kernel config to linux/.config and `make
olddefconfig`, if the two kernel versions are reasonably close. Then
you can customize your custom kernel options further. Make sure to
install both your kernel and initramfs, and update /boot/grub/grub.cfg
(sudo grub-mkconfig -o /boot/grub/grub.cfg.new ; verify
/boot/grub/grub.cfg.new looks correct; then mv /boot/grub/grub.cfg.new
/boot/grub/grub.cfg).