LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 09-17-2007, 09:13 PM   #1
sh00nya
LQ Newbie
 
Registered: Mar 2006
Posts: 3

Rep: Reputation: 0
Unhappy Kernel Update 2.6.20-16 on Ubuntu Feisty (NVidia GeForce2 Mx/Mx) broke Xserver


I upgraded Linux kernel on Ubuntu Feisty from 2.6.20-15 generic to 2.6.20-16 recently...but after I restarted the machine...it showed up with "Starting up" message n nothing further...I tried getting into recovery mode...it also didn't work...as after booting up...it stopped midway along themessages "PCI quirk...region interrupted"...thankfully I was able to boot into my prev kernel version...I looked up online n came across Alberto Milone's envy...I tried running it but it also didn't wotk as I was unable to get into the recovery mode of the latest kernel version! BTW, my graphics card in NVidia GEForce 2 MX/MX 400...

I have no idea as to how to go about fixing this problem...apart from removing the latest kernel...any insight/advice as to what to do next to solve this issue would be very helpful...and thanks in advance...
 
Old 09-20-2007, 08:10 AM   #2
Inspired
LQ Newbie
 
Registered: Sep 2007
Posts: 2

Rep: Reputation: 0
I have found a solution.

Boot with new kernel. When desktop manager hangs, switch to text tty (press Ctrl+Alt+F1), log in and type
sudo apt-get install --reinstall linux-restricted-modules-$(uname -r) nvidia-glx
This will reinstall linux-resticted-modules for current kernel version and nvidia drivers.
After that, type startx to start X Window System.

Well, if you have changed "nvidia" to "nv" in xorg.conf, you should change it back. Non-proprietary driver ("nvidia") works better.

Last edited by Inspired; 09-20-2007 at 03:21 PM.
 
Old 09-22-2007, 08:44 AM   #3
sh00nya
LQ Newbie
 
Registered: Mar 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Thank you for answering my query! Unfortunately since I can not get into the text tty...there's no way I can test the solution u offered...so my query now changes to as to how to either get into recovery mode of the latest kernel or into the tty text mode thru regular mode...any suggestion or advice would be welcome!
Once again...thanx for taking time to answer my query...I appreciate!
 
Old 09-23-2007, 11:07 PM   #4
Inspired
LQ Newbie
 
Registered: Sep 2007
Posts: 2

Rep: Reputation: 0
As I understood, Ctrl+Alt+F1 did not work?

Well, you need to log in to edit your configuration files. There are several possibilities: you can select previous kernel version in boot menu (usually there is a pair of line per each kernel), or you can start the last kernel in recovery mode, or boot up from LiveCD.

After you logged in, edit /etc/X11/xorg.conf file (if you logged in with graphical interface then you can use gedit or kate or anything; in text mode I use vim, but vim is not easy to learn).

1. Create backup copy:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak

2. Open file for editing:
gksu gedit /etc/X11/xorg.conf

(if you have booted from LiveCD, there would be path to the file on your mounted Linux partition, something like /media/sda4/etc/X11/xorg.conf)

In this file, you need to change line
Driver "nvidia"
to
Driver "nv"

The line is located at Section "Device".
"nv" is standard Ubuntu driver for NVidia cards.
Save the file and reboot in normal mode with the last kernel. X Server should start now.

Then - after you boot with the last kernel and log in - perform all that stuff with reinstalling driver:

sudo apt-get install --reinstall linux-restricted-modules-$(uname -r) nvidia-glx

After that, open /etc/X11/xorg.conf and change "nv" back to "nvidia". Reboot.

Glad to help you.
By the way, are you Russian? :)
 
  


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
Dead Screen on nVidia GeForce4 420 Go with Ubuntu Feisty Fawn H-Radical Linux - Laptop and Netbook 12 11-18-2008 07:28 AM
No Second Monitor...Ubuntu Feisty, nVidia, ATI killfixx Linux - Hardware 1 07-29-2007 11:14 AM
update to enlightenment broke it, on ubuntu 7.04 AceofSpades19 Ubuntu 1 07-24-2007 08:48 AM
LXer: Install Beryl with latest nvidia drivers in Ubuntu Feisty Fawn LXer Syndicated Linux News 0 04-25-2007 04:46 PM

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

All times are GMT -5. The time now is 02:47 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