linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.4.6-ac2: "uart401: bad devc"
@ 2001-07-15 17:59 Jan Niehusmann
  2001-07-16  9:22 ` Adrian Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Niehusmann @ 2001-07-15 17:59 UTC (permalink / raw)
  To: linux-kernel

Linux 2.4.6-ac2 with CONFIG_MIDI_VIA82CXXX set does cause a 
kernel hang on my setup. On the first sound I play (ie cat >/dev/dsp)
an endless stream of "uart401: bad devc" messages shows up on the 
console - everything else hangs.

Related config details:

/dev/dsp is on a sound blaster live, via82cxxx_audio is the second 
sound card (not really used). Both are loaded as modules.

emu10k1 and via82cxxx share the same interrupt (5). I assume that 
the via midi driver gets confused by the interrupt that was meant
for the sound blaster live.

If I try a kernel without CONFIG_MIDI_VIA82CXXX defined, the problem
disappears.

Jan


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

* Re: 2.4.6-ac2: "uart401: bad devc"
  2001-07-15 17:59 2.4.6-ac2: "uart401: bad devc" Jan Niehusmann
@ 2001-07-16  9:22 ` Adrian Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Cox @ 2001-07-16  9:22 UTC (permalink / raw)
  To: Jan Niehusmann; +Cc: linux-kernel, Jeff Garzik

[-- Attachment #1: Type: text/plain, Size: 352 bytes --]

Jan Niehusmann wrote:

> Linux 2.4.6-ac2 with CONFIG_MIDI_VIA82CXXX set does cause a 
> kernel hang on my setup. On the first sound I play (ie cat >/dev/dsp)
> an endless stream of "uart401: bad devc" messages shows up on the 
> console - everything else hangs.


The attached patch should fix the problem.

-- 
Adrian Cox   http://www.humboldt.co.uk/

[-- Attachment #2: viamidi.patch --]
[-- Type: text/plain, Size: 473 bytes --]

===== drivers/sound/via82cxxx_audio.c 1.12 vs edited =====
--- 1.12/drivers/sound/via82cxxx_audio.c	Thu Jun 28 16:34:45 2001
+++ edited/drivers/sound/via82cxxx_audio.c	Mon Jul 16 10:19:52 2001
@@ -1641,7 +1641,8 @@
 	if (!(status32 & VIA_INTR_MASK))
         {
 #ifdef CONFIG_MIDI_VIA82CXXX
-                uart401intr(irq, card->midi_devc, regs);
+	    	 if (card->midi_devc)
+                    	uart401intr(irq, card->midi_devc, regs);
 #endif
 		return;
     	}	    

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

end of thread, other threads:[~2001-07-16  9:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-15 17:59 2.4.6-ac2: "uart401: bad devc" Jan Niehusmann
2001-07-16  9:22 ` Adrian Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).