LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-26-2005, 11:06 AM   #1
weegolo
LQ Newbie
 
Registered: Apr 2005
Location: Singapore
Distribution: Fedora Core 2 & 3
Posts: 12

Rep: Reputation: 0
nvidia setup unrecoverable?


I seem to have a very common error, but I've tried every answer that google can find and none work.

My Fedora Core 3 box has been running the nvidia drivers very happily for some months now. I've just "up2dated" (apologies for verbing the noun!), rebooted, and X won't start. It loads the nvidia splashscreen, then displays a blue screen, then nvidia, then bluescreen, then nvidia, then bluescreen, then a dark screen.

I've done some troubleshooting, some googling and some FAQing, and got nowhere slowly:

The process table tells me I clearly have problems:

[root@shuttle ~]# ps ax
PID TTY STAT TIME COMMAND
5492 ? Ss 0:00 /bin/sh /etc/X11/gdm/XKeepsCrashing
5509 ? S 0:00 /usr/libexec/gdmopen -l /bin/sh -c /etc/X11/gdm/XKeepsCrashing -noopen
5518 tty8 Ss+ 0:00 /bin/sh /etc/X11/gdm/XKeepsCrashing -noopen
5602 tty8 S+ 0:00 /usr/bin/dialog --yesno I cannot start the X server (your graphical interface). It is likely that it is not set up correctly.

Starting the x server manually doesn't help:

[root@shuttle ~]# startx
<snip>
(EE) Failed to load module "nvidia" (once-only module, 147542688)
Could not init font path element unix/:7100, removing from list!

Fatal server error:
could not open default font 'fixed'
<snip>

NB although google shows many suggestions on how to fix the font issue - changing the Fontpath variable in /etc/x11/xorg.conf to a socket call at 7100 or -1, or explicitly entering a path to the font libraries, checking permissions and so on - none seem to make a difference. Besides, the font errors come after the 'Failed to load module "nvidia"' line, so I think they're a symptom not the cause.

I've tried reinstalling the nvidia drivers, using the instructions at nvidia's site (can supply url if it helps). No change.

I've followed nvidia's FAQ (can supply full url if it helps) with no success. The log file is unhelpful about why it fails to load:

[root@shuttle ~]# cat /var/log/Xorg.0.log
<snip>
(II) LoadModule: "nvidia"
(II) Reloading /usr/X11R6/lib/modules/drivers/nvidia_drv.o
(II) UnloadModule: "nvidia"
(EE) Failed to load module "nvidia" (once-only module, 147542688)
(II) LoadModule: "mouse"
<snip>
(II) NVIDIA(0): Setting mode "1280x1024"
(II) Loading extension NV-GLX
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
<snip>

It seems odd that so many positive NVIDIA messages appear after the 'failed to load' line - the above is just a small sample.

The nvidia module seems to load just fine:
[root@shuttle ~]# modprobe nvidia
[root@shuttle ~]# lsmod | grep nv
nvidia 3927580 0

The device files seem to be all present and correct:
[root@shuttle ~]# ll /dev/nvid* -t
crw-rw---- 1 root root 195, 255 Apr 26 22:26 /dev/nvidia
crw-rw---- 1 root root 195, 0 Apr 26 21:23 /dev/nvidia0
crw-rw-rw- 1 root root 195, 1 Apr 26 21:23 /dev/nvidia1
crw-rw-rw- 1 root root 195, 2 Apr 26 21:23 /dev/nvidia2
crw-rw-rw- 1 root root 195, 3 Apr 26 21:23 /dev/nvidia3
crw-rw-rw- 1 root root 195, 4 Apr 26 21:23 /dev/nvidia4
crw-rw-rw- 1 root root 195, 5 Apr 26 21:23 /dev/nvidia5
crw-rw-rw- 1 root root 195, 6 Apr 26 21:23 /dev/nvidia6
crw-rw-rw- 1 root root 195, 7 Apr 26 21:23 /dev/nvidia7
crw-rw---- 1 root root 195, 255 Apr 26 21:23 /dev/nvidiactl

...at which point the only thing that the Nvidia FAQs have left to offer is the marvellouslly circuitous "If you see anything in the log file like 'failed to initialise the nvidia kernel module', then there is most likely a problem with the nvidia kernal module" (no, really?)

I'm now officially fresh out of ideas. Any suggestions?

Cheers
Geoff
 
Old 04-26-2005, 05:20 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,569

Rep: Reputation: 171Reputation: 171
Look into /etc/x11/xorg.conf and check how many times is the module loaded. If unsure, post content of the file (without comments).

BTW Have you updated your kernel recently (during the update)?
 
Old 04-26-2005, 07:27 PM   #3
weegolo
LQ Newbie
 
Registered: Apr 2005
Location: Singapore
Distribution: Fedora Core 2 & 3
Posts: 12

Original Poster
Rep: Reputation: 0
The module is only loaded once in xorg.conf:

Code:
[root@shuttle ~]# cat /etc/X11/xorg.conf | grep -C 3 nvidia
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        ModulePath   "/usr/X11R6/lib/modules/extensions/nvidia"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "unix/:7100"
EndSection
--
        Load  "freetype"
        Load  "type1"
 #Load  "glx"
        Load  "nvidia"
        Load  "glx"
EndSection

--

Section "Device"
        Identifier  "Videocard0"
        Driver      "nvidia"
        VendorName  "NVidia"
        BoardName   "VESA driver (generic)"
EndSection
I specifically avoided updating the kernel:


Code:
[root@shuttle ~]# cat /var/log/up2date
[Mon Apr 25 21:39:49 2005] up2date availablePackageList from network
[Mon Apr 25 21:41:14 2005] up2date A socket error occurred: (104, 'Connection reset by peer'), attempt #1
[Tue Apr 26 18:36:04 2005] up2date installing packages: ['HelixPlayer-1.0.4-1.0.fc3.1', 'ImageMagick-6.2.0.7-2.fc3', 'NetworkManager-0.3.4-1.1.0.fc3', 'alsa-lib-1.0.6-8.FC3', 'at-3.1.8-70_FC3', 'autofs-4.1.3-114', 'bind-libs-9.2.5-1', 'bind-utils-9.2.5-1', 
'boost-1.32.0-5.fc3', 'boost-devel-1.32.0-5.fc3', 'cpp-3.4.3-22.fc3', 'curl-7.12.3-3.fc3', 'curl-devel-7.12.3-3.fc3', 'cvs-1.11.17-6.FC3', 'dhclient-3.0.1-40_FC3', 'dmraid-1.0.0.rc6-1_FC3', 'e2fsprogs-1.36-1.FC3.1', 'e2fsprogs-devel-1.36-1.FC3.1', 
'ethereal-0.10.10-1.FC3.1', 'evolution-2.0.4-4', 'evolution-data-server-1.0.4-3', 'firefox-1.0.3-1.3.1', 'foomatic-3.0.2-13.4', 'gaim-1.2.1-1.fc3', 'gamin-0.0.25-1.FC3', 'gcc-3.4.3-22.fc3', 'gcc-c++-3.4.3-22.fc3', 'gcc-g77-3.4.3-22.fc3', 'gcc-java-3.4.3-22.fc3', 
'gdk-pixbuf-0.22.0-16.fc3', 'gimp-2.2.4-0.fc3.3', 'gimp-help-2-0.1.0.7.0.fc3.1', 'glibc-2.3.5-0.fc3.1', 'glibc-common-2.3.5-0.fc3.1', 'glibc-devel-2.3.5-0.fc3.1', 'glibc-headers-2.3.5-0.fc3.1', 'gpdf-2.8.2-4.2', 'grip-3.2.0-4', 'gtk2-2.4.14-3.fc3', 'htdig-3.2.0b6-3.FC3.1',
 'initscripts-7.93.7-1', 'ipsec-tools-0.5-2.fc3', 'kdeedu-3.3.1-2.3', 'kdegraphics-3.3.1-2.4', 'kdelibs-3.3.1-2.9.FC3', 'kdenetwork-3.3.1-3', 'krb5-devel-1.3.6-5', 'krb5-libs-1.3.6-5', 'krb5-workstation-1.3.6-5', 'libexif-0.5.12-3.1', 'libf2c-3.4.3-22.fc3', 'libgal2-2.2.5-1', 
'libgcc-3.4.3-22.fc3', 'libgcj-3.4.3-22.fc3', 'libgcj-devel-3.4.3-22.fc3', 'libsoup-2.2.2-1.FC3', 'libstdc++-3.4.3-22.fc3', 'libstdc++-devel-3.4.3-22.fc3', 'libtiff-3.6.1-10.fc3', 'libtool-1.5.6-4.FC3.2', 'libtool-libs-1.5.6-4.FC3.2', 'lockdev-1.0.1-4.1', 
'lockdev-devel-1.0.1-4.1', 'logwatch-5.2.2-1.FC3', 'lsof-4.72-2.2', 'mc-4.6.1-0.14.FC3', 'mozilla-nspr-1.7.7-1.3.1', 'mozilla-nss-1.7.7-1.3.1', 'nfs-utils-1.0.6-52', 'nscd-2.3.5-0.fc3.1', 'openoffice.org-1.1.3-11.5.0.fc3', 'openoffice.org-i18n-1.1.3-11.5.0.fc3', 
'openoffice.org-libs-1.1.3-11.5.0.fc3', 'openssh-3.9p1-8.0.1', 'openssh-askpass-3.9p1-8.0.1', 'openssh-askpass-gnome-3.9p1-8.0.1', 'openssh-clients-3.9p1-8.0.1', 'openssh-server-3.9p1-8.0.1', 'pcmcia-cs-3.2.7-2.2', 'policycoreutils-1.18.1-2.10', 
'procps-3.2.3-5.2', 'qt-3.3.4-0.fc3.0', 'selinux-policy-targeted-1.17.30-2.96', 'spamassassin-3.0.2-0.fc3', 'system-config-printer-0.6.116.1.4-1', 'system-config-printer-gui-0.6.116.1.4-1', 'system-config-samba-1.2.28-0.fc3.1', 
'system-config-services-0.8.21-0.fc3.1', 'tcsh-6.13-10.FC3.1', 'telnet-0.17-32.FC3.2', 'tzdata-2005f-1.fc3', 'udev-039-10.FC3.7', 'urw-fonts-2.3-0.FC3.1', 'util-linux-2.12a-23', 'vixie-cron-4.1-33_FC3', 'wireless-tools-27-1.2.0.fc3', 'words-3.0-2.2', 
'xloadimage-4.1-34.FC3', 'xorg-x11-6.8.2-1.FC3.13', 'xorg-x11-Mesa-libGL-6.8.2-1.FC3.13', 'xorg-x11-Mesa-libGLU-6.8.2-1.FC3.13', 'xorg-x11-deprecated-libs-6.8.2-1.FC3.13', 'xorg-x11-font-utils-6.8.2-1.FC3.13', 'xorg-x11-libs-6.8.2-1.FC3.13', 
'xorg-x11-tools-6.8.2-1.FC3.13', 'xorg-x11-twm-6.8.2-1.FC3.13', 'xorg-x11-xauth-6.8.2-1.FC3.13', 'xorg-x11-xdm-6.8.2-1.FC3.13', 'xorg-x11-xfs-6.8.2-1.FC3.13', 'xpdf-3.00-10.4', 'yum-2.2.0-0.fc3']
[Tue Apr 26 19:13:04 2005] up2date availablePackageList from network
[Tue Apr 26 19:15:00 2005] up2date solving dep for: ['gtk2', 'libICE.so.6', 'libSM.so.6', 'libgdk-x11-2.0.so.0', 'libgdk_pixbuf-2.0.so.0', 'libgtk-x11-2.0.so.0']
If it's relevant at all, the first up2date session complained about a failed verification of the OpenOffice package, and the second session (26/04 19:15) saw the up2date window hang (before it started downloading) which prompted an X server restart, which was the first time X server failed.
 
Old 04-26-2005, 10:40 PM   #4
weegolo
LQ Newbie
 
Registered: Apr 2005
Location: Singapore
Distribution: Fedora Core 2 & 3
Posts: 12

Original Poster
Rep: Reputation: 0
Resolved - thanks for the help!

Now sorted - the benefits of having a linux engineer at the next desk at work :-)

It turns out that the following line in xorg.conf is redundant:
Code:
Load "nvidia"
...as the driver gets loaded a second time during the device section:
Code:
Section "Device"
        Identifier  "Videocard0"
        Driver      "nvidia"
        VendorName  "NVidia"
        BoardName   "VESA driver (generic)"
EndSection
Commenting out the 'Load "nvidia"' line in my xorg.conf resolved that.

Mara - this may have been what you were getting at. I didn't realise specifying the driver in the device section loaded it for a second time.

Then restarting xfs got over the "could not open default font 'fixed'" problem (I was right, it was a seperate problem).

...and now X starts! Hurrah!

Thanks all.
 
Old 04-27-2005, 06:49 AM   #5
jinxingvenus
LQ Newbie
 
Registered: Apr 2005
Location: China
Distribution: rehat as4.0
Posts: 12

Rep: Reputation: 0
for your help

weegolo@
may i ask your question about installing nvidia driver (version NVIDIA-Linux-x86-1.0-7174-pkg1-custom.run).
this is my first installation,my system is rehat as 3.0,i try to many times (at least 4 times)
but result is failure.
what i will do >
************************************
***************************************

Quote:
errolog

II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 1.0.0
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.2
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 1.0.0
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.2
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension FontCache
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "fbdevhw"
(II) Loading /usr/X11R6/lib/modules/linux/libfbdevhw.a
(II) Module fbdevhw: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 0.0.2
ABI class: XFree86 Video Driver, version 0.6
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
(II) Module glx: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 1.0.0
ABI class: XFree86 Server Extension, version 0.2
(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) Module GLcore: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 1.0.0
ABI class: XFree86 Server Extension, version 0.2
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/X11R6/lib/modules/extensions/librecord.a
(II) Module record: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 1.13.0
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.2
(II) Loading extension RECORD
(II) LoadModule: "freetype"
(II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a
(II) Module freetype: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 2.0.2
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.4
(II) Loading font FreeType
(II) LoadModule: "type1"
(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a
(II) Module type1: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 1.0.2
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.4
(II) Loading font Type1
(II) Loading font CID
(II) LoadModule: "nvidia"
(WW) Warning, couldn't open module nvidia
(II) UnloadModule: "nvidia"
(EE) Failed to load module "nvidia" (module does not exist, 0)
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 1.0.0
Module class: XFree86 XInput Driver
ABI class: XFree86 XInput driver, version 0.4
(EE) No drivers available.

Fatal server error:
no screens found

If you encounter a server crash, please report the problem by filing a bug
report in the XFree86.org bugzilla at http://bugs.xfree86.org and/or Red Hat
bugzilla at http://bugzilla.redhat.com/bugzilla. When filing your report, it
is very important that you explain your problem in as much detail as possible,
and include a complete description on how to reproduce the problem. After
submitting the bug report, attach the following files as uncompressed
individual file attachments using the bugzilla file attachment feature:
- X server log file: /var/log/XFree86.0.log
- X server config file: /etc/X11/XF86Config
- Kernel log file: /var/log/messages
 
Old 04-27-2005, 07:08 AM   #6
weegolo
LQ Newbie
 
Registered: Apr 2005
Location: Singapore
Distribution: Fedora Core 2 & 3
Posts: 12

Original Poster
Rep: Reputation: 0
Ni hao, jingxingvenus!

Have you tried following the install instructions at ftp://download.nvidia.com/XFree86/Li...174/README.txt ?

Can you also post the results of:
Code:
root@localhost> cat /etc/X11/xorg.conf | grep -C 3 nvidia
That should help us work out what's going wrong.
 
Old 04-19-2006, 05:15 AM   #7
jinxingvenus
LQ Newbie
 
Registered: Apr 2005
Location: China
Distribution: rehat as4.0
Posts: 12

Rep: Reputation: 0
very thanks .
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ps2pdf problems "Unrecoverable error, exit code 1" sohmc Linux - Software 1 11-14-2005 09:04 PM
nvidia driver setup dink27 Linux - Software 6 06-24-2005 05:30 PM
Can't setup nvidia s-video input ajaimes Linux - Hardware 4 12-17-2004 06:22 PM
How to setup NVIDIA at Debian? Mathsniper Linux - Software 2 09-18-2004 12:17 PM
Kernel panic: aic7xxx: unrecoverable BRKADRINT mallikarjun Linux - Hardware 2 11-27-2002 11:54 PM


All times are GMT -5. The time now is 08:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration