From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751216AbWGCR3G (ORCPT ); Mon, 3 Jul 2006 13:29:06 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751208AbWGCR3G (ORCPT ); Mon, 3 Jul 2006 13:29:06 -0400 Received: from mx2.suse.de ([195.135.220.15]:54174 "EHLO mx2.suse.de") by vger.kernel.org with ESMTP id S1751216AbWGCR3F (ORCPT ); Mon, 3 Jul 2006 13:29:05 -0400 Date: Mon, 03 Jul 2006 19:28:54 +0200 Message-ID: From: Takashi Iwai To: Santiago Garcia Mantinan Cc: linux-kernel@vger.kernel.org Subject: Re: awe64 isa pnp ALSA problems since 2.6.17 In-Reply-To: <20060630205703.GA2840@pul.manty.net> References: <20060630205703.GA2840@pul.manty.net> User-Agent: Wanderlust/2.12.0 (Your Wildest Dreams) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 MULE XEmacs/21.5 (beta25) (eggplant) (+CVS-20060326) (i386-suse-linux) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org At Fri, 30 Jun 2006 22:57:03 +0200, Santiago Garcia Mantinan wrote: > > Hi! > > I'm experiencing some problems on 2.6.17 that I didn't have on 2.6.16, most > noticeable are the messages when alsa is loaded: > > setup_irq: irq handler mismatch > setup_irq+0xe5/0xfb pnp_test_handler+0x0/0x6 > request_irq+0x6b/0x8b pnp_check_irq+0xb8/0x12f > pnp_test_handler+0x0/0x6 pnp_assign_irq+0xd7/0xf4 > pnp_assign_resources+0x1bc/0x23a > pnp_auto_config_dev+0x6 > 1/0x8f > pnp_activate_dev+0x1f/0x46 > snd_sb16_pnp_detect+0x1ae/0x3 > 4f [snd_sbawe] > card_probe+0xb1/0x104 > pnp_register_card_driver+0x80/0x90 > alsa_card_sb16_init+0x70/0xae [snd_sbawe] > sys_init_modul > e+0x1103/0x1272 > syscall_call+0x7/0xb > pnp: Device 00:01.00 activated. > pnp: Device 00:01.02 activated. > > before this messages isapnp is initialiced without any problem with this > messages: > > isapnp: Scanning for PnP cards... > pnp: SB audio device quirk - increasing port range > pnp: AWE32 quirk - adding two ports > isapnp: Card 'Creative SB AWE64 PnP' > isapnp: 1 Plug & Play card detected total > > As I said this is only happening on 2.6.17 and not on 2.6.16, also some > programs still using the oss api are sounding really bad now (I noticed this > on skype, but not on kiax or mpg123). > > Machine is a pentium III with a via apollo mvp3 chipset. > > I don't know what else to add, don't hesitate to ask for any other details > or for any tests you'd like. The patch should fix the error above. Takashi --- a/include/sound/initval.h Fri Jun 23 15:10:18 2006 +0200 +++ b/include/sound/initval.h Fri Jun 23 15:13:57 2006 +0200 @@ -62,7 +62,8 @@ static int snd_legacy_find_free_irq(int { while (*irq_table != -1) { if (!request_irq(*irq_table, snd_legacy_empty_irq_handler, - SA_INTERRUPT, "ALSA Test IRQ", (void *) irq_table)) { + SA_INTERRUPT | SA_PROBEIRQ, "ALSA Test IRQ", + (void *) irq_table)) { free_irq(*irq_table, (void *) irq_table); return *irq_table; }