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 v2 kernel在安装的时候出错 #1

Open huainansto opened 11 years ago

huainansto commented 11 years ago

编译环境为虚拟机, 配置如下 CPU Intel(R) Core(TM) i3-3120M CPU @ 2.50GHz Mem 2G gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC) 2.6.32-220.el6.x86_64

yum -y install @development-tools fedora-packager kernel-devel rpm-build redhat-rpm-config asciidoc hmaccalc binutils-devel elfutils-libelf-devel newt-devel zlib-devel xmlto python-devel perl-ExtUtils-Embed rpmdev-setuptree

mkdir -p /root/rpmbuild/BUILD/kernel-2.6.32-220.23.1.el6/linux-2.6.32-220.23.1.el6.x86_64 下载 lvs_v2 kernel, 执行如下步骤 make -j8 make modules_install make install sh /root/rpmbuild/BUILD/kernel-2.6.32-220.23.1.el6/linux-2.6.32-220.23.1.el6.x86_64/arch/x86/boot/install.sh 2.6.32 arch/x86/boot/bzImage \ System.map "/boot" ERROR: modinfo: could not find module snd_intel8x0 ERROR: modinfo: could not find module snd_ac97_codec ERROR: modinfo: could not find module ac97_bus ERROR: modinfo: could not find module snd_seq ERROR: modinfo: could not find module snd_seq_device ERROR: modinfo: could not find module snd_pcm ERROR: modinfo: could not find module snd_timer ERROR: modinfo: could not find module snd ERROR: modinfo: could not find module soundcore ERROR: modinfo: could not find module snd_page_alloc ERROR: modinfo: could not find module sd_mod ERROR: modinfo: could not find module crc_t10dif

wujiaming commented 11 years ago

这些错误 像是缺少 硬件驱动,建议google一下,make menuconfig 添加上相应的modules

shenshouer commented 8 years ago

snd好像是声卡驱动,不影响正常使用