View previous topic :: View next topic |
Author |
Message |
thagame Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_bender.gif)
Joined: 07 Mar 2004 Posts: 210 Location: Windsor, Ontario, Canada
|
Posted: Fri Mar 18, 2005 8:50 pm Post subject: nvidia-kernel wont emerge |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
adaptr Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/17218567054377b9b6104ea.jpg)
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Fri Mar 18, 2005 8:53 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
thagame Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_bender.gif)
Joined: 07 Mar 2004 Posts: 210 Location: Windsor, Ontario, Canada
|
Posted: Fri Mar 18, 2005 8:57 pm Post subject: |
|
|
what options are required. i set the mtrr option on.
Quote: | [32;01m*[0m Determining the location of the kernel source code
[32;01m*[0m Found kernel source directory:
[32;01m*[0m /usr/src/linux
[32;01m*[0m Found sources for kernel version:
[32;01m*[0m 2.6.11-gentoo-r4
[32;01m*[0m Checking for MTRR support...
[A[73G [34;01m[ [32;01mok[34;01m ][0m
x86 |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
adaptr Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/17218567054377b9b6104ea.jpg)
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Fri Mar 18, 2005 8:58 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
thagame Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_bender.gif)
Joined: 07 Mar 2004 Posts: 210 Location: Windsor, Ontario, Canada
|
Posted: Fri Mar 18, 2005 9:08 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
dvh Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 31 Dec 2003 Posts: 179 Location: Chandler, AZ
|
Posted: Fri Mar 18, 2005 11:56 pm Post subject: |
|
|
I have the same issue. Have you resolved this? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
thagame Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_bender.gif)
Joined: 07 Mar 2004 Posts: 210 Location: Windsor, Ontario, Canada
|
Posted: Sat Mar 19, 2005 12:58 am Post subject: |
|
|
ya i fixed it, i typed
Quote: | ACCEPT_KEYWORDS="~x86" emerge nvidia-kernel |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dezydery Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 23 Jul 2004 Posts: 87
|
Posted: Sat Mar 19, 2005 10:33 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
G2k l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Marvel/Marvel_-_Wolverine.gif)
Joined: 06 Mar 2004 Posts: 672 Location: Rome, Italy
|
Posted: Sat Mar 19, 2005 10:58 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
76062563 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/16541454784188ac611fce5.jpg)
Joined: 16 Aug 2004 Posts: 637 Location: 127.0.0.1
|
Posted: Sat Mar 19, 2005 12:47 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
dsginter n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Feb 2005 Posts: 8
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
takitez n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/209141450740f6082cd5a96.png)
Joined: 15 Jul 2004 Posts: 3
|
Posted: Tue Mar 22, 2005 1:28 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Phk Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/18309622864420b4b213dc3.jpg)
Joined: 02 Feb 2004 Posts: 428 Location: [undef], Lisbon, Portugal, Europe, Earth, SolarSystem, MilkyWay, 23Q Radius, Forward Time
|
Posted: Tue Mar 22, 2005 2:39 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
harryr n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 23 Feb 2005 Posts: 42 Location: Broken Arrow, OK
|
Posted: Tue Mar 22, 2005 3:20 pm Post subject: nvidia-kernel (1.0.6629) compile fails using kernel 2.6.11.4 |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
RayDude Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/132281152442769cccbb403.jpg)
Joined: 29 May 2004 Posts: 2094 Location: San Jose, CA
|
Posted: Tue Mar 22, 2005 5:57 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
dsginter n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Feb 2005 Posts: 8
|
Posted: Tue Mar 22, 2005 7:12 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
ilikeyoureyes n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 04 Jun 2004 Posts: 52
|
Posted: Wed Mar 23, 2005 2:27 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Phk Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/18309622864420b4b213dc3.jpg)
Joined: 02 Feb 2004 Posts: 428 Location: [undef], Lisbon, Portugal, Europe, Earth, SolarSystem, MilkyWay, 23Q Radius, Forward Time
|
Posted: Wed Mar 23, 2005 12:10 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
darjeeling n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/132598829140382e7f283bb.jpg)
Joined: 22 Feb 2004 Posts: 26
|
Posted: Wed Mar 23, 2005 12:50 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
adaptr Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/17218567054377b9b6104ea.jpg)
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Wed Mar 23, 2005 1:46 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
korngerd Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 12 Mar 2004 Posts: 104
|
Posted: Wed Mar 23, 2005 6:11 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
adaptr Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/17218567054377b9b6104ea.jpg)
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Wed Mar 23, 2005 6:19 pm Post subject: |
|
|
I'd like one of those 900MHz Pentium II's ![Wink ;-)](images/smiles/icon_wink.gif) _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ilikeyoureyes n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 04 Jun 2004 Posts: 52
|
Posted: Thu Mar 24, 2005 1:11 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Deathwing00 Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1140581890451d29047ad41.jpg)
Joined: 13 Jun 2003 Posts: 4087 Location: Dresden, Germany
|
Posted: Thu Mar 24, 2005 1:30 pm Post subject: |
|
|
Moved from Multimedia. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
RayDude Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/132281152442769cccbb403.jpg)
Joined: 29 May 2004 Posts: 2094 Location: San Jose, CA
|
Posted: Mon Apr 11, 2005 9:58 pm Post subject: Anybody tried the new kernel and new driver? |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|