LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-10-2009, 06:28 PM   #1
Thaorius
LQ Newbie
 
Registered: Sep 2008
Posts: 6

Rep: Reputation: 0
Question Hard-Freeze on kernel 2.6.26 + NVIDIA driver


Hi, first post here .

I was having some problems with my old debian(system rather old, lots of dirty hacks, ended up in systematic system failure) so I reinstalled it(debian squeezy), everything seems to be working wonderfully now but one thing.

I installed the NVIDIA GeForece 7 series video driver(took me several hours...) yesterday, and haven't touched much the computer till just now. I started my usual programming duties and first while using firefox to read some api ref, I got a hard-freeze(screen freeze, can't change to other TTYs, after 2-3 seconds, audio buffer seems to empty out and then nothing). Seemed so odd... was my first non-self-induced kernel panic. Restarted the system, started using konqueror, just in case. Nothing happened. 10 minutes or so later, while using kwrite to edit a PHP script, crash again.

Both crashes happened while I was fast-scrolling up or down in the current window(in firefox I was fast scrolling down to the bottom with the mouse wheel and in kwrite I was doing the exact same thing but up instead of down).

I changed my xorg.conf with the old pre-nvidia one and no more crashes so far.

Concerning logs, it seems the system had no time to log anything, there is no evidence in any of the usual system logs(syslog, dmesg, messages).

One more thing, during the driver install, I got an error saying the gcc version used to build the kernel wasn't the same version I had installed, I continued anyways, the module would compile, yet it wouldn't successfully inject itself into the running kernel. So I installed gcc-4.1 through apt, and I still got the warning, but this time the module managed to inject itself. I'm guessing this is way I'm getting the crash, which is understandable, but I would like some input, as compiling a linux kernel and installing nvidia drivers is not something I consider "fun" under this circumstances.

Thanks for your time.
 
Old 04-10-2009, 09:10 PM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 555Reputation: 555Reputation: 555Reputation: 555Reputation: 555Reputation: 555
I'm not a Debian user, but it sounds like you need to do one of three things:

Either install a kernel that was built with your installed GCC, or..
Build a new kernel using your installed GCC, or..
Install the GCC that was used to build your installed kernel.

The nVidia driver is pretty fussy, and while *some* kernel modules *may* work if they are forced to load, the nVidia one will not, probably leading to your problems as I think you suspect. The kernel and GCC need to be in sync for it to work right.
 
  


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
Nvidia driver causing OpenSuse 10.2 x64 to freeze? ejb331 SUSE / openSUSE 2 06-27-2007 02:57 PM
New nVidia Driver & Xorg Freeze drowbot Linux - Hardware 19 04-16-2005 09:59 PM
Sis-AGP + Nvidia Driver + Xorg = Hard Lock iotc247 Linux - Hardware 6 03-04-2005 11:56 AM
Nvidia driver causes X to freeze TheSpoon Linux - Hardware 10 01-14-2005 01:15 PM
kernel 2.6.3--bk8 and NVIDIA-Linux-x86-1.0-5336 video driver from Nvidia zdenkod Linux - Hardware 2 03-09-2004 05:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:27 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
Open Source Consulting | Domain Registration