system sporadically hangs on shutdown after switching to WITH_NEW_XORG

Warren Block wblock at wonkity.com
Wed Jun 19 17:50:48 UTC 2013


On Sun, 16 Jun 2013, Ian Lepore wrote:

> On Sun, 2013-06-16 at 09:07 -0700, Jeremy Chadwick wrote:
>> On Sun, Jun 16, 2013 at 06:01:49PM +0200, Michiel Boland wrote:
>>> On 06/16/2013 17:55, Jeremy Chadwick wrote:
>>> [...]
>>>
>>>> Are you running moused(8)?  Actually, I can see quite clearly that you
>>>> are in your core.txt:
>>>>
>>>> Starting ums0 moused.
>>>>
>>>> Try turning that off.  Don't ask me how, because devd(8) / devd.conf(5)
>>>> might be involved.
>>>>
>>>
>>> The moused is started by devd - I don't see a quick way of turning that off.
>>
>> Comment out the relevant crap in devd.conf(5).  Search for "ums"
>> and comment out the two "notify" sections.
>
> I don't understand why people treat devd as if it's some sort of evil
> virus that they're forced to live with (using phrases like "crap in
> devd.conf").  In general, the standard devd rules tend to fall into 3
> categories:
>      * use logger(1) to record some anomaly
>      * kldload a module
>      * invoke a standard /etc/rc.d script
>
> For moused, the devd rules invoke /etc/rc.d/moused, which implies that
> setting moused_enable=NO in rc.conf would be all that's needed to
> disable it.

Seems that way, but it's misleading.  Plug in a USB mouse, and devd will 
start moused anyway (with different options, but still...).  ISTR that 
can be disabled with

   moused_enable="NO"
   moused_nondefault_enable="NO"

I have not tested that lately.


More information about the freebsd-stable mailing list