Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Mar 2009 23:51:06 +0100
From:      "Paul B. Mahol" <onemda@gmail.com>
To:        Patrick Lamaiziere <patfbsd@davenulle.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: [7-STABLE] ndis interacts badly with powerd
Message-ID:  <3a142e750903031451s3dc35df5gbc7f9672e1b1df54@mail.gmail.com>
In-Reply-To: <20090303220331.4efe625d@baby-jane.lamaiziere.net>
References:  <20090301130018.4bb7f349@baby-jane.lamaiziere.net> <20090303220331.4efe625d@baby-jane.lamaiziere.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/3/09, Patrick Lamaiziere <patfbsd@davenulle.org> wrote:
> Le Sun, 1 Mar 2009 13:00:18 +0100,
> Patrick Lamaiziere <patfbsd@davenulle.org>:
>
>> [7-STABLE/i386-SMP]
>>
>> When I enable powerd, ndis takes all the CPU. Powerd alone and ndis
>> alone works fine.
>>
>> The kernel threads "Windows DCP0" and "ndis0 taskq" run at
>> 100%. But the machine is still running (but is very very slow), I can
>> kldunload my ndis module and all is ok.
>>
>> I tried with a kernel (GENERIC) without SMP but there is the same
>> problem.
>>
>> Any idea? Thanks.
>
> The problem was simply that the frequency was lowered too many. I have
> to limit the frequency with debug.cpufreq.lowest.

How much small it was?
powerd -b min with 125 freq works fine on CURRENT with ndis for me
(except that in such case watchdog errors are displayed on console if connection
is heavily used)

Note that ndis watchdog stuff have been rewritten on CURRENT.

-- 
Paul



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