LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Kernel patch & DRI support (https://www.linuxquestions.org/questions/linux-general-1/kernel-patch-and-dri-support-109958/)

gamehack 10-29-2003 11:01 AM

Kernel patch & DRI support
 
So this is the problem...I have a laptop Compaq Evo N1020v and have a IGP340M videocard.here is the resource http://bugs.xfree86.org/show_bug.cgi?id=314 this are pathes but do not know what to do with them and how.Can someone tell me what to do with that ?
thanks a lot

unSpawn 11-04-2003 03:35 PM

Save the patches, make sure you have your kernel source in /usr/src/linux, change to that dir, then try "patch -p1 --dry-run < patchname".

If it asks which file to patch, you have to adjust the "-p" flag for the amount of dirs it should strip before trying to apply the patch.
If it shows ".rej" messages it means the patch won't apply cleanly, meaning you either got the wrong kernel version or you're required to tinker with applying the patch.
If this test run doesn't show errors run it without the "--dry-run" flag to apply.

If you want to catch output and errors and append it to a file called /tmp/patch.log try this:
"patch -p1 --dry-run < patchname 2>&1 | tee -a /tmp/patch.log".


All times are GMT -5. The time now is 02:22 PM.