From owner-freebsd-current@FreeBSD.ORG Wed Mar 11 08:30:40 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFC4A106566C for ; Wed, 11 Mar 2009 08:30:40 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id 54E6A8FC14 for ; Wed, 11 Mar 2009 08:30:40 +0000 (UTC) (envelope-from mav@FreeBSD.org) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Received: from orphanage.alkar.net (account mav@alkar.net [212.86.226.11] verified) by cmail.optima.ua (CommuniGate Pro SMTP 5.2.9) with ESMTPA id 237121840; Wed, 11 Mar 2009 10:30:39 +0200 Message-ID: <49B776AE.6050608@FreeBSD.org> Date: Wed, 11 Mar 2009 10:30:38 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.14 (X11/20080612) MIME-Version: 1.0 To: Yoshifumi SASAKI References: <1236687785.00084874.1236675603@10.7.7.3> <49B6AA99.4090808@FreeBSD.org> <49B6B196.3000305@FreeBSD.org> <49B72F7A.3020709@ongs.co.jp> In-Reply-To: <49B72F7A.3020709@ongs.co.jp> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: Try report: Sony VAIO Type P X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Mar 2009 08:30:41 -0000 Yoshifumi SASAKI wrote: > Alexander Motin wrote: >> Alexander Motin wrote: >>> Yoshifumi SASAKI wrote: >>>> Sound... succeed to load snd_hda.ko >>>> >>>> hdac0: mem >>>> 0x942c0000-0x942c3fff irq 11 at device 27.0 on pci0 >>>> hdac0: HDA Driver Revision: 20090215_0128 >>>> hdac0: [ITHREAD] >>>> hdac0: HDA Codec #0: Realtek ALC262 >>>> pcm0: at cad 0 nid 1 on hdac0 >>>> >>>> I receive many messages.And I try to play MP3 data,But not sound. >>>> >>>> interrupt storm detected on "irq5:"; throttling interrupt source >>>> interrupt storm detected on "irq5:"; throttling interrupt source >>>> interrupt storm detected on "irq5:"; throttling interrupt source >>>> interrupt storm detected on "irq5:"; throttling interrupt source >>> >>> snd_hda supports several interrupt modes: MSI, usual interrupts and >>> polling (interruptless operation). The version you have tested uses >>> MSI by default. You can switch it to use usual interrupts by setting >>> hint.hdac.0.msi=0 in loader.conf, or to use polling by >>> dev.hdac.0.polling=1 sysctl. Also you can try latest CURRENT, as >>> there were some MSI related changes recently. >> >> According to Intel's official SCH chip errata: "High Definition Audio >> Does Not Send Interrupts to the CPU When Using the MSI". So may be >> disabling it is the right way out. >> > > First, I set hint.hdac.0.msi=0 in loader.conf. interrupt storm message > does not stop and not work. > Next, I unset hint.hdac.0.msi=0 and setting dev.hdac.0.polling=1 by > sysctl command. > interrupt storm message stop and sound music:) > > Thanks! You are welcome, but it's just workaround, not a real solution. What's strange to me is that system reports irq11 for hdac0, but it causes irq5 storm, and ndis0 reported as irq11, but causes irq10 storm. I would say there is something wrong with irq allocation. -- Alexander Motin