Jan Kiszka wrote:

> Philippe,
>
> have you had to adopt any tracer-related code while switching to 2.6.20?
> The same .config that worked fine for 2.6.19 doesn't boot here on
> 2.6.20. The kernel hangs during or after decompression. Disabling the
> tracer resolves this.
>   

I had a look at latest -rt and found some new change (which turned out
to be a hack). Playing with it, I understood its motivation (avoid
instrumentation of the decompressor). Here comes a cleaner variant for
2.6.20 (all archs). Tracer boots fine again. :)

Jan


Index: linux-2.6.20/arch/i386/boot/compressed/Makefile
===================================================================
--- linux-2.6.20.orig/arch/i386/boot/compressed/Makefile
+++ linux-2.6.20/arch/i386/boot/compressed/Makefile
@@ -9,6 +9,7 @@ targets         := vmlinux vmlinux.bin vmlinux.
 EXTRA_AFLAGS   := -traditional
 
 LDFLAGS_vmlinux := -T
+CFLAGS := $(subst -pg,,$(CFLAGS))
 CFLAGS_misc.o += -fPIC
 hostprogs-y    := relocs
 


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Adeos-main mailing list
[email protected]
https://mail.gna.org/listinfo/adeos-main

Reply via email to