升级内核的问题
本帖最后由 chengmao2010 于 2011-05-26 10:04 编辑
在一个机器上编译生成了内核deb包(header和image),在另外一个机子上装却提示如下报错
root:/usr/src# dpkg -i linux-image-2.6.37.6_2.6.37.6-10.00.Custom_amd64.deb
Selecting previously deselected package linux-image-2.6.37.6.
(Reading database ... 65983 files and directories currently installed.)
Unpacking linux-image-2.6.37.6 (from linux-image-2.6.37.6_2.6.37.6-10.00.Custom_amd64.deb) ...
Done.
Setting up linux-image-2.6.37.6 (2.6.37.6-10.00.Custom) ...
Hmm. There is a symbolic link /lib/modules/2.6.37.6/build
However, I can not read it: No such file or directory
Therefore, I am deleting /lib/modules/2.6.37.6/build
Hmm. The package shipped with a symbolic link /lib/modules/2.6.37.6/source
However, I can not read the target: No such file or directory
Therefore, I am deleting /lib/modules/2.6.37.6/source
Running depmod.
Finding valid ramdisk creators.
Using mkinitramfs-kpkg to build the ramdisk.
W: mdadm: unchecked configuration file: /etc/mdadm/mdadm.conf
W: mdadm: please read /usr/share/doc/mdadm/README.upgrading-2.5.3.gz .
W: mdadm: no arrays defined in configuration file.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
2台机器的内核版本一样么?
回复 2# accessory
内核版本一样,硬件配置不一样
一样才好。
不过看提示应该是包里的内容不够。