Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Feb 2009 02:05:22 +0100
From:      "Paul B. Mahol" <onemda@gmail.com>
To:        Ross Penner <ross.penner@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: powerd causing crash on Mini-ITX EN1200
Message-ID:  <3a142e750902271705n754aa003v7aa756cff2b54daf@mail.gmail.com>
In-Reply-To: <f80199c40902271000x29c6870bsd80d46f9f995e7af@mail.gmail.com>
References:  <f80199c40902260944q430b7faavd9fc7891c6ecb7b0@mail.gmail.com> <3a142e750902261447k7cac4eb6m457726bc1f4b23d3@mail.gmail.com> <f80199c40902262150y1f7b83e0q8e960a38ed9e89b2@mail.gmail.com> <3a142e750902270346m4358ad19p9883e6a69bda9b01@mail.gmail.com> <f80199c40902271000x29c6870bsd80d46f9f995e7af@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2/27/09, Ross Penner <ross.penner@gmail.com> wrote:
> On Fri, Feb 27, 2009 at 3:46 AM, Paul B. Mahol <onemda@gmail.com> wrote:
>> On 2/27/09, Ross Penner <ross.penner@gmail.com> wrote:
>>> Perhaps, but I rarely run Xorg. I use the machine as a gateway for our
>>> network in the house. I've noticed it most often when under a network
>>> load but that might not be a real correlation.
>>>
>>> On Thu, Feb 26, 2009 at 2:47 PM, Paul B. Mahol <onemda@gmail.com> wrote:
>>>> On 2/26/09, Ross Penner <ross.penner@gmail.com> wrote:
>>>>> Hi,
>>>>>
>>>>> When I enable powerd, it is only but a matter of time before my
>>>>> machine will lock up completely. I've had this problem since I've
>>>>> migrated to FreeBSD 7 from 6. FreeBSD 6 never seemed to have any
>>>>> problems. I doesn't seem to create a dump so I've had no luck on that
>>>>> end. I'm quite perplexed on how to proceed to help get this problem
>>>>> documented so it can be fixed.
>>>>>
>>>>> #uname -a
>>>>> FreeBSD rosbox.dyndns.org 7.1-STABLE FreeBSD 7.1-STABLE #0: Thu Feb 26
>>>>> 00:38:44 PST 2009
>>>>> ross@rosbox.dyndns.org:/usr/obj/usr/src/sys/MYKERNEL7  i386
>>>>>
>>>>> Is there anything else I con provide that would be of assistance?
>>>>
>>>> I'm aware of livelock between syscons and powerd which is not trivial
>>>> to
>>>> reproduce (at least for me).
>>
>> The locks happens for me only if kernel prints something on console while
>> something other is being printed on vtys.
>> So it looks like your problem is not related to syscons bugs.
>>
>> --
>> Paul
>
> Well, it might not actually be that far off. When I have powerd
> enabled, I frequently get a message on the console about 'vge watchdog
> timeout'

I got that similar one when using "powerd -b min"
and transferring big file with ndis vap configured in adhoc mode.
Probably I was just lucky that I used min instead of (h)adp.

> Does anybody have any ideas on how to try and fix this issue?

One nasty fix would be disabling kernel messages on console. I never
tested if it actually works, or perhaps I did but forgot about it ;) :

echo "kern.consmute=1" >> /boot/sysctl.conf

Another, better one would be to make syscons giant free, perhaps
rewriting it from scratch ....

-- 
Paul



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