From owner-freebsd-questions@FreeBSD.ORG Sat May 2 01:52:42 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5365106566C for ; Sat, 2 May 2009 01:52:42 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id 4C17F8FC12 for ; Sat, 2 May 2009 01:52:41 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by bwz9 with SMTP id 9so2525182bwz.43 for ; Fri, 01 May 2009 18:52:41 -0700 (PDT) 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=t6I+24JIfMsXMFm9Ab/nIbwYzF6O5GPHC4EnDDXZMEU=; b=l2nssIfUzot9uJLT5dPkMPSk1gI07iopwuTwbQEzIGKGpL6d0a1Ood2QEiHLUaeIAO ZPrLJ5XhaNQLWggb/j3Xp5wtsCQo5iXYPtm2l2rjAWgpQ96IVeabHH/nI0R4xySFc7zl UOK4tJ8JUPzGvV6sbZsT+GPuxpVG3C6NJ2Is0= 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=LhEOTA6MiK0nJ6JHkXmCaRDujb7d2q6Sc2Y7SjxqzTGwVtnYy6ixh4VL71YzoP11Gj XfS7db4iLQPotD8a2GUQdvOCTZ6ERc/dVwhiyFu2v5PhecwLyRDhkTtlAwbFDtIMULkc Vp9dQ/4FUCbMN1odusyHqP5i2/q+CK3YM5OKk= MIME-Version: 1.0 Received: by 10.239.136.14 with SMTP id f14mr174761hbf.53.1241229161028; Fri, 01 May 2009 18:52:41 -0700 (PDT) In-Reply-To: <3a142e750905011711pc9c77f7p67e883e96fac7170@mail.gmail.com> References: <49F78DD0.70007@onetel.com> <3a142e750904290530p7189e3d2y40328186dd4141f7@mail.gmail.com> <49FB6C6A.8020308@onetel.com> <3a142e750905011711pc9c77f7p67e883e96fac7170@mail.gmail.com> Date: Sat, 2 May 2009 03:52:41 +0200 Message-ID: <3a142e750905011852p30281dadtb83c1b31dddd8c45@mail.gmail.com> From: "Paul B. Mahol" To: Chris Whitehouse Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: User Questions Subject: Re: ndis0 interrrupt storm X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 May 2009 01:52:43 -0000 On 5/2/09, Paul B. Mahol wrote: > On 5/1/09, Chris Whitehouse wrote: >> Paul B. Mahol wrote: >>> On 4/29/09, Chris Whitehouse wrote: >>>> Hi all >>>> >>>> I'm trying to get a Linksys WPC54Gv5 wireless pccard working. It has a >>>> Marvell 8335 chip. I've created a module with ndisgen and I can see >>>> ndis0. When I up it with ifconfig I immediately get repeated messages: >>>> >>>> Apr 28 23:23:19 pcbsd kernel: interrupt storm detected on "irq11:"; >>>> throttling interrupt source >>>> >>>> As soon as I down the interface the messages stop. >>>> >>>> I've also tried starting ndis0 with polling >>>> >>>> # ifconfig ndis0 inet 192.168.1.20 polling >>>> >>>> but still get the messages. I guess this driver doesn't support >>>> polling. >>>> Or I've got the syntax wrong. >>> >>> That command is not currently efective at all for ndisX(I yet have to >>> see if it is possible). >>> >>>> According to vmstat -i irq11 is used by cbb0 and pcm0. ndis0 is on irq9 >>>> >>>> irq9: cbb1 ndis0++ >>>> >>>> This is on PCBSD 7.1 which is FreeBSD 7.2-PRERELEASE >>>> >>>> Any way I can get this thing working? >>> >>> Try yo disable cbbX if you dont use it or enable MSI for pcm0 (if >>> possible). >> >> This is a pcmcia card in a laptop so cbb is needed :( There is no >> reference to msi in the pcm man page so I guess it is not available for >> this system. (Paul I saw a post from you on multimedia about msi in hdac >> and sure enough there is a reference to msi in snd_hda(4) man page). Am >> I looking in the right place? > > msi for snd_hda(if that is your sound driver) should be enabled by default > on CURRENT (dunno about 7): > hint.hdac.%d.msi=1 > > You could try to use different dev.ndis.0.InterruptNumber for ndis0. > Changing it via sysctl is not supported, you will need to modify right > line(s) > in inf file, or in .h file generated with ndiscvt(1) via ndisgen(8) > > Dunno if that will work .... (never tried) Tried, doesnt work. Polling could be enabled if miniport driver for your card supports it, look output of sysctl dev.ndis.0 -- Paul