|
|
发表于 2006-11-5 07:49:49
|
显示全部楼层
既然能制作出 kernel 的 deb 包说明编译过程是没有错误发生,我想在这里提出两点:
1. 你看的文章要麽就是过时,要麽就是方法不正确,误导用户:beat
引自 LFS 手册第 8 章编译内核的部份
http://www.linuxfromscratch.org/ ... apter08/kernel.html
Warning
Some kernel documentation recommends creating a symlink from /usr/src/linux pointing to the kernel source directory. This is specific to kernels prior to the 2.6 series and must not be created on an LFS system as it can cause problems for packages you may wish to build once your base LFS system is complete.
Also, the headers in the system's include directory should always be the ones against which Glibc was compiled, that is, the ones from the Linux-Libc-Headers package, and therefore, should never be replaced by the kernel headers.
以下是引自 CLFS x86_64 multilib 手册编译内核的部份,分别在 header 文件,Debian 仍采用 Linux-Libc-Headers,但 Linux-Libc-Headers project 其实已寿终正寝了!
http://cross-lfs.org/view/svn/x86_64/bootable/kernel.html
Warning
Some kernel documentation recommends creating a symlink from /usr/src/linux pointing to the kernel source directory. This is specific to kernels prior to the 2.6 series and must not be created on a CLFS system as it can cause problems for packages you may wish to build once your base CLFS system is complete.
Also, the headers in the system's include directory should always be the ones against which Glibc was compiled (from the Linux-Headers package) and should never be replaced by the kernel headers.
2. 造成 kernel panic 的原因有很多,多数都是还项不对或配置不正确引起的,你先行搜索一下吧。 |
|