: Two sound blaster mp3+ USB sound cards cause applications and OS to start core dumping (crash).
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=168>
======================================================================
Reported By: paperclip Assigned To: Clemens Ladisch ====================================================================== Project: ALSA - driver Issue ID: 168 Category: USB - usb-audio Reproducibility: always Severity: crash Priority: normal Status: assigned Distribution: Mandrake 10.0 Kernel Version: 2.6.5 rc2 mm5 (and 2.6 kernel version) ====================================================================== Date Submitted: 03-30-2004 07:17 CEST Last Modified: 08-30-2005 12:16 CEST
======================================================================
Summary: Two sound blaster mp3+ USB sound cards cause
applications and OS to start core dumping (crash).
Description:
USB sound works great in ALSA except when I try to run two USB sound cards. I use it for portable sound recording for guitar fx processing. Any application using two different DSPs will start causing applications to crash, until the entire system is unusable. Tried different kernel versions and alsa versions. regular OSS sound driver does not seem to work with mp3+ so I can't even verify if it is the kernel or alsa or both. I have been able to use the built in sound card (VIA dsp) and one USB sound card with no problems. so it has nothing to do with 2 sound cards. but if I compile in with just the USB driver or USB driver and VIA driver and plug in two sound cards the system crashes.
======================================================================
----------------------------------------------------------------------
paperclip - 04-22-04 22:06
----------------------------------------------------------------------
I don't have a non VIA chipset for testing this either. Both my desktop and my laptop use VIA chipsets--I hope someone else could test this at some point ;-) (PLEASE). I suspected USB first actually, but have not had problems with other USB devices. I did have problems getting the system to the detect USB bus in the first place (PCI IRQ PROBLEMS) and I was able to get it to finally work by changing from APM to ACPI and setting the PCI access to direct. I will work on getting the OSS USB driver working and test it to see if that causes similar problems. I suspected the ALSA driver only because I have not had problems with other USB devices, including a USB Zip drive. Also, I use a USB mouse--which I tried disabling and enabling in the kernel as well as Mass storage to see if anything was causing a problem or conflict. It seems like some sort of buffer overflow (Array out of bounds or screwy pointers, when timing gets screwy during a lot of system load?), which would make sense that it could be USB, but I would think we would see problems with other devices? With a single USB sound card it works flawlessly, which still makes me wonder. I am sure it is a headache on your end because you don't control the USB (EHCI, OHCI, UHCI) driver end of things--still without anyway to test other chipsets, I would hope someone reading these would have two USB audio devices to try? Some people not loading their system as much may not notice these crashes because it could be some sort of concurrency issue (example using the same memory location and trashing the contents). Card 1 caches something, Card 2 tries to use the same memory location that Card 1 is using at the same time, trashing the memory. I have seen this sort of thing with servers. In this instance I could be totally wrong. I know it is just a binary stream out to a /dev device, like a dsp, so it may not even work that way. I don't know.
Oh well =-),
-Ron
----------------------------------------------------------------------
jdthood - 08-30-05 12:16
----------------------------------------------------------------------
Hi. What's the status of this bug. Any improvement in later ALSA releases?
Issue History
Date Modified Username Field Change
======================================================================
03-30-04 07:17 paperclip New Issue 03-30-04 07:17 paperclip File Added: config.gz 03-30-04 07:17 paperclip Distribution => Mandrake 10.0 03-30-04 07:17 paperclip Kernel Version => 2.6.5 rc2 mm5 (and 2.6 kernel version) 04-01-04 19:29 paperclip Issue Monitored: paperclip 04-05-04 16:11 Clemens LadischNote Added: 0000752 04-08-04 22:24 paperclip Note Added: 0000770 04-08-04 22:31 paperclip Note Added: 0000771 04-20-04 00:15 paperclip Note Added: 0000867
04-22-04 15:39 Clemens LadischNote Added: 0000894
04-22-04 22:06 paperclip Note Added: 0000896
08-30-05 12:16 jdthood Note Added: 0005967
======================================================================
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf