LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 825|回复: 6

遇到个奇怪问题[救我]

[复制链接]
发表于 2007-2-13 14:13:40 | 显示全部楼层 |阅读模式
一开始我的是2.6.18-1.2798的,然后按照下面方法安装

[root@localhost feelam]# rpm -ivh http://rpm.livna.org/livna-release-6.rpm
Retrieving http://rpm.livna.org/livna-release-6.rpm
Preparing... ########################################### [100%]
package livna-release-6-1 is already installed
[root@localhost feelam]# rpm --import http://rpm.livna.org/RPM-LIVNA-GPG-KEY
[root@localhost feelam]# yum install kmod-nvidia
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
livna 100% |=========================| 1.1 kB 00:00
core 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 1.2 kB 00:00
freshrpms 100% |=========================| 1.1 kB 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 106 kB 00:02
################################################## 335/335
primary.xml.gz 100% |=========================| 64 kB 00:03
################################################## 179/179
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for kmod-nvidia to pack into transaction set.
kmod-nvidia-1.0.9746-1.2. 100% |=========================| 18 kB 00:01
---> Package kmod-nvidia.i686 0:1.0.9746-1.2.6.19_1.2895.fc6 set to be installed
--> Running transaction check
--> Processing Dependency: kernel-i686 = 2.6.19-1.2895.fc6 for package: kmod-nvidia
--> Processing Dependency: nvidia-kmod-common >= 1.0.9746 for package: kmod-nvidia
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for xorg-x11-drv-nvidia to pack into transaction set.
xorg-x11-drv-nvidia-1.0.9 100% |=========================| 34 kB 00:01
---> Package xorg-x11-drv-nvidia.i386 0:1.0.9746-7.lvn6 set to be updated
---> Downloading header for kernel to pack into transaction set.
kernel-2.6.19-1.2895.fc6. 100% |=========================| 211 kB 00:11
---> Package kernel.i686 0:2.6.19-1.2895.fc6 set to be installed
--> Running transaction check
--> Processing Dependency: mkinitrd >= 5.1.19.0.2-1 for package: kernel
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package mkinitrd.i386 0:5.1.19.0.2-1 set to be updated
--> Running transaction check
--> Processing Dependency: nash = 5.1.19.0.2-1 for package: mkinitrd
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package nash.i386 0:5.1.19.0.2-1 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
kmod-nvidia i686 1.0.9746-1.2.6.19_1.2895.fc6 livna 2.3 M
Installing for dependencies:
kernel i686 2.6.19-1.2895.fc6 updates 16 M
xorg-x11-drv-nvidia i386 1.0.9746-7.lvn6 livna 4.9 M
Updating for dependencies:
mkinitrd i386 5.1.19.0.2-1 updates 438 k
nash i386 5.1.19.0.2-1 updates 1.1 M

Transaction Summary
=============================================================================
Install 3 Package(s)
Update 2 Package(s)
Remove 0 Package(s)

Total download size: 25 M
Is this ok [y/N]: y



现在看了下。。。。确实都安装了吧?


[root@localhost ~]# rpm -ivh http://rpm.livna.org/fedora/6/i3 ... 1.2895.fc6.i686.rpm
Retrieving http://rpm.livna.org/fedora/6/i3 ... 1.2895.fc6.i686.rpm
Preparing...                ########################################### [100%]
        package kmod-nvidia-1.0.9746-1.2.6.19_1.2895.fc6 is already installed



[root@localhost ~]# rpm -ivh http://rpm.livna.org/fedora/6/i3 ... 746-7.lvn6.i386.rpm
Retrieving http://rpm.livna.org/fedora/6/i3 ... 746-7.lvn6.i386.rpm
Preparing...                ########################################### [100%]
        package xorg-x11-drv-nvidia-1.0.9746-7.lvn6 is already installed
[root@localhost ~]#


但是开机会出错。我重新启动下是什么错误。少等
 楼主| 发表于 2007-2-13 14:50:47 | 显示全部楼层
按照平常那样启动。过了“进入细节”的那个登录之前的画面后就是黑屏,就一个  _ 下划线光标在闪。接着跳出这画面(蓝屏差不多)
Failed to start the X server(your graphical interface). It is likely that it is not set up correctly. Would you like to view the X Server output to diagnose the problem?

                                               YES                NO

选择YES的话依然进入一个[蓝屏差不多的画面]
Window System Version 7.1.11
Release Date: 12 May 2006
X protocol version 11,  Revision 0,Release 7.1.1
Build Operating System Linux 2.6.9-34.ELsmp i686 REDHAT.Inc
Current Operating System: Linux localhost.localdomain
2.6.19-1.2895.fc6 #1 SMP Wed  Jan 10    19:28:18 EST 2007 i686
Build Date:04 October 2006
Build ID: xorg-x11-server 1.1.1-47.fc6
Module loader present
Markers--)probed,(**)from config file,(==)default setting,(++)from command line,(!!)notice,(II)informationl,(ww)warining,(EE)error,(NI)Not implemented,(??)unknow

(==)Log file:" /var/log/xorg.o.log" Time:Tue Feb 13 14:11:09 2007

                                      OK

选择OK后就进入
Would you like to view the detailed x server output as well
Yes        No
选YES又回到刚才画面。选NO就变成
The x server is now disabled,Restart GDM when it is configured correctly
OK
按了OK就黑了。。又是那个下划线光标一闪一闪
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-2-13 14:55:51 | 显示全部楼层
按照平常那样启动。过了“进入细节”的那个登录之前的画面后就是黑屏,就一个 _ 下划线光标在闪。接着跳出这画面(蓝屏差不多)
Failed to start the X server(your graphical interface). It is likely that it is not set up correctly. Would you like to view the X Server output to diagnose the problem?

YES NO

如果这选NO的话就出现
would you like to try to configure the X  server? Note that you will need the root password for this.
YES  NO
选YES
please type in the root (privileged user) password:
password:输入密码

一会就出现个couldn't start X ....什么东西的没看清楚   in .............
一下子跳出个display setting
我选择了LCD Panel 1024*768
Geforce4 MX 4000 AGP 8X
后确定。就出现
display setting changed
configuration was written to /etc/x11/xorg.conf,original configuration saved as /etc/x11/xorg.conf.backup
OK
try to restart the X Server
OK
进入了系统了。。

帮忙解决这问题。谢谢
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-2-13 14:55:51 | 显示全部楼层
手写了一次/再打字打到这。。大家帮忙。。
回复 支持 反对

使用道具 举报

发表于 2007-2-13 16:52:34 | 显示全部楼层
显然是安装了驱动后xorg.conf配置不当引起的。
这个文件在/etc/X11/里面,你可以删除掉它,则使用默认配置进入X。不过这样的话没有加载新装驱动。可以从NVDIA官方网站下载nvidia-xconfig来进行自动配置。(不过我用的是官方驱动)上网搜一下相关的资料,我贴我的给你看看,


# nvidia-xconfig: X configuration file generated by n       
# nvidia-xconfig:  version 1.0  (root@DMH387)  2007年 02月 05日 星期一 20:59:53 CST

# Xorg configuration created by pyxf86config

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Synaptics" "CorePointer"
    Option         "AIGLX" "True"
EndSection

Section "Files"
    ModulePath      "/usr/lib/xorg/modules"
EndSection

Section "Module"
    Load           "dbe"
    Load           "v4l"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "us"
EndSection

Section "InputDevice"
    Identifier     "Synaptics"
    Driver         "synaptics"
    Option         "Device" "/dev/input/mice"
    Option         "rotocol" "auto-dev"
    Option         "Emulate3Buttons" "yes"
EndSection

Section "Monitor"

### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       30.0 - 110.0
    VertRefresh     50.0 - 150.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "AddARGBGLXVisuals" "True"
    Option         "XAANoOffscreenPixmaps"
    Option         "DRI" "True"
    Option         "AllowGLXWithComposite" "True"
    Option         "RenderAccel" "True"
    SubSection     "Display"
        Viewport    0 0
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-2-13 17:32:25 | 显示全部楼层
好的我去下载nvidia-xconfig看一下。如果不行的话再问下你哦。。THX

下回来了。但是怎么用 哦大哥。。。
回复 支持 反对

使用道具 举报

发表于 2007-2-13 17:50:16 | 显示全部楼层
我是下载官方驱动装的,这个不太清楚
回复 支持 反对

使用道具 举报

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

本版积分规则

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