Bug 8096

Summary: alsa modules doesn't load for intel-8x0 device (deep recursion in module dependencies)
Product: Sisyphus Reporter: Nick Fedchik <nick>
Component: kernel-modules-alsa-std26-upAssignee: Sergey Vlasov <vsu>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: major    
Priority: P2 CC: mike
Version: unstable   
Hardware: all   
OS: Linux   

Description Nick Fedchik 2005-09-30 12:18:19 MSD
My PC short description below:

# uname -a
Linux titan 2.6.12-std26-up-alt4 #1 Tue Aug 16 04:29:11 MSD 2005 i686 unknown
unknown GNU/Linux

# cat /etc/sisyphus-release
ALT Linux Sisyphus (20050817)

# lspci
0000:00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub
Interface (rev 02)
0000:00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER
(ICH5/ICH5R) AC'97 Audio Controller (rev 02)

# rpm -q -a|grep alsa
alsa-oss-1.0.9-alt2
alsa-firmware-1.0.9-alt1
alsa-tools-1.0.9-alt1
libalsaplayer-0.99.76-alt1.1.1
libalsa-1.0.9-alt3
alsa-utils-1.0.9a-alt2
alsa-plugins-1.0.9-alt1
kernel-source-alsa-1.0.9a-1.0.9a-alt1
kernel-modules-alsa-std26-up-1.0.9a-alt5.132620.4


Steps to Reproduce:
1. # alsaconf
/etc/modules.conf:
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.5 ---
alias char-major-116 snd
alias char-major-14 soundcore
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0
# --- END: Generated by ALSACONF, do not edit. ---

2. # alsamixer
alsamixer: function snd_ctl_open failed for default: No such file or directory

3. #service hotplug restart
...
Sep 29 11:18:16 titan hal.hotplug[13493]: DEVPATH is not set (subsystem pci)
Sep 29 11:18:17 titan pci.agent[13494]: missing kernel or user mode driver 
snd-intel8x0
Sep 29 11:18:17 titan hal.hotplug[13533]: DEVPATH is not set (subsystem pci)

4. lsmod
Nothing related to audio modules

5. # modprobe snd-intel8x0
modprobe: Too deep recursion in module dependencies!
modprobe: Circular dependency?
Aborted

Actual Results:  
No alsa module loaded (no device showed by KMix)

Expected Results:  
Correct audio subsystem (alsa audio modules correctly loaded, a sound should be
heard from dynamics)
Comment 1 Andrey Rahmatullin 2005-09-30 12:38:23 MSD
http://wiki.sisyphus.ru/admin/Sound/ModuleLoadProblem
Comment 2 Nick Fedchik 2005-09-30 12:47:02 MSD
Just comment out lines in 
/etc/modutils.d/oss
#above snd-pcm snd-mixer-oss
#above snd-mixer-oss snd-seq-oss
#above snd-seq-oss snd-pcm-oss

such as for /etc/modules.conf
#above snd-pcm-oss snd-mixer-oss
#above snd-intel8x0 snd-pcm-oss

All works fine after reboot.
Sorry for disturb, thanks to Mike Shigorin!