Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nvidia-kernel wont emerge
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
thagame
Apprentice
Apprentice


Joined: 07 Mar 2004
Posts: 210
Location: Windsor, Ontario, Canada

PostPosted: Fri Mar 18, 2005 8:50 pm    Post subject: nvidia-kernel wont emerge Reply with quote

Quote:
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:444: error: request for member `unbind_memory' in something not a structure or union
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:445: error: request for member `free_memory' in something not a structure or union
make[3]: *** [/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.o] Error 1
make[2]: *** [_module_/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2

!!! ERROR: media-video/nvidia-kernel-1.0.6629-r1 failed.
!!! Function linux-mod_src_compile, Line 417, Exitcode 2
!!! Unable to make IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/usr/src/linux clean module.
!!! If you need support, post the topmost build error, NOT this status message.


i keep getting this and nvidia wont emerge. i never had this problem before i dont know what i did wrong.
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Fri Mar 18, 2005 8:53 pm    Post subject: Reply with quote

Are the required kernel options set ?
It may be a bug - some people have reported more success with the newer 71xx drivers (unstable though.)
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
thagame
Apprentice
Apprentice


Joined: 07 Mar 2004
Posts: 210
Location: Windsor, Ontario, Canada

PostPosted: Fri Mar 18, 2005 8:57 pm    Post subject: Reply with quote

what options are required. i set the mtrr option on.

Quote:
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 2.6.11-gentoo-r4
* Checking for MTRR support...
 [ ok ]
x86
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Fri Mar 18, 2005 8:58 pm    Post subject: Reply with quote

You need agpgart, and kernel module loading.
Also make sure you pay attention to the stack size discussions elswhere...

As I said, it could easily be a bug - it is binary 3rd party software afetr all.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
thagame
Apprentice
Apprentice


Joined: 07 Mar 2004
Posts: 210
Location: Windsor, Ontario, Canada

PostPosted: Fri Mar 18, 2005 9:08 pm    Post subject: Reply with quote

ok i tried emerging nvidia-kernel-1.0.7167-r1 and it worked with no problems so it must be a bug in the 6### build.
Back to top
View user's profile Send private message
dvh
Apprentice
Apprentice


Joined: 31 Dec 2003
Posts: 179
Location: Chandler, AZ

PostPosted: Fri Mar 18, 2005 11:56 pm    Post subject: Reply with quote

I have the same issue. Have you resolved this?
Back to top
View user's profile Send private message
thagame
Apprentice
Apprentice


Joined: 07 Mar 2004
Posts: 210
Location: Windsor, Ontario, Canada

PostPosted: Sat Mar 19, 2005 12:58 am    Post subject: Reply with quote

ya i fixed it, i typed

Quote:
ACCEPT_KEYWORDS="~x86" emerge nvidia-kernel
Back to top
View user's profile Send private message
dezydery
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jul 2004
Posts: 87

PostPosted: Sat Mar 19, 2005 10:33 am    Post subject: Reply with quote

Things have gone none too well upgrading to 2.6.11 here...

The above solution fixed my compile problem so now running nvidia-kernel 1.0.7167-r1 (and same with nvidia-glx).

However, KDE now won't start - almost immediately after log in I get no splash logo just the 'setting up interprocess communication' message beneath, and it hangs. Can't ctrl+alt+backspace or ctrl+alt+f1 etc so have to SSH in from another box and restart xdm.

Upgraded xorg-x11 to 6.8.2-r1 (was on 6.8.0) but that didn't help.
Disabling glx doesn't help in xorg-config

I'm therefore having to run the nv driver until I can suss out what's up with nvidia. Any ideas?
Back to top
View user's profile Send private message
G2k
l33t
l33t


Joined: 06 Mar 2004
Posts: 672
Location: Rome, Italy

PostPosted: Sat Mar 19, 2005 10:58 am    Post subject: Reply with quote

Same problem here. The newest kernel only makes the unstable nvidia driver install, but it is _very_ unstable as I've had X crash about 4 times on me. I think I'll stick with 2.6.10-gentoo-r6 and the stable nvidia-kernel for now...
_________________
Animula vagula blandula,
Hospes comesque corporis,
Quae nunc abibis in loca
Pallidula rigida nudula,
Nec ut soles dabis iocos...
- Imp. Caesar Hadrianus
Back to top
View user's profile Send private message
76062563
l33t
l33t


Joined: 16 Aug 2004
Posts: 637
Location: 127.0.0.1

PostPosted: Sat Mar 19, 2005 12:47 pm    Post subject: Reply with quote

same problem here...
the nvidia-kernel does not work with the newest gentoo-dev-sources (2.6.11-gentoo-r4), they worked great with my old kernel (2.6.10-gentoo-r6)
_________________
gentoo - compile your own world
Back to top
View user's profile Send private message
dsginter
n00b
n00b


Joined: 27 Feb 2005
Posts: 8

PostPosted: Tue Mar 22, 2005 3:04 am    Post subject: Reply with quote

Some help here:

http://www.nvnews.net/vbulletin/forumdisplay.php?f=14
Back to top
View user's profile Send private message
takitez
n00b
n00b


Joined: 15 Jul 2004
Posts: 3

PostPosted: Tue Mar 22, 2005 1:28 pm    Post subject: Reply with quote

I just installed 2.6.11-gentoo-r4, and I am typing this reply on a working nvidia driver, on a Dell Inspiron 8200. Emerging it using this release, as was mentioned above, doesn't work, you have to get the driver from the manufacturer:

http://www.nvidia.com/object/linux_display_ia32_1.0-7167.html

Follow the instructions to install. The one thing in the instructions that was missed was setting the DefaultColorDepth in /etc/X11/xorg.conf, which I had to dig around these forums to find the answer to:

Code:

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultColorDepth 24
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection


_________________
It's a computer, define nothing more than once.
Back to top
View user's profile Send private message
Phk
Guru
Guru


Joined: 02 Feb 2004
Posts: 428
Location: [undef], Lisbon, Portugal, Europe, Earth, SolarSystem, MilkyWay, 23Q Radius, Forward Time

PostPosted: Tue Mar 22, 2005 2:39 pm    Post subject: Reply with quote

I've had this stress!!!

But then:

- Switched from LOVE kernel to NITRO
- Recompiled LATEST nvidia-kernel
- Recompiled LATEST nvidia-glx
- "modprobe nvidia"
- "startx" worked like a charm ;)

good luck!
_________________
"# cat /dev/urandom >> /tmp/life"
Back to top
View user's profile Send private message
harryr
n00b
n00b


Joined: 23 Feb 2005
Posts: 42
Location: Broken Arrow, OK

PostPosted: Tue Mar 22, 2005 3:20 pm    Post subject: nvidia-kernel (1.0.6629) compile fails using kernel 2.6.11.4 Reply with quote

The same nvidia-kernel package does compile against gentoo kernel 2.6.10.
takitez suggestion to installing using nvidia's web site isn't the gentoo way.
Everyone else's suggestion is to use known-unstable releases.
Is there a formal bug entered for this problem? If not,
I can supply the full emerge message/error data to get one started
if necessary.
Back to top
View user's profile Send private message
RayDude
Advocate
Advocate


Joined: 29 May 2004
Posts: 2094
Location: San Jose, CA

PostPosted: Tue Mar 22, 2005 5:57 pm    Post subject: Reply with quote

I just upgraded kernels from gentoo-dev-sources-2.6.10-r7 to gentoo-dev-sources-2.6.11-r4 and received these errors. It looks like something changed in the kernel.

I'm switching back to the old kernel until one of the following occur:

1. The stable nvidia driver compiles with the new kernel.
2. The unstable nvidia driver becomes stable with the new kernel.

This is my work machine, and I really can't be down because they don't want me running gentoo on it, heh.

I can't claim gentoo makes me more efficient if I can't run X, heh.

Raydude
_________________
Some day there will only be free software.
Back to top
View user's profile Send private message
dsginter
n00b
n00b


Joined: 27 Feb 2005
Posts: 8

PostPosted: Tue Mar 22, 2005 7:12 pm    Post subject: Reply with quote

I just successfully compiled the 7167 kernel from NVIDIA's website to a 2.6.11-gentoo-r4 stage 1 on 3 with gcc 3.4.3. Works great. Make sure that you do the 'modprobe -q agpgart' before compiling.
Back to top
View user's profile Send private message
ilikeyoureyes
n00b
n00b


Joined: 04 Jun 2004
Posts: 52

PostPosted: Wed Mar 23, 2005 2:27 am    Post subject: Reply with quote

RayDude wrote:
I just upgraded kernels from gentoo-dev-sources-2.6.10-r7 to gentoo-dev-sources-2.6.11-r4 and received these errors. It looks like something changed in the kernel.

I'm switching back to the old kernel until one of the following occur:

1. The stable nvidia driver compiles with the new kernel.
2. The unstable nvidia driver becomes stable with the new kernel.

This is my work machine, and I really can't be down because they don't want me running gentoo on it, heh.

I can't claim gentoo makes me more efficient if I can't run X, heh.

Raydude
Here is my way around it:

In /etc/portage/package.keywords put
Code:
=media-video/nvidia-kernel-1.0.6629-r4 ~x86
=media-video/nvidia-glx-1.0.6629-r5 ~x86

Then just do an emerge -auD world, and it'll emerge that version of nvidia-kernel and nvidia-glx. These are working for me on 2.6.11 without issue. I had thought the new nvidia drivers worked under this kernel until a few hard lockups of X when going into the control center in KDE. Browsing nvidia's forums let me see that there are some incompatibilities between the latest nvidia driver and 2.6.11. Let's hope it gets fixed soon.
_________________
small hassle mini mac
Back to top
View user's profile Send private message
Phk
Guru
Guru


Joined: 02 Feb 2004
Posts: 428
Location: [undef], Lisbon, Portugal, Europe, Earth, SolarSystem, MilkyWay, 23Q Radius, Forward Time

PostPosted: Wed Mar 23, 2005 12:10 pm    Post subject: Reply with quote

ilikeyoureyes wrote:
Here is my way around it:

In /etc/portage/package.keywords put
Code:
=media-video/nvidia-kernel-1.0.6629-r4 ~x86
=media-video/nvidia-glx-1.0.6629-r5 ~x86


You should have done instead:
Code:
media-video/nvidia-kernel ~x86
media-video/nvidia-glx ~x86

In /etc/portage/package.keywords.

You added a unique version... which was already unmasked by keyword (already x86, not ~x86)
If you do like my quote, you'll unmask all the versions of the package.

See us!
_________________
"# cat /dev/urandom >> /tmp/life"
Back to top
View user's profile Send private message
darjeeling
n00b
n00b


Joined: 22 Feb 2004
Posts: 26

PostPosted: Wed Mar 23, 2005 12:50 pm    Post subject: Reply with quote

Same problem here with nvidia-kernel and 2.6.11-gentoo-r4 : nvidia-kernel 6629 won't emerge.
I don't want to play with "~x86" so I'll keep my old kernel (2.6.10-gentoo-r6) until, like RayDude said :

Quote:
1. The stable nvidia driver compiles with the new kernel.
2. The unstable nvidia driver becomes stable with the new kernel.
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Wed Mar 23, 2005 1:46 pm    Post subject: Reply with quote

7167 is rock solid here on my P3-1000 with GF2 MX, currently on 2.6.11-r4.
Also no problems on 2.6.10-r6.

SImply add the nvidia modules to package.keywords as suggested.
You won't be "playing with ~x86" like you said; this is in fact the only recommended and safe way to use unstable packages at all.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
korngerd
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2004
Posts: 104

PostPosted: Wed Mar 23, 2005 6:11 pm    Post subject: Reply with quote

adaptr wrote:
7167 is rock solid here on my P3-1000 with GF2 MX, currently on 2.6.11-r4.
Also no problems on 2.6.10-r6.


Same here - seems a lot better than the 6000s ;) Only problem is when working with xcompmgr - X sometimes wants to crash. Other than that, no problems yet (although I'm afraid I might run into the mouse-only freeze problem, since I've had that for a while now). Working here on P2-900MHz with GeForce2 on 2.6.11-r4.
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Wed Mar 23, 2005 6:19 pm    Post subject: Reply with quote

I'd like one of those 900MHz Pentium II's ;-)
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
ilikeyoureyes
n00b
n00b


Joined: 04 Jun 2004
Posts: 52

PostPosted: Thu Mar 24, 2005 1:11 pm    Post subject: Reply with quote

Phk wrote:
ilikeyoureyes wrote:
Here is my way around it:

In /etc/portage/package.keywords put
Code:
=media-video/nvidia-kernel-1.0.6629-r4 ~x86
=media-video/nvidia-glx-1.0.6629-r5 ~x86


You should have done instead:
Code:
media-video/nvidia-kernel ~x86
media-video/nvidia-glx ~x86

In /etc/portage/package.keywords.

You added a unique version... which was already unmasked by keyword (already x86, not ~x86)
If you do like my quote, you'll unmask all the versions of the package.

See us!


You missed the point. The latest nvidia drivers hardlock my machine. Those specific drivers are the only ones that are currently solid on 2.6.11.
_________________
small hassle mini mac
Back to top
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Thu Mar 24, 2005 1:30 pm    Post subject: Reply with quote

Moved from Multimedia.
Back to top
View user's profile Send private message
RayDude
Advocate
Advocate


Joined: 29 May 2004
Posts: 2094
Location: San Jose, CA

PostPosted: Mon Apr 11, 2005 9:58 pm    Post subject: Anybody tried the new kernel and new driver? Reply with quote

Has anyone tried this kernel and this driver:

* sys-kernel/gentoo-sources
Latest version available: 2.6.11-r5

[ebuild U ] media-video/nvidia-kernel-1.0.6629-r4 [1.0.6629-r1]

I'd like someone else to be the guineapig.

Please?

Brian
_________________
Some day there will only be free software.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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