View previous topic :: View next topic |
Author |
Message |
g0su Guru
Joined: 14 May 2003 Posts: 437 Location: Dresden, Deutschland
|
Posted: Thu Oct 21, 2004 10:56 pm Post subject: [problem] Nvidia and 2.6.8 rc10 gentoo-dev-sources(solved) |
|
|
Hello i have a problem for mount the module of nvidia-driver.
Code: | arkTemplar etc # emerge nvidia-kernel
Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/nvidia-kernel-1.0.6111-r2 to /
amd64
>>> md5 src_uri ;-) NVIDIA-Linux-x86_64-1.0-6111-pkg2.run
amd64
amd64
>>> Unpacking source...
* /usr/src/linux is a symbolic link
* Determining the real directory of the Linux kernel source code
* Building for Linux 2.6.8-gentoo-r10 found in /usr/src/linux
* which outputs to /usr/src/linux
* By not using the kernel's ability to output to an alternative
* directory, some external module builds may fail.
* See <insert link to user doc here>
Creating directory NVIDIA-Linux-x86_64-1.0-6111-pkg2
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 1.0-6111......
..................................................................
* Applying power-suspend-2.6.9-changes.patch ... [ ok ]
* Applying nv_enable_pci.patch ... [ ok ]
* Applying vmalloc-reserve.patch ... [ ok ]
* Applying nv-pci_find_class.patch ... [ ok ]
* Applying nv-remap-range.patch ... [ ok ]
>>> Source unpacked.
amd64
...
md64
>>> original instance of package unmerged safely.
amd64
* If you need to load the module automatically on boot up you need
* to add "nvidia" to /etc/modules.autoload.d/kernel-2.6
* Please note that the driver name is "nvidia", not "NVdriver"
* This module will now work correctly under udev, you do not need to
* manually create the devices anymore.
>>> Regenerating /etc/ld.so.cache...
* Caching service dependencies...
>>> media-video/nvidia-kernel-1.0.6111-r2 merged.
amd64
>>> clean: No packages selected for removal.
>>> Auto-cleaning packages ...
>>> No outdated packages were found on your system.
* Regenerating GNU info directory index...
* Processed 129 info files.
* IMPORTANT: 17 config files in /etc need updating.
* Type emerge --help config to learn how to update config files.
DarkTemplar etc # |
But:
Code: | DarkTemplar etc # modprobe nvidia
FATAL: Error inserting nvidia (/lib/modules/2.6.8-gentoo-r10/video/nvidia.ko): Invalid module format
DarkTemplar etc # ls -l /usr/src/
total 4
lrwxrwxrwx 1 root root 32 Oct 21 00:13 linux -> /usr/src/linux-2.6.8-gentoo-r10/
drwxr-xr-x 19 root root 4096 Oct 21 00:13 linux-2.6.8-gentoo-r10
DarkTemplar etc # |
Bye and thx _________________ Busco desarrollador con complejo de proxy, interesados MP
Last edited by g0su on Sat Oct 23, 2004 12:21 am; edited 1 time in total |
|
Back to top |
|
|
Coz Tux's lil' helper
Joined: 18 Mar 2004 Posts: 99 Location: You wanna stalk me? :p Dominican republic
|
|
Back to top |
|
|
deadmoo n00b
Joined: 02 Feb 2004 Posts: 55 Location: MD
|
Posted: Fri Oct 22, 2004 4:54 am Post subject: |
|
|
nvidia works with gcc-3.4 on my box. try rerunning gcc-config with 3.4 profile and recompiling kernel and the nvidia module. maybe that will fix it. |
|
Back to top |
|
|
Coz Tux's lil' helper
Joined: 18 Mar 2004 Posts: 99 Location: You wanna stalk me? :p Dominican republic
|
Posted: Fri Oct 22, 2004 6:25 am Post subject: |
|
|
There is a patch for some issues related to the mm-sources(search the forums), but I don't think the problem is just with the mm-sources.. might work for you.
Meanwhile I use 'modprobe -f nvidia' and it works. It's dirty but it's good enough for me, and I can put it on /etc/conf.d/local.start to start at boot. Probably not what you should do if you aren't in a hurry like me _________________ Ask smart questions and follow the guidelines to get your post answered|Answer a unanswered post! |
|
Back to top |
|
|
bos_mindwarp Apprentice
Joined: 19 Oct 2002 Posts: 275 Location: stockholm, sweden
|
Posted: Fri Oct 22, 2004 12:21 pm Post subject: |
|
|
Eh?
Code: |
efa@tsunami ~ $ lsmod | grep nvidia
nvidia 5290644 12
|
Code: |
efa@tsunami ~ $ uname -a
Linux tsunami 2.6.8-gentoo-r10 #2 Mon Oct 18 03:16:24 CEST 2004 x86_64 AMD Athlon(tm) 64 Processor 3500+ AuthenticAMD GNU/Linux
|
Code: |
efa@tsunami ~ $ gcc -v
Reading specs from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/specs
Reading specs from /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.4.2/specs
Configured with: /var/tmp/portage/gcc-3.4.2-r2/work/gcc-3.4.2/configure --enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/3.4 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/include/g++-v3 --host=x86_64-pc-linux-gnu --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-shared --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --with-gnu-ld --enable-threads=posix --enable-multilib --disable-libgcj --enable-languages=c,c++,f77
Thread model: posix
gcc version 3.4.2 (Gentoo Linux 3.4.2-r2, ssp-3.4.1-1, pie-8.7.6.5)
efa@tsunami ~ $
|
I never did 'modprobe nvidia' btw, I just started X. |
|
Back to top |
|
|
Horatio Apprentice
Joined: 25 Feb 2004 Posts: 246 Location: Houston, TX
|
Posted: Fri Oct 22, 2004 5:27 pm Post subject: gcc 3.4 nvidia kernel module |
|
|
I remember having this problem when I switched over to gcc-3.4. I had to recompile the kernel w/ gcc 3.4 after I compiled nvidia-kernel w/ gcc 3.4. |
|
Back to top |
|
|
Coz Tux's lil' helper
Joined: 18 Mar 2004 Posts: 99 Location: You wanna stalk me? :p Dominican republic
|
|
Back to top |
|
|
g0su Guru
Joined: 14 May 2003 Posts: 437 Location: Dresden, Deutschland
|
Posted: Fri Oct 22, 2004 8:41 pm Post subject: |
|
|
Thx i resolve use the kernel 2.6.9rc1
Now i have a problem with opengl...
Code: | DarkTemplar root # opengl-update xorg-x11
* Switching to xorg-x11 OpenGL interface...
DarkTemplar root # glxinfo | grep render
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect
DarkTemplar root # at /proc/driver/nvidia/agp/status
Status: Enabled
Driver: AGPGART
AGP Rate: 8x
Fast Writes: Disabled
SBA: Enabled
DarkTemplar root # |
Thx for all
Edit:
opengl-update nvidia and not xorg-x11... BYE! _________________ Busco desarrollador con complejo de proxy, interesados MP |
|
Back to top |
|
|
|