LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-24-2005, 07:10 PM   #1
Jaster
Member
 
Registered: Jun 2004
Posts: 105

Rep: Reputation: 15
Kernel Upgrade = X failure?


Hey, just did a sarge install (with 2.4 kernel) and just booted up and opened synaptic and downloaded (and install) the 2.6.8 kernel image and everything synaptic marked as an upgrade. I then restarted the comp and booted into 2.6.8 and it tells me X is configured incorrectly and asks if I want to see the output (not that I would understand it) and I go through a couple screen (containing no output) and then get a command line. I have an averatec C3500 with a SiS graphics card (yes, chose SiS when installing). It works fine under 2.4 though. Can anyone help me with this??
 
Old 01-24-2005, 08:55 PM   #2
llamakc
Member
 
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402

Rep: Reputation: 31
Yes.
 
Old 01-25-2005, 08:03 AM   #3
jsmarshall85
Member
 
Registered: Aug 2003
Posts: 386

Rep: Reputation: 30
thats a lame answer llamakc unless you were planning on researching and then coming back, but still...

to answer your question Jaster, read this posting here

basically what you want to do is run
Code:
dpkg-reconfigure xserver-xfree86
which is in the very beginning of the article linked above.

this should get you working again
 
Old 01-25-2005, 06:24 PM   #4
llamakc
Member
 
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402

Rep: Reputation: 31
Yes. I was going to help, just like I normally try to do. However I had to send the kids to school and leave for court. Thanks for getting him going though.

We really do need to see the output of XFree86.0.log though don't we? What if it is failing on a mouse issue (core pointer device) that isn't getting loaded properly?

It could have been anything. Hopefully the good ole dpkg-reconfigure helped him out.
 
Old 01-25-2005, 06:33 PM   #5
kzar
Member
 
Registered: Oct 2003
Posts: 66

Rep: Reputation: 15
might be a problem with the ps mouse modules needed with 2.6 kernels. mousedev and psmouse if i remember correctly. If that is the problem just modprobe them both and add them to /etc/modules.
 
Old 01-27-2005, 08:58 PM   #6
Jaster
Member
 
Registered: Jun 2004
Posts: 105

Original Poster
Rep: Reputation: 15
oh, the mouse is the problem it seems (after reading the log output). Now, how exactly do I go about trying to fix it? I don't really understand what kzar said (yes newb). Could someone please explain it to me? Under 2.4 in the install the /psaux and PS/2 options worked fine. I have a touchpad mouse, what should I do from here to try and fix this? Thanks.
 
Old 01-27-2005, 09:32 PM   #7
llamakc
Member
 
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402

Rep: Reputation: 31
1. apt-get install discover
2. run modconf and install the modules mousedev and psmouse
3. dpkg-reconfigure xserver-xfree86

So I was right after all. We needed more info. Now let us see your log file for XFree86.0.log, please.
 
Old 01-29-2005, 02:39 PM   #8
Jaster
Member
 
Registered: Jun 2004
Posts: 105

Original Poster
Rep: Reputation: 15
I'm sorry llamakc, I'm not worthy of your esteemed help. Otherwise, here's what I think to be the relevant part of the log atm:
--------------------------------------------------------------------------------------------
(II) Keyboard "Generic Keyboard" handled by legacy driver
(**) Option "Protocol" "PS/2"
(**) Configured Mouse: Protocol: "PS/2"
(**) Option "CorePointer"
(**) Configured Mouse: Core Pointer
(**) Option "Device" "/dev/psaux"
(EE) xf86OpenSerial: Cannot open device /dev/psaux
No such file or directory.
(EE) Configured Mouse: cannot open input device
(EE) PreInit failed for input device "Configured Mouse"
(II) UnloadModule: "mouse"
(**) Option "Protocol" "ImPS/2"
(**) Generic Mouse: Protocol: "ImPS/2"
(**) Option "SendCoreEvents" "true"
(**) Generic Mouse: always reports core events
(**) Option "Device" "/dev/input/mice"
(EE) xf86OpenSerial: Cannot open device /dev/input/mice
No such file or directory.
(EE) Generic Mouse: cannot open input device
(EE) PreInit failed for input device "Generic Mouse"
(II) UnloadModule: "mouse"
(WW) No core pointer registered
No core pointer

Fatal server error:
failed to initialize core devices
------------------------------------------------------------------------------------------
I installed discover and modconf. Then I ran modconf but the only thing that was even close was a listing for 'blah/blah/mouse' and in that there was nothing about mousedev or psmouse. I'm not sure if I using it the wrong way/looking for the wrong thing or what. If this log snippet helps, please feel free to advise everyone. Thanks.
 
Old 01-29-2005, 02:47 PM   #9
llamakc
Member
 
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402

Rep: Reputation: 31
The problem is certainly your mouse so you are moving in the right direction.

1. Is your mouse connected via USB?
2. modprobe mousedev
3. lsmod | grep mousedev

modconf is the frontend to module management. All of the modules can be added/removed via the commandline, as you are gonna do in #2 above. I forget where it is too!

Certainly you were being funny/sarcastic about my 'esteemed' help, right?

If the above doesn't help, how about pasting in the output of `lsmod`?

Good luck!
 
Old 01-29-2005, 04:20 PM   #10
Jaster
Member
 
Registered: Jun 2004
Posts: 105

Original Poster
Rep: Reputation: 15
"Certainly you were being funny/sarcastic about my 'esteemed' help, right? " sorry I got a little snarky, you've been a great help. Here's what I got:

modprobe mousedev returned:
mice: PS/2 mouse device common for all mice

lsmod | grep mousedev returned:
9996 0

I have not a clue what this means and it didn't seem to fix anything (going through to log again, will check back) so how might I proceed from here? (and what does the output above mean? lol). Thanks

**EDIT**
I'm a fool, there is a psmouse listing in the mouse section of modconf... X is now working correctly... thanks a lot! ...now on to wireless lol

Last edited by Jaster; 01-29-2005 at 05:33 PM.
 
  


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
SAMBA/CUPS failure after upgrade wombat53 Linux - Networking 2 07-22-2005 12:04 AM
upgrade to mysql4 failure on RH8 AshleyK Red Hat 3 09-12-2004 10:26 PM
XServer_XFree86 failure after distro upgrade... Eux Debian 14 07-31-2004 06:08 PM
Kernel upgrade - failure to boot bob49 Fedora 2 06-26-2004 08:48 AM
Red Hat 8.0 post kernel upgrade Nforce LAN failure Brian of Gep Linux - Hardware 0 08-06-2003 02:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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