From owner-freebsd-questions@FreeBSD.ORG Tue Jun 12 17:29:37 2012 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 09EDA1065676 for ; Tue, 12 Jun 2012 17:29:37 +0000 (UTC) (envelope-from hans@beastielabs.net) Received: from mail.beastielabs.net (beasties.demon.nl [82.161.3.114]) by mx1.freebsd.org (Postfix) with ESMTP id 7F10C8FC14 for ; Tue, 12 Jun 2012 17:29:35 +0000 (UTC) Received: from merom.hotsoft.nl (merom.hotsoft.nl [192.168.0.12]) by mail.beastielabs.net (8.14.5/8.14.5) with ESMTP id q5CHTGnd050371; Tue, 12 Jun 2012 19:29:16 +0200 (CEST) (envelope-from hans@beastielabs.net) Message-ID: <4FD77C6C.8050702@beastielabs.net> Date: Tue, 12 Jun 2012 19:29:16 +0200 From: Hans Ottevanger User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120609 Thunderbird/13.0 MIME-Version: 1.0 To: Anton Shterenlikht References: <20120611113135.GA99238@mech-cluster241.men.bris.ac.uk> <20120612081306.GA25637@mech-cluster241.men.bris.ac.uk> <20120612082456.GA25893@mech-cluster241.men.bris.ac.uk> <4FD7325D.2000506@beastielabs.net> <20120612145553.GA38503@mech-cluster241.men.bris.ac.uk> In-Reply-To: <20120612145553.GA38503@mech-cluster241.men.bris.ac.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, Subhro Sankha Kar Subject: Re: can't kill -9 Xorg X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2012 17:29:37 -0000 On 06/12/12 16:55, Anton Shterenlikht wrote: > On Tue, Jun 12, 2012 at 02:13:17PM +0200, Hans Ottevanger wrote: >> On 06/12/12 10:24, Anton Shterenlikht wrote: >>> On Tue, Jun 12, 2012 at 09:13:06AM +0100, Anton Shterenlikht wrote: >>>> On Tue, Jun 12, 2012 at 12:07:06AM +0530, Subhro Sankha Kar wrote: >>>>> Hello >>>>> >>>>> What happens if you run without a xorg.conf? Xorg has become pretty good >>>>> at guessing correct settings these days. >>>>> >>>> >>>> No change. >>>> I removed /etc/X11/xorg.conf completely. >>> >>> Anyway, I can understand my X setup is fucked, no problem. >>> >>> What worries me more is the the fact that a process ignores >>> kill -9. Doesn't it indicate a problem with the OS? >>> I think potentially this is a security vulnerability. >>> >> >> I had a similar issue with my desktop system a while ago, also using a >> Radeon adaptor. In my case the system ended up with a frozen image or >> black screen and was only accessible remotely. It appeared that the X >> server took 100% of a CPU and was looping in the driver in kernel space >> and thus unkillable. If a remember well a PCIE register seemed to be >> inaccessible after returning from the screen saver and the driver kept >> looping on this. >> >> I finally worked around the problem by removing the (barely documented) >> option DynamicPM from my xorg.conf. This could have consequences for >> power saving on a laptop however, but it could be worth trying. >> >> Kind regards, >> >> Hans > > Thank you for the explanation. > I my case > > Option "DRI" "off" > > helped. With DRI off I get X working (nearly) as expected. > > However, I'm now thinking that DRI not > working is perhaps a bug? I'm using > xf86-video-ati-6.14.3_1 > with > > Driver "radeon" > VendorName "Advanced Micro Devices [AMD] nee ATI" > BoardName "RS690M [Radeon X1200 Series]" Here I have: Driver "radeon" VendorName "ATI Technologies Inc" BoardName "RV370 5B60 [Radeon X300 (PCIE)]" which actually is from an xorg.conf initially generated with "Xorg -configure" quite a while ago and only slightly edited afterwards. If I generate a new xorg.conf in this way it is virtually identical. As I understand from your original post you only got this problem after the png upgrade. Did Xorg work correctly before that time and did you have the same version of Xorg that you have now? The xorg-server-1.7.7_5,1 itself does not even depend on png, so you should be able to run Xorg without hanging kernel driver. You could do a forced rebuild of all X packages, also those that do depend on png. > > Maybe I should ask in x11@? > Not a bad idea at all, if you fully specify your problem (as you did in your original posting) and keep in mind that response times can be somewhat longer there. Kind regards, Hans