From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <44732162.8050606@domain.hid> Date: Tue, 23 May 2006 16:51:14 +0200 From: Philippe Gerum MIME-Version: 1.0 Subject: Re: [Xenomai-help] Almost running - kernel BUG in add_preempt_count at kernel/sched.c:2819! References: <447231CC.9080708@domain.hid> In-Reply-To: <447231CC.9080708@domain.hid> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: wallace@domain.hid Cc: xenomai@xenomai.org, jan.kiszka@domain.hid, Jim.Rosenow@domain.hid Gary Wallace wrote: > I've attached first the config file used without the motorola > patches, and then the config file used with a motorola patched > kernel. Try this: --- arch/ppc/boot/Makefile~ 2006-01-31 07:52:07.000000000 +0100 +++ arch/ppc/boot/Makefile 2006-05-23 16:49:46.000000000 +0200 @@ -13,6 +13,14 @@ CFLAGS += -fno-builtin -D__BOOTER__ -Iarch/$(ARCH)/boot/include HOSTCFLAGS += -Iarch/$(ARCH)/boot/include +ifdef CONFIG_IPIPE_TRACE +# do not trace the boot loader +nullstring := +space := $(nullstring) # end of the line +pg_flag = $(nullstring) -pg # end of the line +CFLAGS := $(subst ${pg_flag},${space},${CFLAGS}) +endif + BOOT_TARGETS = zImage zImage.initrd znetboot znetboot.initrd bootdir-y := simple -- Philippe.