KernelSourcen Patchen

Welches Modul/Treiber für welche Hardware, Kernel compilieren...
Antworten
Benutzeravatar
SledgeHammer
Beiträge: 175
Registriert: 10.08.2003 17:32:04

KernelSourcen Patchen

Beitrag von SledgeHammer » 21.12.2003 10:49:02

Moin,
ich hab Probleme die Kernel Sourcen zu patchen mit dem dnotify.patch http://oss.sgi.com/projects/fam was muss ich genau eingeben ?

gruß Ben

Indy500
Beiträge: 380
Registriert: 18.04.2003 05:03:40

Beitrag von Indy500 » 21.12.2003 18:10:48

man patch

Olaf Dietsche
Beiträge: 520
Registriert: 12.06.2003 23:18:50
Wohnort: Siegburg

Beitrag von Olaf Dietsche » 21.12.2003 18:33:08

Normalerweise geht das so:

Code: Alles auswählen

cd /usr/src/linux
patch -p1 <dnotify.patch

Benutzeravatar
SledgeHammer
Beiträge: 175
Registriert: 10.08.2003 17:32:04

Beitrag von SledgeHammer » 21.12.2003 20:18:08

soweit war ich auch schon, aber nun weiß ich überhaupt nicht weiter,
was hat das zu bedeuten ?

Code: Alles auswählen

tsunami:/usr/src/linux# patch -p1 <dnotify.patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- fam-2.6.7/acconfig.h.dnotify       Tue Dec 18 02:03:36 2001
|+++ fam-2.6.7/acconfig.h       Sun Apr  7 18:57:41 2002
--------------------------
File to patch:

Olaf Dietsche
Beiträge: 520
Registriert: 12.06.2003 23:18:50
Wohnort: Siegburg

Beitrag von Olaf Dietsche » 22.12.2003 00:59:05

acconfig.h liegt in include/acpi. Funktioniert der patch wenn du

Code: Alles auswählen

cd /usr/src/linux/include/acpi
patch -p1 ...
machst?

Benutzeravatar
spiffi
Beiträge: 1128
Registriert: 09.08.2003 19:02:27

Beitrag von spiffi » 22.12.2003 02:32:53

Kinders, der dnotify.patch ist nicht für den Kernel gedacht, sondern für FAM.

Benutzeravatar
SledgeHammer
Beiträge: 175
Registriert: 10.08.2003 17:32:04

Beitrag von SledgeHammer » 22.12.2003 11:51:49

ohh *tut das weh* wenn man richtig lesen kann dann funtzt das auch :-)

What else might be useful?

Kernel Monitor: FAM is far more efficient if your system has a supported kernel-based file monitor such as IMon or DNotify. FAM has built-in support for IMon, and will soon officially support DNotify. Until then, you'll need to add IMon support to the Linux kernel with one of the IMon patches, or add DNotify support to FAM with the DNotify patch.

Antworten