[7-STABLE] ndis interacts badly with powerd

Paul B. Mahol onemda at gmail.com
Tue Mar 3 14:51:08 PST 2009


On 3/3/09, Patrick Lamaiziere <patfbsd at davenulle.org> wrote:
> Le Sun, 1 Mar 2009 13:00:18 +0100,
> Patrick Lamaiziere <patfbsd at 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


More information about the freebsd-stable mailing list