alibaba / LVS

A distribution of Linux Virtual Server with some advanced features. It introduces a new packet forwarding method - FULLNAT other than NAT/Tunneling/DirectRouting, and defense mechanism against synflooding attack - SYNPROXY.
2k stars 682 forks source link

lvs在DELL R730上kernel panic #19

Open zealot-wei opened 8 years ago

zealot-wei commented 8 years ago

新采购了一批机器, dell R730, 网卡Broadcom Corporation NetXtreme II BCM57800 1/10 Gigabit Ethernet, cpu intel e5-2630-v3, 编译后启动时显示kernel panic, lvs三个版本都试过, 都是同样的报错。 用原来的centos6.4内核启动后查看dmesg日志, 有部分内容如下: UNSUPPORTED HARDWARE DEVICE: Intel CPU model ------------[ cut here ]------------ WARNING: at kernel/rh_taint.c:13 mark_hardware_unsupported+0x39/0x40() (Not tainted) Hardware name: PowerEdge R730 Your hardware is unsupported. Please do not report bugs, panics, oopses, etc., on this hardware. Modules linked in: Pid: 0, comm: swapper Not tainted 2.6.32-358.el6.x86_64 #1 Call Trace: [] ? warn_slowpath_common+0x87/0xc0 [] ? warn_slowpath_fmt_taint+0x3f/0x50 [] ? mark_hardware_unsupported+0x39/0x40 [] ? setup_arch+0xb57/0xb7a [] ? printk+0x41/0x48 [] ? start_kernel+0xdc/0x430 [] ? x86_64_start_reservations+0x125/0x129 [] ? x86_64_start_kernel+0xfa/0x109 ---[ end trace a7919e7f17c0a725 ]---

是不是内核太老了, 无法驱动新的硬件啊 lvs还是220的内核, 随着现在硬件更新越来越快, 马上lvs就不支持了啊

sudoconf commented 7 years ago

可以考虑自己移植到新的内核里面去

geektcp commented 7 years ago

应该是版本不匹配,建议安装最新版本,注意LVS版本对内核版本有要求,要匹配。

luffycjf commented 7 years ago

https://jeffrycheng.com/2017/03/31/%E5%9C%A8R730%E4%B8%8A%E5%AE%89%E8%A3%85lvs-fullnat/ 这里面有介绍把lvs-fullnat移植到高版本内核中的办法