LinuxQuestions.org
Review your favorite Linux distribution.
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 06-22-2004, 03:09 PM   #1
jsmarshall85
Member
 
Registered: Aug 2003
Posts: 386

Rep: Reputation: 30
x wont start


dont know what happened. everything was working fine, but then i rebooted. logged in and did a startx. the nvidia splash screen came up but went away after about 1-2 seconds and i was back to the cli. i have reinstalled x-window-server, fonts, kde, did a dist-update, no joy. i did notice something called kgamma that had made a backup of my xf86config-4 file but when i used that file, i got the same issue

here are some of the error lines from xfree86.0.log

(WW) The directory "/usr/lib/X11/fonts/cyrillic" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/lib/X11/fonts/CID" does not exist.
Entry deleted from font path.
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(II) LoadModule: "speedo"
(II) Loading /usr/X11R6/lib/modules/fonts/libspeedo.a
Skipping "/usr/X11R6/lib/modules/fonts/libspeedo.a:spencode.o": No symbols found
(WW) NVIDIA(0): Not using mode "1152x768":
(WW) NVIDIA(0): horizontal sync start (1178) not a multiple of 8
(WW) NVIDIA(0): Not using mode "576x384":
(WW) NVIDIA(0): horizontal sync start (589) not a multiple of 8
(WW) NVIDIA(0): Not using mode "360x200":
(WW) NVIDIA(0): horizontal sync start (378) not a multiple of 8
Warning: font renderer for ".pcf" already registered at priority 0
Warning: font renderer for ".pcf.Z" already registered at priority 0
Warning: font renderer for ".pcf.gz" already registered at priority 0
Warning: font renderer for ".snf" already registered at priority 0
Warning: font renderer for ".snf.Z" already registered at priority 0
Warning: font renderer for ".snf.gz" already registered at priority 0
Warning: font renderer for ".bdf" already registered at priority 0
Warning: font renderer for ".bdf.Z" already registered at priority 0
Warning: font renderer for ".bdf.gz" already registered at priority 0
Warning: font renderer for ".pmf" already registered at priority 0

if you want my xf86config-4 file, let me know. i have tried everything i can think of including dpkg-reconfigure xserver-xfree86 and even xfreeconf to generate new config files

any help would be greatly appreciated.
 
Old 06-23-2004, 10:25 PM   #2
xdan779
LQ Newbie
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware
Posts: 15

Rep: Reputation: 0
Everything was working fine and then stopped working, how long was everything working fine before the strange behavior. From the error output looks like things are very strange indeed, x is trying to use some very odd resolutions. Start by listing your hardware (monitor, video card) are you using the nvida provided drivers, xfs (x font server), and post your xf86config-4 file, and go from there.
 
Old 06-24-2004, 07:54 AM   #3
jsmarshall85
Member
 
Registered: Aug 2003
Posts: 386

Original Poster
Rep: Reputation: 30
duh, sorry

i have an nvidia quadro based card, viewsonic p220f (i got the horz and vert rates from viewsonic.com) monitor, the box is a compaq evo 1.8ghz machine, 512 ram. yes i am using the nvidia drivers from nvidia.

i have had a working debian system on this box for about two months now running samba for file sharing, havent really installed anything out of the ordinary that i cant get through apt-get. i am using sid so that might be the problem, but not sure

here is my xf86config-4 file
Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection
Section "Module"
# Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
# Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "Device"
Identifier "Generic Video Card"
Driver "nvidia"
VideoRam 65536
EndSection
Section "Monitor"
Identifier "Generic Monitor"
HorizSync 30-110
VertRefresh 50-160
Option "DPMS"
Gamma 1.00 1.00 1.00 # created by KGamma
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Generic Mouse"
EndSection
Section "DRI"
Mode 0666
EndSection
 
Old 06-24-2004, 09:36 PM   #4
xdan779
LQ Newbie
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware
Posts: 15

Rep: Reputation: 0
Ok looked over your config file and noticed a few things. I commented out some stuff that were not absolutely necessary, if all goes well you can add them again until you find out which ones are causing the problem. Your mouse was configured twice so I commented out the second one. Your mouse was configured with both the options IMPS/2 with zaxis mapping for wheel mice, and emulate 3 buttons as true. I believe those two setting don't mix well, should be able to press down the wheel for third button. I commented out everything you don't absolutely need and commented out the font paths listed in error log. Also of very special note The FontPath "unix/:7100" part indicates the use of xfs (x font server) or at least means your xserver is configured to use it, very important to make sure this is starting up before your x server does, if you are not using xfs anymore, which is very possible this could definitely throw your x server for a loop, try commenting out this line as well if you are still having trouble. One last note I am pretty sure the monitor you listed is capable of much better resolutions then the "1024x768" specified, I just put it there to be safe. Once you get a successful start, you can add 1280x1024, 1600x1200 or whatever resolution you prefer. I hope this helps, if you figure it out be sure to repost, if not, there are a few other things that can be done. Best of luck, Sincerely, Dan

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
# FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
# FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection
Section "Module"
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
# Load "GLcore"
Load "bitmap"
Load "dbe"
# Load "ddc"
# Load "dri"
# Load "extmod"
Load "freetype"
Load "glx"
# Load "int10"
# Load "record"
Load "speedo"
Load "type1"
# Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
# Option "CoreKeyboard"
# Option "XkbRules" "xfree86"
# Option "XkbModel" "pc104"
# Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "IMPS/2"
# Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Generic Mouse"
# Driver "mouse"
# Option "SendCoreEvents" "true"
# Option "Device" "/dev/input/mice"
# Option "Protocol" "ImPS/2"
# Option "Emulate3Buttons" "true"
# Option "ZAxisMapping" "4 5"
# EndSection
Section "Device"
Identifier "Generic Video Card"
Driver "nvidia"
VideoRam 65536
EndSection
Section "Monitor"
Identifier "Generic Monitor"
HorizSync 30-110
VertRefresh 50-160
Option "DPMS"
# Gamma 1.00 1.00 1.00 # created by KGamma
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
# SubSection "Display"
# Depth 1
# Modes "800x600" "640x480"
# EndSubSection
# SubSection "Display"
# Depth 4
# Modes "800x600" "640x480"
# EndSubSection
# SubSection "Display"
# Depth 8
# Modes "800x600" "640x480"
# EndSubSection
# SubSection "Display"
# Depth 15
# Modes "800x600" "640x480"
# EndSubSection
# SubSection "Display"
# Depth 16
# Modes "800x600" "640x480"
# EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
# InputDevice "Generic Mouse"
EndSection
# Section "DRI"
# Mode 0666
# EndSection
 
Old 06-24-2004, 09:57 PM   #5
jsmarshall85
Member
 
Registered: Aug 2003
Posts: 386

Original Poster
Rep: Reputation: 30
thanks Dan, i will try those out tomorrow, the machine in question is at work

one thing though, my machine here at home that i am on now in kde has an almost identical xf86config-4 file with two mouse configurations and it works fine

i will definitely post my findings and thanks again for your help
Jerry
 
Old 06-25-2004, 08:24 AM   #6
jsmarshall85
Member
 
Registered: Aug 2003
Posts: 386

Original Poster
Rep: Reputation: 30
well none of that worked. i even reinstalled the nvidia driver (from nvidia) and that didnt work either. i'm not sure what is going on.

the xfs is loading up first, so that inst a problem, i have the proper video driver, so that isnt a problem
can i completely uninstall xfree86 and start over? will i have to reinstall kde? what about x.org? can i install that and have the two co-exist? how would i get the one to work over the other?
 
Old 06-25-2004, 01:20 PM   #7
jsmarshall85
Member
 
Registered: Aug 2003
Posts: 386

Original Poster
Rep: Reputation: 30
also checked in /var/log/system and messages and found this

Jun 25 09:03:17 localhost kernel: nvidia: no version for "struct_module" found: kernel tainted.
Jun 25 09:03:17 localhost kernel: nvidia: module license 'NVIDIA' taints kernel.

dont want to paste the whole file but i found these lines in both files

anyone have any idea?

i tried running kdm at the prompt and that does start x and i can log into kde now, but startx still will not work
 
Old 06-25-2004, 09:57 PM   #8
twsnnva
Member
 
Registered: Oct 2003
Location: Newport News, Va
Distribution: Debian
Posts: 246

Rep: Reputation: 30
Try this: Make sure no X processes are running (gdm, kdm, xdm, X, Xfree86) using "ps -A | more". If some are running kill them "killall gdm" killall X" etc... Now run "dexconf --output=/tmp/foo ; pager /tmp/foo > /etc/X11/XF86Config-4 ; startx" Most likley X will start now however if it fails run "dpkg-reconfigure xserver-xfree86", and select the nvidia module, also when you configure the monitor use the 'simple' option. Try to startx again, if it still fails "dpkg-reconfigure xserver-xfree86" and select vesa as the graphics module. If it now works, recompile the nvidia driver and try using it again.

Thomas
 
Old 06-27-2004, 10:39 AM   #9
powadha
Member
 
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
Posts: 651

Rep: Reputation: 31
If you get a warning message on your console or in your syslog, saying that the "nvidia license taints kernel":

* Don't worry. Your kernel is fine. All this message means is that because your driver isn't open source, you won't get any support from the kernel maintainers if anything goes wrong with your kernel while the module is loaded.


(kernel faq)
 
Old 06-29-2004, 09:28 AM   #10
TLV
Member
 
Registered: Jun 2004
Distribution: Ubuntu
Posts: 185

Rep: Reputation: 30
One technique I use for problems like this is to kompare the log files, XFree86.0.log and syslog, for when you're kicked out (at boot) and when it works (when you type kdm or startx). IMHO, if startx works, then your XF86Config-4 is fine.

Do you notice any strange differences (such as errors, duh) when you kompare the logs?

/TLV
 
Old 07-01-2004, 02:50 PM   #11
jsmarshall85
Member
 
Registered: Aug 2003
Posts: 386

Original Poster
Rep: Reputation: 30
well no worries anymore. i installed slackware 10, my first love. thanks for all the help though
 
Old 07-02-2004, 01:36 AM   #12
mi-c
LQ Newbie
 
Registered: Feb 2004
Posts: 6

Rep: Reputation: 0
hello,

I had this problem with my woody since I install the new kernel. I think you have to recompile your NVIDIA driver. Witch one do you use ? the (tm) or the open source driver ?
 
Old 07-02-2004, 07:21 PM   #13
jsmarshall85
Member
 
Registered: Aug 2003
Posts: 386

Original Poster
Rep: Reputation: 30
the one from nvidia.com
 
Old 07-22-2004, 03:21 PM   #14
jsmarshall85
Member
 
Registered: Aug 2003
Posts: 386

Original Poster
Rep: Reputation: 30
dont know if anyone is watching this thread anymore, but i reinstalled debian again with the 2.6.7 kernel and a new nvidia driver, not sure if the 6102 driver was out then but i do know i was using the 2.6.3 kernel then so hopefully this wont happen again, but i will be paying attention to what i install and when so if it happens again i can back track
 
Old 07-22-2004, 04:41 PM   #15
macondo
Senior Member
 
Registered: Jul 2003
Posts: 1,016

Rep: Reputation: 52
From the terminal:
echo -e 'mousedev\npsmouse\nevdev' >> /etc/modules



modprobe psmouse
modprobe mousedev
modprobe evdev

#apt-get install x-window-system discover mdetect read-edid

#dpkg-reconfigure xserver-xfree86


reboot

for more info:
http://www.linuks.mine.nu/debian-faq-wiki/OtherHardware

Last edited by macondo; 07-22-2004 at 04:46 PM.
 
  


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
X wont start fester2001 Linux - Software 2 09-02-2004 12:12 AM
x wont start! Username[SWE] Debian 5 08-02-2004 04:17 PM
x wont start hurricane Slackware 4 10-17-2003 02:09 PM
X Wont Start Avatar33 Linux - General 3 10-09-2003 04:15 PM
X wont start ..help dilbert Linux - Software 4 03-18-2002 10:02 PM

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

All times are GMT -5. The time now is 05:01 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration