View previous topic :: View next topic |
Author |
Message |
ohadbasan n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 16 May 2007 Posts: 34
|
Posted: Thu May 17, 2007 8:07 pm Post subject: System doesn't recognize sound card |
|
|
Hi!
I've been trying to install my onboard nvidia ac97 sound card on gentoo with no success!! ( i followed the gentoo wiki guide)
I tried loading the modules into the kernel. i tried loading them as modules (and modprobe gives me a weird snd_intel8x0: unkown symbol
sort of message...
right now eveyrthing is compiled in the kernel.
my card appears in lspci as nvidia corporation ck804 ac9 audio controller
cat /proc/asound/cards give me a "no soundcards" message and of couse - alsaconfig won't recognize my card...
does anyone have an idea?
it's driving me insane.
it's a 2.6.20-r8 gentoo-sources kernel
and a dfi lanparty ultra-d board
thank you |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Keruskerfuerst Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/723045419532d6679860c2.jpg)
Joined: 01 Feb 2006 Posts: 2289 Location: near Augsburg, Germany
|
Posted: Thu May 17, 2007 8:34 pm Post subject: |
|
|
I think the kernel modules for the sound card are not configured correctly. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ohadbasan n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 16 May 2007 Posts: 34
|
Posted: Thu May 17, 2007 11:56 pm Post subject: can you please be more specific? |
|
|
I'm 100% sure i chose the right module
it's an nvidia ac97.
what did i do wrong? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mudrii l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 26 Jun 2003 Posts: 789 Location: Singapore
|
Posted: Fri May 18, 2007 1:46 am Post subject: |
|
|
did you try to install SATA drivers outside kernel ? _________________ www.gentoo.ro |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ohadbasan n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 16 May 2007 Posts: 34
|
Posted: Fri May 18, 2007 9:23 am Post subject: |
|
|
SATA? i didn't try installing them outside the kernel (won't it make a problem loading the operating system?)
how does sata relate to the sound card
anyways, i had some progress
someone here in the forum suggested to compile sound card support and alsa into the kernel, and to compile the specific sound card support outside the kernel (as a module)
that's what i did cat /proc/asounds/cards
still says "no soundcards found"
BUT - this time, alsaconf does find the card...
but when it tried to install it - i get lots of "unkown symbol in module" sort of messages.
Thank you |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Keruskerfuerst Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/723045419532d6679860c2.jpg)
Joined: 01 Feb 2006 Posts: 2289 Location: near Augsburg, Germany
|
Posted: Fri May 18, 2007 12:04 pm Post subject: |
|
|
Try to recompile and reinstall the kernel. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
PaulBredbury Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/15669254994381f44a81f83.jpg)
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Fri May 18, 2007 12:49 pm Post subject: Re: System doesn't recognize sound card |
|
|
ohadbasan wrote: | snd_intel8x0: unkown symbol |
Are you using the in-kernel sound modules, or alsa-driver? Anyway, compile the kernel and its modules properly:
Code: | cd /usr/src/linux
make clean bzImage modules modules_install |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ohadbasan n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 16 May 2007 Posts: 34
|
Posted: Sat May 19, 2007 11:56 am Post subject: doesn't work |
|
|
regarding your question PaulBredbury - I'm using the in-kernel modules.
i tried to re-compile the kernel as you instructed, didn't work.
Still same messages... :\ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nick_already_taken Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Simpsons/simpsons_snowball.gif)
Joined: 15 Jan 2005 Posts: 137
|
Posted: Sun May 20, 2007 7:02 pm Post subject: Re: doesn't work |
|
|
ohadbasan wrote: | regarding your question PaulBredbury - I'm using the in-kernel modules.
i tried to re-compile the kernel as you instructed, didn't work.
Still same messages... :\ |
My advice for you is to boot with the latest gentoo live cd
Then carefully watch which modules are loaded during startup. Then configure your kernel accordingly.
If you have problems to find which kernel config option belongs to which module, try "/" after you have run
to search the kernel configuration for the module names.
That should help yourself to resolve this issue. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ohadbasan n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 16 May 2007 Posts: 34
|
Posted: Tue May 22, 2007 4:37 pm Post subject: |
|
|
Hi,
The livecd loads lots of things i don't need like usb-sound.
but i tried... and it still doesn't work
one thing that i noticed is that when alsaconf tries to load the modules
i get an "ivalid module" on two modules. snd.ko and sounndcore.ko
on the rest of the modules i get an "unkown symbol" module. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mudrii l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 26 Jun 2003 Posts: 789 Location: Singapore
|
Posted: Tue May 22, 2007 4:45 pm Post subject: |
|
|
ohadbasan wrote: | SATA? i didn't try installing them outside the kernel (won't it make a problem loading the operating system?)
how does sata relate to the sound card
anyways, i had some progress
someone here in the forum suggested to compile sound card support and alsa into the kernel, and to compile the specific sound card support outside the kernel (as a module)
that's what i did cat /proc/asounds/cards
still says "no soundcards found"
BUT - this time, alsaconf does find the card...
but when it tried to install it - i get lots of "unkown symbol in module" sort of messages.
Thank you |
Sorry I meant Alsa I do not know what I thought when I typed
Add The problem with module could be the wrong modules compiled into the kernel _________________ www.gentoo.ro |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nick_already_taken Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Simpsons/simpsons_snowball.gif)
Joined: 15 Jan 2005 Posts: 137
|
Posted: Tue May 22, 2007 5:12 pm Post subject: |
|
|
I can only recommend to built all the modules, that the live cd loads, if you don't know where to start.
The live cd does not load modules (IMHO) it does not need.
In my case I have onboard sound. Now look what "lshw" says:
Quote: |
*-usb
description: Audio device
product: PnP Audio Device
vendor: C-Media Electronics, Inc.
physical id: 4
bus info: usb@2:4
version: 0.10
capabilities: usb-1.10 audio-streaming
configuration: driver=snd-usb-audio maxpower=500mA speed=12.0MB/s
|
If I would hold on the opinion that I don't have "snd_usb_audio" I wouldn't have sound running today.
Besides of that please read:
http://www.gentoo.org/doc/en/alsa-guide.xml
This one might also help:
http://gentoo-wiki.com/HARDWARE_DFI_LANPARTY_UT_nF4_SLI-D |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ohadbasan n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 16 May 2007 Posts: 34
|
Posted: Wed May 23, 2007 10:45 am Post subject: I have tried exactly as you suggested |
|
|
I followed the modules one by one from the livecd and yet - no success.
could something be wrong with the modules?
this error - invalid module format which i get when trying to load snd.ko and soundcore.ko
seems odd to me...
p.s.
I noticed two weird messages in dmesg: snd: export duplicate symbol snd_add_device_sysfs
and
souncore: export duplicate symbol unregister_sound_dsp |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nick_already_taken Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Simpsons/simpsons_snowball.gif)
Joined: 15 Jan 2005 Posts: 137
|
Posted: Thu May 24, 2007 7:12 am Post subject: |
|
|
I also would like to know the output of
and
Please follow these steps. As your answers are a bit short, I am not 100% sure if you followed the documentation I posted before.
Code: |
cd /usr/src/linux
copy .config $HOME (to backup your kernel configuration)
make mrproper (to clean your kernel source directory properly)
copy $HOME/.config .
make && make modules_install
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
PaulBredbury Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/15669254994381f44a81f83.jpg)
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Thu May 24, 2007 7:50 am Post subject: Re: I have tried exactly as you suggested |
|
|
ohadbasan wrote: | invalid module format |
See thread. Compile the kernel & modules properly, make the new kernel live, reboot into the kernel. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ohadbasan n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 16 May 2007 Posts: 34
|
Posted: Thu May 24, 2007 10:02 am Post subject: |
|
|
Hi
Uname -a :
Linux localhost 2.6.20-gentoo-r8 #1 SMP Fri May 11 18:01:35 Local time zone must be set--see zic x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ AuthenticAMD GNU/Linux
ls -l /usr/src
total 4
lrwxrwxrwx 1 root root 22 May 11 19:41 linux -> linux-2.6.20-gentoo-r8
drwxr-xr-x 20 root root 4096 May 24 12:49 linux-2.6.20-gentoo-r8
I tried to compile exactly as you showed here.
no success
perhaps I'm doing it wrong? I go according to the gentoo handbook.
just compile and copy the bzImage to the /boot directory just as they show in the handbook.
thanks for your patience guys. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
energyman76b Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1100932856497255fef223c.png)
Joined: 26 Mar 2003 Posts: 2048 Location: Germany
|
Posted: Thu May 24, 2007 10:32 am Post subject: |
|
|
nick_already_taken wrote: | I also would like to know the output of
and
Please follow these steps. As your answers are a bit short, I am not 100% sure if you followed the documentation I posted before.
Code: |
cd /usr/src/linux
copy .config $HOME (to backup your kernel configuration)
make mrproper (to clean your kernel source directory properly)
copy $HOME/.config .
make && make modules_install
|
|
you forgot make menuconfig
and the && is not needed.
Better:
cp .config /usr/src/linux
make oldconfig
make menuconfig
controll everything.
make all modules_install install
have grub.conf point to vmlinuz and vmlinuz.old
boot and be happy.
btw, I would like to see the config. _________________ Study finds stunning lack of racial, gender, and economic diversity among middle-class white males
I identify as a dirty penismensch. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ohadbasan n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 16 May 2007 Posts: 34
|
Posted: Fri May 25, 2007 7:51 am Post subject: solved |
|
|
modules mistake
thanks ALOT for your help and patience guys. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|