hello;

excuse me?

what are you talking about?

my e-mail clearly shows that the starting
kernel of rtlinux_kernel_2_3 is neither
linux-2.3.99-pre10-3 nor linux-2.4.0-test1.

if i start with linux-2.3.99-pre9 and patch
it with pre10-3 and patch the resulting linux
kernel source tree with rtlinux-3.0/kernel_patch-2.4.
the resulting kernel source tree should match
rtlinux_kernel_2_3. they do not match.

try it.

take a clean linux-2.3.99-pre9 and patch it with
pre10-3.

patch that resulting kernel source tree with
rtlinux-3.0/kernel_patch-2.4.

then run the command:

'diff -u --recursive --brief <patched linux> rtlinux_kernel_2_3'
there should be no differences between the two source trees.

there are differences.

if i start with linux-2.4.0-test1 and patch
it with rtlinux-3.0-pre8/kernel_patch-2.4
the resulting kernel source tree should match
rtlinux_kernel_2_3. they do not match. try it.

take a clean linux-2.4.0-test1 and patch it with
rtlinux-3.0-pre8/kernel_patch-2.4.

then run the command:

'diff -u --recursive --brief <patched linux> rtlinux_kernel_2_3'
there should be no differences between the two source trees.

there are differences.

finally, take rtlinux_kernel_2_3 and reverse the
rtlinux-3.0-pre8/kernel_patch-2.4.

->cd rtlinux_kernel_2_3
->patch -R -p1<../rtlinux-3.0/kernel_patch-2.4

guess what it fails.
the patch cannot be reversed.
there are three possible reasons as to why the patch cannot
be reversed.

1. the kernel_patch-2.4 being used is not the same one
   used to patch it in the first place.
2. the linux kernel source tree is not the same one used
   to generate the kernel_patch-2.4
3. all the above.

below is the output of the reverse patch:

<begin quote>
Script started on Sat Oct 28 19:07:39 2000
[root@screamer rtlinux_kernel_2_3]# patch -R -p1 <../rtlinux-3.0/kernel_patch-2.4
patching file `arch/alpha/kernel/traps.c'
Unreversed patch detected!  Ignore -R? [n] n
Apply anyway? [n] n
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to arch/alpha/kernel/traps.c.rej
patching file `arch/mips/sni/pci.c'
patching file `include/asm-mips64/system.h'
patching file `include/asm-mips64/types.h'
patching file `include/asm-i386/hw_irq.h'
patching file `arch/mips/config.in'
patching file `drivers/char/serial.c'
patching file `include/asm-i386/apic.h'
patching file `arch/alpha/kernel/alpha_ksyms.c'
Hunk #4 FAILED at 56.
Hunk #5 FAILED at 227.
2 out of 5 hunks FAILED -- saving rejects to arch/alpha/kernel/alpha_ksyms.c.rej
patching file `arch/i386/kernel/i8259.c'
patching file `arch/alpha/kernel/proto.h'
Unreversed patch detected!  Ignore -R? [n] n
Apply anyway? [n] n
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to arch/alpha/kernel/proto.h.rej
patching file `arch/mips/jazz/setup.c'
patching file `arch/i386/kernel/traps.c'
patching file `arch/ppc/kernel/head.S'
patching file `arch/i386/kernel/acpi.c'
patching file `include/asm-i386/system.h'
patching file `arch/i386/kernel/time.c'
patching file `arch/alpha/kernel/irq.c'
Hunk #1 FAILED at 563.
1 out of 3 hunks FAILED -- saving rejects to arch/alpha/kernel/irq.c.rej
patching file `drivers/sgi/char/sgiserial.c'
patching file `arch/alpha/config.in'
Hunk #1 FAILED at 52.
1 out of 1 hunk FAILED -- saving rejects to arch/alpha/config.in.rej
patching file `arch/ppc/config.in'
Unreversed patch detected!  Ignore -R? [n] n
Apply anyway? [n] n
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to arch/ppc/config.in.rej
patching file `include/asm-i386/rtlinux_cli.h'
patching file `arch/mips/sgi/kernel/indy_rtc.c'
patching file `arch/i386/kernel/rtlinux.c'
patching file `drivers/char/drm/drmP.h'
patching file `include/asm-mips64/stat.h'
patching file `arch/mips/jazz/rtc-jazz.c'
patching file `arch/mips/sni/setup.c'
patching file `arch/mips/dec/setup.c'
patching file `arch/alpha/kernel/irq_impl.h'
patching file `arch/i386/kernel/i386_ksyms.c'
patching file `arch/mips/ddb5074/pci.c'
patching file `Makefile'
Unreversed patch detected!  Ignore -R? [n] n
Apply anyway? [n] n
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to Makefile.rej
patching file `arch/mips/lib/rtc-no.c'
patching file `arch/i386/kernel/smp.c'
patching file `arch/mips64/Makefile'
patching file `arch/i386/kernel/io_apic.c'
patching file `include/asm-i386/smp.h'
patching file `arch/mips/jazz/jazzdma.c'
patching file `arch/alpha/kernel/entry.S'
Hunk #1 FAILED at 583.
Hunk #2 succeeded at 604 (offset 10 lines).
1 out of 2 hunks FAILED -- saving rejects to arch/alpha/kernel/entry.S.rej
patching file `include/asm-mips/socket.h'
patching file `arch/mips/sgi/kernel/setup.c'
patching file `arch/i386/kernel/Makefile'
patching file `include/asm-mips64/serial.h'
patching file `include/asm-mips64/sizelong.h'
patching file `include/asm-mips64/termbits.h'
patching file `arch/mips/ddb5074/setup.c'
patching file `arch/i386/kernel/entry.S'
patching file `include/asm-mips64/socket.h'
patching file `include/asm-mips/jazzdma.h'
patching file `arch/ppc/kernel/ppc_ksyms.c'
patching file `include/asm-mips64/asm.h'
patching file `drivers/sgi/char/streamable.c'
patching file `arch/mips/mm/umap.c'
patching file `drivers/sgi/char/ds1286.c'
patching file `Documentation/Configure.help'
patching file `include/asm-alpha/system.h'
patching file `arch/alpha/kernel/smp.c'
Unreversed patch detected!  Ignore -R? [n] n
Apply anyway? [n] n
Skipping patch.
4 out of 4 hunks ignored -- saving rejects to arch/alpha/kernel/smp.c.rej
patching file `arch/i386/kernel/setup.c'
patching file `include/asm-i386/rtlinux.h'
patching file `include/asm-mips/bitops.h'
patching file `arch/i386/config.in'
Hunk #1 FAILED at 2.
1 out of 1 hunk FAILED -- saving rejects to arch/i386/config.in.rej
patching file `arch/i386/kernel/irq.c'
patching file `arch/mips/lib/rtc-std.c'
[root@screamer rtlinux_kernel_2_3]# exit
Script done on Sat Oct 28 19:08:24 2000
<end   quote>

below is the output of the diff between linux-2.3.99-pre10-3
and the unpatched rtlinux_kernel_2_3:

<begin quote>
root@screamer src]# diff -u --recursive --brief linux-2.3.99-pre10-3 rtlinux_kernel_2_3

Files linux-2.3.99-pre10-3/arch/alpha/config.in and \
rtlinux_kernel_2_3/arch/alpha/config.in differ
Files linux-2.3.99-pre10-3/arch/alpha/kernel/alpha_ksyms.c and \
rtlinux_kernel_2_3/arch/alpha/kernel/alpha_ksyms.c differ
Files linux-2.3.99-pre10-3/arch/alpha/kernel/entry.S and \
rtlinux_kernel_2_3/arch/alpha/kernel/entry.S differ
Files linux-2.3.99-pre10-3/arch/alpha/kernel/irq.c and \
rtlinux_kernel_2_3/arch/alpha/kernel/irq.c differ
Files linux-2.3.99-pre10-3/arch/i386/config.in and \
rtlinux_kernel_2_3/arch/i386/config.in differ

Only in linux-2.3.99-pre10-3/include/asm-arm: arch-a5k
Only in rtlinux_kernel_2_3/arch/alpha: config.in.orig
Only in rtlinux_kernel_2_3/arch/alpha: config.in.rej
Only in rtlinux_kernel_2_3/arch/alpha/kernel: alpha_ksyms.c.orig
Only in rtlinux_kernel_2_3/arch/alpha/kernel: alpha_ksyms.c.rej
Only in rtlinux_kernel_2_3/arch/alpha/kernel: entry.S.orig
Only in rtlinux_kernel_2_3/arch/alpha/kernel: entry.S.rej
Only in rtlinux_kernel_2_3/arch/alpha/kernel: irq.c.orig
Only in rtlinux_kernel_2_3/arch/alpha/kernel: irq.c.rej
Only in rtlinux_kernel_2_3/arch/alpha/kernel: proto.h.rej
Only in rtlinux_kernel_2_3/arch/alpha/kernel: smp.c.rej
Only in rtlinux_kernel_2_3/arch/alpha/kernel: traps.c.rej
Only in rtlinux_kernel_2_3/arch/i386: config.in.orig
Only in rtlinux_kernel_2_3/arch/i386: config.in.rej
Only in rtlinux_kernel_2_3/arch/ppc: config.in.rej
Only in rtlinux_kernel_2_3: Makefile.rej
<end   quote>

below is the diff of a patched linux-2.3.99-pre10-3 and
the original rtlinux_kernel_2_3.

<begin quote>
[root@screamer src]# diff -u --recursive --brief linux-2.3.99-pre10-3 
rtlinux_kernel_2_3
Files linux-2.3.99-pre10-3/Makefile and \
rtlinux_kernel_2_3/Makefile differ
Files linux-2.3.99-pre10-3/arch/alpha/config.in and \
rtlinux_kernel_2_3/arch/alpha/config.in differ
Files linux-2.3.99-pre10-3/arch/alpha/kernel/alpha_ksyms.c and \
rtlinux_kernel_2_3/arch/alpha/kernel/alpha_ksyms.c differ
Files linux-2.3.99-pre10-3/arch/alpha/kernel/entry.S and \
rtlinux_kernel_2_3/arch/alpha/kernel/entry.S differ
Files linux-2.3.99-pre10-3/arch/alpha/kernel/irq.c and \
rtlinux_kernel_2_3/arch/alpha/kernel/irq.c differ
Files linux-2.3.99-pre10-3/arch/alpha/kernel/proto.h and \
rtlinux_kernel_2_3/arch/alpha/kernel/proto.h differ
Files linux-2.3.99-pre10-3/arch/alpha/kernel/smp.c and \
rtlinux_kernel_2_3/arch/alpha/kernel/smp.c differ
Files linux-2.3.99-pre10-3/arch/alpha/kernel/traps.c and \
rtlinux_kernel_2_3/arch/alpha/kernel/traps.c differ
Files linux-2.3.99-pre10-3/arch/i386/config.in and \
rtlinux_kernel_2_3/arch/i386/config.in differ
Files linux-2.3.99-pre10-3/arch/ppc/config.in and \
rtlinux_kernel_2_3/arch/ppc/config.in differ

Only in linux-2.3.99-pre10-3/include/asm-arm: arch-a5k
[root@screamer src]# 
<end   quote>

On Sat, 28 Oct 2000, Cort Dougan wrote:

terrylr wrote:
terrylr> i ran several test yesterday and below are the results.
terrylr> the results clearly show that rtlinux_kernel_2_3.tar.gz
terrylr> is neither a patched linux-2.3.99-pre10-3 nor patched
terrylr> linux-2.4.0-test1 kernel.

cort> 
cort> Your email doesn't show this at all.
cort> 
cort> The tree is v2.3.99-pre10 as well as 2.4.0-test1 (there are several
cort> variants of 2.4.0-test1).
cort> 

-- 
Terry L. Ridder
Blue Danube Software (Blaue Donau Software)
"We do not write software, we compose it."

digging deep, i feel my conscience burn
i need to know who and what i am
this hunger jolts me from complacency
rocks me, makes me meet myself
----kendall payne---closer to myself---

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to