Without either of the modules loaded, look at /proc/interrupts and see which 
interrupts are being used.  Then load each module individually and see what interrupt 
they use.  I would also check out dma usage, too, with /proc/dma since that sometimes 
has the same effects as a bad IRQ.

It's not much, but it's a start.

Cory Petkovsek wrote:

> Hey all,
>
> I have a problem with the sound card on my laptop.
>
> Recently support for my sound card: cs4281 (cirrus logic) has become available in 
>the latest 2.2.17 kernel.
>
> On my laptop I have a mini-pci 10/100 nic and 56k modem (a single combination card). 
> The sound card is built in to the motherboard.  cat /proc/pci shows me all three 
>units are using IRQ 5.  For a project I was working on at work I have win2k 
>installed.  The network card and sound works fine with all irq's on 5 in windows.
>
> Here's the problem:
>
> In Linux, when I play an mp3 file, it plays just fine.  If I try to multi-task, ie: 
>background mpg123 or splay, or the kernel screensaver comes on, it starts sounding 
>like a skipping cd player that never gets to the next second.  It sounds like a sound 
>card having an IRQ conflict, but the system doesn't crash.
>
> I had compiled the sound and nic driver in to the kernel.  I have taken both the 
>sound card and the network card drivers out of the kernel and they are now modules.  
>I can have it load just one or the other, with the same results.  Now that they are 
>modular, I can start an mpg playing, try to background it and it starts skipping.  
>Then kill mpg123, rmmod the sound driver, reload the sound driver, and I can play 
>sound again.  I just can't multitask with it.
>
> I have been unable to find much on line.  Queries including the word 'multitask' 
>brings up a slew of linux bashing windows sites.  I found a kernel patch for sound 
>skipping but this was under high loads, having to do with performance and buffering.
>
> I have had zero problems with the nic.  I have had no need to use the modem, so 
>don't even have a driver installed.
>
> Playing a cd works fine with or without the sound driver loaded (with cdcd).  I can 
>adjust the mixer volume playing a cd with the driver loaded.  All works fine on 
>multiple terminals, etc.  I can play a wave file with bplay.  Even backgrounded, and 
>doing stuff on other terminals.
>
> However, I tried playing an mp3 with bplay.  It just spits out static, but the 
>interesting thing is that it started skipping.  I have not tried to play large wave 
>files with bplay.
>
> I'd appreciate any help or suggestions.
>
> Thanks,
> Cory

--
"I was on a Boston to New York shuttle flight that gets stuck on the runway for 3 hours
with no explanation. Worse, I'm sitting in front of three idiot consultants from 
Razorfish
who spend the whole time talking loudly and incessantly. Remarkably, not one word of it
resembled any productive activity in the slightest. 'So, I conducted a series of group
discussion sessions to quantify how they establish their procedures.' 'But, Bianca, how
did you formulate the framework for evaluating their paradigms?'
        My favorite line - Bianca is irate because a client asked her for some concrete
bit of information: 'Can you believe that? Hello? I'm an Information Architect, not a
Knowledge Engineer!'" --dump() on slashdot


Reply via email to