Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 09-07-02, 02:43 PM   #1
redmoose
Registered User
 
Join Date: Sep 2002
Posts: 7
Question AMD kernel patch question

When trying to patch the kernel source with the amd-adv-spec-caching-disable-2.4.19pre10-2 patch, the following occurs:

root@linux:/usr/src/linux-2.4.4.SuSE/arch/i386/kernel > patch -p4 < /usr/src/amd-adv-spec-caching-disable-2.4.19pre10-2
patching file setup.c
Hunk #1 succeeded at 445 with fuzz 2 (offset 374 lines).
Hunk #2 succeeded at 608 with fuzz 2 (offset 433 lines).
Hunk #3 FAILED at 1172.
Hunk #4 FAILED at 1272.
Hunk #5 succeeded at 1037 with fuzz 2 (offset -77 lines).
Hunk #6 succeeded at 1180 (offset -110 lines).
Hunk #7 FAILED at 1338.
Hunk #8 succeeded at 1919 with fuzz 2 (offset 448 lines).
Hunk #9 succeeded at 2277 (offset -470 lines).
3 out of 9 hunks FAILED -- saving rejects to file setup.c.rej

What does this mean and is it alright to continue with the kernel configuration? I have never tryed to configure/compile and kernel before so I don't know too much yet. Any help appreciated.
redmoose is offline   Reply With Quote
Old 09-07-02, 05:06 PM   #2
kgroombr
Using Linux Since 1995
 
Join Date: Sep 2002
Posts: 130
Default

I would guess that a patch has already been applied to the file in the kernel source you have installed.

My guess, in order for the patch to work, download the kernel source from one of the links off of kernel.org, install and patch that one.

I think it could also be the directory you are in when you are applying the patch. Make sure you are in the right directory.

Ken
kgroombr is offline   Reply With Quote
Old 09-07-02, 08:16 PM   #3
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

The patch you're trying to apply was created against kernel 2.4.19-pre10, and you're trying to apply it to kernel 2.4.4, modified by SuSE.

This most likely will not work. Is there a version of that patch for kernel 2.4.4? That would get you closer at least. Maybe not all the way there, but closer.

A better solution would be to download ftp://ftp.kernel.org/pub/linux/kerne...-2.4.18.tar.gz and the patch that brings that up to 2.4.19-pre10 (it's at ftp://ftp.kernel.org/pub/linux/kerne....4.19-pre10.gz), remove your /usr/src/linux symlink, decompress linux-2.4.18.tar.gz in /usr/src (it'll create a linux directory), cd into linux, apply the 2.4.19-pre10 patch with a -p1, and then try the AMD patch again.

Caveats: if SuSE patched kernel 2.4.4 with support for something you find useful (case in point was back when I used Mandrake, they had patched supermount support into their kernel), you won't have that support any more, after you build this new kernel. I don't mind anymore, I can live without supermount, but if it's a driver for some specific piece of hardware, it might cause other problems.

Ummm, what else... make sure you know what hardware you have installed (motherboard's IDE chipset, sound card chip, stuff like that) before you start. You can probably copy the .config file from /usr/src/linux-2.4.4.SuSE/ into /usr/src/linux before you do your make menuconfig or make xconfig or whatever you like doing, that would probably make configuration a bit easier because you wouldn't have to look through every option.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Reply


Thread Tools

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
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
[BUG] nvidia crashes kernel with 'Xid 13' and attempted to yield the CPU while atomic rockob NVIDIA Linux 36 09-26-12 08:48 AM
upgrade to xorg server 1.13 damaged Geforce 7300 GT KDE NVIDIA Linux 2 09-07-12 09:04 AM
Fatal upgrade: from bad (8800 GTS) to worse 9GTX 560 Ti) ssnyder NVIDIA Linux 1 07-01-12 09:14 PM
UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... interzoneuk NVIDIA Linux 0 06-26-12 05:51 AM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 12:04 PM

All times are GMT -5. The time now is 04:59 AM.


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