alibaba / alibaba/LVS

编译LVS v2 kernel在安装的时候出错

Open
#1 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
2k
Forks
679
PR merge metrics
No merged PRs in 30d

Description

编译环境为虚拟机, 配置如下
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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the reported make, modules_install, and make install sequence in the 2.6.32 build tree, then inspect arch/x86/boot/install.sh and the listed modinfo errors. Reproduce the installation in the stated EL6 environment and determine whether the reported modules are produced or installed; done means the kernel installation completes without these module lookup errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
networking, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.