Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-27-2003, 09:18 AM
|
#1
|
LQ Newbie
Registered: Mar 2003
Location: Montreal
Distribution: Slackware
Posts: 24
Rep:
|
KT400 kernel patches
Where can I find a patches for my kernel 2.4.20. I need to use my agpgart for my via kt400 motherboard?
And how apply this patch?
Thank you.
|
|
|
03-27-2003, 09:25 AM
|
#2
|
Senior Member
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251
Rep:
|
here's a good place to start:
http://www.uwsg.iu.edu/hypermail/lin...11.3/0282.html
what you will do is either copy and paste the patch (the patch is everything on the page from 'diff -uNr...' to the last '#define ... ' statement) or if you can find a link for the patch (which will be just a text file) and download the patch. basically what you're trying to do is get a text file maybe called kt400.patch that contains all those funny looking text and directives in it.
once you have the file, you move it to your kernel source tree (should be something like /usr/src/linux) that contains all kinds of source code for your kernel, then you type at a command prompt...
(as root) <prompt># patch -Np1 kt400.patch
... however this may give you some errors. (my experience has found the patch util to be a little flaky). But get this far and we'll see what happens.
|
|
|
03-27-2003, 10:37 AM
|
#3
|
Member
Registered: Jan 2003
Location: UK
Distribution: Slackware 9.0
Posts: 34
Rep:
|
If you are using Slackware 9.0 the support should be built already and working.
My KT400 is working fine in slackware 9.0 and i even have AGP8x with my nvidia geforce4 ti4200-8x
|
|
|
03-27-2003, 10:47 AM
|
#4
|
LQ Newbie
Registered: Mar 2003
Location: Montreal
Distribution: Slackware
Posts: 24
Original Poster
Rep:
|
Have you try 3D acceleration.
My Xfree86 works perfectly with my radeon 9100. But if I try to start "modprobe agpgart" my kt400 issn't support. I wont to play 3D games with my computer.
|
|
|
03-28-2003, 02:53 AM
|
#5
|
Member
Registered: Jan 2003
Location: UK
Distribution: Slackware 9.0
Posts: 34
Rep:
|
i think my KT400 is supported because of the Nvidia AGP driver which replaces agpgart and that is why i have no probloems (and 8x AGP which agpgart doesnt support)
Try the latest (-pre6) patch against 2.4.20
you can get it at: www.kernel.org
Alan Cox is doing a lot of work on KT400 support so id say install his latest patch too (-pre5-ac3) but i think that has been integrated into pre6 anyway.
You might also try:
adding agp_try_unsupported=1 to your insmod.
add this to your modules.conf:
option agpgart agp_try_unsupported=1
alias /dev/agpgart agpgart
Last edited by sambartle; 03-28-2003 at 02:59 AM.
|
|
|
06-19-2003, 08:58 PM
|
#6
|
LQ Newbie
Registered: Jun 2003
Distribution: Redhat 8
Posts: 10
Rep:
|
I can't seem to find the proper place to apply the patch... I know that's lame, but here's my situation:
RedHat 8.0
linux 2.4.20-18 kernel
fglrx ATI Radeon 9700 Pro driver (modified from vesa driver shipped with redhat 8)
I tried the usr/src/linux-2.4.20-18/ directory, but that doesn't work.
I also looked up the location of the agpgart drivers with locate agpgart, and tried all the directories that it returned.
I hope someone can help! Thx...
|
|
|
06-19-2003, 10:44 PM
|
#7
|
Senior Member
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251
Rep:
|
there are not currently any patches for the kernel (that I know of) that will provide support for the KT400 chipset. You will have to use fglrx's agpgart capabilities.
|
|
|
06-27-2003, 01:08 AM
|
#8
|
LQ Newbie
Registered: Jun 2003
Location: Brisbane Australia
Distribution: Debian
Posts: 17
Rep:
|
I have mine mis reading too, it says;
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: Detected Via Apollo Pro KT266 chipset
agpgart: AGP aperture is 128M @ 0xe0000000
When my board is supposed to be a KT333 supporting board.
|
|
|
06-27-2003, 01:11 AM
|
#9
|
LQ Newbie
Registered: Jun 2003
Location: Brisbane Australia
Distribution: Debian
Posts: 17
Rep:
|
|
|
|
06-27-2003, 08:03 AM
|
#10
|
Senior Member
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251
Rep:
|
well is the chipset working though? It could be properly identifying and operating the chipset but just labelling it wrong.
or if its not working, or you think it could work better, a solution would be to go into your kernel source into
/usr/src/linux/drivers/char/agp/agp*.(c,h) and find the PCI_DEVICE_ID for the KT333 chipset and hard code the name of the setup functions. (these device ids will usually point to some setup function that detects the chipset and then passes control over to the proper setup function.)
|
|
|
07-23-2003, 03:42 AM
|
#11
|
LQ Newbie
Registered: May 2003
Location: Perth, Australia
Distribution: Gentoo
Posts: 25
Rep:
|
yo, I tried to apply that patch and used that line with the patch util, presssed enter and it opened a new line and its just sat there for the last 10 minutes, no prompt, just a flashing curser
|
|
|
07-23-2003, 08:51 AM
|
#12
|
Senior Member
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251
Rep:
|
ex0 I assume you're talking about the KT400 patch... my suggestion to you would be to simply download the latest kernel source (2.4.21) and install the newest kernel. The latest kernel now supports the KT400 so you don't have to mess with patches and what not.
|
|
|
All times are GMT -5. The time now is 06:12 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|