kerel 2.4.20 patch auf suse 8.1 installieren
Hi , Ich hab mir von Kernel.org ein kernelpatch auf 2.4.19 gezogen und möchte diese auf meine 8.1 suse linux installieren und anschließend ein kernek kompilieren. Leider krieg ich aber nur fehlermeldungen , :: linux:/usr/src/linux-2.4.19.SuSE # ./patch-2.4.20 diff: linux-2.4.19/CREDITS: Datei oder Verzeichnis nicht gefunden diff: linux-2.4.20/CREDITS: Datei oder Verzeichnis nicht gefunden ./patch-2.4.20: line 2: ---: command not found ./patch-2.4.20: line 3: +++: command not found ./patch-2.4.20: line 4: @@: command not found ./patch-2.4.20: line 5: S:: command not found ./patch-2.4.20: line 6: S:: command not found ./patch-2.4.20: line 8: +N:: command not found ./patch-2.4.20: line 9: +E:: command not found ./patch-2.4.20: line 10: +W:: command not found ./patch-2.4.20: line 11: +D:: command not found ./patch-2.4.20: line 12: +: command not found ./patch-2.4.20: line 13: N:: command not found ./patch-2.4.20: line 14: E:: command not found ./patch-2.4.20: line 15: D:: command not found ./patch-2.4.20: line 16: @@: command not found ./patch-2.4.20: line 17: S:: command not found ./patch-2.4.20: line 19: N:: command not found ./patch-2.4.20: line 20: -E:: command not found ./patch-2.4.20: line 21: +E:: command not found ./patch-2.4.20: line 22: W:: command not found ./patch-2.4.20: line 23: D:: command not found ./patch-2.4.20: line 24: S:: command not found ./patch-2.4.20: line 25: @@: command not found ./patch-2.4.20: line 26: S:: command not found ./patch-2.4.20: line 27: S:: command not found ./patch-2.4.20: line 29: +N:: command not found ./patch-2.4.20: line 30: +E:: command not found ./patch-2.4.20: line 31: +W:: command not found ./patch-2.4.20: line 32: +D:: command not found ./patch-2.4.20: line 33: +S:: command not found ./patch-2.4.20: line 34: +: command not found ./patch-2.4.20: line 35: N:: command not found ./patch-2.4.20: line 36: E:: command not found ./patch-2.4.20: line 37: D:: command not found ./patch-2.4.20: line 38: @@: command not found ./patch-2.4.20: line 39: S:: command not found ./patch-2.4.20: line 41: N.: command not found ./patch-2.4.20: line 42: -E:: command not found ./patch-2.4.20: line 43: +E:: command not found ./patch-2.4.20: line 44: D:: command not found ./patch-2.4.20: line 46: N:: command not found ./patch-2.4.20: line 47: @@: command not found ./patch-2.4.20: line 48: D:: command not found ./patch-2.4.20: line 50: N:: command not found ./patch-2.4.20: line 51: -E:: command not found ./patch-2.4.20: line 52: E:: command not found ./patch-2.4.20: line 53: +D:: command not found ./patch-2.4.20: line 54: D:: command not found ./patch-2.4.20: line 55: D:: command not found ./patch-2.4.20: line 56: D:: command not found ./patch-2.4.20: line 57: @@: command not found ./patch-2.4.20: line 58: S:: command not found ./patch-2.4.20: line 60: N:: command not found ./patch-2.4.20: line 61: -E:: command not found ./patch-2.4.20: line 62: W:: command not found ./patch-2.4.20: line 63: D:: command not found ./patch-2.4.20: line 64: D:: command not found ./patch-2.4.20: line 65: D:: command not found ./patch-2.4.20: line 66: -S:: command not found ./patch-2.4.20: line 67: -S:: command not found ./patch-2.4.20: line 68: -S:: command not found ./patch-2.4.20: line 70: N:: command not found ./patch-2.4.20: line 71: E:: command not found diff: linux-2.4.19/Documentation/BK-usage/bk-kernel-howto.txt: Datei oder Verzeichnis nicht gefunden diff: linux-2.4.20/Documentation/BK-usage/bk-kernel-howto.txt: Datei oder Verzeichnis nicht gefunden ./patch-2.4.20: line 73: ---: command not found ./patch-2.4.20: line 74: +++: command not found ./patch-2.4.20: line 75: @@: command not found ./patch-2.4.20: line 76: +: command not found ./patch-2.4.20: line 77: +: command not found ./patch-2.4.20: line 78: +: command not found ./patch-2.4.20: line 79: +: command not found ./patch-2.4.20: line 80: +: command not found ./patch-2.4.20: line 81: +: command not found ./patch-2.4.20: line 82: +This: command not found ./patch-2.4.20: line 83: +or: command not found ./patch-2.4.20: line 84: +as: command not found ./patch-2.4.20: line 85: syntax error near unexpected token `(' ./patch-2.4.20: line 85: `+user level (use on the cmd line) and at a higher level (client-server model).' könnte mir bitte jemand sagen was ich noch beachten muss damits klappt ? thx nader
nader yasseri wrote:
Ich hab mir von Kernel.org ein kernelpatch auf 2.4.19 gezogen und möchte diese auf meine 8.1 suse linux installieren und anschließend ein kernek kompilieren. Leider krieg ich aber nur fehlermeldungen , ::
linux:/usr/src/linux-2.4.19.SuSE # ./patch-2.4.20 diff: linux-2.4.19/CREDITS: Datei oder Verzeichnis nicht gefunden diff: linux-2.4.20/CREDITS: Datei oder Verzeichnis nicht gefunden ./patch-2.4.20: line 2: ---: command not found ./patch-2.4.20: line 3: +++: command not found [...] könnte mir bitte jemand sagen was ich noch beachten muss damits klappt ?
1. Du kannst mit einem Patch von www.kernel.org keine SuSE-Kernel Quellen patchen - das wird nicht funktionieren. Die Patches muessen auf die Original-Quellen von www.kernel.org angewendet werden. 2. Zum Patchen musst Du nicht den Patch ausfuehrbar machen und aufrufen, sondern das Programm "patch" anwenden, siehe "man patch". 3. Schau, dass Du den richtigen Patch verwendest, der fuer den Kernel ist, den Du hast, und der Dich dahin bringt, wohin Du moechtest - es gibt naemlich auch inkrementelle Patches usw. Gruesse, Thomson -- Thomas Hertweck, Dipl.-Geophys. Geophysikalisches Institut, Universitaet Karlsruhe (TH)
Hi Liste, hi Thomas, <snip>
könnte mir bitte jemand sagen was ich noch beachten muss damits klappt ?
1. Du kannst mit einem Patch von www.kernel.org keine SuSE-Kernel Quellen patchen - das wird nicht funktionieren. Die Patches muessen auf die Original-Quellen von www.kernel.org angewendet werden. 2. Zum Patchen musst Du nicht den Patch ausfuehrbar machen und aufrufen, sondern das Programm "patch" anwenden, siehe "man patch". 3. Schau, dass Du den richtigen Patch verwendest, der fuer den Kernel ist, den Du hast, und der Dich dahin bringt, wohin Du moechtest - es gibt naemlich auch inkrementelle Patches usw.
Viel entscheidender finde ich die Tatsache, daß man auch den richtigen GCC nutzen sollte...Oder? -- GreetingZ, Christian __________________________________________ visit http://www.linuxarea.de - .LINUX. related
Christian wrote:
<snip>
Wenn Du schon Sachen abschneidest, dann lass aber bitte die Zitateinleitungen stehen, denn so weiss nun niemand mehr, wer was in diesem Thread gesagt hat. Einen Teil habe ich deswegen nun geloescht, die Attribution-Line fuer meinen Email-Teil von Hand ergaenzt. Das ist eigentlich Deine Auf- gabe!
Thomas Hertweck wrote:
1. Du kannst mit einem Patch von www.kernel.org keine SuSE-Kernel Quellen patchen - das wird nicht funktionieren. Die Patches muessen auf die Original-Quellen von www.kernel.org angewendet werden. 2. Zum Patchen musst Du nicht den Patch ausfuehrbar machen und aufrufen, sondern das Programm "patch" anwenden, siehe "man patch". 3. Schau, dass Du den richtigen Patch verwendest, der fuer den Kernel ist, den Du hast, und der Dich dahin bringt, wohin Du moechtest - es gibt naemlich auch inkrementelle Patches usw.
Viel entscheidender finde ich die Tatsache, daß man auch den richtigen GCC nutzen sollte...Oder?
Diesen Kommentar verstehe ich nicht.... Was meinst Du mit "richtigen" Compiler? Es geht hier darum, wie man einen Patch einspielt und anwendet, was spielt denn da der Com- piler fuer eine Rolle? Uebers Compilieren wurde kein Wort verloren. Ausserdem sollte man, wie auch schon oefters er- waehnt, die Datei ./Documentation/Changes des Kernel-Baums lesen, da stehen alle noetigen Voraussetzungen drin. Der Kernel sollte sowohl mit dem GCC 2.95.3 als auch mit dem 3.2 compilieren. Und letzterer ist bei der SuSE 8.1 dabei, um die es ging. Und selbst wenn man einen aelteren Compiler hat, versuchen kann man es schon mit dem Compilieren - ob es geht haengt dann sicher davon ab, was man ab- und angewaehlt hat bei der Konfiguration. Gruesse, Thomson -- Thomas Hertweck, Geophysicist Geophysical Institute, Karlsruhe University (TH)
participants (3)
-
Christian
-
NYasseri@t-online.de
-
Thomas Hertweck