Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[problem] Nvidia and 2.6.8 rc10 gentoo-dev-sources(solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
g0su
Guru
Guru


Joined: 14 May 2003
Posts: 437
Location: Dresden, Deutschland

PostPosted: Thu Oct 21, 2004 10:56 pm    Post subject: [problem] Nvidia and 2.6.8 rc10 gentoo-dev-sources(solved) Reply with quote

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
View user's profile Send private message
Coz
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2004
Posts: 99
Location: You wanna stalk me? :p Dominican republic

PostPosted: Fri Oct 22, 2004 4:40 am    Post subject: Reply with quote

I have the same problem, from what I have found, the nvidia module doesn't works with gcc 3.4, probably that's it. Post what
Code:
dmesg | grep nvidia
returns.
_________________
Ask smart questions and follow the guidelines to get your post answered|Answer a unanswered post!
Back to top
View user's profile Send private message
deadmoo
n00b
n00b


Joined: 02 Feb 2004
Posts: 55
Location: MD

PostPosted: Fri Oct 22, 2004 4:54 am    Post subject: Reply with quote

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
View user's profile Send private message
Coz
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2004
Posts: 99
Location: You wanna stalk me? :p Dominican republic

PostPosted: Fri Oct 22, 2004 6:25 am    Post subject: Reply with quote

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
View user's profile Send private message
bos_mindwarp
Apprentice
Apprentice


Joined: 19 Oct 2002
Posts: 275
Location: stockholm, sweden

PostPosted: Fri Oct 22, 2004 12:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
Horatio
Apprentice
Apprentice


Joined: 25 Feb 2004
Posts: 246
Location: Houston, TX

PostPosted: Fri Oct 22, 2004 5:27 pm    Post subject: gcc 3.4 nvidia kernel module Reply with quote

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
View user's profile Send private message
Coz
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2004
Posts: 99
Location: You wanna stalk me? :p Dominican republic

PostPosted: Fri Oct 22, 2004 6:07 pm    Post subject: Reply with quote

I did recompiled my kernel with gcc 3.4. :p
_________________
Ask smart questions and follow the guidelines to get your post answered|Answer a unanswered post!
Back to top
View user's profile Send private message
g0su
Guru
Guru


Joined: 14 May 2003
Posts: 437
Location: Dresden, Deutschland

PostPosted: Fri Oct 22, 2004 8:41 pm    Post subject: Reply with quote

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 :P

Edit:

opengl-update nvidia and not xorg-x11... BYE!
_________________
Busco desarrollador con complejo de proxy, interesados MP
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 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