LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-21-2004, 05:07 PM   #1
SirJohnWackness
LQ Newbie
 
Registered: Nov 2004
Location: Scottsdale
Distribution: Slackware
Posts: 9

Rep: Reputation: 0
Kernel 2.6.9 i810 driver and Xorg Crashing


I've been battling with this situation for a few days. I used the Slackmon script to get all the Slackware-current files. I did pkgupgrade --install-new ./*/*.tgz and upgraded everything without a problem. I have all the current glibs and the necessary stuff. Originally I installed a base setup of Slackware 10.0 about a week ago. Everything worked pretty well but I wanted to grab the new Xorg package. After the upgrade Xorg crashes without even leaving any entry in a log file. I've rerun the xorgconfig script and set it up. Everytime I run startx afterwards it crashes. If I envoke xorgcfg or xorgsetup to configure it gives me a fatal error of "No Screens Found," but obviously doesn't crash because it doesn't load. Xorg loads a distorted and garbled screen of staticy colors and then about 4 seconds later the mouse freezes and the whole thing hangs. I can't cntrl+alt+backspace out, alt+f6 out, or cntrl+alt+del. It makes me think that perhaps it's not really an issue of X but maybe dependencies that are goofing up the kernel or a glib package or something. Aside from X, everything is perfect. Any ideas guys?

I've had a similar problem in the past with a garbled screen, but I could always cntrl+alt+backspace out and reconfigure it.

Last edited by SirJohnWackness; 11-22-2004 at 10:12 PM.
 
Old 11-21-2004, 06:52 PM   #2
Beresford
LQ Newbie
 
Registered: Oct 2004
Location: New Zealand
Posts: 28

Rep: Reputation: 15
First off, I'm a real newbie so I don't think I will be much help.

Have you tried manually looking at your X11 setup file using a text editor? If the error message is that it can't find any monitors, have a look at the monitors section and see if a monitor has been defined.

You can even try renaming you setup file to something else and then trying to run xorgcfg. Hopefully when it doesn't find the configuration file it will create a new one with safe defaults.

Good luck.
 
Old 11-21-2004, 07:10 PM   #3
SirJohnWackness
LQ Newbie
 
Registered: Nov 2004
Location: Scottsdale
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: 0
Hey, thanks for replying!

I took a look at the file after xorgcfg and xorgsetup created it but I'm not sure what the monitor lines are supposed to look like. I haven't compared the xorgconfig generated file to the others.

I'll try plugging in one of those monitor lines from the other config files when I get back home.
 
Old 11-21-2004, 07:17 PM   #4
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
maybe post your " xorg.conf " -file here.
and i guess there are messages in your " /var/log/xorg.0.log " -file

egag
 
Old 11-21-2004, 11:13 PM   #5
speedbump
Member
 
Registered: Aug 2003
Location: Vallejo, California
Distribution: Slackware 10.1 --Current w/ Dropline
Posts: 61

Rep: Reputation: 15
Sir John

You didn't say what video card you're running, or if you've got the maker's drivers installed.

If, by chance you do, and if by chance you're running an ATI, you should seriously consider regressing to xorg 6.7. ATI won't have anything for xorg 6.8 for another release or two.

ATI + xorg 6.8 = hard freeze. None of the "three-fingered-salutes" or session switchers will work.
 
Old 11-21-2004, 11:19 PM   #6
SirJohnWackness
LQ Newbie
 
Registered: Nov 2004
Location: Scottsdale
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks for the replies.

I'm using an onboard video card (Intel i810e). It worked fine in 6.7.0 but I'm wondering if perhaps Xorg did some work on the driver for 6.8.0+.

I checked my log files again and this time I have an error message. I'm setting up SSH on my laptop right now so I can copy and paste it into this post. It should be up in a minute.
 
Old 11-21-2004, 11:29 PM   #7
SirJohnWackness
LQ Newbie
 
Registered: Nov 2004
Location: Scottsdale
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: 0
From the file xorg.conf:

Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard" EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
Load "record"
Load "extmod"
Load "dbe"
Load "dri"
Load "glx"
Load "xtrap"
Load "freetype"
Load "type1"
Load "freetype"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/mouse"
EndSection

Section "Monitor"
#DisplaySize 320 240 # mm
Identifier "Monitor0"
VendorName "OQI"
ModelName ""
HorizSync 13616.0 - 0.0
HorizSync 30.0 - 96.0
VertRefresh 842549056.0 - 858861632.0
Option "DPMS"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "ColorKey" # <i>
#Option "CacheLines" # <i>
#Option "Dac6Bit" # [<bool>]
#Option "DRI" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "XvMCSurfaces" # <i>
#Option "PageFlip" # [<bool>]
Identifier "Card0"
Driver "i810"
VendorName "Intel Corp."
BoardName "82810E DC-133 CGC [Chipset Graphics Controller]"
BusID "PCI:0:1:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection


This is generated by running xorgconfig.
When I run startx I get an error of "Fatal error: no screens found"


This is the Xorg.0.log file.

_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6 _XSERVTransOpen: transport open failed for inet6/Ghetto:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

X Window System Version 6.8.1
Release Date: 17 September 2004
X Protocol Version 11, Revision 0, Release 6.8.1
Build Operating System: Linux 2.4.27 i686 [ELF]
Current Operating System: Linux Ghetto 2.6.9 #1 Mon Nov 15 17:08:47 MST 2004 i686
Build Date: 18 October 2004
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Nov 21 22:00:26 2004
(==) Using config file: "/etc/X11/xorg.conf"
Parse error on line 48 of section Monitor in file /etc/X11/xorg.conf
The HorizSync keyword must be followed by a list of numbers or ranges.
(EE) Problem parsing the config file
(EE) Error parsing the config file

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
at http://wiki.X.Org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.





AHHHH!!!! Wait, I just noticed something in that log. The build system for the package is 2.4.27. I'm running 2.6.9. Would this have anything to do with the system hanging?
 
Old 11-21-2004, 11:48 PM   #8
SirJohnWackness
LQ Newbie
 
Registered: Nov 2004
Location: Scottsdale
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: 0
I also reran the setup and this time tried a different driver (generic vga). I got the no screen found error again. When I tried i810e, it again crashed.
 
Old 11-22-2004, 07:12 AM   #9
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
from xorg.conf :
-------------
Section "Monitor"
#DisplaySize 320 240 # mm
Identifier "Monitor0"
VendorName "OQI"
ModelName ""
HorizSync 13616.0 - 0.0
HorizSync 30.0 - 96.0
VertRefresh 842549056.0 - 858861632.0
Option "DPMS"
EndSection
---------------

should be smth like :
--------------
Section "Monitor"
#DisplaySize 320 240 # mm
Identifier "Monitor0"
VendorName "OQI"
ModelName ""
HorizSync 30.0 - 96.0 -------> check this value in monitor documentation ( or look on www )
VertRefresh 50-120 -------> and this too.
Option "DPMS"
EndSection
---------
and in your " screen-section " there is no valid screen .
first : " device" and " monitor " are both double in the list; should be only once....
second : you have " defaultdepth=16 " so you need a " subsection display " like this :
------------
Subsection "Display"
Depth 16
Modes "1024x768" ------>fill in resolution you want.
ViewPort 0 0
EndSubsection
------------
i think that should do it.
good luck.

egag

Last edited by egag; 11-22-2004 at 07:17 AM.
 
Old 11-22-2004, 08:29 PM   #10
SirJohnWackness
LQ Newbie
 
Registered: Nov 2004
Location: Scottsdale
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks for all the help. I did some searching on google and it looks like someone "cleaned up" the code for the i810 video driver in kernel 2.6.9. Whatever was changed in the kernel is causing my system to hang. It looks like I'll be reverting back to 2.6.7 or 2.6.10-rc2-prepatch if i810 has been fixed in the change log.

Last edited by SirJohnWackness; 11-22-2004 at 10:11 PM.
 
Old 11-22-2004, 10:34 PM   #11
richcoosa19
Member
 
Registered: Nov 2002
Location: Rome, GA, USA
Distribution: Slackware 10.1 and Gentoo 2005.1 from Stage 1
Posts: 84

Rep: Reputation: 15
Well one thing I would try before doing something that drastic would be to rerun your xorgsetup and then xorgconfig. It will re-detect all of your stuff and "reset" it all... The only reason I recommend this is that I was at one time in the same situation, with integrated video i810 chip set on a Compaq and after this, it worked.
 
Old 11-22-2004, 10:38 PM   #12
SirJohnWackness
LQ Newbie
 
Registered: Nov 2004
Location: Scottsdale
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: 0
I appreciate the reply, but I have tried rerunning each command at least 20 times with the same results. Under these conditions I can only run Xorg at 16bits and max resolution of 1024x768. When I was using kernel 2.4.27 and Xorg 6.7.0 I could get it to run at 1600x1200 @ 24bits.


I'm trying a new kernel and see if it works.



Out of curiosity, which kernel version and Xorg version are you running on your i810 video card?
 
Old 11-22-2004, 11:06 PM   #13
typho
LQ Newbie
 
Registered: Oct 2004
Distribution: Slackware 14.0
Posts: 27

Rep: Reputation: 15
You may still have problems with the current xorg.conf file you posted. Check out egag's post because it looks like several things may be wrong in that file. If you see the xorg.0.log file it says this:

Quote:
Parse error on line 48 of section Monitor in file /etc/X11/xorg.conf
The HorizSync keyword must be followed by a list of numbers or ranges.
(EE) Problem parsing the config file
(EE) Error parsing the config file

Fatal server error:
no screens found
That is what's making me think it is your xorg.conf file...
 
Old 11-22-2004, 11:15 PM   #14
richcoosa19
Member
 
Registered: Nov 2002
Location: Rome, GA, USA
Distribution: Slackware 10.1 and Gentoo 2005.1 from Stage 1
Posts: 84

Rep: Reputation: 15
I did this for a client and it was a few months back, I don't really recall which versions of all servers it was using, I think stock Slack 10 though.
 
Old 11-22-2004, 11:19 PM   #15
SirJohnWackness
LQ Newbie
 
Registered: Nov 2004
Location: Scottsdale
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: 0
Yeah, it ran fine on stock Slackware 10.0. I ran into problems when I grabbed slackware-current.
 
  


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
XOrg 6.8.1 on Current zba78 Slackware 13 01-18-2005 02:53 AM
Gnome 2.6 freeze, slackware-current, Xorg maciek Slackware 6 08-31-2004 09:50 AM
Xorg Hard Crashes and corrupts xorg.conf Advocator Linux - General 0 07-15-2004 01:41 PM
no mouse in slackware-current + xorg Menestrel Slackware 4 06-07-2004 02:27 PM
slackware-current switches from xfree to xorg X-Server. patfins Slackware 25 05-31-2004 02:18 PM

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

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