Re: Pb with simultaneous SATA and ALSA I/O
From: Lennart Sorensen
Date: Mon Sep 25 2006 - 10:39:32 EST
On Mon, Sep 25, 2006 at 01:55:17PM +0200, Dominique Dumont wrote:
> I have some problem using the SPDIF output of my SB Live card while
> performing I/O on my SATA drive. (See  for the whole story on the
> ALSA mailing list)
> My Yamaha amplifier does not recognize the AC3 (Dolby digital) stream
> from the sdpif plug while performing I/O on my SATA drive.
> If I have a lot of I/O (e.g. running md5sum on a 4Gb file), the AC3
> stream is completely broken.
> If I have some I/O (e.g. reading a Hi-def movie), I get some AC3
> drop-out even if the CPU is about 50%.
> I have the same result with DTS output.
> With PCM output, I've noticed a hi-frequency distortion, which means
> that the interaction between SATA and snd module occurs several
> thousands time per second.
> My set up is:
> - Debian Linux kernel 2.6.17
> - Sound blaster SB Live 5.1 (snd_emu10k1 module)
> - SATA drive (sata_sil and libata module)
> - A7n8x deluxe mobo
> - AMD XP 3200
> So far I verified that:
> - AC3 output works fine when SATA drive is left alone
> - AC3 output works fine when running md5sum on a PATA drive
> - DTS output works fine on the mobo SPDIF output (snd_intel8x0 module)
> even when running md5sum on the SATA drive. (cannot try AC3 stream
> because of Soundstorm chip :-( )
> - Preemp kernel option does not fix the problem
> - when running md5sum on SATA drive, alsa driver report a starvation
> (xrun) every few seconds, not thousands of time per second.
> Could someone shed some light on this problem ?
> What can I do to help debug this problem ?
Well i agree with the suggestion of trying a different PCI slot for the
sb live. There is so much onboard stuff sharing interrupts on those
boards that you might have problems because of that. Creative cards are
not very good at dealing with anything other than ideal conditions from
what I have gathered over the years. The manual for the board will tell
you which IRQ goes to which slot, and I guess you want to avoid using a
slot that shares with the SATA controller.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/