nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   General Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=27)
-   -   Where can I download .... (http://www.nvnews.net/vbulletin/showthread.php?t=12975)

MidnightWatcher 06-06-03 06:00 PM

Where can I download ....
 
Where can I download the source for a kernel with the nVidia AGPGART patch? Thanks for your help!

remu 06-07-03 10:06 AM

www.kernel.org

Alan's patch for the 2.4.21-rc7 includes the nVidia AGPGART

deadbolt 06-07-03 10:47 AM

If you are using the 2.4.21, can you use this patch? I'm running the basic install of mandrake 9.1 which comes with the 2.4.21 kernel... Thanks. JWG

remu 06-07-03 11:39 AM

Quote:

Originally posted by deadbolt
If you are using the 2.4.21, can you use this patch? I'm running the basic install of mandrake 9.1 which comes with the 2.4.21 kernel... Thanks. JWG
I don't see why not. Depends if MDK has applied any of their own patches which I don't have a clue about, since I don't use MDK.

MidnightWatcher 06-07-03 02:33 PM

Quote:

Originally posted by remu
www.kernel.org

Alan's patch for the 2.4.21-rc7 includes the nVidia AGPGART

That's just a patch. Is there anywhere that I can download the full kernel source to compile my own? I tried to use the patch but don't know if I'm doing it properly. I do have, however, instructions on compiling a full kernel.

remu 06-07-03 02:50 PM

Quote:

Originally posted by MidnightWatcher
That's just a patch. Is there anywhere that I can download the full kernel source to compile my own? I tried to use the patch but don't know if I'm doing it properly. I do have, however, instructions on compiling a full kernel.
Get the 2.4.20 kernel source from here: http://www.linuxhq.com/
and the 2.4.21rc7 plus the 2.4.21rc7-ac1 patch from www.kernel.org

We'll assume you downloaded the kernel and patches to /home/joey/downloads, ok? And also, I assume you know how to compile a kernel (eg. what options needs to be included and which not).

1) cd /usr/src
2) tar xvfj /home/joey/downloads/linux-2.4.20.tar.bz2
3) cd linux-2.4.20
4) bzip2 -d /home/joey/downloads/patch-2.4.21*
5) patch -p1 < /home/joey/downloads/patch-2.4.21-rc7
6) patch -p1 < /home/joey/downloads/patch-2.4.21-rc7-ac1
7) make menuconfig (or xconfig if you prefer)
8) include in Character devices /dev/agpgart -> Nvidia NForce/NForce2 support
9) make dep && make bzImage modules modules_install
10) cp arch/i386/boot/bzImage /boot/bzImage-nforce-agp
11) Alter your bootmanager configuration files to accept your newly compiled kernel. (On redhat, you can do make install on step 10)
12) Boot, cross your fingers and pray

MidnightWatcher 06-07-03 04:27 PM

Thanks for the info remu. This is what I did before I read your message (let me know if I missed something). I'm using Mandrake 9.1:

1. Downloaded "linux-2.4.20.bz2" to "/usr/src"
2. "cd usr/src"
3. "bunzip2 linux-2.4.20.bz2" (This gave me "linux-2.4.20.tar"
4. I then did a "tar -xf linux-2.4.20.tar" (This made a new directory "linux-2.4.20")
5. "cd linux-2.4.20"
6. "make menuconfig"
7. "make dep"
8. "make clean"
9. "make bzlilo"
10. "make modules"
11. "make modules_install"
12. I deleted the symbolic link "vmlinuz" and "System.map" in "/boot" and moved my new "vmlinuz-2.4.20" and "System.map-2.4.20" in "usr/src/linux-2.4.20" to "/boot"
13. I then created new symbolic links "vmlinuz" for "vmlinuz-2.4.20", and "System.map" for "System.map-2.4.20" in "/boot"

Now, is it at this point that I'm suppose to modify the "lilo.conf" in "/etc"? Since I can't get XFree86 to start, is there a command line editor that I can use, and if so, what exactly do I need to change?

If you have any suggestions on how to make this easier, I'd be happy to read your input. Your help is muchly appreciated!! Thanks :)

MW

remu 06-08-03 12:09 AM

Yeah, you should edit your bootmanager config files. For an editor, I like mcedit which comes with Midnight Commander package. Vi is a good choice too.

You should copy the old entries in lilo.conf and rename them for the new kernel. Like this, label="something you had before" becomes label="NForce-AGPGART kernel" for example. Also remember to change the image parameter.

BTW: running make install after make modules_install should fix the lilo bootparameters for you.

What comes to X, has it stopped from starting after you compiled a new kernel? it would help if you could post the contents of file [b]/var/log/XFree86.0.log

thingi 06-09-03 06:53 AM

Quote:

Originally posted by deadbolt
If you are using the 2.4.21, can you use this patch? I'm running the basic install of mandrake 9.1 which comes with the 2.4.21 kernel... Thanks. JWG
That's not strictly true, the 2.4.21 included in Mandrake 9.1 is OLD! it's a beta .21 release. If you look in Cooker you'll find latest kernel (I'm on kernel-2.4.21-0.rc1.1mdk-1-1mdk.i586.rpm
and the latest source which goes with this kernel is called kernel-source-2.4.21-1mdk.i586.rpm)

This kernel enables working firewire, & ATA100 + loads of other patches to the 4.21 tree. I think Alan's patch is in this kernel but havn't checked cos' I've a GF3. It's more stable than the kernel which comes which 9.1 so don't worry about it coming from cooker.

God only knows why the names of mandrake cooker stuff has freeked out quite so much but that's life.

thingi


All times are GMT -5. The time now is 09:25 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.