LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: xcrazy

继续请教gentoo编译内核时关于连接问题

[复制链接]
发表于 2009-3-11 01:11:49 | 显示全部楼层
LZ, 你是按照手册做的吗?
用的是旧的CD安装还是...?
内核怎么是linux-2.6.24-gentoo-r7
我emerge --sync, emerge portage,emerge gentoo-sources后是Linux-2.6.28-gentoo-r2。
回复 支持 反对

使用道具 举报

发表于 2009-3-11 09:36:06 | 显示全部楼层
楼主加个 -v 看看你链到哪里去了...
你最好是进到/usr/src/目录下再连接

  1. Boxer src # ls
  2. linux  linux-2.6.28-gentoo-r2  linux-2.6.28-gentoo-r3
  3. Boxer src # ln -sv linux-2.6.28-gentoo-r2 test
  4. `test' -> `linux-2.6.28-gentoo-r2'
  5. Boxer src # ls -l
  6. total 8
  7. lrwxrwxrwx  1 root root   22 2009-03-09 09:19 linux -> linux-2.6.28-gentoo-r3
  8. drwxr-xr-x 21 root root 4096 2009-03-08 09:52 linux-2.6.28-gentoo-r2
  9. drwxr-xr-x 23 root root 4096 2009-03-08 09:47 linux-2.6.28-gentoo-r3
  10. lrwxrwxrwx  1 root root   22 2009-03-11 09:21 test -> linux-2.6.28-gentoo-r2
  11. Boxer src # ls test/
  12. arch    drivers   include  kernel  modules.order   scripts   System.map  vmlinux
  13. block   firmware  init     lib     Module.symvers  security  usr         vmlinux.o
  14. crypto  fs        ipc      mm      net             sound     virt
  15. Boxer src # ls linux-2.6.28-gentoo-r2/
  16. arch    drivers   include  kernel  modules.order   scripts   System.map  vmlinux
  17. block   firmware  init     lib     Module.symvers  security  usr         vmlinux.o
  18. crypto  fs        ipc      mm      net             sound     virt
  19. Boxer src #
复制代码
回复 支持 反对

使用道具 举报

发表于 2009-3-11 10:09:50 | 显示全部楼层
Post by xcrazy;1959020
现在我直接把源码cp到/usr/src/linux下,希望能成功~~
另附上我的pci信息,希望大家在内核编译的选项上给些建议。(我是第一次装gentooo,当然也是第一次编译内核)
gentoo的思想就是自己作主,自己动手创造自己喜欢的系统,所以也就不用那个自动编译了,同时也希望自己能够多一点,更深入的了解gentoo.


最好还是先用 genkernel + livecd 的 .config,自己手动编译内核问题不是一般的多。先弄个能跑的内核,以后再自己优化内核选项,最后等自己熟了再手动编译内核不迟。
回复 支持 反对

使用道具 举报

发表于 2009-3-11 10:41:58 | 显示全部楼层
make之前ls一下看看文件在不在啊~
还有你不是很理解连接是什么吧?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表