Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Apr 2009 12:06:42 -0500
From:      Robert Noland <rnoland@FreeBSD.org>
To:        Ilias Marinos <marinosi@ceid.upatras.gr>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: FreeBSD-amd64 STABLE/xorg7.4 -- System Freeze
Message-ID:  <1238864802.65025.67.camel@balrog.2hip.net>
In-Reply-To: <20090404131828.GA55477@marinos.ceid.upatras.gr>
References:  <20090403165213.GA78611@marinos.ceid.upatras.gr> <1238780613.65025.45.camel@balrog.2hip.net> <20090403183843.GA79671@marinos.ceid.upatras.gr> <1238787779.65025.46.camel@balrog.2hip.net> <20090404131828.GA55477@marinos.ceid.upatras.gr>

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

--=-DHB0L1jHlltGI0BZBaeE
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sat, 2009-04-04 at 16:18 +0300, Ilias Marinos wrote:
> * Robert Noland (rnoland@FreeBSD.org) wrote:
> > On Fri, 2009-04-03 at 21:38 +0300, Ilias Marinos wrote:
> > > * Robert Noland (rnoland@FreeBSD.org) wrote:
> > > > On Fri, 2009-04-03 at 19:52 +0300, Ilias Marinos wrote:
> > > > > Hello list,
> > > > >=20
> > > > > My system freezes while trying to startx.Details:
> > > > >=20
> > > > > FreeBSD kropotkin.liakushive.priv 7.2-PRERELEASE FreeBSD 7.2-PRER=
ELEASE
> > > > > #0 r190662: Fri Apr  3 00:50:34 UTC 2009
> > > > > root@kropotkin.liakushive.priv:/usr/obj/usr/src/sys/GENERIC  amd6=
4
> > > > >=20
> > > > > -ATI HD 4670 GPU
> > > > >=20
> > > > > -xorg.conf can be found here:
> > > > > https://marinos.ceid.upatras.gr/~admin/xorg.conf
> > > > > I've tried all the possible drivers : ati, radeon, radeonhd,vesa.=
Also I
> > > > > tried disabling modules like glx,dri etc.
> > > >=20
> > > > Please set Option "AccelMethod" "EXA" and add Option "DRI" "On".
> > > >=20
> > > > robert.
> > > > =20
> > > >=20
> > > > --=20
> > > > Robert Noland <rnoland@FreeBSD.org>
> > > > FreeBSD
> > >=20
> > > Unfortunately , the problem remains.Some bright pixels appears at the
> > > center of the monitor and the system freezes(sometimes if you press a=
ny
> > > button it causes a hard reset).
> >=20
> > So the only thing that looks interesting in the logs is that MTRR
> > failed.  What was the last working revision?
> >=20
> > robert.
> >=20
> > >=20
> > --=20
> > Robert Noland <rnoland@FreeBSD.org>
> > FreeBSD
>=20
>=20
> Hello Robert,
>=20
>   I am trying to make Xorg stop freezing the system trying various
> configurations and drivers but still no success.
>=20
>   I am running startx in a ssh session, while the same time gathering log=
s
> (kernel messages and Xorg logs).The first startx runs ok without system
> freeze but the monitor (a Dell 2709W  connected with the GPU via DVI)
> gets in power save mode and suspends(like there is no signal) .From this
> state there is no way for the monitor to come back to previous operation
> as it doesn't gets signal even if I kill X(coming back to
> console).However, the system stays responsive and functional via remote
> usage(ssh).You can see the logs (all in one file) gathered here:
>=20
> 	https://marinos.ceid.upatras.gr/~admin/log.0
>=20
>   The only lines that look suspicious to me are:
> exaCopyDirty: Pending damage region empty!(/var/log/Xorg.0.log / last
> line)

This is reported to be harmless.

> failed to set mtrr: Invalid argument (startx output)
>=20
>   After the first startx I kill X and run a second startx.Then a system
> freeze happens and no logs can be collected.

Unfortunately, restarting X is know to break things for at least some
cards/chips.  I'm planning to try to look into it, but it's a tricky
area, and afaik, it also often fails without drm so that opens up the
suspect code area a lot.

>   These logs were collected after the X kill:
>=20
> 	https://marinos.ceid.upatras.gr/~admin/log.1
>=20
>=20
>   Is there any way to check what is causing mtrr failure?

If you are using drm, then drm handles setting mtrr.  If you aren't,
then I think this should be occurring in libpciaccess now.  Someone(tm),
needs to have a look and see what is going on there.  I'll try and get
to it, but I'm in ports mode right now, trying to get everything ready
before the freeze for 7.2.

robert.

>=20
> Thanks for your time.
> Ilias=20
> =20
>  =20
>=20
--=20
Robert Noland <rnoland@FreeBSD.org>
FreeBSD

--=-DHB0L1jHlltGI0BZBaeE
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)

iEYEABECAAYFAknXk6IACgkQM4TrQ4qfRONdzQCbBmxuZb5PvTWs8SlK1lYC6iWp
NL4AoIWMYipiyLC56xvCzLerYhqzZAGk
=g3WK
-----END PGP SIGNATURE-----

--=-DHB0L1jHlltGI0BZBaeE--




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