Fixing IRQ clashes from sound card

Fixing IRQ clashes from sound card

Post by Stephen Davi » Wed, 15 Oct 1997 04:00:00



I recently succeeded in getting a Yamaha YMF719 sound card to work under Linux 2.0.30 but
despite the fact that the sound card (and everything else) seems to be working peerfectly,
I still get IRQ clash messages during boot-up.

Trying to track down the cause, I checked /proc/interrupts and /proc/pci.

In /proc/pci, I have:

  Bus  0, device   8, function  0:
    VGA compatible controller: Tseng'Lab ET6000W32P (rev 48).
      Slow devsel.  IRQ 10.  
      Non-prefetchable 32 bit memory at 0xe0000000.
      I/O at 0x6200.

but in /proc/interrupts I have:

 0:     568262   timer
 1:       4080   keyboard
 2:          0   cascade
 4:     115635 + serial
 7:          0   SoundPort
 8:          0 + rtc
 9:       5797 + eata_dma
12:        612   21041
13:          1   math error
14:     268803 + ide0

Note that IRQ 10 does not rate a mention.

The startup messages are:

Sound initialization started
[IRQ Conflict?]<MSS audio codec (CS4231)> at 0x534 irq 7 dma 0,0
ad1848: Interrupt test failed (IRQ7)
<Yamaha OPL3 FM> at 0x388
Sound initialization complete

/dev/sndstat says:

Sound Driver:3.5.4-960630 (Sun Oct 12 22:02:42 CST 1997 root,
Linux mustang 2.0.30 #5- Sun Oct 12 19:13:38 CST 1997 i586)
Kernel: Linux mustang 2.0.30 #6- Sun Oct 12 22:03:47 CST 1997 i586
Config options: 0

Installed drivers:
Type 10: MS Sound System
Type 24: MS Sound System (AXP)
Type 27: Compaq Deskpro XL
Type 1: OPL-2/OPL-3 FM

Card config:
MS Sound System at 0x530 irq 7 drq 0
OPL-2/OPL-3 FM at 0x388 drq 0

Audio devices:
0: MSS audio codec (CS4231)

Synth devices:
0: Yamaha OPL-3

Midi devices: NOT ENABLED IN CONFIG

Timers:
0: System clock

Mixers:
0: MSS audio codec (CS4231)

I have no idea where the Compaq Deskpro XL entry comes from.

If I exclude all mention of MSS from the sound config, I do not get any mixers configured.

If I change the MSS IRQ to any other value, the clash error still occurs but the card still
works.

So I am left with two questions:

Why does /proc/pci say that the video card is using IRQ 10 but /proc/interrupts does not?

Why am I getting apparently false IRQ clash messages?

Cheers and thanks,

Stephen.

 
 
 

Fixing IRQ clashes from sound card

Post by Sid Boyc » Thu, 16 Oct 1997 04:00:00



> I recently succeeded in getting a Yamaha YMF719 sound card to work under Linux 2.0.30 but
> despite the fact that the sound card (and everything else) seems to be working peerfectly,
> I still get IRQ clash messages during boot-up.

> Trying to track down the cause, I checked /proc/interrupts and /proc/pci.

> In /proc/pci, I have:

>   Bus  0, device   8, function  0:
>     VGA compatible controller: Tseng'Lab ET6000W32P (rev 48).
>       Slow devsel.  IRQ 10.
>       Non-prefetchable 32 bit memory at 0xe0000000.
>       I/O at 0x6200.

> but in /proc/interrupts I have:

>  0:     568262   timer
>  1:       4080   keyboard
>  2:          0   cascade
>  4:     115635 + serial
>  7:          0   SoundPort
>  8:          0 + rtc
>  9:       5797 + eata_dma
> 12:        612   21041
> 13:          1   math error
> 14:     268803 + ide0

> Note that IRQ 10 does not rate a mention.

> The startup messages are:

> Sound initialization started
> [IRQ Conflict?]<MSS audio codec (CS4231)> at 0x534 irq 7 dma 0,0
> ad1848: Interrupt test failed (IRQ7)
> <Yamaha OPL3 FM> at 0x388
> Sound initialization complete

> /dev/sndstat says:

> Sound Driver:3.5.4-960630 (Sun Oct 12 22:02:42 CST 1997 root,
> Linux mustang 2.0.30 #5- Sun Oct 12 19:13:38 CST 1997 i586)
> Kernel: Linux mustang 2.0.30 #6- Sun Oct 12 22:03:47 CST 1997 i586
> Config options: 0

> Installed drivers:
> Type 10: MS Sound System
> Type 24: MS Sound System (AXP)
> Type 27: Compaq Deskpro XL
> Type 1: OPL-2/OPL-3 FM

> Card config:
> MS Sound System at 0x530 irq 7 drq 0
> OPL-2/OPL-3 FM at 0x388 drq 0

> Audio devices:
> 0: MSS audio codec (CS4231)

> Synth devices:
> 0: Yamaha OPL-3

> Midi devices: NOT ENABLED IN CONFIG

> Timers:
> 0: System clock

> Mixers:
> 0: MSS audio codec (CS4231)

> I have no idea where the Compaq Deskpro XL entry comes from.

> If I exclude all mention of MSS from the sound config, I do not get any mixers configured.

> If I change the MSS IRQ to any other value, the clash error still occurs but the card still
> works.

> So I am left with two questions:

> Why does /proc/pci say that the video card is using IRQ 10 but /proc/interrupts does not?

> Why am I getting apparently false IRQ clash messages?

> Cheers and thanks,

> Stephen.

        Almost certainly your sound IRQ isn't what you think it is, the usual
symptom is breaks in sound if you try to play say a .au file.
        I would recommend using isapnptools and selecting suitable options, i.e
IRQ 7 and see if that does the trick. I suspect the card is setup to
something like IRQ 5.
Regards
--
... Sid Boyce...Amdahl(UK)...44-121 422 0375
                   -----------------------------------
Any opinions expressed above are mine and do not necessarily represent
 the opinions or policies of Amdahl Corporation.