[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#2351: xdm doesn't detect gpm mouse lock



Package: xbase
Version: 3.1.2-7

According to dpkg -l :

ii  xbase            3.1.2 7    XFree86 3.1.2 base distribution.
ii  gpm               1.00 11   A mouse event server for the Linux console
ii  xserver-s3       3.1.2 3    XFree86 3.1.2 S3 server

When I run gpm (from init.d in my case) then run xdm, xdm either:
	a) general protection faults listed as 0000
	b) repeatedly runs and lets die the X server (at least it looks like
		this is what is happening.  I needed to reboot to stop it,
		then it gives a gp fault.

If I run startx it complains that it cannot get the mouse resource, and when
I kill gpm, it runs without a problem.  It appears that xdm is fine, but the
X server keeps failing.

I recommend that xdm detect fatal conditions such as unavailable resources,
or that the X servers be given a way to communicate to xdm that they will
not recover from whatever error by reloading.  Perhaps there are some
considerations of a user creating such a condition in order to terminate xdm
and thus breach security, esp. if xdm is started manually by the root user.

When xdm is cycling X, hitting the cntrl-alt-del allows me to view a general
protection fault before reboot:

general protection: 0000
EIP: 0010:0014a115
EFLAGS: 00010206
eax: 6e6f632d ebx: 00215910 ecx: 007c1dd0 edx: 002c5000
esi: 00330f54 edi: 00330f54 ebp: 007c1e8c esp: 007c1e00
ds: 0018 es: 0018 fs: 002b gs: 002b ss: 0018

Process xdm (pid: 621, process nr 6, stackpage=007c10000
                                      or is it 007c|0000?

I typed this in by hand since I couldn't cut/paste during a reboot.  So how
did I manage to get all the numbers? (I didn't write down stacks/traces)

I hit scroll-lock during reboot and the system just sat there until I was
done... should it listen for scroll lock while it's rebooting?

Most of the system is development stuff from ftp.microworld.net but the
kernel is still listed as 1.2.13-7.

So you think you know the real meaning of fear?       |
Yeah, you think you do know, but I doubt it.          |  kmb203@psu.edu
When you sit in a shelter with bombs falling all over.|  running debian
And the houses around you are burning like torches.   |  Linux 1.2.13
I agree that you experience horror and fright         |
For such moments are dreadful, for as long as they last,
But the all-clear sounds--then it's okay--          |  -- Ilya Selvinskiy
You take a deep breath, the stress has passed by.   | (Taken from "The Sum
But real fear is a stone deep down in your chest.   |   of All Fears" by
You hear me?  A stone.  That's what it is, no more. | Tom Clancy pg. 182.)




Reply to: