Re: mysterious X lockups on Sarge
On Tue, Aug 31, 2004 at 11:52:37PM -0300, ScruLoose wrote:
> On Tue, Aug 31, 2004 at 11:18:45AM -0700, Stefan O'Rear wrote:
> > On Tue, Aug 31, 2004 at 02:26:12PM -0300, ScruLoose wrote:
> > > For several weeks now, I've been having X lock up on me occasionally,
> > > and I'm a bit stumped as to where to start debugging it...
> > >
> > > I'm running Sarge on a P4 3.2 HT, and my video card is a GeForce FX
> > > 5200 using the nvidia binary driver. I've had this problem on both a
> > > home-rolled 2.4.22 kernel and the Debian 2.6.7-SMP kernel-package.
> > Do you get the same problem with the generic VESA drivers? (no modules
> > in the kernel, just Driver "vesa" - works for my SiS 315 even though
> > they say it's unsupported)
> Hm, haven't tried that yet... Maybe I'll run it for a while with XFree's
> "nv" driver instead, which IIRC supports the card but with no 3D
> In light of Hendrick having what looks like the same problem on a
> different brand of video card, however, this seems like a long shot.
> > > Every couple of days or so X seems to die an abrupt death. The display
> > > will freeze completely, keyboard input has no effect (including
> > > CTRL-ALT-F1 and CTRL-ALT-BACKSPACE). The system is still running,
> > > though: If XMMS is playing when the problem hits, the music keeps on
> > > going; and I can ssh in to the box no problem. If I kill -9 the XDM and
> > > /usr/X11R6/bin/X processes then the screen goes black... but then doing
> > > /etc/init.d/xdm start just silently fails. So I've been ssh-ing in just
> > > to reboot the box.
> > Try deleting the pidfile before restarting xdm. (/var/run/xdm.pid)
> > Or perhaps just do sudo startx?
> Deleting that pidfile made no visible difference.
> ssh-ing in as my regular user and running startx produced some output
> that can be found at http://shorty.ca/logs/startx.Xcrash.txt
By default startx (technically, the Debian suid root xserver-wrapper)
checks that in was run on a virtual console.
sudo XFree86 :0
(/usr/bin/X is the Debian suidroot wrapped, /usr/bin/XFree86 is the
> > > snippage
> > When you ssh in, does "dmesg" show anything abnormal?
> Looks normal enough to my rather untrained eye, but here it is:
Looks normal to me too :)
> And just for the sake of argument, here's my XFree86 log after the
> latest crash:
Looks normal too...
The world's most effective spam filter:
ln -sf /dev/full /var/mail/$USER