From owner-freebsd-stable@FreeBSD.ORG Tue Mar 3 22:51:08 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E1C31065760 for ; Tue, 3 Mar 2009 22:51:08 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-ew0-f166.google.com (mail-ew0-f166.google.com [209.85.219.166]) by mx1.freebsd.org (Postfix) with ESMTP id B1EEB8FC19 for ; Tue, 3 Mar 2009 22:51:07 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by ewy10 with SMTP id 10so2246830ewy.43 for ; Tue, 03 Mar 2009 14:51:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=ZNp5dTAKDC2tCTLaLA/R5UpWUhjTCOmkYdTSfpSiMic=; b=aAKsFE6JkgH8OQaqIIH0u7ga/Yshh7rZebQSTxWiGJz+Y46uEx84+WLAF6loUzIfcq mYUkpoOfdfOXvM1Wne5BMGOgFfu86EaG+CilLcm4y4GzrNvLfqipQBCWMULs2aKPtE0H LvDRULfMk7bmWf1uxexPdV2SFFTZtKiFhfAX4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=EA01OaAs5M/P8ocUNkhkKBMBRKagf1Eu8nR9UhF5jnt9HTvqbFH5WqOX8T7yHtMBuQ ROTyn11SjKX/Gl1NtdkW3WXO8v8krmzgclrPKqE258G2nK1ydOZ2SgPmdOaBNUvkknow vfc5MUofA53NoC5ksR4gQ6f0Ea56zjN7LUkuA= MIME-Version: 1.0 Received: by 10.210.38.5 with SMTP id l5mr6068136ebl.49.1236120666654; Tue, 03 Mar 2009 14:51:06 -0800 (PST) In-Reply-To: <20090303220331.4efe625d@baby-jane.lamaiziere.net> References: <20090301130018.4bb7f349@baby-jane.lamaiziere.net> <20090303220331.4efe625d@baby-jane.lamaiziere.net> Date: Tue, 3 Mar 2009 23:51:06 +0100 Message-ID: <3a142e750903031451s3dc35df5gbc7f9672e1b1df54@mail.gmail.com> From: "Paul B. Mahol" To: Patrick Lamaiziere Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: [7-STABLE] ndis interacts badly with powerd X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2009 22:51:08 -0000 On 3/3/09, Patrick Lamaiziere wrote: > Le Sun, 1 Mar 2009 13:00:18 +0100, > Patrick Lamaiziere : > >> [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