11
2024
06
10:45:58

RTL8168 升级使用 PVE 8.0



推荐本站淘宝优惠价购买喜欢的宝贝:

image.png

PVE 8.0 使用了新的 Linux 6.2 内核,但该内核版本也会使 RTL8168 网卡无法正常工作,需要降级内核版本才能使用

建议大家远离 RTL 8168 网卡,他不仅被 ESXi 7/8 所遗忘,如果对面是一个 Intel 的 I225-LM 网卡,更会直接自闭(无法自动协商),现在,他甚至被 pve-kernel-6.2 抛弃

先按照常规方法升级,然后确认下你的网卡型号,按下面的步骤降级内核

确认网卡型号

lspci | grep Ethernet


02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)

如果看到类似这样的输出,有 RTL8111/8168/8411 关键字,那就恭喜中奖,你正在使用 RTL 8168 网卡!

降级到 6.1 内核

其实也不是必须用 6.1,降级到一个你认为稳定的也可以(我是不推荐 5.13 和 6.2),比如 5.15 和 5.19,但是我测试 6.1 是稳定的而且较新的 LTS

然后就是注意别装成 Debian 原版内核了,我们要装的是 Proxmox VE 修改的内核

除了内核本体外还建议装下 kernel header


apt install pve-kernel-6.1 pve-header-6.1


然后就可以使用自带的 proxmox-boot-tool 调内核优先级了


proxmox-boot-tool kernel list


Manually selected kernels:
None.

Automatically selected kernels:
6.1.10-1-pve
6.2.16-3-pve


将 6.1 内核优先级调最高,以我现在的 6.1.10-1 为例:


proxmox-boot-tool kernel pin 6.1.10-1-pve

Setting '6.1.10-1-pve' as grub default entry and running update-grub.
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.2.16-3-pve
Found initrd image: /boot/initrd.img-6.2.16-3-pve
Found linux image: /boot/vmlinuz-6.1.10-1-pve
Found initrd image: /boot/initrd.img-6.1.10-1-pve
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Adding boot menu entry for UEFI Firmware Settings ...
done

Manually selected kernels:
None.

Automatically selected kernels:
6.1.10-1-pve
6.2.16-3-pve

Pinned kernel:
6.1.10-1-pve

重启就 OK 了


本文链接:http://hqyman.cn/post/6573.html 非本站原创文章欢迎转载,原创文章需保留本站地址!

分享到:





休息一下~~


« 上一篇 下一篇 »

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

您的IP地址是: