From: Jan Kiszka <jan.kiszka@domain.hid>
To: Philippe Gerum <rpm@xenomai.org>, wallace@domain.hid
Cc: xenomai@xenomai.org, Jim.Rosenow@domain.hid
Subject: Re: [Xenomai-help] Almost running - kernel BUG in add_preempt_count at kernel/sched.c:2819!
Date: Sat, 20 May 2006 19:55:15 +0200 [thread overview]
Message-ID: <446F5803.8030607@domain.hid> (raw)
In-Reply-To: <200605192019.k4JKJJFN007810@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 3069 bytes --]
Gary Wallace wrote:
> My story is the same as Jim's except I used 2.6.16.6 and a gcc 3.3.3
> cross compiler. The ipipe patch applies just fine after the motorola
> patch. Building with ipipe disabled results in a kernel that boots
> and runs just fine. When ipipe is enabled, I sometimes get the error
> Jim received, sometimes the kernel just hangs. There is never a stack
> trace on the console. I've tried ipipe versions 1.2-01, 1.2-03,
> 1.3-00, 1.3-02, and 1.3-03, all with the same results (either the
> kernel hangs or I get the kernel BUG error).
>
> I haven't been able to get the board to boot without using the
> motorola patch.
>
> I have tried building with ipipe-tracer, but this results in compile
> errors (the tracer patch applies just fine). Here are the compile
> errors when ipipe-tracer is enabled:
>
> # make
> CHK include/linux/version.h
> CHK include/linux/compile.h
> CHK usr/initramfs_list
> UIMAGE arch/ppc/boot/images/uImage
> "mkimage" command not found - U-Boot images will not be built
> Image: arch/ppc/boot/images/uImage not made
> AS arch/ppc/boot/simple/head.o
> AS arch/ppc/boot/simple/relocate.o
> CC arch/ppc/boot/simple/misc.o
> CC arch/ppc/boot/simple/misc-mv64x60.o
> powerpc-750-linux-gnu-objcopy -O elf32-powerpc \
> --add-section=.image=arch/ppc/boot/images/vmlinux.gz \
> --set-section-flags=.image=contents,alloc,load,readonly,data \
> arch/ppc/boot/simple/dummy.o arch/ppc/boot/simple/image.o
> powerpc-750-linux-gnu-ld -T /usr/src/linux-2.6.14.6-ppc/arch/ppc/boot/ld.script -Ttext 0x00800000 -Bstatic -o arch/ppc/boot/simple/zvmlinux arch/ppc/boot/simple/head.o arch/ppc/boot/simple/relocate.o arch/ppc/boot/simple/misc.o arch/ppc/boot/simple/misc-mv64x60.o arch/ppc/boot/simple/image.o arch/ppc/boot/common/lib.a arch/ppc/boot/lib/lib.a
> arch/ppc/boot/simple/misc.o(.text+0x10): In function `get_mem_size':
> arch/ppc/boot/simple/misc.c:87: undefined reference to `_mcount'
> arch/ppc/boot/simple/misc.o(.text+0x54): In function `decompress_kernel':
> arch/ppc/boot/simple/misc.c:93: undefined reference to `_mcount'
> arch/ppc/boot/simple/misc.o(.text+0x4b8): In function `board_isa_init':
> arch/ppc/boot/simple/misc.c:274: undefined reference to `_mcount'
> arch/ppc/boot/simple/misc.o(.text+0x4f8): In function `load_kernel':
> arch/ppc/boot/simple/misc.c:281: undefined reference to `_mcount'
> arch/ppc/boot/simple/misc-mv64x60.o(.text+0x10): In function `mv64360_get_mem_size':
> arch/ppc/boot/simple/misc-mv64x60.c:31: undefined reference to `_mcount'
> arch/ppc/boot/simple/misc-mv64x60.o(.text+0xbc):arch/ppc/boot/simple/misc-mv64x60.c:51: more undefined references to `_mcount' follow
> make[2]: *** [arch/ppc/boot/simple/zvmlinux] Error 1
> make[1]: *** [simple] Error 2
> make: *** [zImage] Error 2
> #
>
Philippe, can you comment on this? I do not have an PPC build
environment at hand.
@Gary: Do you get the same error without the Motorola patch?
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]
next prev parent reply other threads:[~2006-05-20 17:55 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-19 18:28 [Xenomai-help] Almost running - kernel BUG in add_preempt_count at kernel/sched.c:2819! Rosenow, Jim
2006-05-19 19:48 ` Jan Kiszka
2006-05-19 20:19 ` Gary Wallace
2006-05-20 17:55 ` Jan Kiszka [this message]
2006-05-20 21:11 ` Philippe Gerum
2006-05-22 19:25 ` Gary Wallace
2006-05-22 21:29 ` Philippe Gerum
-- strict thread matches above, loose matches on Subject: below --
2006-05-22 21:49 Gary Wallace
2006-05-23 7:32 ` Philippe Gerum
2006-05-23 9:24 ` Philippe Gerum
2006-05-23 14:51 ` Philippe Gerum
2006-05-23 22:48 ` Gary Wallace
2006-05-24 7:01 ` Philippe Gerum
2006-05-19 17:50 Rosenow, Jim
2006-05-19 18:05 ` Jan Kiszka
2006-05-19 18:19 ` Gary Wallace
2006-05-19 21:22 ` Philippe Gerum
2006-05-20 14:59 ` Philippe Gerum
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=446F5803.8030607@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=Jim.Rosenow@domain.hid \
--cc=rpm@xenomai.org \
--cc=wallace@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.