Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
error in emerge nforce-audio
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
joelk
n00b
n00b


Joined: 29 Jan 2004
Posts: 42

PostPosted: Thu Sep 09, 2004 10:58 pm    Post subject: error in emerge nforce-audio Reply with quote

when I tried to emerge nforce-audio (for my Asus A7N8X-E motherboard) it seemed to get through calculating dependencies & unpacking OK but then gave a compile error:
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

and then a few more errors about undeclared variables which I guess resulted from the above.

So the end result is
ERROR: media-sound/nforce-audio-1.0.0261 failed.

EDITED typo in filename on next line; s/b irq_vectors.h (originally omitted the 't')
Similar errors occurred on emerge nforce-net, from the same missing file: irq_vectors.h

ending with: ERROR: net-misc/nforce-net-1.0.0256 failed.

What now?


Last edited by joelk on Fri Sep 10, 2004 4:01 am; edited 1 time in total
Back to top
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Thu Sep 09, 2004 11:37 pm    Post subject: Reply with quote

You need to give more information. What kernel version do you use? (Because it chokes on a missing kernel header file)
Back to top
View user's profile Send private message
joelk
n00b
n00b


Joined: 29 Jan 2004
Posts: 42

PostPosted: Fri Sep 10, 2004 3:58 am    Post subject: Reply with quote

kernel: gentoo-dev-sources (2.6.7)
Back to top
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Fri Sep 10, 2004 2:45 pm    Post subject: Reply with quote

I suggest you use the intel8x0 sound driver as long the nvidia doesn't compile with your kernel.
And I strongly suggest you do an update to the last available gentoo-dev-kernel. (2.6.8-gentoo-r1).

Update:
From Changelog of nvnet driver:
Code:
26 Aug 2004; Heinrich Wendel <lanius@gentoo.org>
  nforce-net-1.0.0261-r2.ebuild:
  make it compile on kernel 2.6.8 and higher, bug #61203
(So update to the newest kernel and give it a try)

In Changelog that last stable driver version from nvaudio is from 2003 (oollldd!!) and if I remeber posed to mucht problems, so most people go with intel8x0 driver.
Back to top
View user's profile Send private message
joelk
n00b
n00b


Joined: 29 Jan 2004
Posts: 42

PostPosted: Fri Sep 10, 2004 6:24 pm    Post subject: Reply with quote

Quote:
I suggest you use the intel8x0 sound driver as long the nvidia doesn't compile with your kernel.

I couldn't find the intel sound driver when I did menuconfig. Can you point me to it?


Quote:
And I strongly suggest you do an update to the last available gentoo-dev-kernel. (2.6.8-gentoo-r1).

I can't find that either.
emerge --pretend gentoo-dev-sources just gives me sys-kernel/gentoo-dev-sources-2.6.7-r11
I guess that's because my portage tree came from the livecd. Do I have to emerge sync now before I can upgrade the kernel?

I still want to install GRP packages. I think I have to do that before emerge sync, right?
Back to top
View user's profile Send private message
chunderbunny
Veteran
Veteran


Joined: 31 May 2004
Posts: 1281
Location: 51°24'27" N, 0°57'15" W

PostPosted: Fri Sep 10, 2004 7:21 pm    Post subject: Reply with quote

Yeah, you should emerge sync first, especially when installing off the Live CD since it's bound to be a few weeks/months out of date.
Back to top
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Fri Sep 10, 2004 7:42 pm    Post subject: Reply with quote

Quote:

I suggest you use the intel8x0 sound driver as long the nvidia doesn't compile with your kernel.

Look under Device Drivers => Sound => Alsa => PCI devices => intel 8x0 if you compile your kernel.
Back to top
View user's profile Send private message
joelk
n00b
n00b


Joined: 29 Jan 2004
Posts: 42

PostPosted: Fri Sep 10, 2004 9:14 pm    Post subject: Reply with quote

Quote:
Look under Device Drivers => Sound => Alsa => PCI devices => intel 8x0

That's funny. I had that selected all along. And yet, I don't have the snd_intel8x0 driver files anyplace. (find / -iname 'snd_intel8x0' returns No such file or directory).

Would it not exist as a separate driver file because it was built into the kernel?
Back to top
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Fri Sep 10, 2004 11:17 pm    Post subject: Reply with quote

Code:
# Alsa 0.9.X kernel modules' configuration file.
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.2 2004/07/18 03:40:55 dragonheart 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-intel8x0
## alias snd-card-1 snd-ens1371
##  OSS/Free portion
alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##

# 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


Compile all as modules under the sound section in device drivers. Select what is named in the file above. (Use help to see the module names if title isn't descriptive enough)

Compile your kernel. Make sure you emerged alsa-utils and lib-alsa and put the file above in /etc/modules.d/alsa, rc-update add alsasound boot and you should be set.

You'll not find any file if you compiled into the kernel.

My module is located here:
Code:
/lib/modules/2.6.8-gentoo-r3/kernel/sound/pci/snd-intel8x0.ko
Back to top
View user's profile Send private message
joelk
n00b
n00b


Joined: 29 Jan 2004
Posts: 42

PostPosted: Sun Sep 12, 2004 11:49 pm    Post subject: Reply with quote

In the menuconfig:
I have selected "M" (as modules):
<M>Sound card support

submenu: Advanced Linux Sound Architecture:
<M>Advanced Linux Sound Architecture
<M>Sequencer support
<M>OSS Mixer API
<M>OSS PCM API
[*] OSS Sequencer API # this one won't accept "M"
submenu: PCI devices
<M>Intel i8x0/MX440

question:
Is this OK, or should the first one be selected as <*> (built into kernel) instead?

(or does it not matter which way?)
Back to top
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Mon Sep 13, 2004 12:05 am    Post subject: Reply with quote

IMHO it does not matter. I compiled everything possible under sound as module. Then the rest is done by tha alsa init script. So I say your config is fine go for it and post the results.
Back to top
View user's profile Send private message
joelk
n00b
n00b


Joined: 29 Jan 2004
Posts: 42

PostPosted: Wed Sep 29, 2004 12:24 am    Post subject: Reply with quote

Finally getting back to this...(sorry for the delay)

I followed all your instructions (I think), but at:
rc-update add alsasound boot

I get:
/sbin/rc-update: /etc/init.d/alsasound not found; aborting.

Where was that alsasound file supposed to come from?
Back to top
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Mon Oct 04, 2004 2:42 pm    Post subject: Reply with quote

Quote:
Where was that alsasound file supposed to come from?

IIRR alsa-utils package.
Back to top
View user's profile Send private message
chunderbunny
Veteran
Veteran


Joined: 31 May 2004
Posts: 1281
Location: 51°24'27" N, 0°57'15" W

PostPosted: Mon Oct 04, 2004 2:49 pm    Post subject: Reply with quote

Only the alsa-driver is in the kernel, you still need to emerge alsa-utils and alsa-libs for alsa to work properly (and don't forget to unmute your soundcard as well!)
Back to top
View user's profile Send private message
mog
Apprentice
Apprentice


Joined: 05 Jul 2003
Posts: 253
Location: Auckland [NZ]

PostPosted: Tue Dec 21, 2004 1:10 pm    Post subject: Reply with quote

the only thing is that ALSA sucks for the SoundStorm chipset ... coz it does not support 5.1 channel sound and hence is wasting ur HW [AFAIK]
_________________
To thine own self be true.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue Dec 21, 2004 5:03 pm    Post subject: Reply with quote

Moved from Installing Gentoo.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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