Go Back   nV News Forums > Linux Support Forums > NVIDIA FreeBSD

Newegg Daily Deals

Reply
 
Thread Tools
Old 01-22-07, 12:04 PM   #1
equimax
equimax
 
Join Date: Jan 2007
Location: Texas
Posts: 10
Default Failed to load GLX after new hard drive

The following installation was working fine for me:

Freebsd 4.8
VGA JATON/GF2 MX400 32MB PCI RTL
Nvidia Driver patched and installed.
KDE 3.1

Then I had a hard drive crash. I run two hard drives: Drive two backs up drive one every 24 hours using an rsync routine. Normally, when drive one fails, I can just make drive two the master drive, tweek a few things and I am off and running. This time when I did this, KDE won't start (startx from command line.) It reports

"Failed to Load GLX"

Followed by some reports of missing libraries.

I'm not sure what to do to figure this out. My rsync routine does not copy /tmp directories, so if the NVIDIA driver is looking for a /tmp directory that is not there, that could be the problem.

Anyway, your ideas would be greatly appreciated.

I have not uploaded any log files. I would be happy to do that. However, if you would like to see a log, please give me some step by step instructions to generate it, or tell me where to find it. I am new at this stuff.

Thnx!
equimax is offline   Reply With Quote
Old 01-23-07, 03:55 PM   #2
SirDice
Registered User
 
Join Date: Jul 2005
Posts: 79
Default Re: Failed to load GLX after new hard drive

Why are you still running 4.8?
SirDice is offline   Reply With Quote
Old 01-23-07, 05:34 PM   #3
equimax
equimax
 
Join Date: Jan 2007
Location: Texas
Posts: 10
Default Re: Failed to load GLX after new hard drive

Quote:
Originally Posted by SirDice
Why are you still running 4.8?
Long Story. Why, are you just curios?
equimax is offline   Reply With Quote
Old 01-25-07, 03:09 PM   #4
SirDice
Registered User
 
Join Date: Jul 2005
Posts: 79
Default Re: Failed to load GLX after new hard drive

Quote:
Originally Posted by equimax
Long Story. Why, are you just curios?
4.8 isn't supported by the freebsd team anymore. 4.11 (the last 4.x release) will be EOL at the end of this month. So I'm kind of curious why you're still running such an old version
SirDice is offline   Reply With Quote
Old 01-25-07, 03:29 PM   #5
equimax
equimax
 
Join Date: Jan 2007
Location: Texas
Posts: 10
Default Re: Failed to load GLX after new hard drive

QUOTE=SirDice]4.8 isn't supported by the freebsd team anymore. 4.11 (the last 4.x release) will be EOL at the end of this month. So I'm kind of curious why you're still running such an old version [/quote]

I am a small business operator who maintains a web site and a series of office computers while serving customers, paying taxes, and doing all the other stuff that a business operator does. My FreeBSD machine is a development machine for my current web site. Much of my development time is now taken up with creating a completely new web site which will do away with the need for the FreeBSD development machine. Meanwhile, I would like to get the FreeBSD machine working again for use in the short term. I have better things to do with my time than upgrade to the latest bells and whistles if the old ones are working OK. In this case the old machine was working fine until the hard drive failure described.

So, having said that, do you have any helpful suggestions?
equimax is offline   Reply With Quote
Old 01-25-07, 08:28 PM   #6
SirDice
Registered User
 
Join Date: Jul 2005
Posts: 79
Default Re: Failed to load GLX after new hard drive

You could just try to reinstall the nvidia-driver, I'm assuming you already tried that? Anything in /var/log/Xorg.0.log? Or is that oldy still running XFree? Not sure when they've moved from XFree to Xorg.. Have a look at it's logfile. Missing module dir mentioned in there?

/tmp does contain some needed directories. .ICE-unix and .X11-unix both dirs should at least exist and have their sticky bit set.
SirDice is offline   Reply With Quote
Old 01-26-07, 03:02 PM   #7
equimax
equimax
 
Join Date: Jan 2007
Location: Texas
Posts: 10
Default Re: Failed to load GLX after new hard drive

Thanks so much for taking the time to give me your suggestions!

Quote:
Originally Posted by SirDice
You could just try to reinstall the nvidia-driver, I'm assuming you already tried that?

Yep. Good suggestion though.

Anything in /var/log/Xorg.0.log? Or is that oldy still running XFree? Not sure when they've moved from XFree to Xorg.. Have a look at it's logfile. Missing
module dir mentioned in there?

Tis XFree in my case. I looked at the log and couldn't see anything that I know to be out of whack. I was going to attach a copy of the file for you to look at, but I discovered that my Samba server is not loading correctly either. (I access this forum from my Windows box.) I am beginning to think that I have more problems than first met the eye. In fact, from looking at the log, it looks like the Nvidia driver is loading. GLX is failing, but that may have been true all along.

/tmp does contain some needed directories. .ICE-unix and .X11-unix both dirs should at least exist and have their sticky bit set.
.X11-unix was there. I added .ICE-unix, but that did not change things.

Looks like I may have to punt. There seems to be more wrong than I thought.

S
equimax is offline   Reply With Quote
Old 01-27-07, 09:52 AM   #8
SirDice
Registered User
 
Join Date: Jul 2005
Posts: 79
Default Re: Failed to load GLX after new hard drive

Can you ssh to the box from your windows machine? If so, you could copy the files using winscp. I use it all the time in combination with putty.
SirDice is offline   Reply With Quote

Old 01-29-07, 12:30 PM   #9
equimax
equimax
 
Join Date: Jan 2007
Location: Texas
Posts: 10
Default Re: Failed to load GLX after new hard drive

Quote:
Originally Posted by SirDice
Can you ssh to the box from your windows machine? If so, you could copy the files using winscp. I use it all the time in combination with putty.
Cool! Thanks for putting me on to winscp. I have attached the Xfree log file.
Thanks for sticking with me on this. Looking forward to your thoughts.
Attached Files
File Type: log XFree86.0.log (22.5 KB, 153 views)
equimax is offline   Reply With Quote
Old 01-30-07, 05:39 AM   #10
SirDice
Registered User
 
Join Date: Jul 2005
Posts: 79
Default Re: Failed to load GLX after new hard drive

A few things I noticed..

(II) LoadModule: "nvidia"
(II) Loading /usr/X11R6/lib/modules/drivers/nvidia_drv.o
(II) Module nvidia: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.4365
Module class: XFree86 Video Driver

(II) NVIDIA XFree86 Driver 1.0-4365 Wed May 28 09:23:41 PDT 2003
(II) NVIDIA Unified Driver for all NVIDIA GPUs

It does load the nvidia-driver, an old one but if it worked before it should still be ok.

Just before it fails to load GLX:
(WW) NVIDIA(0): Failed to verify AGP usage

This makes me think it might be AGP related. Did you compile the nvidia-driver with or without freebsd_agp? Is AGP in your kernel? Is it loaded as a module? On 5.x and higher this is done in /boot/loader.conf. A line agp_load="YES" will load the freebsd AGP module. IIRC 4.x should work the same but I'm not sure if agp is build into the generic kernel of 4.x though.
SirDice is offline   Reply With Quote
Old 01-30-07, 12:26 PM   #11
equimax
equimax
 
Join Date: Jan 2007
Location: Texas
Posts: 10
Default Re: Failed to load GLX after new hard drive

Quote:
It does load the nvidia-driver, an old one but if it worked before it should still be ok.
Agreed.

Quote:
Just before it fails to load GLX:
(WW) NVIDIA(0): Failed to verify AGP usage

This makes me think it might be AGP related. Did you compile the nvidia-driver with or without freebsd_agp? Is AGP in your kernel? Is it loaded as a module? On 5.x and higher this is done in /boot/loader.conf. A line agp_load="YES" will load the freebsd AGP module. IIRC 4.x should work the same but I'm not sure if agp is build into the generic kernel of 4.x though.
Hmmm.... interesting thought. I checked the current kernel and the line

Device agp

is in it and not commented out. No other reference to agp though. I added the line agp_load="YES" to my /boot/loader.conf file and rebooted to see what would happen. Unfortunately, this did not change the problem or the XFree86.0.log file errors. I have extensive notes from when I installed the NVIDIA driver originally and there is no mention there of having to do anything about AGP. My video card is not an AGP card.

So, I remain stumped. My gut is telling me that the problem must be related to something that did not copy to the backup hard drive such as a file or directory. I have done this kind of hard drive switch in the past without this kind of problem, although I can't remember if I have done it since I installed this video card and driver.

I really appreciate your time and effort on my behalf. If anything else occurs to you, please let me know.

S
equimax is offline   Reply With Quote
Old 01-30-07, 06:51 PM   #12
adamk75
Registered User
 
Join Date: Nov 2006
Posts: 228
Default Re: Failed to load GLX after new hard drive

First, can you confirm that the nvidia kernel module is getting loaded?

Second, do you see any libglx* files in /usr/X11R6/lib/modules/extensions?
adamk75 is offline   Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Regression with 295.33 and GeForce GT 240 maro NVIDIA Linux 16 06-29-12 06:47 PM
173.14.34 -- Xorg 1.12.1 & 1.11.4, glx module fails to load mereset NVIDIA Linux 17 06-10-12 01:24 AM
X Failed to load NVdriver c00lr4c3r NVIDIA Linux 13 10-22-02 01:44 PM
Glx mrbig1344 NVIDIA Linux 7 09-30-02 06:45 AM
Hard Drive Cooling Iron1384 General Hardware 3 09-25-02 01:42 AM

All times are GMT -5. The time now is 05:31 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.