From owner-freebsd-current@FreeBSD.ORG  Sun Apr  8 11:29:46 2012
Return-Path: <owner-freebsd-current@FreeBSD.ORG>
Delivered-To: freebsd-current@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 1CA7C1065674
	for <freebsd-current@freebsd.org>; Sun,  8 Apr 2012 11:29:46 +0000 (UTC)
	(envelope-from ohartman@zedat.fu-berlin.de)
Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de
	[130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id C5BD98FC16
	for <freebsd-current@freebsd.org>; Sun,  8 Apr 2012 11:29:45 +0000 (UTC)
Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69])
	by outpost1.zedat.fu-berlin.de (Exim 4.69)
	for freebsd-current@freebsd.org with esmtp
	(envelope-from <ohartman@zedat.fu-berlin.de>)
	id <1SGqJU-0000eX-6X>; Sun, 08 Apr 2012 13:29:44 +0200
Received: from e178031053.adsl.alicedsl.de ([85.178.31.53]
	helo=thor.walstatt.dyndns.org)
	by inpost2.zedat.fu-berlin.de (Exim 4.69)
	for freebsd-current@freebsd.org with esmtpsa
	(envelope-from <ohartman@zedat.fu-berlin.de>)
	id <1SGqJU-00028T-13>; Sun, 08 Apr 2012 13:29:44 +0200
Message-ID: <4F8176A0.807@zedat.fu-berlin.de>
Date: Sun, 08 Apr 2012 13:29:36 +0200
From: "O. Hartmann" <ohartman@zedat.fu-berlin.de>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
	rv:10.0.3) Gecko/20120314 Thunderbird/10.0.3
MIME-Version: 1.0
To: Current FreeBSD <freebsd-current@freebsd.org>
X-Enigmail-Version: 1.4
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="------------enig6D6710BC26CDB38C71E99B97"
X-Originating-IP: 85.178.31.53
Subject: xdm failing to start on FBSD 10.0 r2340030 erratically
X-BeenThere: freebsd-current@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussions about the use of FreeBSD-current
	<freebsd-current.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>, 
	<mailto:freebsd-current-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current>
List-Post: <mailto:freebsd-current@freebsd.org>
List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>,
	<mailto:freebsd-current-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 08 Apr 2012 11:29:46 -0000

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig6D6710BC26CDB38C71E99B97
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable

I loose hair ...
Since yesterady's "make world" (last make world: the day before
yesterday), getting FreeBSD 10.0-CURRENT/amd64 to r234000 or so, the X11
system on all of our FreeBSD 10.0-CUR/amd64 boxes start rejecting the
start of xdm display manager. xdm is started from /etc/ttys on ttyv7.
This worked before flawless.

At this very moment, I do have X11 started via xdm - but this is a
erratic and non-reproduceable process!

This morning, I update world and kernel to r234030. I recompiled many
ports via "portmaster -f xorg xdm", hoping the new kernel/world could
affect the ports, but this isn't.

Starting Xorg X11 server works fine. xdm fails. The log in
/var/log/xdm.log looks like:

Build Date: 07 April 2012  04:51:08PM

Current version of pixman: 0.24.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (=3D=3D) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(=3D=3D) Log file: "/var/log/Xorg.0.log", Time: Sat Apr  7 18:38:24 2012
(=3D=3D) Using config file: "/etc/X11/xorg.conf"
xdm info (pid 2055): sourcing /usr/local/share/X11/xdm/Xsetup_0
xdm error (pid 2050): Unknown session exit code 2560 from process 2055
xdm info (pid 2050): Exiting

When running properly, this occurs:

Build Date: 07 April 2012  04:51:08PM

Current version of pixman: 0.24.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (=3D=3D) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(=3D=3D) Log file: "/var/log/Xorg.0.log", Time: Sun Apr  8 13:10:41 2012
(=3D=3D) Using config file: "/etc/X11/xorg.conf"
xdm info (pid 18378): sourcing /usr/local/etc/X11/xdm/Xsetup_0
xdm info (pid 18378): sourcing /usr/local/etc/X11/xdm/GiveConsole
xdm info (pid 19848): executing session /usr/local/etc/X11/xdm/Xsession


Content of XSetup_0 is
#!/bin/sh
#xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed
-exitOnFail
xsetroot -solid black


I feel a bit helpless around here since I can not get close to what is
happening. The erratic behaviour of starting xdm is frightening.
Starting xdm via /etc/ttys doesn't work at all, but sometimes, with a
bit luck, xdm starts when started from the console.

Regards,
Oliver


--------------enig6D6710BC26CDB38C71E99B97
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

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

iQEcBAEBAgAGBQJPgXanAAoJEOgBcD7A/5N8nrIIALoh0GaAQ5HoMQulQr/lRDbG
jNEvqLhAMxkbjse+1XJsDvErzDb/Tn54J8ssz57JjRI+OP8DZiruNWMBt2JAX94A
umZCz2Vt5xVaItzuHkHCklKPEr1WiGjPEF9rnNKg6VfwVMbviVvmmr6Qg8lxkw00
IQVlBqoSn0uLm10mOYF6+QLTsKadILcV3gfZL9jNqDum56H9gkcXLocsHiVks75I
i2SfTBGw/CL1JpYv23ghfz10xuMAaJqLpp3JHlCfBlfetkxWDYhPs4KK2VWWTH3a
aYAyx61XGHwr7Yb2BM6vuB+PhHSpe5b/3iDy3Sln39qQIGSVJ0AL35CzsD13M00=
=X5c/
-----END PGP SIGNATURE-----

--------------enig6D6710BC26CDB38C71E99B97--