LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-20-2004, 01:04 AM   #1
Rexversusu
Member
 
Registered: Aug 2004
Location: British Columbia
Distribution: Debian Testing
Posts: 47

Rep: Reputation: 15
Upgraded Kernel - Now X Server Won't Start - No GUI


I am running Debian Testing, and just attempted to update my kernel via apt-get from 2.2.20 to 2.6.7

However, the X-server will not start and it tells me that it probably isn't set up correctly.

I changed video card drivers, and had the same result.

The X-server then disables itself and tells me to restard gdm when it is configured correctly.

If necessary, I can repeat the process and make detailed notes of the error messages that appear. However, offhand I remember a few modules failing to load (pex5 and xie) being a couple.

I remeber seeing something about /dev/psaux

I remember fatal error and devices failing to intialize.

Like I said, I can get more detail from the screen if necessary.

The computer runs fine when I boot into OLD Linux.

Thanks In Advance guys.
 
Old 08-20-2004, 01:54 AM   #2
cheater1034
Member
 
Registered: Aug 2004
Location: Ohio
Distribution: Gentoo
Posts: 141

Rep: Reputation: 15
umm, I just installed debian, and I recompiled the kernel to 2.6.8, and then had the same problem, what you can do is, try to make a new xf86config file, i'm pretty sure it's X, make a config file, by running "xf86config" , if it's not in /usr/bin, do whereis xf86config, then cp /dir/dir/xf86config /usr/bin , if that doesnt work try running,

"dpkg-reconfigure xserver-xfree86" that will go through a setup of configuring a new file, but, the program xf86config will generate XF86Config, if you have version 4 of X, then do cp /etc/X11/XF86Config /etc/X11/XF86Config-4 , i had that error, though didn't fix it, because after recompiling the kernel I had a kernel panic
 
Old 08-20-2004, 05:57 AM   #3
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
X will fail without a mouse. Make sure you compiled mouse support into your kernel, or as a module.

Try this and see if you see anything interesting:
grep EE /var/log/XFree86.0.log

Last edited by /bin/bash; 08-20-2004 at 05:59 AM.
 
Old 08-20-2004, 02:28 PM   #4
Rexversusu
Member
 
Registered: Aug 2004
Location: British Columbia
Distribution: Debian Testing
Posts: 47

Original Poster
Rep: Reputation: 15
OK, please note I am a very new newbie, but I typed exactly what you said into Terminal and this is what popped up...

(BTW, there must be a way to 'copy and paste' this info without me having to reproduce it by hand)

Quote:
(II) Loading extension MIT-SCREEN-SAVER
(EE) Failed to load module "pex5" (module does not exist, 0)
(EE) Failed to load module "xie" (module does not exist, 0)
(--) NV(0): MMIO registers a 0xEE000000
(EE) xf86OpenSerial: Cannot open device /dev/input/mice
(EE) Generic Mouse: cannot open input device
(EE) PreInit failed for input device "Generic Mouse"
Well, even knowing nothing, it seems there is bunch in there about my mouse not loading properly. It worked fine with the old kernel.

So, exactly how can I fix this?
 
Old 08-20-2004, 03:45 PM   #5
p-static
Member
 
Registered: Jul 2004
Distribution: Gentoo
Posts: 101

Rep: Reputation: 15
You need to find out where your mouse device is, and replace the line in XF86Config with the new mouse device, since quite a bit of naming changed from 2.2 to 2.6.

An example from my XF86Config, which works on 2.6:

# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5"

Most likely, you'll have to change /dev/input/mice to /dev/mouse.
 
Old 08-20-2004, 04:00 PM   #6
Rexversusu
Member
 
Registered: Aug 2004
Location: British Columbia
Distribution: Debian Testing
Posts: 47

Original Poster
Rep: Reputation: 15
I'm sorry p-static, but could you please tell me what to type into terminal to bring up the x86config file?

I can't seem to get into it.
 
Old 08-20-2004, 04:33 PM   #7
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
Go back to /usr/src/linux and run make menuconfig or xconfig.
Go to Drivers -> Input Device Support[*] Provide Legacy /dev/psaux device
...
...[*] Mice
<*> PS/2 mouse

If you have to change these settings then you will need to make a new kernel.


Also if you wand to capture output of a command to a text file so you don't have to copy it by hand use a redirect ">" e.g.
grep EE /var/log/XFree86.0.log > errors.txt
That would put everything in the file errors.txt.

Or if you have something on the screen you want to copy you can hylight the text and type:
echo "<Now click middle mouse button to paste>" > output.txt

Last edited by /bin/bash; 08-20-2004 at 04:43 PM.
 
Old 08-20-2004, 05:33 PM   #8
Rexversusu
Member
 
Registered: Aug 2004
Location: British Columbia
Distribution: Debian Testing
Posts: 47

Original Poster
Rep: Reputation: 15
I don't seem to have a '/usr/src/inux'

When I type 'ls' in '/usr/src' nothing shows up.
 
Old 08-20-2004, 10:12 PM   #9
cheater1034
Member
 
Registered: Aug 2004
Location: Ohio
Distribution: Gentoo
Posts: 141

Rep: Reputation: 15
you have no kernel source. some distros, e.g. debian, what i use, You need to recompile the kernel, (the debian way) you're using a really old kernel too, maybe also update to sarge-rc2, i find it easier, and fast, and awesome, For a manual on how to recompile the kernel, the debian way, of course, go here

http://myrddin.org/howto/debian-kernel-recompile.php

except that tells you the 2.6.6 kernel, you can do the 2.6.7 kernel, (the newest in apt-get, or download 2.6.8 from kernel.org, it's a easy guide hope it helps
 
Old 08-21-2004, 06:42 AM   #10
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
Except don't use 2.6.8 if you use NFS and dont use 2.6.8 or 2.6.8.1 want to burn CD's or DVD's.

Do not use Kernel 2.6.8
 
  


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
Can't start GUI after Kernel Update Fe98 Linux - Hardware 18 06-14-2004 02:05 PM
Upgraded from linux 2.4 to 2.6 now x won't start lynrees Debian 5 03-16-2004 04:43 PM
upgraded to xfree86 4.3 and lost my GUI!! kinghari Linux - Newbie 5 10-25-2003 10:35 AM
Upgraded to new kernel via redhat network and cannot start X. Fatal Server Error. Gen13 Red Hat 5 10-25-2003 12:09 AM
Just Upgraded to Apache 1.3.24 and It Won't Start! John_Saunders Linux - Newbie 12 07-29-2002 01:56 PM

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

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