LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 03-27-2003, 09:18 AM   #1
wildtiger23
LQ Newbie
 
Registered: Mar 2003
Location: Montreal
Distribution: Slackware
Posts: 24

Rep: Reputation: 15
Question 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.
 
Old 03-27-2003, 09:25 AM   #2
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
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.
 
Old 03-27-2003, 10:37 AM   #3
sambartle
Member
 
Registered: Jan 2003
Location: UK
Distribution: Slackware 9.0
Posts: 34

Rep: Reputation: 15
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
 
Old 03-27-2003, 10:47 AM   #4
wildtiger23
LQ Newbie
 
Registered: Mar 2003
Location: Montreal
Distribution: Slackware
Posts: 24

Original Poster
Rep: Reputation: 15
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.
 
Old 03-28-2003, 02:53 AM   #5
sambartle
Member
 
Registered: Jan 2003
Location: UK
Distribution: Slackware 9.0
Posts: 34

Rep: Reputation: 15
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.
 
Old 06-19-2003, 08:58 PM   #6
linuxr0x
LQ Newbie
 
Registered: Jun 2003
Distribution: Redhat 8
Posts: 10

Rep: Reputation: 0
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...
 
Old 06-19-2003, 10:44 PM   #7
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
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.
 
Old 06-27-2003, 01:08 AM   #8
vicomte
LQ Newbie
 
Registered: Jun 2003
Location: Brisbane Australia
Distribution: Debian
Posts: 17

Rep: Reputation: 0
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.
 
Old 06-27-2003, 01:11 AM   #9
vicomte
LQ Newbie
 
Registered: Jun 2003
Location: Brisbane Australia
Distribution: Debian
Posts: 17

Rep: Reputation: 0
Sorry I should add, its a MSI KT3Ultra

http://www.msi.com.tw/program/produc...MODEL=MS-6380E
 
Old 06-27-2003, 08:03 AM   #10
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
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.)
 
Old 07-23-2003, 03:42 AM   #11
ex0
LQ Newbie
 
Registered: May 2003
Location: Perth, Australia
Distribution: Gentoo
Posts: 25

Rep: Reputation: 15
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
 
Old 07-23-2003, 08:51 AM   #12
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
upgraded kernel, won't let me compile kernel once Suspend2 patches are applied microsoft/linux Linux - Laptop and Netbook 3 10-02-2005 02:37 PM
Kernel patches eqxro SUSE / openSUSE 4 07-15-2005 08:18 AM
Old kernel patches jrdioko Linux - Software 5 06-23-2004 10:57 PM
Warning: KT400/AGP 3.0/2.4.20 kernel incompatability - please verify THX1138 Linux - Hardware 4 03-11-2004 01:22 PM
kernel patches? e1000 Linux - General 2 01-07-2004 10:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration