Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
System doesn't recognize sound card
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
ohadbasan
n00b
n00b


Joined: 16 May 2007
Posts: 34

PostPosted: Thu May 17, 2007 8:07 pm    Post subject: System doesn't recognize sound card Reply with quote

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
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2289
Location: near Augsburg, Germany

PostPosted: Thu May 17, 2007 8:34 pm    Post subject: Reply with quote

I think the kernel modules for the sound card are not configured correctly.
Back to top
View user's profile Send private message
ohadbasan
n00b
n00b


Joined: 16 May 2007
Posts: 34

PostPosted: Thu May 17, 2007 11:56 pm    Post subject: can you please be more specific? Reply with quote

I'm 100% sure i chose the right module
it's an nvidia ac97.
what did i do wrong?
Back to top
View user's profile Send private message
mudrii
l33t
l33t


Joined: 26 Jun 2003
Posts: 789
Location: Singapore

PostPosted: Fri May 18, 2007 1:46 am    Post subject: Reply with quote

did you try to install SATA drivers outside kernel ?
_________________
www.gentoo.ro
Back to top
View user's profile Send private message
ohadbasan
n00b
n00b


Joined: 16 May 2007
Posts: 34

PostPosted: Fri May 18, 2007 9:23 am    Post subject: Reply with quote

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
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2289
Location: near Augsburg, Germany

PostPosted: Fri May 18, 2007 12:04 pm    Post subject: Reply with quote

Try to recompile and reinstall the kernel.
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Fri May 18, 2007 12:49 pm    Post subject: Re: System doesn't recognize sound card Reply with quote

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
View user's profile Send private message
ohadbasan
n00b
n00b


Joined: 16 May 2007
Posts: 34

PostPosted: Sat May 19, 2007 11:56 am    Post subject: doesn't work Reply with quote

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
View user's profile Send private message
nick_already_taken
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jan 2005
Posts: 137

PostPosted: Sun May 20, 2007 7:02 pm    Post subject: Re: doesn't work Reply with quote

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
Code:
make menuconfig
to search the kernel configuration for the module names.

That should help yourself to resolve this issue.
Back to top
View user's profile Send private message
ohadbasan
n00b
n00b


Joined: 16 May 2007
Posts: 34

PostPosted: Tue May 22, 2007 4:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
mudrii
l33t
l33t


Joined: 26 Jun 2003
Posts: 789
Location: Singapore

PostPosted: Tue May 22, 2007 4:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
nick_already_taken
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jan 2005
Posts: 137

PostPosted: Tue May 22, 2007 5:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
ohadbasan
n00b
n00b


Joined: 16 May 2007
Posts: 34

PostPosted: Wed May 23, 2007 10:45 am    Post subject: I have tried exactly as you suggested Reply with quote

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
View user's profile Send private message
nick_already_taken
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jan 2005
Posts: 137

PostPosted: Thu May 24, 2007 7:12 am    Post subject: Reply with quote

I also would like to know the output of
Code:
uname -a

and
Code:
ls -l /usr/src


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
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Thu May 24, 2007 7:50 am    Post subject: Re: I have tried exactly as you suggested Reply with quote

ohadbasan wrote:
invalid module format

See thread. Compile the kernel & modules properly, make the new kernel live, reboot into the kernel.
Back to top
View user's profile Send private message
ohadbasan
n00b
n00b


Joined: 16 May 2007
Posts: 34

PostPosted: Thu May 24, 2007 10:02 am    Post subject: Reply with quote

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
View user's profile Send private message
energyman76b
Advocate
Advocate


Joined: 26 Mar 2003
Posts: 2048
Location: Germany

PostPosted: Thu May 24, 2007 10:32 am    Post subject: Reply with quote

nick_already_taken wrote:
I also would like to know the output of
Code:
uname -a

and
Code:
ls -l /usr/src


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
View user's profile Send private message
ohadbasan
n00b
n00b


Joined: 16 May 2007
Posts: 34

PostPosted: Fri May 25, 2007 7:51 am    Post subject: solved Reply with quote

modules mistake
thanks ALOT for your help and patience guys.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum