LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-17-2009, 08:37 AM   #1
lulatsch
LQ Newbie
 
Registered: Nov 2008
Posts: 24

Rep: Reputation: 15
Fedora 11 can't log in after yum update


I have Fedora 11. After my most recent update, I can't log in.

Every time I authenticate, the logon window disappears, the screen goes black briefly, and then I am back at the log in window :-(

I entirely reinstalled, and then it worked, until I updated to the newest kernel then it didn't work anymore.

Please help :-/
 
Old 09-17-2009, 10:40 AM   #2
lutusp
Member
 
Registered: Sep 2009
Distribution: Fedora
Posts: 835

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by lulatsch View Post
I have Fedora 11. After my most recent update, I can't log in.

Every time I authenticate, the logon window disappears, the screen goes black briefly, and then I am back at the log in window :-(

I entirely reinstalled, and then it worked, until I updated to the newest kernel then it didn't work anymore.

Please help :-/
Okay, this is the reason updates keep a copy of the prior kernel -- something might go wrong.

1. When the system boots, press any key at the moment the kernel identifier is on display in text form (you only have a few seconds to do this). Pressing a key will allow the Grub menu to display itself. (You will see a list of available kernels.)

2. Using the up and down arrow keys, choose the prior kernel from this menu and type 'b'.

3. Once you have successfully booted up, consider what might be wrong. One possibility is you require a third-party video driver like NVidia, which is specified in /var/X11/xorg.conf but with no driver in the updated kernel. (I have this problem all the time.)

Solutions: boot up as above, or by entering the Grub boot menu and adding a '3' at the end of the kernel boot line -- like this:

Code:
kernel /boot/vmlinuz-2.6.30.5-43.fc11.i686.PAE ro root=UUID=... rhgb quiet 3
Note the '3' at the end of this line. This edit temporarily makes the system enter runlevel 3 (text only) so you can fix things.

Now sort out why the system isn't activating your normal graphics runlevel (which is 5 by the way).

If you are in fact using a third-party video driver, you can edit /etc/X11/xorg.conf, replacing the offending driver name with 'vesa' or 'nv' (the second only if you have an NVidia video adaptor). Then type this:

Code:
# init 5
This will cause the system to move from runlevel 3 to 5, and you should see a normal graphic dislay.
 
Old 09-17-2009, 12:10 PM   #3
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
As lutfsp said, your problem is that your video driver was not updated when you updated your kernel. Since the video driver is installed as a kernel module, it must be (re)compiled for the specific kernel you're using.

This problem usually occurs when you're using a proprietary driver (nvidia, ATI, etc.) that you compiled yourself.

If you can, I'd suggest enabling the rpm-fusion repositories and looking for your drivers in them. Those repositories usually provide RPMs to keep your drivers in sync with your kernel.

If you have network access in run level 3 (access as describe by lutfsp, above), try doing a yum install mc to install the "Midnight Commander" pseudo-gui file manager to simplify your hacking of your xorg.conf file, and you could also do a yum install elinks to get a pseudo-gui Web browser that you can use when your video driver is not working.
 
Old 09-21-2009, 03:16 AM   #4
lulatsch
LQ Newbie
 
Registered: Nov 2008
Posts: 24

Original Poster
Rep: Reputation: 15
I don't have a xorg.conf. I think this might be standard in Fedora 11.
Edit: I now generated a xorg.conf with system-config-display --noui

I manually removed and reinstalled xorg-x11-drv-intel with yum. It didn't work.

By the way: now the start hangs on "Starting atd: OK"

If I specify "vesa" in xorg.conf, then it gets past the point, but display doesn't load properly.

Last edited by lulatsch; 09-21-2009 at 05:26 AM.
 
Old 09-21-2009, 06:30 AM   #5
lulatsch
LQ Newbie
 
Registered: Nov 2008
Posts: 24

Original Poster
Rep: Reputation: 15
Update

Everything works if I remove kernel-PAE.
But this isn't a solution for me, because I want to use kernel-PAE.

What can the problem be?
 
Old 09-21-2009, 09:56 AM   #6
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
PAE?

Anyhow, the PAE kernel is different from the non-PAE kernel, and the driver needs to be compiled for the specific kernel you're using. Since the driver works with the non-PAE kernel, clearly that driver was compiled for the kernel with which it works. Simple, eh?

So, just recompile the driver for the kernel you're using.
 
Old 09-29-2009, 02:46 AM   #7
lulatsch
LQ Newbie
 
Registered: Nov 2008
Posts: 24

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by PTrenholme View Post
PAE?

Anyhow, the PAE kernel is different from the non-PAE kernel, and the driver needs to be compiled for the specific kernel you're using. Since the driver works with the non-PAE kernel, clearly that driver was compiled for the kernel with which it works. Simple, eh?

So, just recompile the driver for the kernel you're using.
I am attempting to recompile the driver (in run level 3), but I have not found any documentation on how to recompile the driver.

Update: I recompiled the Intel driver for my kernel, but still nothing works.
When booting in init 5, it gets past

atd starting: OK

at then it freezes. Normally the mouse pointer would appear at this point. Please help :-(

Last edited by lulatsch; 09-29-2009 at 08:01 AM.
 
Old 09-30-2009, 04:06 PM   #8
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Just guessing here, but it's possible that the driver is using some libraries, and, of course, those libraries too may need to be compiled for the specific kernel version you're using.

Since you mentioned that the driver worked with the non-PAE kernel, I suspect that you have both kernels installed on the same system, and that, unless you took great care, you may have mixed libraries.
 
  


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
Cant log into fedora after yum update crimsonflame123 Fedora 4 03-14-2009 12:48 PM
yum update problem in fedora 9 rathishtnair Linux - Desktop 1 03-10-2009 08:49 AM
a question about yum update in fedora 7 kvsaputra Fedora 4 07-02-2008 09:04 PM
can't log in after yum update elpatan Fedora 1 11-26-2006 05:31 AM
FC5 yum update errors not in log bostondriver Fedora 0 10-02-2006 10:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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