Newsgroup: it.comp.os.linux.iniziare
Titolo: Difficoltà nell'uso della preemptive  patch con Suse 8.1

Ho una Suse 8.1 su computer equipaggiato con AMD K6-II ed ho provato ad 
applicare la preemptive patch usando il file
	preempt-kernel-rml-2.4.19-2.patch
scaricato dal sito 
http://www.tech9.net/rml/linux/
.
Il risultato č stata la sequenza di messaggi che riporto in seguito da 
cui risulta che molte operazioni di aggiornamento sono fallite.
Verificando i vari .rej ho constatato che riguardano porzioni di codice 
che hanno a che fare con sistemi multiprocessore.
1. Il problema puņ essere dovuto al fatto che la versione del kernel 
della Suse 8.1 č la 2.4.19-4GB e non la 2.4.19-2 indicata nella patch?
2. Posso continuare la ricompilazione del kernel patchato senza 
rischiare di compromettere il sistema?
Grazie a chi vorrą rispondermi.
Tonio Tanzi
*******************************
***    Messaggi ottenuti    ***
*******************************
patching file linux/CREDITS
patching file linux/Documentation/Configure.help
Hunk #1 FAILED at 266.
1 out of 1 hunk FAILED -- saving rejects to file
linux/Documentation/Configure.help.rej
patching file linux/Documentation/preempt-locking.txt
patching file linux/MAINTAINERS
Hunk #1 succeeded at 1324 (offset 39 lines).
patching file linux/arch/arm/
config.in
Hunk #1 succeeded at 370 (offset -2 lines).
patching file linux/arch/arm/kernel/entry-armv.S
patching file linux/arch/arm/tools/getconstants.c
patching file linux/arch/i386/
config.in
Hunk #1 succeeded at 206 (offset 18 lines).
Hunk #2 FAILED at 220.
1 out of 2 hunks FAILED -- saving rejects to file 
linux/arch/i386/config.in.rej
patching file linux/arch/i386/kernel/entry.S
Hunk #2 succeeded at 79 with fuzz 2.
Hunk #3 succeeded at 303 (offset 36 lines).
Hunk #4 succeeded at 363 (offset 36 lines).
Hunk #5 succeeded at 385 (offset 36 lines).
patching file linux/arch/i386/kernel/i387.c
patching file linux/arch/i386/kernel/smp.c
Hunk #1 succeeded at 373 (offset 16 lines).
Hunk #2 succeeded at 400 (offset 16 lines).
Hunk #3 succeeded at 451 (offset 16 lines).
Hunk #4 succeeded at 475 (offset 16 lines).
Hunk #5 succeeded at 494 (offset 16 lines).
patching file linux/arch/i386/kernel/traps.c
Hunk #1 succeeded at 929 (offset 196 lines).
patching file linux/arch/i386/lib/dec_and_lock.c
patching file linux/arch/mips/
config.in
Hunk #1 succeeded at 507 (offset -1 lines).
patching file linux/arch/mips/kernel/i8259.c
patching file linux/arch/mips/kernel/irq.c
patching file linux/arch/mips/mm/extable.c
patching file linux/arch/ppc/
config.in
Hunk #1 succeeded at 107 (offset -2 lines).
patching file linux/arch/ppc/kernel/entry.S
Hunk #1 succeeded at 279 (offset 2 lines).
patching file linux/arch/ppc/kernel/irq.c
patching file linux/arch/ppc/kernel/mk_defs.c
Hunk #1 succeeded at 41 (offset -1 lines).
patching file linux/arch/ppc/kernel/setup.c
patching file linux/arch/ppc/lib/dec_and_lock.c
patching file linux/arch/sh/
config.in
Hunk #1 succeeded at 122 (offset -2 lines).
patching file linux/arch/sh/kernel/entry.S
patching file linux/arch/sh/kernel/irq.c
patching file linux/drivers/ieee1394/csr.c
patching file linux/drivers/sound/sound_core.c
patching file linux/fs/adfs/map.c
patching file linux/fs/exec.c
Hunk #1 succeeded at 434 (offset 14 lines).
patching file linux/fs/fat/cache.c
patching file linux/fs/lockd/svc.c
patching file linux/fs/nls/nls_base.c
patching file linux/include/asm-arm/dma.h
patching file linux/include/asm-arm/hardirq.h
patching file linux/include/asm-arm/pgalloc.h
patching file linux/include/asm-arm/smplock.h
patching file linux/include/asm-arm/softirq.h
patching file linux/include/asm-arm/system.h
patching file linux/include/asm-i386/hardirq.h
Hunk #1 succeeded at 23 (offset 4 lines).
Hunk #2 succeeded at 44 (offset 4 lines).
patching file linux/include/asm-i386/highmem.h
Hunk #1 succeeded at 97 (offset 9 lines).
Hunk #2 succeeded at 119 (offset 9 lines).
Hunk #3 succeeded at 134 with fuzz 1 (offset 9 lines).
patching file linux/include/asm-i386/hw_irq.h
Hunk #1 succeeded at 99 (offset 4 lines).
Hunk #2 succeeded at 124 (offset 4 lines).
patching file linux/include/asm-i386/i387.h
patching file linux/include/asm-i386/pgalloc.h
Hunk #1 succeeded at 86 (offset 11 lines).
Hunk #2 FAILED at 136.
1 out of 2 hunks FAILED -- saving rejects to file
linux/include/asm-i386/pgalloc.h.rej
patching file linux/include/asm-i386/smplock.h
patching file linux/include/asm-i386/softirq.h
patching file linux/include/asm-i386/spinlock.h
patching file linux/include/asm-i386/system.h
Hunk #1 succeeded at 347 (offset 30 lines).
patching file linux/include/asm-mips/smplock.h
patching file linux/include/asm-mips/softirq.h
patching file linux/include/asm-mips/system.h
patching file linux/include/asm-ppc/dma.h
patching file linux/include/asm-ppc/hardirq.h
patching file linux/include/asm-ppc/highmem.h
patching file linux/include/asm-ppc/hw_irq.h
patching file linux/include/asm-ppc/mmu_context.h
patching file linux/include/asm-ppc/pgalloc.h
patching file linux/include/asm-ppc/smplock.h
patching file linux/include/asm-ppc/softirq.h
patching file linux/include/asm-sh/hardirq.h
patching file linux/include/asm-sh/smplock.h
patching file linux/include/asm-sh/softirq.h
patching file linux/include/asm-sh/system.h
patching file linux/include/linux/brlock.h
Hunk #1 succeeded at 172 (offset 1 line).
patching file linux/include/linux/dcache.h
Hunk #1 succeeded at 128 (offset 2 lines).
Hunk #2 succeeded at 253 (offset 3 lines).
patching file linux/include/linux/fs_struct.h
patching file linux/include/linux/sched.h
Hunk #1 succeeded at 95 (offset 4 lines).
Hunk #2 succeeded at 161 (offset 3 lines).
Hunk #3 succeeded at 329 (offset 36 lines).
Hunk #4 FAILED at 371.
Hunk #5 succeeded at 996 with fuzz 1 (offset 47 lines).
1 out of 5 hunks FAILED -- saving rejects to file
linux/include/linux/sched.h.rej
patching file linux/include/linux/smp_lock.h
patching file linux/include/linux/spinlock.h
Hunk #3 succeeded at 75 with fuzz 1 (offset -7 lines).
Hunk #4 succeeded at 133 with fuzz 1 (offset -12 lines).
patching file linux/include/linux/tqueue.h
Hunk #1 succeeded at 95 (offset 1 line).
Hunk #2 succeeded at 126 (offset 1 line).
patching file linux/kernel/exit.c
Hunk #1 succeeded at 379 (offset 52 lines).
Hunk #2 succeeded at 501 (offset 52 lines).
patching file linux/kernel/fork.c
Hunk #1 succeeded at 703 (offset 74 lines).
patching file linux/kernel/ksyms.c
Hunk #1 succeeded at 511 with fuzz 1 (offset 65 lines).
patching file linux/kernel/sched.c
Hunk #1 FAILED at 491.
Hunk #2 FAILED at 521.
Hunk #3 FAILED at 534.
Hunk #4 FAILED at 554.
Hunk #5 succeeded at 807 with fuzz 2 (offset 222 lines).
Hunk #6 FAILED at 825.
Hunk #7 FAILED at 936.
Hunk #8 FAILED at 1569.
7 out of 8 hunks FAILED -- saving rejects to file linux/kernel/sched.c.rej
patching file linux/lib/dec_and_lock.c
patching file linux/mm/slab.c
patching file linux/net/core/dev.c
Hunk #1 succeeded at 1083 (offset 49 lines).
patching file linux/net/core/skbuff.c
patching file linux/net/socket.c
Hunk #1 succeeded at 135 (offset 3 lines).
patching file linux/net/sunrpc/pmap_clnt.c
patching file linux/net/sunrpc/sched.c
Hunk #1 succeeded at 1095 (offset -2 lines).

 rischiare di compromettere il sistema?
Un kernel patchato male, può dare dei grossi problemi.
La prossima volta, prova prima con l'opzione --dry-run così vedi
l'effetto della patch senza compromettere nulla.
Ciao.
-- 
***  Per E-mail rimuovi ModE dall'indirizzo  ***
  *** Linux user # 198661 --- ICQ 33500725 ***
*** homepage 
http://web.tiscalinet.it/kailed
 ***
            *** Powered by Linux ***

 rischiare di compromettere il sistema?
Certo, ma probabilmente la compilazione non andra' a buon fine; comunque il
'sistema' non viene compromesso.
Scusami ma non ti conviene scaricare i sorgenti vanilla del kernel
(
kernel.org
) e cercare una patch da applicare ai sorgenti generali?
Ciao
-- 
Sono un servitore del Fuoco Segreto, e reggo la fiamma di Anor.
A nulla ti servira' il fuoco oscuro, fiamma di Udun.
Torna nell'Ombra! Non puoi passare.