Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jun 2012 19:29:16 +0200
From:      Hans Ottevanger <hans@beastielabs.net>
To:        Anton Shterenlikht <mexas@bristol.ac.uk>
Cc:        freebsd-questions@freebsd.org, Subhro Sankha Kar <subhro@80386.org>
Subject:   Re: can't kill -9 Xorg
Message-ID:  <4FD77C6C.8050702@beastielabs.net>
In-Reply-To: <20120612145553.GA38503@mech-cluster241.men.bris.ac.uk>
References:  <20120611113135.GA99238@mech-cluster241.men.bris.ac.uk> <C60CD1C4-067D-4475-B0EF-552D1BE22BE2@80386.org> <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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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