LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: bjsm

gentoo 从去年到今年都没搞定。 多谢关注-- 搞定收工~~!

[复制链接]
发表于 2010-2-25 20:16:33 | 显示全部楼层
Post by bjsm;2071699
根据楼上的指导还是不成,我找遍GOOGLE的每一个角落,发现有人也和我一样,他断言说是GENKERNEL自动编译内核出现的问题,SO -----我就想手动编译一下内核,根据手册编译完毕,好像没说到关于initrd.gz部分的问题,在论坛上曾经听前辈说GENTOO已经不用initrd.gz了,直接在 grub.conf里写上内核就可以了。可是我还是启动出错,到root=sda7部分就出错了,键盘灯乱闪。

以前也遇到过这种情况,我并不慌张,生成initrd.gz就可以了,不过GENTOO听说不用这个了,怎么办?还有那个SYSTEM-MAP文件怎么生成的?以前混DEBIAN时记得也是MKINITRD生成的。


还有,我机器升级啦~~~!
AMD 速龙 x4 630

GIGABYTE MA785GT-UD3H

金士顿 骇客神条 DDR3 1666 2G  (这个内存我最肉疼,390元。)


“/”需要的文件系统一定不能编译成module,要编译时内核,也就是选成*而不是M, File systems->Dnotify support及下面的两个Inotify............要选。如果是sata接口,SCISI 和Serial ATA里面相关的要选。
其实,最简单的办法,是用ubuntu的generic内核配置文件(在ubuntu中/boot目录中),先只去掉明显不需要的硬件选项,成功后再适当删减。

X的问题,/etc/make.conf中要加上INPUT_DEVICES="keyboard mouse evdev"
VIDEO_CARDS="你的显示卡类型“
内核中Device driver->Graphics support 只去掉你明确不需要的。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-2-25 22:16:22 | 显示全部楼层
内核成功了,我重新安装xorg-server出现这个提示,不知道什么意思。

* QA Notice: Package has poor programming practices which may compile
*            fine but exhibit random runtime failures.
* ddxDevBtn.c:120: warning: implicit declaration of function 'CopyGetMasterEvent'

* Please do not file a Gentoo bug and instead report the above QA
* issues directly to the upstream developers of this software.
* Homepage: http://xorg.freedesktop.org/

>>> Installing (1 of 1) x11-base/xorg-server-1.6.5-r1
* >>> SetUID: [chmod go-r] /usr/bin/Xorg ...
  [ ok ]

Switching to xorg-x11 OpenGL interface... done
* Users of reduced blanking now need:
*    Option "ReducedBlanking"
* In the relevant Monitor section(s).
* Make sure your reduced blanking modelines are safe!

* You must rebuild all drivers if upgrading from xorg-server 1.5
* or earlier, because the ABI changed. If you cannot start X because
* of module version mismatch errors, this is your problem.

* You can generate a list of all installed packages in the x11-drivers
* category using this command:
* emerge portage-utils; qlist -I -C x11-drivers/






X的问题,/etc/make.conf中要加上INPUT_DEVICES="keyboard mouse evdev"

请问evdev是什么?
回复 支持 反对

使用道具 举报

发表于 2010-2-25 22:34:12 | 显示全部楼层
Post by bjsm;2071781
内核成功了,我重新安装xorg-server出现这个提示,不知道什么意思。

* QA Notice: Package has poor programming practices which may compile
*            fine but exhibit random runtime failures.
* ddxDevBtn.c:120: warning: implicit declaration of function 'CopyGetMasterEvent'

* Please do not file a Gentoo bug and instead report the above QA
* issues directly to the upstream developers of this software.
* Homepage: http://xorg.freedesktop.org/

>>> Installing (1 of 1) x11-base/xorg-server-1.6.5-r1
* >>> SetUID: [chmod go-r] /usr/bin/Xorg ...
  [ ok ]

Switching to xorg-x11 OpenGL interface... done
* Users of reduced blanking now need:
*    Option "ReducedBlanking"
* In the relevant Monitor section(s).
* Make sure your reduced blanking modelines are safe!

* You must rebuild all drivers if upgrading from xorg-server 1.5
* or earlier, because the ABI changed. If you cannot start X because
* of module version mismatch errors, this is your problem.

* You can generate a list of all installed packages in the x11-drivers
* category using this command:
* emerge portage-utils; qlist -I -C x11-drivers/






X的问题,/etc/make.conf中要加上INPUT_DEVICES="keyboard mouse evdev"

请问evdev是什么?

emerge portage-utils 安装portage工具。这个工具里面有一个qlist命令。
qlist -I -C x11-drivers/ 输出安装x11-drivers时安装了哪些包。
INPUT_DEVICES="keyboard mouse evdev" 表示编译输入设备(即键盘、鼠标),对应于x11-drivers/xf86-input-keyboard x11-drivers/xf86-input-mouse x11-drivers/xf86-input-evdev
x11-server 1.5.x版本以上用evdev来驱动键盘、鼠标,不安装的话,进入X后键盘、鼠标无反应。
看: http://www.gentoo.org/doc/zh_cn/xorg-config.xml
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-2-26 18:43:43 | 显示全部楼层
运行qlist -I -C x11-drivers

输出x11-drivers/xf86-input-keyboard
      x11-drivers/xf86-input-mouse

怎么办呢?
回复 支持 反对

使用道具 举报

发表于 2010-2-26 19:59:49 | 显示全部楼层
怎么没显卡modules?
A卡先用开源的,简单点
gentoo配置X 比其他发行版都便当
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-2-26 20:24:05 | 显示全部楼层
怎么没显卡modules?

那我要装哪个包?
回复 支持 反对

使用道具 举报

发表于 2010-2-26 20:58:41 | 显示全部楼层
bjsm 你在make.conf里面,修改为

VIDEO_CARDS="vesa"

如果成功启动了X,再换成你自己的驱动

另外,贴出你的xorg-server的use
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-2-26 21:54:06 | 显示全部楼层
Post by hubert_star;2071979
bjsm 你在make.conf里面,修改为

VIDEO_CARDS="vesa"

如果成功启动了X,再换成你自己的驱动

另外,贴出你的xorg-server的use


我直接在make.conf里设置了USE,然后emerge xorg-server MAKE.CONF已经贴出来了。
回复 支持 反对

使用道具 举报

发表于 2010-2-26 23:12:34 | 显示全部楼层
我说的是你emerge -av xorg-server时出现的use值
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-2-27 00:02:05 | 显示全部楼层
hal nptl sdl xorg -debug -dmx -ipv6 -kdrive -minimal -tslib

粉红色的,和蓝色的各代表什么意思啊?
回复 支持 反对

使用道具 举报

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

本版积分规则

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