mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* awe64 isa pnp ALSA problems since 2.6.17
@ 2006-06-30 20:57 Santiago Garcia Mantinan
  2006-07-03 17:28 ` Takashi Iwai
  0 siblings, 1 reply; 6+ messages in thread
From: Santiago Garcia Mantinan @ 2006-06-30 20:57 UTC (permalink / raw)
  To: linux-kernel

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
 <c012387b> setup_irq+0xe5/0xfb  <c01bfc95> pnp_test_handler+0x0/0x6
 <c01238fc> request_irq+0x6b/0x8b  <c01bfe55> pnp_check_irq+0xb8/0x12f
 <c01bfc95> pnp_test_handler+0x0/0x6  <c01c083b> pnp_assign_irq+0xd7/0xf4
 <c01c0acd> pnp_assign_resources+0x1bc/0x23a  <c01c0bac>
pnp_auto_config_dev+0x6
1/0x8f
 <c01c0bf9> pnp_activate_dev+0x1f/0x46  <d08de81b>
snd_sb16_pnp_detect+0x1ae/0x3
4f [snd_sbawe]
 <c01bf3d5> card_probe+0xb1/0x104  <c01bf4a8>
pnp_register_card_driver+0x80/0x90
 <d085a070> alsa_card_sb16_init+0x70/0xae [snd_sbawe]  <c01223ba>
sys_init_modul
e+0x1103/0x1272
 <c01024b3> 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.

Regards...
-- 
Manty/BestiaTester -> http://manty.net

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: awe64 isa pnp ALSA problems since 2.6.17
  2006-06-30 20:57 awe64 isa pnp ALSA problems since 2.6.17 Santiago Garcia Mantinan
@ 2006-07-03 17:28 ` Takashi Iwai
  2006-07-03 22:31   ` Santiago Garcia Mantinan
  0 siblings, 1 reply; 6+ messages in thread
From: Takashi Iwai @ 2006-07-03 17:28 UTC (permalink / raw)
  To: Santiago Garcia Mantinan; +Cc: linux-kernel

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
>  <c012387b> setup_irq+0xe5/0xfb  <c01bfc95> pnp_test_handler+0x0/0x6
>  <c01238fc> request_irq+0x6b/0x8b  <c01bfe55> pnp_check_irq+0xb8/0x12f
>  <c01bfc95> pnp_test_handler+0x0/0x6  <c01c083b> pnp_assign_irq+0xd7/0xf4
>  <c01c0acd> pnp_assign_resources+0x1bc/0x23a  <c01c0bac>
> pnp_auto_config_dev+0x6
> 1/0x8f
>  <c01c0bf9> pnp_activate_dev+0x1f/0x46  <d08de81b>
> snd_sb16_pnp_detect+0x1ae/0x3
> 4f [snd_sbawe]
>  <c01bf3d5> card_probe+0xb1/0x104  <c01bf4a8>
> pnp_register_card_driver+0x80/0x90
>  <d085a070> alsa_card_sb16_init+0x70/0xae [snd_sbawe]  <c01223ba>
> sys_init_modul
> e+0x1103/0x1272
>  <c01024b3> 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;
 		}

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: awe64 isa pnp ALSA problems since 2.6.17
  2006-07-03 17:28 ` Takashi Iwai
@ 2006-07-03 22:31   ` Santiago Garcia Mantinan
  2006-07-04  0:50     ` Andrew Morton
  0 siblings, 1 reply; 6+ messages in thread
From: Santiago Garcia Mantinan @ 2006-07-03 22:31 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: linux-kernel

> The patch should fix the error above.

I have applied your patch, did a make mrproper and then compiled again, I'm
still getting the very same message:

setup_irq: irq handler mismatch
 <c0123883> setup_irq+0xe5/0xfb  <c01bfcb5> pnp_test_handler+0x0/0x6
 <c0123904> request_irq+0x6b/0x8b  <c01bfe75> pnp_check_irq+0xb8/0x12f
 <c01bfcb5> pnp_test_handler+0x0/0x6  <c01c085b> pnp_assign_irq+0xd7/0xf4
 <c01c0aed> pnp_assign_resources+0x1bc/0x23a  <c01c0bcc>
pnp_auto_config_dev+0x6
1/0x8f
 <c01c0c19> pnp_activate_dev+0x1f/0x46  <d08de81b>
snd_sb16_pnp_detect+0x1ae/0x3
4f [snd_sbawe]
 <c01bf3f5> card_probe+0xb1/0x104  <c01bf4c8>
pnp_register_card_driver+0x80/0x90
 <d085a070> alsa_card_sb16_init+0x70/0xae [snd_sbawe]  <c01223c2>
sys_init_modul
e+0x1103/0x1272
 <c01024b3> syscall_call+0x7/0xb 
pnp: Device 00:01.00 activated.
pnp: Device 00:01.02 activated.

Thanks.

Regards...
-- 
Manty/BestiaTester -> http://manty.net

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: awe64 isa pnp ALSA problems since 2.6.17
  2006-07-03 22:31   ` Santiago Garcia Mantinan
@ 2006-07-04  0:50     ` Andrew Morton
  2006-07-04 10:55       ` Takashi Iwai
  2006-07-04 18:06       ` Santiago Garcia Mantinan
  0 siblings, 2 replies; 6+ messages in thread
From: Andrew Morton @ 2006-07-04  0:50 UTC (permalink / raw)
  To: Santiago Garcia Mantinan; +Cc: tiwai, linux-kernel

On Tue, 4 Jul 2006 00:31:28 +0200
Santiago Garcia Mantinan <manty@manty.net> wrote:

> > The patch should fix the error above.
> 
> I have applied your patch, did a make mrproper and then compiled again, I'm
> still getting the very same message:
> 
> setup_irq: irq handler mismatch
>  <c0123883> setup_irq+0xe5/0xfb  <c01bfcb5> pnp_test_handler+0x0/0x6
>  <c0123904> request_irq+0x6b/0x8b  <c01bfe75> pnp_check_irq+0xb8/0x12f
>  <c01bfcb5> pnp_test_handler+0x0/0x6  <c01c085b> pnp_assign_irq+0xd7/0xf4
>  <c01c0aed> pnp_assign_resources+0x1bc/0x23a  <c01c0bcc>

This has been addressed in Linus's current tree, via:

                if (request_irq(*irq, pnp_test_handler,
                                IRQF_DISABLED|IRQF_PROBE_SHARED, "pnp", NULL))

in drivers/pnp/resource.c.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: awe64 isa pnp ALSA problems since 2.6.17
  2006-07-04  0:50     ` Andrew Morton
@ 2006-07-04 10:55       ` Takashi Iwai
  2006-07-04 18:06       ` Santiago Garcia Mantinan
  1 sibling, 0 replies; 6+ messages in thread
From: Takashi Iwai @ 2006-07-04 10:55 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Santiago Garcia Mantinan, linux-kernel

At Mon, 3 Jul 2006 17:50:32 -0700,
Andrew Morton wrote:
> 
> On Tue, 4 Jul 2006 00:31:28 +0200
> Santiago Garcia Mantinan <manty@manty.net> wrote:
> 
> > > The patch should fix the error above.
> > 
> > I have applied your patch, did a make mrproper and then compiled again, I'm
> > still getting the very same message:
> > 
> > setup_irq: irq handler mismatch
> >  <c0123883> setup_irq+0xe5/0xfb  <c01bfcb5> pnp_test_handler+0x0/0x6
> >  <c0123904> request_irq+0x6b/0x8b  <c01bfe75> pnp_check_irq+0xb8/0x12f
> >  <c01bfcb5> pnp_test_handler+0x0/0x6  <c01c085b> pnp_assign_irq+0xd7/0xf4
> >  <c01c0aed> pnp_assign_resources+0x1bc/0x23a  <c01c0bcc>
> 
> This has been addressed in Linus's current tree, via:
> 
>                 if (request_irq(*irq, pnp_test_handler,
>                                 IRQF_DISABLED|IRQF_PROBE_SHARED, "pnp", NULL))
> 
> in drivers/pnp/resource.c.

These fixes should go to 2.6.17.x tree, right?
Then I'll prepare the patch for ALSA part...


Takashi

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: awe64 isa pnp ALSA problems since 2.6.17
  2006-07-04  0:50     ` Andrew Morton
  2006-07-04 10:55       ` Takashi Iwai
@ 2006-07-04 18:06       ` Santiago Garcia Mantinan
  1 sibling, 0 replies; 6+ messages in thread
From: Santiago Garcia Mantinan @ 2006-07-04 18:06 UTC (permalink / raw)
  To: Andrew Morton; +Cc: tiwai, linux-kernel

Hi!

> This has been addressed in Linus's current tree, via:
> 
>                 if (request_irq(*irq, pnp_test_handler,
>                                 IRQF_DISABLED|IRQF_PROBE_SHARED, "pnp", NULL))
> 
> in drivers/pnp/resource.c.

Sorry, I missed your message, I have picked the patch from git and works as
expected.

I still have the audio problems with skype when using the oss interface, but
I have not been able to reproduce them with any other program, I guess this
could be either the alsa drivers (I tested 1.0.12rc1 but the result was the
same as with 1.0.11rc4 from 2.6.17) or even the libs (I'm using debian's sid
1.0.11-7), even though the problem happens when I use 2.6.17 and doesn't
happen if I use 2.6.16.

Thanks for your help.

Regards...
-- 
Manty/BestiaTester -> http://manty.net

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-07-04 18:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-30 20:57 awe64 isa pnp ALSA problems since 2.6.17 Santiago Garcia Mantinan
2006-07-03 17:28 ` Takashi Iwai
2006-07-03 22:31   ` Santiago Garcia Mantinan
2006-07-04  0:50     ` Andrew Morton
2006-07-04 10:55       ` Takashi Iwai
2006-07-04 18:06       ` Santiago Garcia Mantinan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®