Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C67F33.FB8CA2D9" Subject: RE: [Xenomai-help] Almost running - kernel BUG in add_preempt_countat kernel/sched.c:2819! Date: Wed, 24 May 2006 08:11:44 -0500 Message-ID: References: <447231CC.9080708@domain.hid><44732162.8050606@domain.hid><200605232248.k4NMmtqC024042@domain.hid> <447404E7.3030804@domain.hid> From: "Kharche, Harshad" List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Philippe Gerum , wallace@domain.hid Cc: xenomai@xenomai.org, jan.kiszka@domain.hid, "Rosenow, Jim" This is a multi-part message in MIME format. ------_=_NextPart_001_01C67F33.FB8CA2D9 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I got the same error when i applied the patch and changed = CONFIG_IPIPE_TRACE_SHIFT to 12 or 10. =20 Uncompressing Linux...inflate returned FFFFFFFB exit =20 - Harshad ________________________________ From: xenomai-help-bounces@domain.hid on behalf of Philippe Gerum Sent: Wed 5/24/2006 2:01 AM To: wallace@domain.hid Cc: xenomai@xenomai.org; jan.kiszka@domain.hid; Rosenow, Jim Subject: Re: [Xenomai-help] Almost running - kernel BUG in = add_preempt_countat kernel/sched.c:2819! Gary Wallace wrote: > Thanks for the Makefile patch. The kernel successfully compiles > with the tracer enabled after applying this. Unfortunately I am now > getting a different error at boot time. > > The image file downloads and starts executing but fails with: > > Uncompressing Linux...inflate returned FFFFFFFB > exit Try lowering CONFIG_IPIPE_TRACE_SHIFT to 12. > > Gary > > ------------------------------------ > > >>Date: Tue, 23 May 2006 16:51:14 +0200 >>From: Philippe Gerum >> >>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 +=3D -fno-builtin -D__BOOTER__ = -Iarch/$(ARCH)/boot/include >> HOSTCFLAGS +=3D -Iarch/$(ARCH)/boot/include >> >>+ifdef CONFIG_IPIPE_TRACE >>+# do not trace the boot loader >>+nullstring :=3D >>+space :=3D $(nullstring) # end of the line >>+pg_flag =3D $(nullstring) -pg # end of the line >>+CFLAGS :=3D $(subst ${pg_flag},${space},${CFLAGS}) >>+endif >>+ >> BOOT_TARGETS =3D zImage zImage.initrd znetboot znetboot.initrd >> >> bootdir-y :=3D simple >> >>-- >> >>Philippe. >> > > -- Philippe. _______________________________________________ Xenomai-help mailing list Xenomai-help@domain.hid https://mail.gna.org/listinfo/xenomai-help ------_=_NextPart_001_01C67F33.FB8CA2D9 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable =0A= =0A= =0A= =0A= =0A= =0A= Re: [Xenomai-help] Almost running - kernel BUG in = add_preempt_countat kernel/sched.c:2819!=0A= =0A= =0A=
I = got the same error =0A= when i applied the patch and changed CONFIG_IPIPE_TRACE_SHIFT to =0A= 12 or 10.
=0A=
 
=0A=
    Uncompressing = Linux...inflate =0A= returned FFFFFFFB
   exit
=0A=
 
=0A=
- Harshad
=0A=

=0A=
=0A=
=0A=
=0A=
From: = xenomai-help-bounces@domain.hid =0A= on behalf of Philippe Gerum
Sent: Wed 5/24/2006 2:01 = AM
To: =0A= wallace@domain.hid
Cc: xenomai@xenomai.org; = jan.kiszka@domain.hid; =0A= Rosenow, Jim
Subject: Re: [Xenomai-help] Almost running - = kernel BUG =0A= in add_preempt_countat kernel/sched.c:2819!

=0A=
=0A=

Gary Wallace wrote:
>   Thanks for the = Makefile =0A= patch.  The kernel successfully compiles
> with the tracer = enabled =0A= after applying this.  Unfortunately I am now
> getting a = different =0A= error at boot time.
>
>   The image file downloads = and =0A= starts executing but fails with:
>
> Uncompressing = Linux...inflate =0A= returned FFFFFFFB
> exit

Try lowering = CONFIG_IPIPE_TRACE_SHIFT to =0A= 12.

>
> Gary
>
> =0A= ------------------------------------
>
>
>>Date: = Tue, 23 =0A= May 2006 16:51:14 +0200
>>From: Philippe Gerum =0A= <rpm@xenomai.org>
>>
>>Gary Wallace =0A= wrote:
>>
>>>  I've attached first the config = file =0A= used without the motorola
>>>patches, and then the config = file used =0A= with a motorola = patched
>>>kernel.
>>
>>Try =0A= this:
>>
>>--- arch/ppc/boot/Makefile~   = 2006-01-31 =0A= 07:52:07.000000000 +0100
>>+++ = arch/ppc/boot/Makefile    =0A= 2006-05-23 16:49:46.000000000 +0200
>>@@ -13,6 +13,14 = @@
>> =0A= CFLAGS        =0A=        +=3D -fno-builtin -D__BOOTER__ =0A= -Iarch/$(ARCH)/boot/include
>> HOSTCFLAGS   +=3D =0A= -Iarch/$(ARCH)/boot/include
>>
>>+ifdef =0A= CONFIG_IPIPE_TRACE
>>+# do not trace the boot =0A= loader
>>+nullstring = :=3D
>>+space      =0A= :=3D $(nullstring) # end of the = line
>>+pg_flag     =3D =0A= $(nullstring) -pg # end of the = line
>>+CFLAGS     =0A= :=3D $(subst =0A= ${pg_flag},${space},${CFLAGS})
>>+endif
>>+
>>= =0A= BOOT_TARGETS =3D zImage zImage.initrd znetboot =0A= znetboot.initrd
>>
>> bootdir-y    =0A=         =0A=         :=3D =0A= simple
>>
>>--
>>
>>Philippe.
>= >
>
>


--

Philippe.

______________= _________________________________
Xenomai-help =0A= mailing list
Xenomai-help@domain.hid
https://mail.gna.org/= listinfo/xenomai-help

=0A= =0A= =0A= ------_=_NextPart_001_01C67F33.FB8CA2D9--