Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Sep 2009 21:28:10 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Robert Noland <rnoland@freebsd.org>
Cc:        Mel Flynn <mel.flynn+fbsd.current@mailing.thruhere.net>, freebsd-current@freebsd.org
Subject:   Re: misc/compat6x port no longer sufficient for DRI under head?
Message-ID:  <20090917182810.GG47688@deviant.kiev.zoral.com.ua>
In-Reply-To: <1253211613.49704.4073.camel@balrog.2hip.net>
References:  <20090917134924.GZ1212@albert.catwhisker.org> <b269bc570909170832u792f851fk4ace6bfa4c9a7321@mail.gmail.com> <1253208550.49704.4014.camel@balrog.2hip.net> <200909172010.22513.mel.flynn%2Bfbsd.current@mailing.thruhere.net> <1253211613.49704.4073.camel@balrog.2hip.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--s+08+7ZBU1+8TAHN
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Sep 17, 2009 at 01:20:13PM -0500, Robert Noland wrote:
> On Thu, 2009-09-17 at 20:10 +0200, Mel Flynn wrote:
> > On Thursday 17 September 2009 19:29:10 Robert Noland wrote:
> > > On Thu, 2009-09-17 at 08:32 -0700, Freddie Cash wrote:
> > > > On Thu, Sep 17, 2009 at 8:29 AM, David Wolfskill=20
> > <david@catwhisker.org>wrote:
> > > > > On Thu, Sep 17, 2009 at 05:04:31PM +0200, Gary Jennejohn wrote:
> > > > > > ...
> > > > > > Maybe you need to install misc/compat7x also for things to work=
 with
> > > > > > head?  Don't forget options COMPAT_FREEBSD7 in your kernconf for
> > > > > > head.
> > > > > >
> > > > > :-)  As I was writing the previous message, that thought occurred=
, so I
> > > > >
> > > > > did install it, re-tried, and the symptoms persisted: with DRI en=
abled,
> > > > > the keyboard & mouse were non-functional; with DRI disabled, Xorg
> > > > > worked.
> > > > >
> > > > > (I had intended to install misc/compat7x under head as soon as it=
 had
> > > > > been committed, but it slipped what passes for my mind.  And the =
file
> > > > > system where /usr/ports lives is not one I normally even mount wh=
en
> > > > > running head....)
> > > > >
> > > > > But thanks for the thought!
> > > >
> > > > Have you tried re-enabling hald and dbus and configuring X to use t=
hose?
> > >=20
> > > So, the DRI option has absolutely nothing to do with kbd/mouse.  I
> > > expect that what you are actually seeing is a hard lockup, quite
> > > possibly a gpu crash.
> >=20
> > If that's the case, having a root vty open before starting X and upon g=
pu=20
> > crash, blind type (no cookies for typos!) shutdown -r NOW<enter> should=
 result=20
> > in some /var/log/messages entries at the very least and quite possible =
reboot,=20
> > right?
>=20
> Maybe... It really depends on exactly what state X has left things in
> when it crashed/hung.  If X crashes and catches the signals, it should
> try to restore the console to a usable state.  If it is a gpu crash then
> X may still be functioning, but hung on a lock.  In this case, you can
> generally ssh in or get serial console.  It is also possible for
> something entirely more evil to occur, such that things get hung with
> interrupts disabled which results in a case where nothing but the power
> button will remedy it.  In any case, if X isn't able to cleanly exit and
> call LeaveVT, then your console is likely hosed.

I spent some time with David looking at the debugging information.
In particular, David has access to the serial console on the machine.

I was unable to decide with some certainity what happens, in particular,
whether the machine was locked, only X was locked, or just keyboard and
mouse input not working.

But, the reliable state of the system where it spent quite a time
during X startup was mtrr setup. Xorg was sitting in kernel, in
i686_mrstore().

It seems that after some time, X starts sleeping in select(2).

--s+08+7ZBU1+8TAHN
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iEYEARECAAYFAkqyf7oACgkQC3+MBN1Mb4i7FQCgmVkSbV8NV657NrgWuCvnLXGs
vRYAmwfG+nf7hY6unxzeqHXcv8w1IVv/
=4djk
-----END PGP SIGNATURE-----

--s+08+7ZBU1+8TAHN--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090917182810.GG47688>