Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30779 - nvidia-1.0-4499 partial ebuild.
Summary: nvidia-1.0-4499 partial ebuild.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High enhancement
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-09 12:56 UTC by James Jones
Modified: 2003-10-15 21:43 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
kernel ebuild file (nvidia-kernel-1.0.4499.ebuild,2.97 KB, patch)
2003-10-09 12:57 UTC, James Jones
Details | Diff
patch file for 2.6 kernels (NVIDIA_kernel-1.0-4499-2.6.diff,211.74 KB, patch)
2003-10-09 12:59 UTC, James Jones
Details | Diff
working nvidia-glx-1.0.4499 ebuild. (nvidia-glx-1.0.4499.ebuild,2.62 KB, text/plain)
2003-10-09 13:00 UTC, James Jones
Details
defines patch, updated for 4499 (nvidia-glx-1.0.4499-defines.patch,437 bytes, patch)
2003-10-09 13:01 UTC, James Jones
Details | Diff
More complete ebuild to support 2.4 kernel and 2.6 kernel. (nvidia-kernel-1.0.4499.ebuild,3.94 KB, text/plain)
2003-10-10 11:05 UTC, Kris Kersey (RETIRED)
Details
Another possible patch that I worked on. Needs testing. (NVIDIA_kernel-1.0-4499-2.6-20031009.diff,67.85 KB, patch)
2003-10-10 11:07 UTC, Kris Kersey (RETIRED)
Details | Diff
Working 4499 ebuild for kernel. Supports 2.4 and 2.6 kernel. (nvidia-kernel-1.0.4499.ebuild,3.94 KB, text/plain)
2003-10-13 23:21 UTC, Kris Kersey (RETIRED)
Details
nvidia modules.d file taken from 32-bit driver ebuilds (nvidia-1.1,441 bytes, text/plain)
2003-10-13 23:22 UTC, Kris Kersey (RETIRED)
Details
Working NVIDIA_kernel patch. Tested. (NVIDIA_kernel-1.0-4499-2.6-20031014.diff,67.76 KB, patch)
2003-10-13 23:23 UTC, Kris Kersey (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James Jones 2003-10-09 12:56:17 UTC
This is the beginnings of an ebuild for x86_64 nvidia drivers version 1.0-4499.  I can't get it to actually install but it currently builds the driver.  I do have the drivers installed by hand, on a 2.6.0-test7 kernel, and they work perfectly at 8x AGP.
Comment 1 James Jones 2003-10-09 12:57:35 UTC
Created attachment 19029 [details, diff]
kernel ebuild file

kernel ebuild file.
Comment 2 James Jones 2003-10-09 12:59:03 UTC
Created attachment 19030 [details, diff]
patch file for 2.6 kernels

this file goes in /usr/portage/media-video/nvidia-kernel/files/1.0.4499/
Comment 3 James Jones 2003-10-09 13:00:14 UTC
Created attachment 19031 [details]
working nvidia-glx-1.0.4499 ebuild.

This file works as is, providing the patch file I'll attach next is installed
as well.
Comment 4 James Jones 2003-10-09 13:01:12 UTC
Created attachment 19032 [details, diff]
defines patch, updated for 4499

Just an adaptation of the previous builds to add one define.  Makes the 4499
patch work.
Comment 5 Kris Kersey (RETIRED) gentoo-dev 2003-10-10 11:05:46 UTC
Created attachment 19059 [details]
More complete ebuild to support 2.4 kernel and 2.6 kernel.
Comment 6 Kris Kersey (RETIRED) gentoo-dev 2003-10-10 11:07:43 UTC
Created attachment 19060 [details, diff]
Another possible patch that I worked on.  Needs testing.
Comment 7 Kris Kersey (RETIRED) gentoo-dev 2003-10-10 11:08:41 UTC
Comment on attachment 19060 [details, diff]
Another possible patch that I worked on.  Needs testing.

this file goes in /usr/portage/media-video/nvidia-kernel/files/1.0.4499/
Comment 8 James Jones 2003-10-11 12:16:54 UTC
Augustus's ebuild and patch work perfectly for me on the 2.6-test7 kernel.

-James
Comment 9 James Jones 2003-10-11 15:50:31 UTC
I retract my earlier statement.  After installing the ebuild in attachments
19059 and the patch in 19060, my X server will not start on kernel 2.6.0-test7.
 When I rebuilt the module using my patch (attachment 19030 [details, diff]), everything
started fine.

-James
Comment 10 Brad House 2003-10-11 15:55:21 UTC
can you be more specific about "does not start".
I'd be interested to know the exact symptoms, as I want to
ensure that they're not the same symptoms augustus saw.

-Brad
Comment 11 James Jones 2003-10-11 16:04:55 UTC
The server begins to start up, identifies my chipset as an "unknown nvidia
chipset", continues starting, then finally logs a

"NVO: unable to set up DMA mapping for client"

and quits, leaving my VT in a partially usable state.  It could be related
to brad's problems, but it looks unrelated. I think my X gets a bit farther
than his does before dying.  I dunno if he has tried my patch to install
the kernel modules by hand yet, but I'd be interested to know if that works
for him.

-James
Comment 12 Kris Kersey (RETIRED) gentoo-dev 2003-10-12 08:38:51 UTC
X is now up and running for me after a complete reinstall and I don't know
what's different from last time.  I was having same problems with portage
that I guess could have messed things up.

I am working on my NVIDIA patch to get it working.  I'm still trying to figure
out why the resulting .ko file of each build is different.  

On another related note, I don't have AGP working.  I'm trying to figure
out why, on an x86_64 build, you don't get the usual AGP option when building
the kernel.  It enables it by default and even if I edit the .config manually,
it has no effect.
Comment 13 Kris Kersey (RETIRED) gentoo-dev 2003-10-12 19:13:35 UTC
AGP is now working.

For some reason (ask a kernel developer) if "IOMMU support" is enabled in
the kernel then AGP is not allowed to be compiled.  I turn that off I get
the options of:
"/dev/agpgart (AGP Support)"
"AMD Opteron/Athlon64 on-CPU GART support"

I compiled those as modules and now I can modprobe them and then startx with
"NvAGP" set to 2.

Still working on the patch for the ebuild.
Comment 14 Brad House 2003-10-12 19:17:15 UTC
well, that is good to know.  As soon as I get my nvidia GeForce card
in that will work with my MB, I'll test this out and commit it.  And
also make some of those notes in the technotes.

Comment 15 Kris Kersey (RETIRED) gentoo-dev 2003-10-13 23:21:14 UTC
Created attachment 19210 [details]
Working 4499 ebuild for kernel.  Supports 2.4 and 2.6 kernel.

I tried it and it works now.  Grab both the nvidia-1.1 and the
NVIDIA_kernel-1.0-4499-2.6-20031014.diff.
Comment 16 Kris Kersey (RETIRED) gentoo-dev 2003-10-13 23:22:20 UTC
Created attachment 19211 [details]
nvidia modules.d file taken from 32-bit driver ebuilds

Place this in the files directory.
Comment 17 Kris Kersey (RETIRED) gentoo-dev 2003-10-13 23:23:12 UTC
Created attachment 19212 [details, diff]
Working NVIDIA_kernel patch.  Tested.

Place in the files/1.0.4499 directory.
Comment 18 Daniel Robbins (RETIRED) gentoo-dev 2003-10-15 21:43:26 UTC
This works well for me over here. Commited both ebuilds (kernel and glx).
Thanks guys :) !