Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78057 - kernel 2.6.10-gentoo-r4 compiled sound module for VIA82XX fails
Summary: kernel 2.6.10-gentoo-r4 compiled sound module for VIA82XX fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-15 00:48 UTC by Jamie Sterling
Modified: 2005-03-02 14:12 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jamie Sterling 2005-01-15 00:48:40 UTC
Kernel version 2.6.10-gentoo-r4 compiled module for the VIA82XX sound chipset fails. You have to load the module manually (modprobe SND-VIA82XX) or from the usual module autoload script for this to work. 

Reproducible: Always
Steps to Reproduce:
1. Fails on bootup. i.e. doesn't load 
2.
3.



Expected Results:  
Should load on boot if compiled into kernel

You have to load the module manually (modprobe SND-VIA82XX) or from the usual
module autoload script for this to work. Previous kernel 2.6.9-gentoo-r13 is ok.
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2005-01-15 04:59:30 UTC
That is correct - if you do decide to build things as modules, you have to load them yourself. Or rely on some other utility to load them for you (e.g. modules.autoload.d). If you truly want the hardware driver to be automatically initialized, then you need to build it into the kernel (y) as opposed to as a module (m)
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2005-01-18 06:06:59 UTC
Response via email

"After I compiled the kernel with the (Y) option i.e. built-in module for the sound chipset VIA82XX then I had the problem - no sound at all. When I compiled with the (M) option (where you have to load the module manually or put it in the script on bootup) everything worked properly. This bug is therefore still outstanding with the built-in SND-VIA82XX sound module in the Gentoo i686 dev-sources kernel 2.6.10-r4 just released."
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2005-01-18 06:07:19 UTC
Please post output of

modprobe -c | grep -i via
Comment 4 Jamie Sterling 2005-01-18 21:22:35 UTC
After re-compiling the kernel again with the (Y) option set for the VIA82XX sound chipset, it decided to work. Very strange. I have compiled kernels many times before, but never seen this happen. Apologies to all if I made a mistake during my first compilation.

Perhaps some other testing is required to make absolutely sure.
As requested I have the output for modprobe -c | grep -i via using (Y) compliation first then (M) for the second compilation.

bash-2.05b# modprobe -c | grep -i via
alias pci:v00001106d00003050sv*sd*bc*sc*i* i2c_viapro
alias pci:v00001106d00003051sv*sd*bc*sc*i* i2c_viapro
alias pci:v00001106d00003057sv*sd*bc*sc*i* i2c_viapro
alias pci:v00001106d00003074sv*sd*bc*sc*i* i2c_viapro
alias pci:v00001106d00003147sv*sd*bc*sc*i* i2c_viapro
alias pci:v00001106d00003177sv*sd*bc*sc*i* i2c_viapro
alias pci:v00001106d00003227sv*sd*bc*sc*i* i2c_viapro
alias pci:v00001106d00008235sv*sd*bc*sc*i* i2c_viapro

bash-2.05b# modprobe -c | grep -i via
alias pci:v00001106d00003050sv*sd*bc*sc*i* i2c_viapro
alias pci:v00001106d00003051sv*sd*bc*sc*i* i2c_viapro
alias pci:v00001106d00003057sv*sd*bc*sc*i* i2c_viapro
alias pci:v00001106d00003074sv*sd*bc*sc*i* i2c_viapro
alias pci:v00001106d00003147sv*sd*bc*sc*i* i2c_viapro
alias pci:v00001106d00003177sv*sd*bc*sc*i* i2c_viapro
alias pci:v00001106d00003227sv*sd*bc*sc*i* i2c_viapro
alias pci:v00001106d00008235sv*sd*bc*sc*i* i2c_viapro
alias pci:v00001106d00003058sv*sd*bc*sc*i* snd_via82xx
alias pci:v00001106d00003059sv*sd*bc*sc*i* snd_via82xx
Comment 5 Tim Macfarlane 2005-03-02 14:12:20 UTC
I have also got this problem, however it hasn't magically fixed itself yet :(

Recently upgraded from a fully working 2.6.9-r13 to 2.6.10-r6 when although everything *looked* ok, no sound was coming from the card. Everything looks like it works; no sound application complains, alsamixer works fine, just no sound.

I'm compiling the via82xx module into the kernel. (selecting 'Y')
I'm using gcc-3.3.5-r1.