public inbox for linux-sh@vger.kernel.org
 help / color / mirror / Atom feed
* currect MigoR seems doesn't work
@ 2009-09-29  5:59 Kuninori Morimoto
  2009-09-29  7:58 ` Magnus Damm
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Kuninori Morimoto @ 2009-09-29  5:59 UTC (permalink / raw)
  To: linux-sh


Hi

currect MigoR seems doesn't work now.
And I can not disassemble it.
why ?

I used CROSS_COMPILE=sh3-linux- for make
and I used ${LINUX}/arch/sh/configs/migor_defconfig
my kernel is latest Paul's git
 => fe1dbfd3f992d5432d7463a5bd6c2fc96d3eccd8

--------------------
> sh3-linux-objdump -d vmlinux > asm
zsh: abort      sh3-linux-objdump -d vmlinux

> sh3-linux-objdump -d vmlinux
...
8c002038 <stack_start>:
8c002038:	00 c0       	mov.b	r0,@(0,gbr)
8c00203a:	32 8c       	ldrs	8c0020a2 <do_one_initcall+0x42>	! 0x2118
8c00203c:	00 00       	.word 0x0000
8c00203e:	38 8c       	ldrs	8c0020b2 <do_one_initcall+0x52>	! 0xd051
8c002040:	20 ce       	xor.b	#32,@(r0,gbr)
8c002042:	3b 8c       	ldrs	8c0020bc <do_one_initcall+0x5c>	! 0x1f2
8c002044:	40 a7       	bra	8c002ec8 <name_to_dev_t+0xb68>
8c002046:	35 8c       	ldrs	8c0020b4 <do_one_initcall+0x54>	! 0xd44f
8c002048:	zsh: abort      sh3-linux-objdump -d vmlinux
--------------------

Best regards
--
Kuninori Morimoto
 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: currect MigoR seems doesn't work
  2009-09-29  5:59 currect MigoR seems doesn't work Kuninori Morimoto
@ 2009-09-29  7:58 ` Magnus Damm
  2009-09-29  9:26 ` Kuninori Morimoto
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Magnus Damm @ 2009-09-29  7:58 UTC (permalink / raw)
  To: linux-sh

Hi Morimoto-san,

On Tue, Sep 29, 2009 at 2:59 PM, Kuninori Morimoto
<morimoto.kuninori@renesas.com> wrote:
>> sh3-linux-objdump -d vmlinux > asm
> zsh: abort      sh3-linux-objdump -d vmlinux

Last time i checked objdump was broken with dsp instructions.
Disabling dsp support in the kernel should solve the issue short term.

cheers,

/ magnus

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: currect MigoR seems doesn't work
  2009-09-29  5:59 currect MigoR seems doesn't work Kuninori Morimoto
  2009-09-29  7:58 ` Magnus Damm
@ 2009-09-29  9:26 ` Kuninori Morimoto
  2009-09-30  2:20 ` Kuninori Morimoto
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Kuninori Morimoto @ 2009-09-29  9:26 UTC (permalink / raw)
  To: linux-sh


Hi Magnus

Thank you for comment

> Last time i checked objdump was broken with dsp instructions.
> Disabling dsp support in the kernel should solve the issue short term.

OK. if I remove DSP from .config,
I can use objdump !!

But MigoR still doesn't work now.
I need debug for it...

Thank you again

Best regards
--
Kuninori Morimoto

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: currect MigoR seems doesn't work
  2009-09-29  5:59 currect MigoR seems doesn't work Kuninori Morimoto
  2009-09-29  7:58 ` Magnus Damm
  2009-09-29  9:26 ` Kuninori Morimoto
@ 2009-09-30  2:20 ` Kuninori Morimoto
  2009-09-30  2:24 ` Paul Mundt
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Kuninori Morimoto @ 2009-09-30  2:20 UTC (permalink / raw)
  To: linux-sh


Hi

> But MigoR still doesn't work now.
> I need debug for it...

I searched MigoR dead process.
But I'm not sure why.

start_kernel
 setup_arch
  setup_memory
   setup_bootmem_allocator
    for()
      reserve_bootmem (when i=2 I think)
       mark_bootmem
        BUG()          <= dead here and reboot MigoR

Best regards
--
Kuninori Morimoto
 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: currect MigoR seems doesn't work
  2009-09-29  5:59 currect MigoR seems doesn't work Kuninori Morimoto
                   ` (2 preceding siblings ...)
  2009-09-30  2:20 ` Kuninori Morimoto
@ 2009-09-30  2:24 ` Paul Mundt
  2009-09-30  2:46 ` Kuninori Morimoto
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Paul Mundt @ 2009-09-30  2:24 UTC (permalink / raw)
  To: linux-sh

On Wed, Sep 30, 2009 at 11:20:31AM +0900, Kuninori Morimoto wrote:
> > But MigoR still doesn't work now.
> > I need debug for it...
> 
> I searched MigoR dead process.
> But I'm not sure why.
> 
> start_kernel
>  setup_arch
>   setup_memory
>    setup_bootmem_allocator
>     for()
>       reserve_bootmem (when i=2 I think)
>        mark_bootmem
>         BUG()          <= dead here and reboot MigoR
> 
Do you have NUMA support enabled? It's possible the LMB changes impacted
that.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: currect MigoR seems doesn't work
  2009-09-29  5:59 currect MigoR seems doesn't work Kuninori Morimoto
                   ` (3 preceding siblings ...)
  2009-09-30  2:24 ` Paul Mundt
@ 2009-09-30  2:46 ` Kuninori Morimoto
  2009-09-30  2:47 ` Paul Mundt
  2009-11-26  8:37 ` Kuninori Morimoto
  6 siblings, 0 replies; 8+ messages in thread
From: Kuninori Morimoto @ 2009-09-30  2:46 UTC (permalink / raw)
  To: linux-sh


Dear Paul

> Do you have NUMA support enabled? It's possible the LMB changes impacted
> that.

It start works if I remove NUMA support from .config

--------------
NG case
--------------
> grep NUMA .config
CONFIG_SYS_SUPPORTS_NUMA=y
CONFIG_NUMA=y

--------------
OK case
--------------
> grep NUMA .config
CONFIG_SYS_SUPPORTS_NUMA=y
# CONFIG_NUMA is not set

Best regards
--
Kuninori Morimoto
 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: currect MigoR seems doesn't work
  2009-09-29  5:59 currect MigoR seems doesn't work Kuninori Morimoto
                   ` (4 preceding siblings ...)
  2009-09-30  2:46 ` Kuninori Morimoto
@ 2009-09-30  2:47 ` Paul Mundt
  2009-11-26  8:37 ` Kuninori Morimoto
  6 siblings, 0 replies; 8+ messages in thread
From: Paul Mundt @ 2009-09-30  2:47 UTC (permalink / raw)
  To: linux-sh

On Wed, Sep 30, 2009 at 11:46:07AM +0900, Kuninori Morimoto wrote:
> > Do you have NUMA support enabled? It's possible the LMB changes impacted
> > that.
> 
> It start works if I remove NUMA support from .config
> 
Thanks for testing, I'll look in to fixing it up.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: currect MigoR seems doesn't work
  2009-09-29  5:59 currect MigoR seems doesn't work Kuninori Morimoto
                   ` (5 preceding siblings ...)
  2009-09-30  2:47 ` Paul Mundt
@ 2009-11-26  8:37 ` Kuninori Morimoto
  6 siblings, 0 replies; 8+ messages in thread
From: Kuninori Morimoto @ 2009-11-26  8:37 UTC (permalink / raw)
  To: linux-sh


Dear Paul
[Cc Magnus]

> start_kernel
>  setup_arch
>   setup_memory
>    setup_bootmem_allocator
>     for()
>       reserve_bootmem (when i=2 I think)
>        mark_bootmem
>         BUG()          <= dead here and reboot MigoR
(snip)
> > It start works if I remove NUMA support from .config
> > 
> Thanks for testing, I'll look in to fixing it up.

Now, I got same phenomenon on EcoVec
which is mass production board.

46/50 board are working,
but 4/50 are can not work if It is romImage.
But it works If I use net boot.

My .config doesn't have NUMA support now.
Do you have any doubtful point ?

Best regards
--
Kuninori Morimoto
 

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-11-26  8:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-29  5:59 currect MigoR seems doesn't work Kuninori Morimoto
2009-09-29  7:58 ` Magnus Damm
2009-09-29  9:26 ` Kuninori Morimoto
2009-09-30  2:20 ` Kuninori Morimoto
2009-09-30  2:24 ` Paul Mundt
2009-09-30  2:46 ` Kuninori Morimoto
2009-09-30  2:47 ` Paul Mundt
2009-11-26  8:37 ` Kuninori Morimoto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox