Erro na aplicação do patch pf no kernel[RESOLVIDO]

1. Erro na aplicação do patch pf no kernel[RESOLVIDO]

César
dark777

(usa Debian)

Enviado em 31/05/2016 - 19:27h

Pessoal estou querendo instalar o kernel-pf no meu ubuntu porem esta dando erro ao aplicar
o patch do pf-kernel na arvore de codigo do kernel linux...

os arquivos se encontram no local abaixo:
root@flame:/usr/src# ls -a
.. linux-3.9.5 patch-3.9.5-pf.bz2

entrei dentro da pasta no qual vai ser aplicada o patch:
root@flame:/usr/src# cd linux-3*

e rodei o seguinte comando abaixo dando enter nas opçoes:

root@flame:/usr/src/linux-3.9.5# bzcat ../patch-3.9.5-pf.bz2 | patch -p1

patching file Documentation/kernel-parameters.txt
patching file Documentation/power/tuxonice-internals.txt
patching file Documentation/power/tuxonice.txt
patching file Documentation/powerpc/transactional_memory.txt
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file Documentation/powerpc/transactional_memory.txt.rej
patching file Documentation/scheduler/sched-BFS.txt
patching file Documentation/sysctl/kernel.txt
patching file Documentation/vm/00-INDEX
patching file Documentation/vm/uksm.txt
patching file MAINTAINERS
patching file Makefile
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
patching file arch/arc/include/asm/pgtable.h
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
5 out of 5 hunks ignored -- saving rejects to file arch/arc/include/asm/pgtable.h.rej
patching file arch/arc/include/asm/tlb.h
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file arch/arc/include/asm/tlb.h.rej
patching file arch/arc/mm/tlbex.S
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.

porem ao dar enter ele fica fazendo amesma pergunta e nao sai
disso nao apliquei nehum patch depois de descompactado o tarbal do kernel linux
sendo que no final ele da erro:

ele só fica nisso e da erro na aplicação do patch como proceder corretamente?


  


2. Re: Erro na aplicação do patch pf no kernel[RESOLVIDO]

edps
edps

(usa Slackware)

Enviado em 31/05/2016 - 21:25h

dark777 escreveu:

Pessoal estou querendo instalar o kernel-pf no meu ubuntu porem esta dando erro ao aplicar
o patch do pf-kernel na arvore de codigo do kernel linux...

os arquivos se encontram no local abaixo:
root@flame:/usr/src# ls -a
.. linux-3.9.5 patch-3.9.5-pf.bz2

entrei dentro da pasta no qual vai ser aplicada o patch:
root@flame:/usr/src# cd linux-3*

e rodei o seguinte comando abaixo dando enter nas opçoes:

root@flame:/usr/src/linux-3.9.5# bzcat ../patch-3.9.5-pf.bz2 | patch -p1

patching file Documentation/kernel-parameters.txt
patching file Documentation/power/tuxonice-internals.txt
patching file Documentation/power/tuxonice.txt
patching file Documentation/powerpc/transactional_memory.txt
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file Documentation/powerpc/transactional_memory.txt.rej
patching file Documentation/scheduler/sched-BFS.txt
patching file Documentation/sysctl/kernel.txt
patching file Documentation/vm/00-INDEX
patching file Documentation/vm/uksm.txt
patching file MAINTAINERS
patching file Makefile
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
patching file arch/arc/include/asm/pgtable.h
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
5 out of 5 hunks ignored -- saving rejects to file arch/arc/include/asm/pgtable.h.rej
patching file arch/arc/include/asm/tlb.h
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file arch/arc/include/asm/tlb.h.rej
patching file arch/arc/mm/tlbex.S
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.

porem ao dar enter ele fica fazendo amesma pergunta e nao sai
disso nao apliquei nehum patch depois de descompactado o tarbal do kernel linux
sendo que no final ele da erro:

ele só fica nisso e da erro na aplicação do patch como proceder corretamente?


Tente assim:

# bzcat ../patch-3.9.5-pf.bz2 | patch -Np1 


* acrescentada a opção N, mais em:

# patch --help 


que diz o seguinte:

-N  --forward  Ignore patches that appear to be reversed or already applied.


IntÈ!


3. Re: Erro na aplicação do patch pf no kernel[RESOLVIDO]

César
dark777

(usa Debian)

Enviado em 01/06/2016 - 16:13h

edps escreveu:

dark777 escreveu:

Pessoal estou querendo instalar o kernel-pf no meu ubuntu porem esta dando erro ao aplicar
o patch do pf-kernel na arvore de codigo do kernel linux...

os arquivos se encontram no local abaixo:
root@flame:/usr/src# ls -a
.. linux-3.9.5 patch-3.9.5-pf.bz2

entrei dentro da pasta no qual vai ser aplicada o patch:
root@flame:/usr/src# cd linux-3*

e rodei o seguinte comando abaixo dando enter nas opçoes:

root@flame:/usr/src/linux-3.9.5# bzcat ../patch-3.9.5-pf.bz2 | patch -p1

patching file Documentation/kernel-parameters.txt
patching file Documentation/power/tuxonice-internals.txt
patching file Documentation/power/tuxonice.txt
patching file Documentation/powerpc/transactional_memory.txt
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file Documentation/powerpc/transactional_memory.txt.rej
patching file Documentation/scheduler/sched-BFS.txt
patching file Documentation/sysctl/kernel.txt
patching file Documentation/vm/00-INDEX
patching file Documentation/vm/uksm.txt
patching file MAINTAINERS
patching file Makefile
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
patching file arch/arc/include/asm/pgtable.h
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
5 out of 5 hunks ignored -- saving rejects to file arch/arc/include/asm/pgtable.h.rej
patching file arch/arc/include/asm/tlb.h
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file arch/arc/include/asm/tlb.h.rej
patching file arch/arc/mm/tlbex.S
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.

porem ao dar enter ele fica fazendo amesma pergunta e nao sai
disso nao apliquei nehum patch depois de descompactado o tarbal do kernel linux
sendo que no final ele da erro:

ele só fica nisso e da erro na aplicação do patch como proceder corretamente?


Tente assim:

# bzcat ../patch-3.9.5-pf.bz2 | patch -Np1 


* acrescentada a opção N, mais em:

# patch --help 


que diz o seguinte:

-N  --forward  Ignore patches that appear to be reversed or already applied.


IntÈ!



valeu deu certo aqui ....







Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts