From owner-freebsd-questions@FreeBSD.ORG Fri Jan 30 19:33:36 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D0C310656EE for ; Fri, 30 Jan 2009 19:33:36 +0000 (UTC) (envelope-from LukeD@pobox.com) Received: from sasl.smtp.pobox.com (a-sasl-fastnet.sasl.smtp.pobox.com [207.106.133.19]) by mx1.freebsd.org (Postfix) with ESMTP id EB2408FC1A for ; Fri, 30 Jan 2009 19:33:35 +0000 (UTC) (envelope-from LukeD@pobox.com) Received: from localhost.localdomain (unknown [127.0.0.1]) by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTP id 7FB3C955B6; Fri, 30 Jan 2009 14:33:35 -0500 (EST) Received: from lukas.is-a-geek.org (unknown [71.113.98.220]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTPSA id 791B6955B3; Fri, 30 Jan 2009 14:33:33 -0500 (EST) Date: Fri, 30 Jan 2009 11:33:31 -0800 (PST) From: Luke Dean X-X-Sender: lukas@border.lukas.is-a-geek.org To: "Alain G. Fabry" In-Reply-To: <20090130064909.GA8440@desmo.3rdrock.kicks-ass.net> Message-ID: References: <4980FB70.2040605@gmail.com> <20090130064909.GA8440@desmo.3rdrock.kicks-ass.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Pobox-Relay-ID: E2CEBB4C-EF04-11DD-9C01-CC4CC92D7133-96347044!a-sasl-fastnet.pobox.com Cc: freebsd-questions@freebsd.org Subject: Re: Restarting new Xorg freezes system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Luke Dean List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jan 2009 19:33:36 -0000 On Fri, 30 Jan 2009, Alain G. Fabry wrote: > On Thu, Jan 29, 2009 at 10:18:10PM -0800, Luke Dean wrote: >> >> >> On Wed, 28 Jan 2009, Glen Barber wrote: >> >>> Luke Dean wrote: >>>> >>>> The operating system and ports were all cvsupped and built from source >>>> today. I'm running Xorg + windowmaker + the "radeon" driver on i386 >>>> 7-STABLE >>>> >>>> My xorg.conf was built from scratch by "Xorg -configure", plus I added >>>> Option "AllowEmptyInput" "off" >>>> to the "ServerLayout" section, per /usr/ports/UPDATING, since I'm not >>>> running hal and I can't get keyboard or mouse otherwise. >>>> >>>> Everything appears to be great. My applications launch much faster than >>>> they did before the upgrade. Shutting down and restarting X is the only >>>> problem I'm having. This was not a problem before I upgraded to the new >>>> Xorg. >>>> >>>> This is a desktop system. I launch X with "startx" from the console. I >>>> can shut down X either by exiting windowmaker or by killing the Xorg >>>> server with ctrl+alt+backspace. There appear to be some failure messages >>>> on the console when I shut down X, but I don't know what they mean or >>>> if they're important. I'm attaching a log below. I don't see any stuck >>>> processes after the shutdown, but perhaps I don't know what I'm looking >>>> for. >>>> >>>> If I later restart X with "startx", some corrupted graphical junk appears >>>> on the screen and the system freezes solid. Keyboard and mouse are >>>> completely unresponsive. NumLock light won't change. I can't ssh into >>>> the system either. >>>> I can reproduce this at will, but my hard drives don't like it. >>>> >>>> Any ideas how to troubleshoot this? >>>> Do I need to switch to hal? >>>> >>> >>> Have you read /usr/ports/UPDATING? >>> >> >> Well.. yeah... See my second paragraph above. >> Is there something in there that I'm not seeing that explains why >> restarting X would hang the whole system? >> _______________________________________________ > > You by any chance don't have dual-headed X configured? I had a similar > problem and after removing my second ServerLayout section + RgbPath + > 'AllowEmptyInput' in xorg.conf, everything seems to work again (even my > dual display ???) > > Section "ServerLayout" > Identifier "X.org Configured" > Screen 0 "PANEL" 0 0 > InputDevice "Mouse0" "CorePointer" > InputDevice "Keyboard0" "CoreKeyboard" > Option "AllowEmptyInput" "off" > EndSection > > # Removed after upgrade xorg... > > #Section "ServerLayout" > # Identifier "X.org Configured" > # Screen 0 "PANEL" 0 0 > # Screen 1 "VGA_1" RightOf "PANEL" > # InputDevice "Mouse0" "CorePointer" > # InputDevice "Keyboard0" "CoreKeyboard" > # Option "AllowEmptyInput" "off" > # Option "Xinerama" "true" > #EndSection > No, just one monitor and just one ServerLayout section. I just discovered that switching from "radeon" to "vesa" makes the problem go away for me.