Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51408 - nvidia-kernel-1.0.5336-r3 build failure
Summary: nvidia-kernel-1.0.5336-r3 build failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-18 10:40 UTC by John Schimmel
Modified: 2004-06-14 09:26 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Schimmel 2004-05-18 10:40:19 UTC
The nvidia-kernel build fails for me with vanilla-sources-2.6.6_rc2.  I notice a couple of these already mentioned, but I don't have the userpriv feature set so assume this is different.

  Building modules, stage 2.
  MODPOST
ACCESS DENIED  open_wr:   /usr/src/linux-2.6.6-rc2/.__modpost.cmd
/bin/sh: line 1: ./.__modpost.cmd: Permission denied
make[2]: *** [__modpost] Error 1
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.6-rc2'
nvidia.ko failed to build!
make: *** [module] Error 1
  
!!! ERROR: media-video/nvidia-kernel-1.0.5336-r3 failed.
!!! Function src_compile, Line 117, Exitcode 2
!!! Failed to build module
  
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------LOG FILE = "/tmp/sandbox-media-video_-_nvidia-kernel-1.0.5336-r3-11549.log"
  
open_wr:   /usr/src/linux-2.6.6-rc2/.__modpost.cmd
--------------------------------------------------------------------------------bash-2.05b#

bash-2.05b# emerge info
Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.4)
=================================================================
System uname: 2.6.4 i686 Intel(R) Xeon(TM) CPU 2.40GHz
Gentoo Base System version 1.4.10
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -mfpmath=sse -msse2 -mmmx -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref:/usr/X11R6/lib/X11/xkb:/usr/kde/3.2/share/config:/usr/kde/3.1/share/config:/usr/share/texmf/tex/generic/config/ /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/:/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/gconf:/etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -mfpmath=sse -msse2 -mmmx -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://www.gtlib.cc.gatech.edu/pub/gentoo http://mirrors.tds.net/gentoo http://gentoo.noved.org/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb cdr crypt cscope cups doc dvd encode esd flac foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 imlib java jpeg libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls nptl nvidia oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline sdl slang snmp spell sse ssl svga tcltk tcpd tetex threads tiff truetype unicode vim-with-x x86 xml2 xmms xv zlib"
Comment 1 Andrew Bevitt 2004-05-21 07:18:51 UTC
AFAIK it does this because you are not running the kernel that you are trying to build the kernel module against... Can you try running the 2.6.6_rc2 kernel and building against it then.

Or better can you try the build against the full 2.6.6 tree (turn off 4k stacks).
Comment 2 Andrew Bevitt 2004-05-27 17:55:16 UTC
Its important that /usr/src/linux points to the right kernel tree aswell.
Comment 3 John Schimmel 2004-05-27 19:33:19 UTC
I booted the 2.6.6_rc2 kernel and /usr/src/linux does point to the appropriate place.  Same problem.
Comment 4 Andrew Bevitt 2004-06-12 00:20:41 UTC
Can you attach a log of your entire nvidia-kernel build please (PLAIN TEXT format).
Comment 5 John Schimmel 2004-06-14 09:26:36 UTC
This seems to work fine as of development-sources-2.6.6.  I'm assuming it was something to do with the 2.6.6_rc* kernel trees.