LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-20-2002, 08:24 PM   #1
N_A_J_M
Member
 
Registered: Aug 2002
Location: Whangarei New Zealand
Distribution: Slack 8.1
Posts: 300

Rep: Reputation: 30
Exclamation DMA Patch


Ok I downloaded the patch from via's website,
:ide patch ver0.8 date 4/11/2002

This patch describes how to install a kernel patch which turns on ATA133 transfer mode of the integrated ide controller in the south bridge VT8233A under Redhat 7.2

Now for my question.

Maybe I just cant follow instructions or Im way gone!!! haha
but I cant unde stand what is going on in the readme file they provide to install the kernel patch.

Here is part of the readme (the bits in brackets)are describing what i am having trouble with? If anyone has used this patch with success please help! I really want to sort out my slow transfer speed!



This README file provides the way how to patch IDE driver source file,
rebuild linux kernel and test IDE performance.

The first step is to patch your linux IDE driver source file
1.The linux kernel including driver source files are all placed in the directory
/usr/src/linux.You have to change your directory /usr/src in your console.

#cd /usr/src (is the directory i need to change to? or is it /usr/src/linux?)

2.Before patching your linux IDE source file, you should decompress
your patch file.

#gunzip xxx-patch-xxx-vpide.gz (am I uncompressing the file in the above directory? (usr/src) )

3.And then you will find a file "xxx-patch-xxx-vpide" in the current directory (being what? Is the current directory /usr/src?).
This file is a patchfile that linux utility "patch" can read.

#patch -p0 < xxx-patch-xxx-vpide (do I execute this command? if so where from? /usr/src? )

note: Setting parameter -p0 gives the entire file name unmodified. (when I enter this I get a blank line that I cant do anything with after the command has been executed)

The second step is rebuilding your linux kernel
1.Change your directory to /usr/src/linux (I dont have such a directory. I have /usr/src/linux-7.4.7-10 )
This is as far as I am able to get.
#cd linux

2.Config your system. The system will query you about driver setting.

#make xconfig
 
Old 08-20-2002, 08:50 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Patch must match the kernel version of your system. And guess what, for the life of me I couldn't get the official patches to actually work for any RH kernel that had an extra version, for instance 2.4.7-10 (that -10 that spoils everything), I'd suggest to get the official kernel from http://www.kernel.org (the latest stable is 2.4.19), and compile it youself, if you need a basic HOW-TO there is the famious one http://tldp.org/HOWTO/Kernel-HOWTO.html just make sure you have a backdoor to boot into your working kernel if things go eerie with compilation. If you want to give it a try without compilation then make a symlink as follows
cd /usr/src
ln -s linux-2.4.7-10 linux
and go with the instructions, it expects kernel tree to be located under /usr/src/linux
 
Old 08-20-2002, 08:59 PM   #3
N_A_J_M
Member
 
Registered: Aug 2002
Location: Whangarei New Zealand
Distribution: Slack 8.1
Posts: 300

Original Poster
Rep: Reputation: 30
Talking That F***ng 10

Thanx Neo !!
this just seems to go on and on!! haha

Once i have downloaded the latest Kernel
and compiled it

do I still have to try to install that patch i downloaded from via? or does the new kernel support udma5 ??? ATA/133 ??

thanx Again
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hard Drive Problems: timeout waiting for DMA; error waiting for DMA mintee Linux - Hardware 10 09-21-2007 05:06 AM
How to Install patch-o-matic(a iptables patch) on redhat 9? itebooks Linux - Security 1 07-23-2004 08:51 AM
debian-patch-debianlogo w/2.6.5 kernel-patch-lpp Outabux Debian 11 05-20-2004 01:21 PM
How to Apply patch for Mass Storage device to work? (uss725-2.4.20-rc2.patch) cevjr Linux - Hardware 3 04-20-2004 11:14 PM
Suse 8.2 change my DMA setting on my DVD-R drive to off & IDE DMA MODE NOT SHOWING IT maximalred Linux - General 0 08-23-2003 04:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:59 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