sihan 发表于 2006-9-28 23:07:33

安装 VMware 时出现内核不匹配问题


What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

The directory of kernel headers (version 2.4.22-1.2115.nptlcustom) does not
match your running kernel (version 2.4.22-1.2115.nptl).Even if the module wereto compile successfully, it would not load into the running kernel.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]


我重编译过内核, 但是编译失败了, 我就重新光盘安装, 安装了一部分,
系统提示光盘介质损坏, 我就没有装完, 但是系统内核已经安装了, 所以可以
进入系统, 不过出现上面的问题了, 还有 MP3 也挂载不上了, 但是现在我又不
想重装, 不知道有什么办法没?? 如果要编译内核, 要特别注意些什么, 我都失败
两次了.(每次系统到 Kernel panic: No init found. Try passing init= option to kernel.
那就卡住了)

sihan 发表于 2006-9-29 22:22:41

问题急需解决, 自己顶一下 请高手帮帮忙 !

huohu163 发表于 2006-9-30 14:19:57

uname -a ,看看你的内核版本号具体是多少,然后apt-get install kernel****-*****或urpmi kernel***-*****

sihan 发表于 2006-9-30 17:41:31

uname -a ,看看你的内核版本号具体是多少,然后apt-get install kernel****-*****或urpmi kernel***-*****

[sihan@localhost sihan]$ uname -a
Linux localhost.localdomain 2.4.22-1.2115.nptl #1 Wed Oct 29 15:31:21 EST 2003 i686 athlon i386 GNU/Linux

[sihan@localhost sihan]$ apt-get install kernel 2.4.22-1.2115.nptl
bash: apt-get: command not found

[sihan@localhost sihan]$ urpmi kernel 2.4.22-1.2115.nptl
bash: urpmi: command not found



没有这些命令啊?

hew 发表于 2006-9-30 18:32:16

装上对应版本的 kernel-headers

sihan 发表于 2006-9-30 19:30:44

装上对应版本的 kernel-headers
对应版本的 kernel-headers 是什么意思???
页: [1]
查看完整版本: 安装 VMware 时出现内核不匹配问题