系统版本:X86/
设备环境:(物理机 )
BUG现象:当前版本1.1.30 根据推送升级内核至6.18.18无法识别之前安装的网卡驱动,清除后,重新编译安装驱动与内核版本不匹配报错root@:~/ngbe-1.2.6.5/src# make install make[1]: Entering directory '/usr/src/linux-headers-6.18.18-trim' make[2]: Entering directory '/root/ngbe-1.2.6.5/src' warning: the compiler differs from the one used to build the kernel The kernel was built by: x86_64-linux-gnu-gcc (Debian 12.2.0-14) 12.2.0 You are using: gcc (Debian 12.2.0-14) 12.2.0 CC [M] ngbe_main.o ngbe_main.c: In function ‘ngbe_disable_device’: ngbe_main.c:5974:9: error: implicit declaration of function ‘del_timer_sync’; did you mean ‘dev_mc_sync’? [-Werror=implicit-function-declaration] 5974 | del_timer_sync(&adapter->service_timer);
更换驱动版本都是依旧,使用的网卡型号为Beijing Wangxun WX1860A4
驱动官网:https://www.net-swift.com/
千兆通用类WX1860A4 使用的linux 千兆网卡PE驱动 ngbe1.2.6.5-1.2.6.7均尝试不行
切换回原GRUB_DEFAULT="gnulinux-6.6.38-trim-advanced-d3a183f5-782e-48d6-8b3f-3bc1d336b9eb"内核后均可以,