Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81838 - Error when emerging media-sound/nforce-audio-1.0.0292
Summary: Error when emerging media-sound/nforce-audio-1.0.0292
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-13 02:07 UTC by Alain
Modified: 2005-03-13 13:57 UTC (History)
0 users

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


Attachments
Output of emerge nforce-audio (emerge output,10.45 KB, text/plain)
2005-02-13 02:10 UTC, Alain
Details
patch to compile nforce-audio with a 2.6.10 kernel (patch-nforcex86-292.diff,1.40 KB, patch)
2005-03-06 12:21 UTC, Bols
Details | Diff
Patch for remap_page_range on kernel 2.6.11 (nforce.patch,1.19 KB, patch)
2005-03-06 20:58 UTC, Paul Marks
Details | Diff
all in one patch for both kernels 2.6.10 and 2.6.11 (patch-v2-nforcex86-292.diff,7.72 KB, patch)
2005-03-13 13:57 UTC, Bols
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alain 2005-02-13 02:07:29 UTC
Emerge reports it has completed installing media-sound/nforce-audio-1.0.0292, while the module nvsound.ko is not created.

Reproducible: Always
Steps to Reproduce:
1. emerge nforce-audio
2.
3.




Myth384 root # emerge info
Portage 2.0.51-r15 (default-linux/x86/2004.2, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  7 2005, 22:09:06)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -mcpu=athlon-xp -pipe -fomit-frame-pointer
-mfpmath=sse,387 -m3dnow -msse -mmmx"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -mcpu=athlon-xp -pipe -fomit-frame-pointer
-mfpmath=sse,387 -m3dnow -msse -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms userpriv
usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="x86 3dnow X acpi alsa arts avi berkdb bitmap-fonts cdr crypt cups dvd dvdr
encode esd f77 fam flac font-server foomaticdb fortran gdbm gif gnome gpm
gstreamer gtk gtk2 imlib ipv6 java jpeg kde libg++ libwww mad mmx motif mozilla
mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime
readline samba sdl slang spell sse ssl svga tcltk tcpd tiff truetype
truetype-fonts type1-fontsusb xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Alain 2005-02-13 02:10:04 UTC
Created attachment 51117 [details]
Output of emerge nforce-audio
Comment 2 Bols 2005-03-06 12:21:05 UTC
Created attachment 52803 [details, diff]
patch to compile nforce-audio with a 2.6.10 kernel

Nforce-audio doesn't support kernel version 2.6.10 and higher.

However you can find a patch to compile it with a 2.6.10 kernel here :
http://www.nvnews.net/vbulletin/showthread.php?t=43177


NOTE: This patch doesn't work with kernel version 2.6.11
(http://www.nvnews.net/vbulletin/showthread.php?t=46975)
Comment 3 Paul Marks 2005-03-06 20:58:25 UTC
Created attachment 52822 [details, diff]
Patch for remap_page_range on kernel 2.6.11

This is my first attempt at submitting a patch, so I'm not sure if it's all
correct.  My webcam and nvsound both had a similar remap_page_range error, and
I found this post on how to fix it for the webcam:

http://sourceforge.net/mailarchive/forum.php?thread_id=6536017&forum_id=4335

So, I did the same thing to my nvmain.c file, and it worked!  (This probably
breaks older kernels, because I removed some #ifdefs)
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2005-03-07 13:19:35 UTC
thanks, should be fixed in -r1
Comment 5 Bols 2005-03-13 13:57:30 UTC
Created attachment 53362 [details, diff]
all in one patch for both kernels 2.6.10 and 2.6.11

Here is an all-in-one patch for both kernels 2.6.10 and 2.6.11 posted by zbiggy
on nvnews.net linux forum, could you add it to portage? 

http://www.nvnews.net/vbulletin/showthread.php?t=47142


NOTE: Nvidia just released new nforce drivers (v. 1.0-0301)

http://www.nvidia.com/object/linux_nforce_1.0-0301.html