LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 09-09-2009, 06:41 AM   #1
i_heart_pandas
LQ Newbie
 
Registered: Sep 2009
Posts: 15

Rep: Reputation: 0
recompiled kernel break x windows, why?


as the title says, i can recompile,update and upgrade my vaio laptop's (debian) kernel willy nilly and everything works fine. but with my desktop even a recompile makes xwindows not work, i was wondering why this could happen? is it because i have twinview? m gpu is 8800gtx if i matters?
 
Old 09-09-2009, 08:26 AM   #2
lurko
Member
 
Registered: Jun 2006
Location: Ontario, Canada
Distribution: Debian
Posts: 448

Rep: Reputation: 35
It's most likely because of the Nvidia blob. If you compile or update to a new kernel, the Nvidia driver will need to recompiled too before it will work at all with the new kernel. You could use the nv driver instead, but it's basically a pile of poo.

There's a thread in the Debian subforum detailing the various methods of Nvidia driver installation. If you follow the method from the Debian Wiki, the "Debian Way" using module-assistant, you could use this script I threw together to simplify rebuilding the blob after a new kernel is installed/compiled:
Code:
#!/bin/sh

sudo /etc/init.d/kdm stop
sudo modprobe -r nvidia
sudo m-a clean,a-i -i -f nvidia-kernel-source # -t
sudo depmod -a
sudo /etc/init.d/kdm start
I have another script that simplifies installing the blob from the .bin package downloaded from Nvidia's website (and another that's good for just rebuilding the module and keeping the rest of the driver package as-is), but it's more convoluted and it doesn't work with the newer kernels from testing/unstable which have the headers package split up into (I think) arch-specific and arch-independent sections. The module-assistant way is much simpler.
 
Old 09-09-2009, 06:26 PM   #3
i_heart_pandas
LQ Newbie
 
Registered: Sep 2009
Posts: 15

Original Poster
Rep: Reputation: 0
cheers i'll check it out
 
  


Reply



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
using recompiled kernel gruelius Linux - Newbie 2 02-17-2007 05:25 AM
XFree86 won't with recompiled kernel imwithstupid Mandriva 0 11-01-2004 10:33 AM
recompiled kernel 2.6.3-13 what does this mean? rbonafied Mandriva 8 06-07-2004 12:00 PM
recompiled kernel not in use taoweijia Linux - Newbie 1 01-09-2004 08:33 AM
recompiled kernel and no vmlinuz.old or kernel module for Nvidia Bruce Hill Slackware 13 12-11-2003 01:36 AM

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

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