LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-22-2006, 07:23 PM   #1
Diminished7th
Member
 
Registered: Apr 2004
Distribution: Gentoo, FreeBSD
Posts: 88

Rep: Reputation: 15
Complete system freeze


Any attempt to open files in XMMS, Mplayer and Xine results in the complete uselessness of my system. Everything freezes and I can't make use of my keyboard or my mouse. Ctrl + Alt + F1 becomes impossible and I'm left only to hit the power switch.

I've seen a similar post here however, it is unclear as to whether or not the author ever solved his problem.

My machine ran flawlessly this morning, and I'm sure that all I did was install the most recent Nvidia drivers. I tried downgrading to a previous release to no avail after figuring that the drivers could possibly be at fault.

Please let me know what specific information you need to further diagnose my problem. I'll appreciate any time spent on helping me. Thankyou.
 
Old 04-22-2006, 07:52 PM   #2
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,349

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
You can check whether it definitely is the nvidia drivers by change the driver to 'nv' in xorg.conf and restarting X
 
Old 04-22-2006, 08:11 PM   #3
Diminished7th
Member
 
Registered: Apr 2004
Distribution: Gentoo, FreeBSD
Posts: 88

Original Poster
Rep: Reputation: 15
Well, I did just that and my problem now seems to have gone away. Where does that put me now? Not using the Nvidia drivers isn't an option, obviously.

Any ideas?

Thanks for helping me to the next step.
 
Old 04-22-2006, 08:20 PM   #4
corbintechboy
Member
 
Registered: Sep 2003
Location: Kentucky
Posts: 480
Blog Entries: 1

Rep: Reputation: 51
I have this problem with the nvidia drivers (Not with any app but when X starts it locks the system). What I do when this happens is compile a kernel, then recompile the nvidia driver, works every time. I seem to think it is due to the kernel being compiled with another version of gcc then the driver.
This always solves my problem!
 
Old 04-22-2006, 09:53 PM   #5
Diminished7th
Member
 
Registered: Apr 2004
Distribution: Gentoo, FreeBSD
Posts: 88

Original Poster
Rep: Reputation: 15
Thankyou anti_microsoft, but I refuse to do that every single time. I'm certain that there are other solutions and that we're not the only people to have come across this problem.

I'm considering what you said about a different version of gcc being used to compile the driver. It's also mentioned in
Nvidia's "Common Problems" section.

Any other ideas?
 
Old 04-23-2006, 12:21 AM   #6
drumz
Member
 
Registered: Apr 2005
Location: Scottsdale, AZ, USA
Distribution: Slackware
Posts: 206

Rep: Reputation: 52
Do
Code:
$ cat /proc/version
To see which version of gcc was used to compile the kernel. I discovered this halfway through writing my post.

If the driver and the kernel have to be compiled by the same version of gcc, then there'e probably no way around it. Slackware 10.1 has gcc version 3.3.4 and the 2.6.10 kernel in testing. Slackware 10.2 has gcc version 3.3.6 and the 2.6.13 kernel. Since you refuse to recompile your kernel for this rather major problem, I'm going to make the following assumptions. Assuming you're using 10.1 and the 2.6.11.10 kernel, it was either in -current before 10.2 and you're using the stock kernel, or you compiled yourself. In either of those situations, you should have been prepared for this to happen. If it was from current, it either used gcc 3.3.4 or 3.3.5 (not sure if 3.3.5 was ever in current). Basically your options are upgrade or downgrade gcc (using upgradepkg) to the right version and install the nVidia module or do a "make oldconfig" and just reinstall your kernel. It won't take that long.
 
Old 04-23-2006, 01:19 AM   #7
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Firstly, Nvidia driver won't install if it finds different gcc with which the currently running kernel was compiled.
 
Old 04-23-2006, 02:09 AM   #8
Diminished7th
Member
 
Registered: Apr 2004
Distribution: Gentoo, FreeBSD
Posts: 88

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by drumz
Since you refuse to recompile your kernel for this rather major problem, I'm going to make the following assumptions...
Kernel recompilation isn't an issue. anti_mircosoft's wording made it appear as though he actually recompiles his kernel and reinstalls the Nvidia drivers every single time X Windows freezes.

I certainly am willing to recompile if it will alleviate my problem.

Thankyou.
 
Old 04-23-2006, 02:11 AM   #9
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Recompiling is needed only one time to get the kernel built with newer gcc.
 
Old 04-23-2006, 04:39 AM   #10
Diminished7th
Member
 
Registered: Apr 2004
Distribution: Gentoo, FreeBSD
Posts: 88

Original Poster
Rep: Reputation: 15
Yes, I'm aware.
 
Old 04-23-2006, 11:08 AM   #11
corbintechboy
Member
 
Registered: Sep 2003
Location: Kentucky
Posts: 480
Blog Entries: 1

Rep: Reputation: 51
Quote:
Originally Posted by Diminished7th
Kernel recompilation isn't an issue. anti_mircosoft's wording made it appear as though he actually recompiles his kernel and reinstalls the Nvidia drivers every single time X Windows freezes.

I certainly am willing to recompile if it will alleviate my problem.

Thankyou.

LOL really? I would never do that. To much hassle. LOL
 
Old 04-23-2006, 02:40 PM   #12
drumz
Member
 
Registered: Apr 2005
Location: Scottsdale, AZ, USA
Distribution: Slackware
Posts: 206

Rep: Reputation: 52
Glad that confusion is cleared up. Did you check which version of gcc was used to compile the kernel? I don't think we've actually confirmed that that's the problem. It could be something else.
 
Old 04-23-2006, 03:10 PM   #13
Diminished7th
Member
 
Registered: Apr 2004
Distribution: Gentoo, FreeBSD
Posts: 88

Original Poster
Rep: Reputation: 15
Code:
bash-3.00# cat /proc/version
Linux version 2.4.31 (root@tree) (gcc version 3.3.5) #6 Sun Jun 5 19:04:47 PDT 2005
And gcc 3.3.6 was used to compile the Nvidia module(s).
 
Old 04-23-2006, 04:06 PM   #14
drumz
Member
 
Registered: Apr 2005
Location: Scottsdale, AZ, USA
Distribution: Slackware
Posts: 206

Rep: Reputation: 52
The only practical solution I know of is to rebuild your kernel. "make oldconfig && make" should do it. Does anybody else know if compiling the kernel with a different version of gcc will break compatibility with current modules installed? In may case I have to build the wireless, touchpad, and nVidia modules after compiling the kernel, so you want to be aware of anything else like that.

If you can get your hands on a gcc 3.3.5 package, you could "upgrade" to that, install the module, then upgrade back to 3.3.6.
 
Old 04-23-2006, 06:30 PM   #15
Diminished7th
Member
 
Registered: Apr 2004
Distribution: Gentoo, FreeBSD
Posts: 88

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by drumz
If you can get your hands on a gcc 3.3.5 package, you could "upgrade" to that, install the module, then upgrade back to 3.3.6.
Alright, well I'll give that a try for anyone else who comes across this thread and doesn't want to recompile. But, I've been looking forward to grabbing the 2.6.16.9 kernel source later today anyways.

I'll post on my success in a bit. 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
FC4 complete freeze Azhrarn Linux - Software 7 04-17-2006 12:02 AM
Complete system freeze-up ScottReed Linux - Software 4 04-02-2006 03:06 AM
Complete Freeze jakkals Linux - Software 2 11-18-2005 11:26 PM
Looking for a complete Linux System AndeAnderson Linux - General 5 07-21-2005 02:21 PM
Complete System Backup top111 Linux - Newbie 1 08-20-2001 06:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:53 PM.

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