Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nvidia broken... NOW IT WORKS!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
zerogeny
Tux's lil' helper
Tux's lil' helper


Joined: 17 Apr 2002
Posts: 85

PostPosted: Thu Apr 25, 2002 3:13 am    Post subject: nvidia broken... NOW IT WORKS! Reply with quote

subject says it all
:?


update:
with the new gentoo sources (r1) nvidia drivers compile and work as advertised, even with grsecurity on!!! yeehaa!
_________________
Searched the web for zerogeny.
Results 1 - 1 of 1. Search took 0.05 seconds


Last edited by zerogeny on Wed May 01, 2002 12:49 pm; edited 1 time in total
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Thu Apr 25, 2002 3:20 pm    Post subject: Re: nvidia broken... Reply with quote

zerogeny wrote:
subject says it all
:?


OK, sorry, but that's just a piss-poor bug report. Config files? Error output? Any sort of troubleshooting information whatsoever?

As it stands, your message does nothing to help track down whatever issue you might be facing.
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
Guest






PostPosted: Thu Apr 25, 2002 5:00 pm    Post subject: nvidia driver problems Reply with quote

I just installed gentoo - using the xfs kernel (2.4.18)
when I went to install the nvidia drivers (per diretions) some message kept popping up and saying that as of April 22 there was a change to the organizational etc ....
At the very end of this message there was mention of kernel 2.4.19.

Now - from what I can see - kernel 2.4.19 is the kernel being used for 'gentoo-sources' which apparently the nvidia drivers are 'looking for' ? maybe? But, since I'm using xfs - I can only have the source for the xfs enabled kernel which is 2.4.18. Once I download the gentoo-sources and see that it is 2.4.19 - I also discover that there is now way to enable xfs in this particular source tree. My solution was to go to nvidia.com download the sources, run make install in both, edit the XF86config file and - done.

Not a big deal -- just a little confusing.
Back to top
aj
Guest





PostPosted: Thu Apr 25, 2002 6:22 pm    Post subject: nvidia really broken Reply with quote

Using gentoo-source-2.4.19:

oak# emerge nvidia-kernel
Calculating dependencies ...done!
>>> emerge media-video/nvidia-kernel-1.0.2880 to /
>>> md5 ;-) NVIDIA_kernel-1.0-2880.tar.gz
>>> Unpacking source...
>>> Unpacking NVIDIA_kernel-1.0-2880.tar.gz
>>> Source unpacked.
rm -f nv.o os-interface.o os-registry.o Module-linux nv_compiler.h *.d NVdriver
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -D_X86=1 -Di386=1 -DUNIX -DLINUX -DNV4_HW -DNTRM -DRM20 -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=2880 -I. -I/usr/src/linux/include -Wno-cast-qual nv.c
nv.c: In function `nv_kern_mmap':
nv.c:1438: `PAGE_SHARED' undeclared (first use in this function)
nv.c:1438: (Each undeclared identifier is reported only once
nv.c:1438: for each function it appears in.)
make: *** [nv.o] Error 1

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 2, Exitcode 2
!!! (no error message)

!!! emerge aborting on /usr/portage/media-video/nvidia-kernel/nvidia-kernel-1.0.2880.ebuild .
# bummer
Back to top
Dunska
Guest





PostPosted: Fri Apr 26, 2002 5:12 am    Post subject: NVIDIA: PAGE_SHARED undeclared error Reply with quote

I get the same error message as aj :cry:

Just installed base system (gentoo-sources-2.4.19) and merged kde.
Back to top
Guest






PostPosted: Fri Apr 26, 2002 10:33 am    Post subject: Reply with quote

thats the error i was getting (using 2.4.19)...

i dont really new 3d but having proper drivers is always nice.
its actually probably an nvidia problem though, i remember how some drivers broke when newer kernels came out and they fixed them... 8O
Back to top
burzmali
Apprentice
Apprentice


Joined: 18 Apr 2002
Posts: 238
Location: ca

PostPosted: Fri Apr 26, 2002 10:59 pm    Post subject: Reply with quote

i get the same error as aj, too.
_________________
burzmali
www.burzmali.net
Back to top
View user's profile Send private message
Dunska
Guest





PostPosted: Fri Apr 26, 2002 11:10 pm    Post subject: nvidia broken... Reply with quote

The bummer is that I have a GeForce 4 Ti4400 and the "standard"
XFree86 Nvidia driver does not work with it...

I suppose I could download the source from Nvidia and see if compiling it
manually works - will this break Portage or cause me problems in future?
Back to top
burzmali
Apprentice
Apprentice


Joined: 18 Apr 2002
Posts: 238
Location: ca

PostPosted: Sat Apr 27, 2002 1:51 am    Post subject: Reply with quote

i tried to install it manually already and got the same error :evil: ! maybe one of us should try an older driver version...
_________________
burzmali
www.burzmali.net
Back to top
View user's profile Send private message
burzmali
Apprentice
Apprentice


Joined: 18 Apr 2002
Posts: 238
Location: ca

PostPosted: Sat Apr 27, 2002 2:27 am    Post subject: Reply with quote

i just tried the 2802 kernel driver and got the same error with PAGE_SHARED being undefined. i suspect this has something to do with the new gentoo-sources kernel source ebuild. are you using the gentoo-sources linux kernel, too? if i get a chance, i will try another kernel and see if that fixes it.
_________________
burzmali
www.burzmali.net
Back to top
View user's profile Send private message
Dunska
Guest





PostPosted: Sat Apr 27, 2002 4:33 am    Post subject: Nvidia PAGE_SHARED error Reply with quote

Yeah - using gentoo-sources-2.4.19

I tried the two previous driver version in Portage and got the same error.

Let us know how you go with a different kernel.
Back to top
Dunska
n00b
n00b


Joined: 27 Apr 2002
Posts: 15
Location: Brisbane, Australia

PostPosted: Sat Apr 27, 2002 1:32 pm    Post subject: 2.4.19 = no nvidia compile Reply with quote

It's the 2.4.19-gentoo kernel... I just compiled the 2.4.18 (vanilla-sources) kernel and the nvidia drivers work fine.
Back to top
View user's profile Send private message
zerogeny
Tux's lil' helper
Tux's lil' helper


Joined: 17 Apr 2002
Posts: 85

PostPosted: Sun Apr 28, 2002 1:55 am    Post subject: Reply with quote

i didnt want to hear that :(
_________________
Searched the web for zerogeny.
Results 1 - 1 of 1. Search took 0.05 seconds
Back to top
View user's profile Send private message
Black_Xmas
n00b
n00b


Joined: 28 Apr 2002
Posts: 13
Location: Andover, England

PostPosted: Sun Apr 28, 2002 12:16 pm    Post subject: NVidia Kernel Reply with quote

Yup, I have problems with the Nvidia kernel too. Not really sure what's happening to it... I start with a stage3 install, reboot, install X, then I configured X and:

emerge media-video/nvidia-kernel

I did this a couple days ago and the driver installed without a hitch what so ever. I did this today (reinstall) and it fails. It looks like emerge is downloading 2.4.18 kernel sources, patching them to 2.4.19 and then installing the driver. I already boot from a bare 1.1a install which uses the 2.4.19 kernel anyway so I wonder if this step is nessicary.

I noticed then after that the driver was located in an odd place. It had been installed to /lib/modules/2.4.19-gentoo/kernel/video/NVdriver. When perhaps it should have been installed to /lib/modules/2.4.19-r1/kernel/video/NVdriver.

When I tried to move it to where the rest of my modules are kept (/lib/modules/2.4.19-r1/...) and tried insmod & modprobe NVdriver it returned unresolved symbols and failed to load. Maybe I did something wrong? I don't know, but I find it odd that 2.4.18 is being downloaded and patched to 2.4.19 when there's a 2.4.19 kernel already installed.

Sorry if the information in this post is useless/incomplete/incorrect, I'm pretty new to linux. But I hope it helps anyway.

Adrian [Black_Xmas]

*typo edit
Back to top
View user's profile Send private message
aj
n00b
n00b


Joined: 25 Apr 2002
Posts: 7

PostPosted: Tue Apr 30, 2002 2:53 pm    Post subject: Reply with quote

Dr sez this

This is caused by an incompatibilty with a part of grsecurity.

The crack gentoo team is working on it and have posted a workaround.

You can disable the relevant part of grsecurity or just turn the whole thing off?

See the bug report:

https://bugs.gentoo.org/show_bug.cgi?id=2133
Back to top
View user's profile Send private message
zerogeny
Tux's lil' helper
Tux's lil' helper


Joined: 17 Apr 2002
Posts: 85

PostPosted: Wed May 01, 2002 2:39 am    Post subject: Reply with quote

i think it compiles now with the new r1 gentoo-sources but the new gentoo-sources doesnt compile :)
_________________
Searched the web for zerogeny.
Results 1 - 1 of 1. Search took 0.05 seconds
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sun Aug 18, 2002 7:18 pm    Post subject: Reply with quote

From Bugs to Other Things Gentoo, problem with Gentoo kernel.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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