Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lvs在DELL R730上kernel panic #19

Open
zealot-wei opened this issue Apr 12, 2016 · 4 comments
Open

lvs在DELL R730上kernel panic #19

zealot-wei opened this issue Apr 12, 2016 · 4 comments

Comments

@zealot-wei
Copy link

新采购了一批机器, 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
Copy link

sudoconf commented Jan 4, 2017

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

@geektcp
Copy link

geektcp commented Apr 12, 2017

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

@luffycjf
Copy link

luffycjf commented May 6, 2017

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

@mjzhou
Copy link

mjzhou commented Feb 6, 2025

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

主要还是raid驱动无法识别问题,可以直接安装高版本的如centos6.5系列【能识别raid卡的centos6, 6.5不行再找更高版本内核的的6系列】,受上面文章启发,可以直接提取高版本的raid驱动替换220的编译
#替换raid驱动
#centos6.5 的是431: /root/linux-2.6.32-431.el6.x86_64/drivers/scsi/megaraid* [自行网上找包kernel-2.6.32-431.el6.src.rpm提取]

cd /root/rpmbuild/BUILD/kernel-2.6.32-220.23.1.el6/linux-2.6.32-220.23.1.el6.x86_64/drivers/scsi
rm -rf megaraid*
cp -a kernel-2.6.32-431.el6.src.rpm .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants