View previous topic :: View next topic |
Author |
Message |
blippy n00b
Joined: 23 May 2004 Posts: 42
|
Posted: Thu Aug 05, 2004 4:42 pm Post subject: emerge nforce* fails and so does nvidia |
|
|
after taking a long time to finally get the installation going, I'm having troubles with my sound card. i'm using gnome 2.6 and in the top right corner there's a red line over the volume button, because it cannot find /dev/sound/mixer
I've tried using emerge nforce-audio and neforce-net and neither of them work, however, since 3c59x works, i don't care that the nforce driver won't work for my internet. I would, however, really like to have sound =)
Code: |
In file included from /usr/src/linux/include/linux/irq.h:20,
from /usr/src/linux/include/asm/hardirq.h:6,
from nvhw.h:31,
from nvhw.c:16:
/usr/src/linux/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /usr/src/linux/include/asm/hardirq.h:6,
from nvhw.h:31,
from nvhw.c:16:
/usr/src/linux/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /usr/src/linux/include/linux/irq.h:72,
from /usr/src/linux/include/asm/hardirq.h:6,
from nvhw.h:31,
from nvhw.c:16:
/usr/src/linux/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
/usr/src/linux/include/asm/hw_irq.h:32: error: `NR_IRQS' undeclared here (not in a function)
make[1]: *** [nvhw.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/nforce-audio-1.0.0261/work/nforce/nvaudio'
make: *** [all] Error 2
!!! ERROR: media-sound/nforce-audio-1.0.0261 failed.
!!! Function src_compile, Line 27, Exitcode 2
!!! (no error message)
|
ALSO, I cannot load the nvidia omdule correctly. I emerge nvidia-kernel and it compiles correctly. when i try to use
modprobe nvidia i get
Code: |
FATAL: Error inserting nvidia (/lib/modules/2.6.7-gentoo-r11/video/nvidia.ko): Invalid module format
|
and I cannot load it to the autoload.conf or whichever that file is, I can't remember.
Does anyone have any suggestions? I tried look at the Nvidia Howto listed under the Desktop page here at gentoo, but am stuck. Thanks for your time
-blip |
|
Back to top |
|
|
El_Presidente_Pufferfish Veteran
Joined: 11 Jul 2002 Posts: 1179 Location: Seattle
|
Posted: Thu Aug 05, 2004 4:50 pm Post subject: |
|
|
you don't need the net and audio packages if you run a 2.6 kernel |
|
Back to top |
|
|
blippy n00b
Joined: 23 May 2004 Posts: 42
|
Posted: Thu Aug 05, 2004 5:05 pm Post subject: |
|
|
then how can i make my audio work? any ideas? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54420 Location: 56N 3W
|
Posted: Thu Aug 05, 2004 6:16 pm Post subject: |
|
|
blippy,
Build ALSA support in the kernel - as modules.
Choose the Intel-8x0, nForce ... driver and OSS emulation if you really need OSS.
There's a Gentoo ALSA guide somewhere. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
blippy n00b
Joined: 23 May 2004 Posts: 42
|
Posted: Thu Aug 05, 2004 6:39 pm Post subject: |
|
|
if i used genkernel to compile my kernel, how should i go about rebuilding it? just go back and look through the steps that the installation guide says to do? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54420 Location: 56N 3W
|
Posted: Thu Aug 05, 2004 8:18 pm Post subject: |
|
|
blippy,
Since you used genkernel, its only a matter of setting up
/etc/modules.d/alsa and running modules update. Heres mine:-
Code: | # Alsa 0.9.X kernel modules' configuration file.
# $Header: /home/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.1 2003/08/05 21:07:55 johnm Exp $
# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore
##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
## ALSA portion
alias snd-card-0 snd-intel-8x0
## alias snd-card-1 snd-ens1371
## OSS/Free portion
alias sound-slot-0 snd-card-0
##
# OSS/Free portion - card #1
# 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
## OSS/Free portion - card #2
# alias sound-service-1-0 snd-mixer-oss
# alias sound-service-1-3 snd-pcm-oss
# alias sound-service-1-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
# Set this to the correct number of cards.
options snd cards_limit=1 |
That should load all the modules you need to make ALSA work.
You need to get a few other emerges. Follow the ALSA set up guide.
One last gotcha. All sound is muted by default. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|
|
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
|
|