Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75866 - ALSA >= 1.0.5a does not load, failed with error -16
Summary: ALSA >= 1.0.5a does not load, failed with error -16
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL: https://bugtrack.alsa-project.org/als...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-27 19:53 UTC by Sean Tobin
Modified: 2005-01-03 03:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
$ emerge info (einfo,2.21 KB, text/plain)
2004-12-27 19:55 UTC, Sean Tobin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sean Tobin 2004-12-27 19:53:49 UTC
I'm having some problems with alsa since 1.0.6a. Previously I just had the later versions masked, but now various kde packages require the latest alsa, so I'm having to tackle it now. ALSA seems to start normally, however I get this error in dmesg: 
EMU10K1X: probe of 0000:00:09.0 failed with error -16. 

I also get this error when running alsamixer: 
alsamixer: function snd_ctl_open failed for default: No such device 

And similar ones in other alsa programs. 

Again, 1.0.6a runs fine, 1.0.7 and above do not. I've taken a look at the code and it seems that the error is vaguely interrupt related, but I could not find the code that produces error -16. I've swapped interrupts around and disabled non-essential devices (usb, serial, parallel ports, removed network cards and sound cards - although that last one proved slightly less than helpful :) I've changed from having my bios manage irq's to having the OS handle them with zero success. 

I've looked around for that error code in google for the last few weeks - since the release of 1.0.7 with limited success. Nothing relevant to my situation. 

Important configs and error messages:
$ lspci -v |grep audio -A4
0000:00:09.0 Multimedia audio controller: Creative Labs [SB Live! Value] EMU10k1X
        Subsystem: Creative Labs: Unknown device 1003
        Flags: bus master, medium devsel, latency 32, IRQ 12
        I/O ports at d000
        Capabilities: [dc] Power Management version 2
(It is an actual EMU10k1X and not the Dell bastardized version)

$ /etc/init.d/alsasound start; dmesg |tail -n1
 * Loading ALSA drivers...
 * Using ALSA OSS emulation
 * Loading: snd-mixer-oss
 * Loading: snd-pcm-oss
 * Loading: snd-seq-oss
 * Running card-dependent scripts
 * Restoring Mixer Levels                                                 [ ok ]
EMU10K1X: probe of 0000:00:09.0 failed with error -16

$ uname -a
Linux tobin1 2.6.9-gentoo-r9 #1 Mon Dec 27 16:06:33 PST 2004 i686 AMD Athlon(tm) XP 2500+ AuthenticAMD GNU/Linux

If anyone needs any other config information, please let me know. Again, it works perfectly fine in 1.0.6a, the problems only appear in later versions.

Reproducible: Always
Steps to Reproduce:
1. Install any version of alsa > 1.0.6a
2. Start alsa
3. Watch in horror as nothing actually works

Actual Results:  
[see details]

Expected Results:  
Started alsa
Comment 1 Sean Tobin 2004-12-27 19:55:24 UTC
Created attachment 47005 [details]
$ emerge info

results from 'emerge info' on bugged system
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-12-27 20:00:47 UTC
Please report this problem on alsa's bug tracker.
Comment 3 Sean Tobin 2004-12-27 20:13:47 UTC
Reported in alsa's bug tracker at https://bugtrack.alsa-project.org/alsa-bug/view.php?id=752

Also, it is alsa 1.0.5a that works correctly. 1.0.6a and later fail.
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2005-01-03 03:40:12 UTC
marking UPSTREAM and following...