All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Giammarco Zacheo <g.zacheo@domain.hid>
Cc: xenomai-help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] Error while building Xenomai on Powerpc with	instrument function entries enabled
Date: Mon, 06 Oct 2008 15:22:47 +0200	[thread overview]
Message-ID: <48EA1127.6030405@domain.hid> (raw)
In-Reply-To: <b054e88e0810060529u7c5189qd2853385e7ac64ce@domain.hid>

Giammarco Zacheo wrote:
> I can confirm that with vmalloc'ed buffers it hangs anyhow.
>

The issue you face is typical from the internal mcount() call referring to
unmapped memory in early boot code. Some routine there lacks a "notrace"
specifier. Finding it will require some work.

> Giammarco
> 
> On Fri, Oct 3, 2008 at 8:29 PM, Giammarco Zacheo <g.zacheo@domain.hid
> <mailto:g.zacheo@domain.hid>> wrote:
> 
>     I'm quite sure it was enabled. I will confirm it on Monday.
> 
>     Giammarco
> 
> 
>     On Fri, Oct 3, 2008 at 8:19 PM, Gilles Chanteperdrix
>     <gilles.chanteperdrix@xenomai.org
>     <mailto:gilles.chanteperdrix@xenomai.org>> wrote:
> 
>         Giammarco Zacheo wrote:
>         > I was wrong. I am able to compile the kernel, but it hangs
>         very early,
>         > giving this output:
>         >
>         > zImage starting: loaded at 0x00400000 (sp: 0x017ffe50)
>         > Allocating 0x590acc bytes for kernel ...
>         > OF version = 'EFIKA5K2,1.3'
>         > gunzipping (0x01800000 <- 0x00407000:0x00619b3b)...done
>         0x4cd39c bytes
>         >
>         > Linux/PowerPC load: root=/dev/nfs rw
>         nfsroot=192.168.10.122:/opt/eldk/ppc_6xx
>         > ip=dhcp console=ttyPSC0
>         > Finalizing device tree... using OF tree (promptr=01003ed8)
>         > cpu_exception:
>         > SRR0 0x0180B338 SRR1  0x00043030 MSR  0x00003030
>         > LR   0x01C704B4 CTR   0x01800000 CR   0x42002042   XER 0x0
>         > DAR  0x00000000 DSISR 0x00000000 Type 2
>         > GPR[] 0x40000000 0x017FFE20 0x00000000 0x41820014 0x01C704B4
>         0x42002042
>         > 0xC04D0000 0x017FFD90
>         > GPR[] 0x00000001 0x00625C04 0x07C00008 0x07C00008 0x42002044
>         0x1004A33C
>         > 0x01C647A0 0x017FFC2C
>         > GPR[] 0x01BDCA4C 0x01BDCA6C 0x01BF66C4 0x01BDCA78 0x08000000
>         0x01BDCA10
>         > 0xFFFFFFFF 0x07C53FC8
>         > GPR[] 0x01800000 0x00590ACC 0x07C548A8 0x00000000 0x00000000
>         0x004062C8
>         > 0x0040E134 0x00000000
>         > ibat0U 0x00001FFF ibat0L 0x00000012
>         > ibat1U 0xF0001FFF ibat1L 0xF0000012
>         > ibat2U 0x00000000 ibat2L 0x00000000
>         > ibat3U 0x00000000 ibat3L 0x00000000
>         > dbat0U 0xF0001FFF dbat0L 0xF000002A
>         > dbat1U 0x80001FFF dbat1L 0x8000002A
>         > dbat2U 0x00001FFF dbat2L 0x00000012
>         > dbat3U 0xC0001FFF dbat3L 0xC000002A
>         > HID0 0x0000C000
>         > deadend:
>         >
>         > Any hint about?
> 
>         Did you try using vmalloc for the tracer logs ?
> 
> 
>         --
>                                                    Gilles.
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help


-- 
Philippe.


  reply	other threads:[~2008-10-06 13:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-29 14:35 [Xenomai-help] Error while building Xenomai on Powerpc with instrument function entries enabled Giammarco Zacheo
     [not found] ` <48E3541E.8090808@domain.hid>
2008-10-02 15:07   ` Giammarco Zacheo
2008-10-03 16:57   ` Giammarco Zacheo
2008-10-03 18:19     ` Gilles Chanteperdrix
     [not found]       ` <b054e88e0810031129o1638c19cr1a1d096da5169aee@domain.hid>
2008-10-06 12:29         ` Giammarco Zacheo
2008-10-06 13:22           ` Philippe Gerum [this message]
2008-10-06 13:28             ` Giammarco Zacheo
2008-10-07 11:43               ` Philippe Gerum
2008-10-07 11:45                 ` Philippe Gerum
     [not found]                   ` <b054e88e0810070639w1e2feb84i693c1dc0621f2dad@domain.hid>
2008-10-07 13:50                     ` 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=48EA1127.6030405@domain.hid \
    --to=rpm@xenomai.org \
    --cc=g.zacheo@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.