Click to See Complete Forum and Search --> : X window crash
satimis
07-30-2003, 11:06 PM
Hi all folks,
RH 7.3
======
On starting the PC, X-Window crashed accidentally for unknow reason. The screen blinked and finally turned to Test-Mode. I ran Xconfigurator several times without a solution. On shutdown the screen hang on
"Telling INIT to go to single user mode
INIT: going single user
INIT: sending processes the TERM signal
sh-"2.05a#~
Kindly advise how to fix this problem.
Thanks in advance.
B.Regards
satimis
bosox79
07-30-2003, 11:32 PM
Originally posted by satimis
Hi all folks,
RH 7.3
======
On starting the PC, X-Window crashed accidentally for unknow reason. The screen blinked and finally turned to Test-Mode. I ran Xconfigurator
several times without a solution. On shutdown the screen hang on
"Telling INIT to go to single user mode
INIT: going single user
INIT: sending processes the TERM signal
sh-"2.05a#~
Kindly advise how to fix this problem.
Thanks in advance.
B.Regards
satimis
is this the first time you have attempted to start x? or has x worked before? what happened when you ran the Xconfigurator? did you get a sample desktop? or did you receive an error? what type of hardware do you have most important video card?
rid3r
07-30-2003, 11:49 PM
you may want to see the XFree86.0.log
$ less /var/log/XFree86.0.log
$ cat /var/log/XFree86.0.log | grep EE
satimis
07-30-2003, 11:54 PM
Hi,
Thanks for your response.
The RH 7.3 box in question has been running for some times. This is the first incident.
On running Xconfigurator I could not get a sample screen, always asking for re-selection. But the selection has not been altered. It is the same as 1st time of installation.
Maxi Gamer Phoenix
Voodoo Banshee graphic card - 16MB RAM.
I don't think it has problem. I have another hard disk (movable) on this box running WinME. It works without problem. I also run Knoppix V3.2 CD (RH8.0) on this box without problem
B.Regards
satimis
satimis
07-31-2003, 12:46 AM
Hi rid3r,
# less /var/log/XFree86.0.log
...
....
(= =) Using Config file: "/etc/X11/XF86Config-4"
(= =) SeverLayout "XFree86 Configured"
(**) | --> Screen "Screen0" (0)
(**) | | --> Monitor "NEC XV15+"
(**) | | --> Device "3Dfx Interactive, Inc. | Voodoo Banshee"
(**) | | --> Input Device "Mouse0"
(**) | | --> Input Device "Keyboard0"
(**) Option "XkbLayout" "us"
(**) XKB : Layout : "us"
# cat /var/log/XFree86.0.log | grep EE
(EE) TDFX (0): [dri] tdfxDRI not supported in 32 bpp mode, diabling DRI
(EE) xf86OpenSerial : cannot open device /dev/mouse
(EE) Mouse0 : cannot open input device
(EE) Pre Init failed for input device "Mouse0"
(Remark : I use handwriting to copy above)
B.Regards
satimis
P.S.
By the way, kindly advise;
On Text - Mode
What command lines shall be used
1) to highlight/select a para on the screen
2) to copy the selected para and save as a file to a floppy
Thanks in advance.
That tells us that your video card it's not supporting DRI in 32 bpp mode. Also, your mouse it's not working.
With what did you try to go into X? Were you logged as a normal user or root?
satimis
07-31-2003, 05:25 AM
Hi serz,
Thanks for your response.
I have no idea how this crash happened. My PC (RH7.3) is working normally for a long time. I discovered this incident when I started the PC. I was not allowed to login yet. The screen went directly to Text-Mode. I ran Xconfigurator as ROOT several times trying to correct the problem without success.
B.Regards
satimis
I don't know if it could be not loading because of the mouse. What type of mouse do you have?
mdwatts
07-31-2003, 08:51 AM
Originally posted by satimis
(EE) xf86OpenSerial : cannot open device /dev/mouse
(EE) Mouse0 : cannot open input device
(EE) Pre Init failed for input device "Mouse0"
'/dev/mouse' is the symlink from the actual mouse device in /dev such as psaux.
What does
ls -al /dev/mouse
show?
To create the symlink (as root)
ln -s /dev/<mouse device> /dev/mouse
i.e.
ln -s /dev/psaux /dev/mouse
satimis
08-04-2003, 07:27 AM
Hi all,
Thanks for your response.
1) Mouse - USB wheel mouse
2) # ls -al /dev/mouse
ls: /dev/mouse: No such file or directory
# ls -al /dev/msmouse
crw------ 1 root root ...... date .... /dev/msmouse
Could some folks shed me somelight how to highlight/select part/portion of the message on the screen and save it to a file. I copy the above message by hand.
B.Regards
satimis
je_fro
08-04-2003, 07:39 AM
try to edit your file /etc/X11/XF86Config and look at your mouse settings. I have a usb mouse and mine looks like this:
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "DevInputMice" "AlwaysCore"
EndSection
################################################## #####
Section "InputDevice"
Identifier "Mouse0"
# Modified by mouseconfig
Driver "mouse"
Option "Device" "/dev/mouse"
Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
################################################## #####
Section "InputDevice"
# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Identifier "DevInputMice"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection
################################################## #####
I'm thinking that you don't want that msmouse, and I don't use redhat anymore, so I'm not sure what's up with having 2 mouse sections in my old /etc/X11/XF86Config. You might want to fool around with it and try either of the above mouse configs.
satimis
08-04-2003, 08:06 AM
Hi je_fro
# cat /etc/X11/XF86Config-4
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "InputDevice"
Identifier "Mouse0"
# Modified by mouseconfig
Driver "mouse"
Option "Device" "/dev/mouse"
Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "off"
Option "ZAxisMapping" "4 5"
EndSection
B.R.
satimis
je_fro
08-04-2003, 08:10 AM
Maybe try changing:
Option "Device" "/dev/mouse"
to:
Option "Device" "/dev/input/mice"
?
satimis
08-04-2003, 09:50 AM
Hi je_fro,
Edit /etc/X11/XF86Config-4 as per your advice
Reboot the PC
Problem is still existing - X Window could not be started
It comes to my notice that everytime when I issue following command
# shutdown now
the PC hangs on
sh2.05a#
I have to switch off the PC manually.
B.R.
satimis
satimis
08-04-2003, 11:59 AM
Hi all,
I carried out further test as follows;
# ln -s /dev/psaux /dev/mouse
Rebooted the PC. Now X-window started but I was not allowed to login, typing impossible. Nor CTRL+ALT+F2/F7 had any respose. Tab key also had no response. Mouse point stayed stationary. Unplug and replug USB also had no function
I force-rebooted the PC but the situation remained the same.
Kindly advise how to boot straight to Init2 (TEST-Mode) at start.
B.Regards
satimis
satimis
08-05-2003, 03:49 AM
Hi all,
Further to my last posting. Problem is now solved by changing the USB mouse with a PS/2 mouse.
and
# ln -s /dev/psaux /dev/mouse
It works now.
The funny thing is the removed USB mouse could not work. But it works on WinME when I change the hard drive (removable-on the same PC) running WinME.
I tested the USB mouse on another Linux box. It could not be detected causing the PC could not start X-window at booting.
Anyway lot of thanks for your advice.
B.R.
satimis
leonpmu
08-05-2003, 05:10 AM
devices enabled in your kernel??
Because Linux must load these as part of the startup phase.
It should say something like, starting USB Legacy device support, or something like that....
Just a thought....
satimis
08-05-2003, 06:12 AM
Hi leonpmu,
Originally posted by leonpmu
devices enabled in your kernel??
Because Linux must load these as part of the startup phase.
It should say something like, starting USB Legacy device support, or something like that....
Just a thought....
On the PC in question, the USB mouse was working without problem until one day when I booted the PC the X-window was found crashed.
Kindly advise how to check whether USB has been enabled in kernel
Thanks
B.R.
satimis