When I try emerge RivaTV, I get errors about Access permissions! But it is VERY strange! I've root privileges. Reproducible: Always Steps to Reproduce: 1.$ su - 2.# emerge rivatv 3. Actual Results: # emerge rivatv Calculating dependencies ...done! >>> emerge (1 of 1) media-tv/rivatv-0.8.2 to / >>> md5 src_uri ;-) rivatv-0.8.2.tar.gz >>> Unpacking source... >>> Unpacking rivatv-0.8.2.tar.gz to /var/tmp/portage/rivatv-0.8.2/work >>> Source unpacked. ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib Checking for configured kernel headers... found [/lib/modules/2.4.28/build] Checking for linux kernel >= 2.4.0... yes [2.4.28] Checking for kernel build system... found Checking for kernel configuration... found Checking for CONFIG_MODVERSIONS... no Checking for CONFIG_PCI... yes [y] Checking for CONFIG_VIDEO_DEV... yes [m] Checking for CONFIG_PROC_FS... yes [y] Checking for CONFIG_I2C... yes [m] Checking for CONFIG_I2C_ALGOBIT... yes [m] Creating Makefile... done Checking your current setup for incompatibilities... Checking for /proc... yes Checking for framebuffer... no Checking for SMP... no No problems found. To build RivaTV type `make'. For cleaning up type `make clean`. make -C /lib/modules/2.4.28/build SUBDIRS=`pwd`/bttv modules make[1]: Entering directory `/usr/src/linux-2.4.28' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-includescripts/split-include.c ACCESS DENIED unlink: /usr/src/linux-2.4.28/scripts/split-include ACCESS DENIED open_wr: /usr/src/linux-2.4.28/scripts/split-include /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot open output file scripts/split-include: Permission denied collect2: ld returned 1 exit status ACCESS DENIED unlink: /usr/src/linux-2.4.28/scripts/split-include make[1]: *** [scripts/split-include] Error 1 make[1]: Leaving directory `/usr/src/linux-2.4.28' make: [all-kbuild] Error 2 (ignored) make -C /lib/modules/2.4.28/build SUBDIRS=`pwd`/src EXTRA_CFLAGS=-I`pwd`/bttv modules make[1]: Entering directory `/usr/src/linux-2.4.28' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-includescripts/split-include.c ACCESS DENIED unlink: /usr/src/linux-2.4.28/scripts/split-include ACCESS DENIED open_wr: /usr/src/linux-2.4.28/scripts/split-include /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot open output file scripts/split-include: Permission denied collect2: ld returned 1 exit status ACCESS DENIED unlink: /usr/src/linux-2.4.28/scripts/split-include make[1]: *** [scripts/split-include] Error 1 make[1]: Leaving directory `/usr/src/linux-2.4.28' make: *** [all-kbuild] Error 2 !!! ERROR: media-tv/rivatv-0.8.2 failed. !!! Function src_compile, Line 20, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-media-tv_-_rivatv-0.8.2-4670.log" unlink: /usr/src/linux-2.4.28/scripts/split-include open_wr: /usr/src/linux-2.4.28/scripts/split-include unlink: /usr/src/linux-2.4.28/scripts/split-include unlink: /usr/src/linux-2.4.28/scripts/split-include open_wr: /usr/src/linux-2.4.28/scripts/split-include unlink: /usr/src/linux-2.4.28/scripts/split-include -------------------------------------------------------------------------------- Expected Results: Compile modules for GeForce4 Ti4600 TV-IN for using it in my work. # emerge info Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.4.28 i686) ================================================================= System uname: 2.4.28 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=i686 -mcpu=pentium4 -O2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aalib acl alib alsa apm avi berkdb bitmap-fonts bzlib cdr crypt ctype cups divx4linux dvd dvdr emu10k1 encode esd fam flac foomaticdb fortran gd gdbm gif gnome gpm gtk gtk2 gtkhtml iconv imagemagick imap imlib ipv6 java jpeg kdelibwww linguas_ru mad mikmod motif mpeg ncurses nls nvidia ogg oggvorbis openalopengl orbit oss pam pdflib perl png pnp posix ppd python qt quicktime readlinesamba scanner sdl shared slang sockets sox spell ssl svga tcltk tcpd tiff truetype unicode usb xml xml2 xmms xosd xpm xsl xv xvid zlib video_cards_nvidia" # cat /usr/src/linux/.config | grep I2C # I2C support CONFIG_I2C=m CONFIG_I2C_ALGOBIT=m CONFIG_I2C_PHILIPSPAR=m CONFIG_I2C_ELV=m CONFIG_I2C_VELLEMAN=m # CONFIG_SCx200_I2C is not set CONFIG_I2C_ALGOPCF=m CONFIG_I2C_ELEKTOR=m CONFIG_I2C_CHARDEV=m CONFIG_I2C_PROC=m CONFIG_I2C_PARPORT=m # cat /usr/src/linux/.config | grep VIDEO CONFIG_IEEE1394_VIDEO1394=m CONFIG_VIDEO_DEV=m CONFIG_VIDEO_PROC_FS=y # CONFIG_VIDEO_BT848 is not set CONFIG_VIDEO_PMS=m CONFIG_VIDEO_BWQCAM=m CONFIG_VIDEO_CQCAM=m CONFIG_VIDEO_W9966=m CONFIG_VIDEO_CPIA=m CONFIG_VIDEO_CPIA_PP=m CONFIG_VIDEO_CPIA_USB=m CONFIG_VIDEO_SAA5249=m CONFIG_VIDEO_STRADIS=m CONFIG_VIDEO_ZORAN=m CONFIG_VIDEO_ZORAN_BUZ=m CONFIG_VIDEO_ZORAN_DC10=m CONFIG_VIDEO_ZORAN_LML33=m CONFIG_VIDEO_ZR36120=m CONFIG_VIDEO_MEYE=m CONFIG_VIDEO_SELECT=y # qpkg -I -v | grep nvidia media-video/nvidia-kernel-1.0.6111-r3 * media-video/nvidia-glx-1.0.6111 * media-video/nvidia-settings-1.0.6111 * # qpkg -I -v | grep kernel sys-kernel/linux-headers-2.4.21-r1 * sys-kernel/vanilla-sources-2.4.28 *
You can take information from: http://forums.gentoo.org/viewtopic.php?p=1945819#1945819 But this is in Russian =( Translation requested information (directory permissions): $ ls -l /usr/src/linux-2.4.28/scripts/split-include -rwxr-xr-x 1 root root 10594 Jan 2 05:15 /usr/src/linux-2.4.28/scripts/split-include $ ls -l /usr/src/linux-2.4.28 ... drwxr-xr-x 4 root root 4096 Jan 5 19:20 scripts $ ls -l /usr/src/ ... lrwxrwxrwx 1 root root 12 Jan 2 05:20 linux -> linux-2.4.28 drwxr-xr-x 15 root root 4096 Jan 5 11:56 linux-2.4.28 $ ls -l /usr ... drwxr-xr-x 3 root root 4096 Jan 2 05:20 src $ ls -l / ... drwxr-xr-x 17 root root 4096 Jan 3 06:51 usr portage permissions: $ cat /etc/portage/package.keywords ## Use last Hermes media-libs/hermes ~x86 ## Use last cedega app-emulation/cedega ~x86 ## For SynCE-KDE app-pda/synce ~x86 app-pda/synce-serial ~x86 app-pda/synce-dccm ~x86 app-pda/synce-trayicon ~x86 app-pda/synce-gnomevfs ~x86 app-pda/synce-kde ~x86 app-pda/synce-software-manager ~x86 app-arch/unshield ~x86 app-pda/synce-rra ~x86 app-pda/synce-libsynce ~x86 app-pda/synce-librapi2 ~x86 app-pda/dynamite ~x86 app-pda/orange ~x86 $ cat /etc/portage/package.use sys-libs/glibc userlocales media-sound/alsa-driver -pdaudio package.mask(unmask) - is empty!
Version 0.8.5 compiled without any serious warnings, but: [depmod: *** Unresolved symbols in /lib/modules/2.4.28/kernel/drivers/media/video/rivatv.o] # emerge -v rivatv Calculating dependencies ...done! >>> emerge (1 of 1) media-tv/rivatv-0.8.5 to / >>> md5 src_uri ;-) rivatv-0.8.5.tar.gz >>> Unpacking source... >>> Unpacking rivatv-0.8.5.tar.gz to /var/tmp/portage/rivatv-0.8.5/work >>> Source unpacked. ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib Checking for configured kernel headers... found [/lib/modules/2.4.28/build] Checking for linux kernel >= 2.4.0... yes [2.4.28] Using bttv sources in... bttv-2.4 Checking for kernel build system... found Checking for kernel configuration... found Checking for CONFIG_MODVERSIONS... no Checking for CONFIG_PCI... yes [y] Checking for CONFIG_VIDEO_DEV... yes [m] Checking for CONFIG_PROC_FS... yes [y] Checking for CONFIG_I2C... yes [m] Checking for CONFIG_I2C_ALGOBIT... yes [m] Checking for CONFIG_MODULES... yes [y] Checking for kernel dependencies... found Checking for RedHat or Mandrake kernel... no Checking whether AGP code should be included... no Checking whether software conversion code should be included... no Creating Makefile... done Checking your current setup for incompatibilities... Checking for /proc... yes Checking for kernel gcc... tail: `-1' option is obsolete; use `-n 1' since thiswill be removed in the future 3.3.4 Checking for framebuffer... none Checking for SMP... no No problems found. To build RivaTV type `make'. For cleaning up type `make clean`. make[1]: Entering directory `/usr/src/linux-2.4.28' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. .... # modules-update depmod: *** Unresolved symbols in /lib/modules/2.4.28/kernel/drivers/media/video/rivatv.o
Wow! After merging/unmerging rivatv-0.8.5 rivatv-0.8.2 compiled sucessful but depmod: *** Unresolved symbols in /lib/modules/2.4.28/kernel/drivers/media/video/rivatv.o !!! And when I unmerge rivatv, always I should manually delete file /lib/modules/2.4.28/kernel/drivers/media/video/rivatv.o
# emerge unmerge rivatv media-tv/rivatv selected: 0.8.2 protected: none omitted: none >>> 'Selected' packages are slated for removal. >>> 'Protected' and 'omitted' packages will not be removed. >>> Waiting 5 seconds before starting... >>> (Control-C to abort)... >>> Unmerging in: 5 4 3 2 1 >>> Unmerging media-tv/rivatv-0.8.2... No package files given... Grabbing a set. <<< obj /usr/share/doc/rivatv-0.8.2/README.gz --- cfgpro obj /lib/modules/2.4.28/kernel/drivers/media/video/vpx32xx.o --- cfgpro obj /lib/modules/2.4.28/kernel/drivers/media/video/tw98.o --- cfgpro obj /lib/modules/2.4.28/kernel/drivers/media/video/tvmixer.o --- cfgpro obj /lib/modules/2.4.28/kernel/drivers/media/video/tvaudio.o --- cfgpro obj /lib/modules/2.4.28/kernel/drivers/media/video/tuner.o --- cfgpro obj /lib/modules/2.4.28/kernel/drivers/media/video/saa7113h.o --- cfgpro obj /lib/modules/2.4.28/kernel/drivers/media/video/saa7111a.o --- cfgpro obj /lib/modules/2.4.28/kernel/drivers/media/video/saa7108e.o --- cfgpro obj /lib/modules/2.4.28/kernel/drivers/media/video/rivatv.o --- cfgpro dir /lib/modules/2.4.28/kernel/drivers/media/video --- cfgpro dir /lib/modules/2.4.28/kernel/drivers/media --- cfgpro dir /lib/modules/2.4.28/kernel/drivers --- cfgpro dir /lib/modules/2.4.28/kernel --- cfgpro dir /lib/modules/2.4.28 <<< dir /usr/share/doc/rivatv-0.8.2 --- !empty dir /usr/share/doc --- !empty dir /usr/share --- !empty dir /usr --- !empty dir /lib/modules --- !empty dir /lib >>> Regenerating /etc/ld.so.cache... * Caching service dependencies... * GNU info directory index is up-to-date. root@manjakws:/home/kolyan]# modules-update depmod: *** Unresolved symbols in /lib/modules/2.4.28/kernel/drivers/media/video/rivatv.o # rm /lib/modules/2.4.28/kernel/drivers/media/video/rivatv.o # modules-update #
Priority changed. As It's block my projrct.
Hi, please try with rivatv-0.;8.5-r2 and report wether that has resolved the problem. If your build output generates any other errors then usage of tail then please let me know what they are. It looks to me like the build is trying to build a piece of the kernel .... a make prepare-all or equivalent should fix that up for you. Personally I am on 2.6.10-gentoo-r2 and it goes just fine here as far as build and inserting is concerned but I no longer have an actual hardware device to test with so please provide detailed bug reports.
# emerge -v rivatv Calculating dependencies ...done! >>> emerge (1 of 1) media-tv/rivatv-0.8.5-r2 to / >>> md5 src_uri ;-) rivatv-0.8.5.tar.gz >>> Unpacking source... >>> Unpacking rivatv-0.8.5.tar.gz to /var/tmp/portage/rivatv-0.8.5-r2/work * Applying rivatv-0.8.5-configure.patch ... [ ok ] >>> Source unpacked. ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib Checking for configured kernel headers... found [/lib/modules/2.4.28/build] Checking for linux kernel >= 2.4.0... yes [2.4.28] Using bttv sources in... bttv-2.4 Checking for kernel build system... found Checking for kernel configuration... found Checking for CONFIG_MODVERSIONS... no Checking for CONFIG_PCI... yes [y] Checking for CONFIG_VIDEO_DEV... yes [m] Checking for CONFIG_PROC_FS... yes [y] Checking for CONFIG_I2C... yes [m] Checking for CONFIG_I2C_ALGOBIT... yes [m] Checking for CONFIG_MODULES... yes [y] Checking for kernel dependencies... found Checking for RedHat or Mandrake kernel... no Checking whether AGP code should be included... no Checking whether software conversion code should be included... no Creating Makefile... done Checking your current setup for incompatibilities... Checking for /proc... yes Checking for kernel gcc... tail: `-1' option is obsolete; use `-n 1' since thiswill be removed in the future 3.3.4 Checking for framebuffer... none Checking for SMP... no No problems found. To build RivaTV type `make'. For cleaning up type `make clean`. make[1]: Entering directory `/var/tmp/portage/rivatv-0.8.5-r2/work/build' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. scripts/split-include include/linux/autoconf.h include/config ACCESS DENIED open_wr: /usr/src/linux-2.4.28/include/config/input/mousedev/screen/x.h scripts/split-include: input/mousedev/screen/x.h: Permission denied make[1]: *** [include/config/MARKER] Error 1 make[1]: Leaving directory `/var/tmp/portage/rivatv-0.8.5-r2/work/build' make: [all-kbuild] Error 2 (ignored) make[1]: Entering directory `/var/tmp/portage/rivatv-0.8.5-r2/work/build' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. scripts/split-include include/linux/autoconf.h include/config ACCESS DENIED open_wr: /usr/src/linux-2.4.28/include/config/input/mousedev/screen/x.h scripts/split-include: input/mousedev/screen/x.h: Permission denied make[1]: *** [include/config/MARKER] Error 1 make[1]: Leaving directory `/var/tmp/portage/rivatv-0.8.5-r2/work/build' make: *** [all-kbuild] Error 2 !!! ERROR: media-tv/rivatv-0.8.5-r2 failed. !!! Function src_compile, Line 48, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-media-tv_-_rivatv-0.8.5-r2-3833.log" open_wr: /usr/src/linux-2.4.28/include/config/input/mousedev/screen/x.h open_wr: /usr/src/linux-2.4.28/include/config/input/mousedev/screen/x.h -------------------------------------------------------------------------------- # lspci -v -v 0000:00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge(rev 11) Subsystem: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort-<MAbort+ >SERR- <PERR- Latency: 0 Region 0: Memory at d0000000 (32-bit, prefetchable) [size=128M] Capabilities: [e4] #09 [a104] Capabilities: [a0] AGP version 2.0 Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3- Rate=x1,x2,x4 Command: RQ=1 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW+ Rate=x4 0000:00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 11) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap- 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort-<MAbort- >SERR- <PERR- Latency: 64 Bus: primary=00, secondary=01, subordinate=01, sec-latency=32 Memory behind bridge: e8000000-e9ffffff Prefetchable memory behind bridge: d8000000-e7ffffff BridgeCtl: Parity- SERR+ NoISA+ VGA+ MAbort- >Reset- FastB2B- 0000:00:1d.0 USB Controller: Intel Corp. 82801DB USB (Hub #1) (rev 01) (prog-if00 [UHCI]) Subsystem: Intel Corp. 82801DB USB (Hub #1) Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 Interrupt: pin A routed to IRQ 16 Region 4: I/O ports at d800 [size=32] 0000:00:1d.1 USB Controller: Intel Corp. 82801DB USB (Hub #2) (rev 01) (prog-if00 [UHCI]) Subsystem: Intel Corp.: Unknown device 24c2 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 Interrupt: pin B routed to IRQ 19 Region 4: I/O ports at d000 [size=32] 0000:00:1d.2 USB Controller: Intel Corp. 82801DB USB (Hub #3) (rev 01) (prog-if00 [UHCI]) Subsystem: Intel Corp.: Unknown device 24c2 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 Interrupt: pin C routed to IRQ 18 Region 4: I/O ports at d400 [size=32] 0000:00:1d.7 USB Controller: Intel Corp. 82801DB USB EHCI Controller (rev 01) (prog-if 20 [EHCI]) Subsystem: Giga-byte Technology: Unknown device 5004 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 Interrupt: pin D routed to IRQ 23 Region 0: Memory at ea100000 (32-bit, non-prefetchable) [size=1K] Capabilities: [50] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 0000:00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev 81) (prog-if00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort-<MAbort- >SERR- <PERR+ Latency: 0 Bus: primary=00, secondary=02, subordinate=02, sec-latency=32 I/O behind bridge: 0000a000-0000cfff Memory behind bridge: ea000000-ea0fffff BridgeCtl: Parity- SERR+ NoISA+ VGA- MAbort- >Reset- FastB2B- 0000:00:1f.0 ISA bridge: Intel Corp. 82801DB ISA Bridge (LPC) (rev 01) Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 0000:00:1f.1 IDE interface: Intel Corp. 82801DB ICH4 IDE (rev 01) (prog-if 8a [Master SecP PriP]) Subsystem: Intel Corp.: Unknown device 24c2 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 Interrupt: pin A routed to IRQ 18 Region 0: I/O ports at <unassigned> Region 1: I/O ports at <unassigned> Region 2: I/O ports at <unassigned> Region 3: I/O ports at <unassigned> Region 4: I/O ports at f000 [size=16] Region 5: Memory at 20000000 (32-bit, non-prefetchable) [size=1K] 0000:00:1f.3 SMBus: Intel Corp. 82801DB SMBus (rev 01) Subsystem: Intel Corp.: Unknown device 24c2 Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Interrupt: pin B routed to IRQ 17 Region 4: I/O ports at 5000 [size=32] 0000:01:00.0 VGA compatible controller: nVidia Corporation NV25 [GeForce4 Ti4600] (rev a3) (prog-if 00 [VGA]) Subsystem: LeadTek Research Inc.: Unknown device 2891 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 248 (1250ns min, 250ns max) Interrupt: pin A routed to IRQ 16 Region 0: Memory at e8000000 (32-bit, non-prefetchable) [size=16M] Region 1: Memory at d8000000 (32-bit, prefetchable) [size=128M] Region 2: Memory at e0000000 (32-bit, prefetchable) [size=512K] Expansion ROM at <unassigned> [disabled] [size=128K] Capabilities: [60] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- Capabilities: [44] AGP version 2.0 Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3- Rate=x1,x2,x4 Command: RQ=32 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW+ Rate=x4 0000:02:01.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 06) Subsystem: Creative Labs CT4832 SBLive! Value Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 32 (500ns min, 5000ns max) Interrupt: pin A routed to IRQ 21 Region 0: I/O ports at a000 [size=32] Capabilities: [dc] Power Management version 1 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 0000:02:01.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 06) Subsystem: Creative Labs Gameport Joystick Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 32 Region 0: I/O ports at a400 [size=8] Capabilities: [dc] Power Management version 1 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 0000:02:07.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 46) (prog-if 10 [OHCI]) Subsystem: Giga-byte Technology: Unknown device 1000 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 32 (8000ns max), cache line size 08 Interrupt: pin A routed to IRQ 16 Region 0: Memory at ea005000 (32-bit, non-prefetchable) [size=2K] Region 1: I/O ports at a800 [size=128] Capabilities: [50] Power Management version 2 Flags: PMEClk- DSI- D1- D2+ AuxCurrent=0mA PME(D0-,D1-,D2+,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 0000:02:08.0 Ethernet controller: Intel Corp. 82801BD PRO/100 VE (CNR) EthernetController (rev 81) Subsystem: Intel Corp.: Unknown device 3013 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 32 (2000ns min, 14000ns max), cache line size 08 Interrupt: pin A routed to IRQ 20 Region 0: Memory at ea004000 (32-bit, non-prefetchable) [size=4K] Region 1: I/O ports at ac00 [size=64] Capabilities: [dc] Power Management version 2 Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 DScale=2 PME- 0000:02:0c.0 RAID bus controller: Promise Technology, Inc. PDC20276 IDE (rev 01) (prog-if 85) Subsystem: Giga-byte Technology: Unknown device b001 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort-<MAbort- >SERR- <PERR- Latency: 32 (1000ns min, 4500ns max), cache line size 08 Interrupt: pin A routed to IRQ 18 Region 0: I/O ports at b400 [size=8] Region 1: I/O ports at b800 [size=4] Region 2: I/O ports at bc00 [size=8] Region 3: I/O ports at c000 [size=4] Region 4: I/O ports at c400 [size=16] Region 5: Memory at ea000000 (32-bit, non-prefetchable) [size=16K] Capabilities: [60] Power Management version 1 Flags: PMEClk- DSI+ D1+ D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- # lsmod Module Size Used by Tainted: P ppp_deflate 3128 0 (autoclean) zlib_deflate 18840 0 (autoclean) [ppp_deflate] bsd_comp 4152 0 (autoclean) ppp_async 6560 1 (autoclean) ppp_generic 19620 3 (autoclean) [ppp_deflate bsd_comp ppp_async] slhc 4656 0 (autoclean) [ppp_generic] sg 31676 0 (autoclean) (unused) st 28184 0 (autoclean) (unused) sr_mod 14840 0 (autoclean) (unused) sd_mod 11436 0 (autoclean) (unused) scsi_mod 91060 4 (autoclean) [sg st sr_mod sd_mod] nvidia 4585388 6 (autoclean) it87 9944 0 (unused) iptable_mangle 2168 0 (autoclean) (unused) ipt_MASQUERADE 1368 1 (autoclean) iptable_nat 16270 1 (autoclean) [ipt_MASQUERADE] ip_conntrack 18792 0 (autoclean) [ipt_MASQUERADE iptable_nat] ipt_REJECT 3448 6 (autoclean) iptable_filter 1740 1 (autoclean) ip_tables 12288 7 [iptable_mangle ipt_MASQUERADE iptable_nat ipt_REJECT iptable_filter] lp 7240 0 (autoclean) (unused) parport 24808 0 (autoclean) [lp] snd-seq-midi 3648 0 (unused) snd-emu10k1-synth 4636 0 (unused) snd-emux-synth 27740 0 [snd-emu10k1-synth] snd-seq-midi-emul 4832 0 [snd-emux-synth] snd-seq-virmidi 3016 0 [snd-emux-synth] snd-seq-oss 26208 0 (unused) snd-seq-midi-event 3296 0 [snd-seq-midi snd-seq-virmidi snd-seq-oss] snd-seq 37744 2 [snd-seq-midi snd-emux-synth snd-seq-midi-emul snd-seq-virmidi snd-seq-oss snd-seq-midi-event] snd-pcm-oss 38528 0 (unused) snd-mixer-oss 13528 0 [snd-pcm-oss] snd-emu10k1 77444 1 [snd-emu10k1-synth] snd-hwdep 4516 0 [snd-emux-synth snd-emu10k1] snd-util-mem 1296 0 [snd-emux-synth snd-emu10k1] snd-ac97-codec 57536 0 [snd-emu10k1] snd-pcm 60168 0 [snd-pcm-oss snd-emu10k1 snd-ac97-codec] snd-timer 14436 0 [snd-seq snd-emu10k1 snd-pcm] snd-rawmidi 12960 0 [snd-seq-midi snd-seq-virmidi snd-emu10k1] snd-seq-device 4228 0 [snd-seq-midi snd-emu10k1-synth snd-emux-synth snd-seq-oss snd-seq snd-emu10k1 snd-rawmidi] snd 33828 1 [snd-seq-midi snd-emux-synth snd-seq-virmidi snd-seq-oss snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-emu10k1 snd-hwdep snd-util-mem snd-ac97-codec snd-pcm snd-timer snd-rawmidi snd-seq-device] soundcore 3716 10 [snd] snd-page-alloc 4936 0 [snd-seq-midi snd-seq-oss snd-seq snd-mixer-oss snd-emu10k1 snd-hwdep snd-pcm snd-timer snd-rawmidi snd-seq-device snd] usbkbd 3000 0 (unused) mousedev 4116 1 usbmouse 2072 0 (unused) hid 21220 0 (unused) input 3392 0 [usbkbd mousedev usbmouse hid] button 2572 0 (unused) processor 8280 0 (unused) i2c-proc 6292 0 [it87] i2c-isa 716 0 (unused) i2c-dev 3744 0 (unused) i2c-core 14372 0 [it87 i2c-proc i2c-isa i2c-dev] ohci1394 24528 0 (unused) ieee1394 181412 0 [ohci1394] ehci-hcd 18284 0 (unused) uhci 25116 0 (unused) usbcore 60140 1 [usbkbd usbmouse hid ehci-hcd uhci] eepro100 18676 1 mii 2400 0 [eepro100] # uname -a Linux manjakws 2.4.28 #1 Sun Jan 2 05:15:16 MSK 2005 i686 Intel(R) Pentium(R) 4CPU 2.40GHz GenuineIntel GNU/Linux This is computer is full copy (for test) of the Server under RedHat linux where work this project now. But under Gentoo. May be can help: FEATURES="-sandbox"? But I afraid don't know what happened then?
Created attachment 48162 [details] kernel configuration Full kernel configuration
Server configuration (where now work this project): RedHat Linux 9.0 kernel 2.4.28 (from kernel.org, without any patches) rivatv from cvs { cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/rivatv login cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/rivatv co rivatv } Driver from Nvidia.com NVIDIA-Linux-x86-1.0-5336-pkg1.run
Priority & Severity changed (now all work at RedHat Linux, but when we find solution, will be ported under Gentoo)
Created attachment 48376 [details] RivaTV moved to linux-mod eclass Let me know how this works on a 2.4 kernel since I've tested it on a 2.6
Ok, but it's take some time after upgrade gcc =(. I nedd re-emerge my kernel and libs for correct result and excluding random misstakes. It's may take 3-4 days. Thank you very match. P.S. And I don't know, but I think, for correct work "rivatv" you need put old NVIDIA-driver ebuild in portage tree. May be I've wrong thinks and this is old information =) Please look at my old discussion about this problem: https://sourceforge.net/forum/forum.php?thread_id=1179548&forum_id=29790
Thank you, all compiled Ok, but: # emerge /usr/portage/media-tv/rivatv/rivatv-0.8.5-r3.ebuild ... >>> media-tv/rivatv-0.8.5-r3 merged. # modprobe videodev # modprobe i2c-core # modprobe i2c-algo-bit # insmod saa7113h.o insmod: saa7113h.o: No such file or directory # insmod saa7108e.o insmod: saa7108e.o: No such file or directory # insmod rivatv.o insmod: rivatv.o: No such file or directory the media-tv/rivatv-0.8.5-r3 don't compile this modules =( # qpkg -l rivatv media-tv/rivatv-0.8.5-r3 * CONTENTS: /lib /lib/modules /lib/modules/2.4.28 /lib/modules/2.4.28/media /lib/modules/2.4.28/media/video /lib/modules/2.4.28/media/video/tuner.o /lib/modules/2.4.28/media/video/tvmixer.o /lib/modules/2.4.28/media/video/tvaudio.o /etc /etc/modules.d /etc/modules.d/tuner /etc/modules.d/tvmixer /etc/modules.d/tvaudio It's strange, but in compilation process this modules was compiled, but donot be installed: <skiped> gcc -D__KERNEL__ -I/usr/src/linux-2.4.28/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -I/var/tmp/portage/rivatv-0.8.5-r3/work/rivatv-0.8.5/bttv -DRIVATV_DISABLE_AGP -DRIVATV_DISABLE_CONVERSION -nostdinc -iwithprefix include -DKBUILD_BASENAME=saa7108e -c -o saa7108e.o saa7108e.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.28/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -I/var/tmp/portage/rivatv-0.8.5-r3/work/rivatv-0.8.5/bttv -DRIVATV_DISABLE_AGP -DRIVATV_DISABLE_CONVERSION -nostdinc -iwithprefix include -DKBUILD_BASENAME=saa7111a -c -o saa7111a.o saa7111a.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.28/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -I/var/tmp/portage/rivatv-0.8.5-r3/work/rivatv-0.8.5/bttv -DRIVATV_DISABLE_AGP -DRIVATV_DISABLE_CONVERSION -nostdinc -iwithprefix include -DKBUILD_BASENAME=saa7113h -c -o saa7113h.o saa7113h.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.28/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -I/var/tmp/portage/rivatv-0.8.5-r3/work/rivatv-0.8.5/bttv -DRIVATV_DISABLE_AGP -DRIVATV_DISABLE_CONVERSION -nostdinc -iwithprefix include -DKBUILD_BASENAME=tw98 -c -o tw98.o tw98.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.28/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -I/var/tmp/portage/rivatv-0.8.5-r3/work/rivatv-0.8.5/bttv -DRIVATV_DISABLE_AGP -DRIVATV_DISABLE_CONVERSION -nostdinc -iwithprefix include -DKBUILD_BASENAME=vpx32xx -c -o vpx32xx.o vpx32xx.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.28/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -I/var/tmp/portage/rivatv-0.8.5-r3/work/rivatv-0.8.5/bttv -DRIVATV_DISABLE_AGP -DRIVATV_DISABLE_CONVERSION -nostdinc -iwithprefix include -DKBUILD_BASENAME=saa7174hl -c -o saa7174hl.o saa7174hl.c <skiped> Tank you again, With Best regards -- Nickolay
fixed in CVS
# emerge -pv rivatv Compiled Ok! But: --- !empty dir /lib/modules --- !empty dir /lib --- !empty dir /etc >>> original instance of package unmerged safely. * Updating module dependencies for 2.4.28... depmod: *** Unresolved symbols in //lib/modules/2.4.28/media/video/rivatv.o depmod: i2c_inc_use_client depmod: i2c_dec_use_client [ ok ] * Updating modules.conf... depmod: *** Unresolved symbols in /lib/modules/2.4.28/media/video/rivatv [ ok ] * If you would like to load this module automatically upon boot * please type the following as root: * # echo "tuner" >> /etc/modules.autoload.d/kernel-2.4 # depmod -a depmod: *** Unresolved symbols in /lib/modules/2.4.28/media/video/rivatv.o I think it's problem related to my message Please look at my old discussion about this problem: https://sourceforge.net/forum/forum.php?thread_id=1179548&forum_id=29790 for take resolve this problem (IMHO) you need put into portage tree nvidia driver with version below 6111 version. quotation from https://sourceforge.net/forum/forum.php?thread_id=1179548&forum_id=29790: Versions of the NVIDIA driver version above 1.0-6000 prohibit any other driver from accessing it's resources. Therefore, you can load RivaTV, but not the NVIDIA driver, or vice versa. You should be OK as long as you can use an 1.0-5xxx version. Regards, Yuri end quotation. Publicly Displayed Name: Yuri van Oers Project Info This developer is a member of the following groups: rivatv (rivatv)
did you try an nvidia driver of 5xxx and get this error? or are you using a 6xxx driver? Do you have i2c support in your kernel? that looks like the missing references. x11@gentoo.org: Looks like we might need a 5xxx Nvidia driver back in the tree. Look at http://rivatv.sf.net
Oh sorry, Yes, i've i2c support (i forget this, now I test this future at my desctop computer). In nearest future I try recompile my kernel without i2c support and change nvidia driver to 5xxx. But we can take new troubles with 5xxx drivers & xorg 6.8.x! I try ask at other forums from peoples who use xorg & rivatv together. My be they have any solutions.
I'm recompile my kernel without i2c support (for test) and then with i2c support (as need). ===== http://rivatv.sourceforge.net/testers.html ====== Install Linux if you hadn't already. Compile a new kernel, to suit your needs. You need to build these features for RivaTV to work: * Video4Linux: Multimedia Devices --> Video For Linux * I2C Core: Character Devices --> I2C Support --> I2C Support * I2C Bitbanging algorithm: Character Devices --> I2C Support --> I2C bit-banging interfaces ===== But result indifferent: Unresolved symbols! And I can't see in portage tree versions below 6111-r3! # ls -l /usr/portage/media-video/nvidia-kernel/ total 72 -rw-r--r-- 1 root root 28401 Jan 26 10:09 ChangeLog drwxr-xr-x 4 root root 4096 Feb 3 20:12 files -rw-r--r-- 1 root root 3042 Jan 26 10:09 Manifest -rw-r--r-- 1 root root 297 Aug 21 23:11 metadata.xml -rw-r--r-- 1 root root 4488 Jan 17 12:08 nvidia-kernel-1.0.6111-r3.ebuild -rw-r--r-- 1 root root 4748 Jan 17 12:08 nvidia-kernel-1.0.6629-r1.ebuild -rw-r--r-- 1 root root 4264 Jan 17 11:45 nvidia-kernel-1.0.6629-r2.ebuild -rw-r--r-- 1 root root 4330 Jan 26 10:01 nvidia-kernel-1.0.6629-r3.ebuild P.S. Priority level changed P4 -> P5 (It's none critical problem, but very interesting for me and my projects.) If you need some tests I'm ready help. Thank you!
This looks to me like a kernel issue which I've seen on more 2.4 kernels. First off, "depmod -a" will most likely yield some extra detail on which symbols are unresolved. If the problem persists after the following this output could help find the problem. However to correct this do the following: 1) cd /usr/src/linux 2) cp .config .. 3) make mrproper 4) mv ../.config . 5) make oldconfig 6) compile kernel, reinstall rivatv and other modules ("equery belongs /lib/modules") should fix your issues. The initial problem you reported also seems kernel config related. (Should have been fixed with a make depend for the kernel.) Best regards, Bart
Sorry. I can't reproduce this =( My last update, at home computer was to kernel 2.6 =( And I was start my project (at work computer) is under RedHat =(
Does this mean it works for you now?
No, it don't work: # modprobe videodev # modprobe i2c-core # modprobe i2c-algo-bit # modprobe saa7113h.o # modprobe saa7108e.o # modprobe rivatv.o FATAL: Error inserting rivatv (/lib/modules/2.6.11.6/media/video/rivatv.ko): Unknown symbol in module, or unknown parameter (see dmesg) # dmesg saa7113h: Ignoring new-style parameters in presence of obsolete ones saa7108e: Ignoring new-style parameters in presence of obsolete ones rivatv: Unknown symbol remap_page_range NEW PARAMETERS: # emerge info Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11.6 i686) ================================================================= System uname: 2.6.11.6 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.5 [2.3.5 (#1, May 2 2005, 00:41:18)] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.4, 1.8.5-r3 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=i686 -mcpu=pentium4 -O2 -pipe" 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/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_US.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac aalib alib alsa apm avi berkdb bitmap-fonts bluetooth bzlib cdr crypt ctype cups curl divx4linux dvd dvdr emboss emu10k1 encode esd fam flac foomaticdb fortran gd gdbm gif gimpprint gnome gpm gtk gtk2 gtkhtml guile iconv imagemagick imap imlib java jpeg kde libg++ libwww linguas_ru mad mikmod mmx mmx2 motif mp3 mpeg ncurses network nls nvidia odbc ogg oggvorbis openal opengl orbit oss pam pdflib perl png pnp posix ppd python qt quicktime readline ruby samba scanner sdl shared slang snmp sockets sox spell sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode usb v4l vim-with-x vorbis xml xml2 xmms xosd xpm xsl xv xvid zlib video_cards_nvidia userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Please test rivatv-0.8.6 just added to portage. While I could finally reproduce this issue with other versions, not with this one... Thanks!
This is corrected in later ebuilds. Further rivatv needs to be loaded as: modprobe rivatv, nothing more nothing less, loading the individual drivers with modprobe is not done, check the FAQ.