* Anyone success with 440GR Rev.B (1.1)?
@ 2007-02-02 11:35 Andriy Korud
2007-02-02 15:45 ` Roland Dreier
0 siblings, 1 reply; 4+ messages in thread
From: Andriy Korud @ 2007-02-02 11:35 UTC (permalink / raw)
To: linuxppc-embedded
Hi,
I have complete system (U-Boot, Linux, userspace) running on 440GR =
Rev.A.=20
However after mounting newer chip revision (Rev.B, 1.1) U-Boot and Linux =
boots fine, however when trying to execute first userland application =
(init), I get:
Freeing unused kernel memory: 112k init
init has generated signal 4 but has no handler for it
Kernel panic - not syncing: Attempted to kill init!
I've tried everything - different compilers (3.x, 4.1.x), deifferent =
kernels (2.6.18, 19) - problem is 100% reproducible. Even when replaced =
busybox with printf("hello world") - the same.=20
According to AMCC changelog and erratas there are no changes in CPU core =
between revisions.=20
Anybody has an idea what should I check/try?
Thanks in advance,
--
Andriy Korud
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Anyone success with 440GR Rev.B (1.1)?
2007-02-02 11:35 Anyone success with 440GR Rev.B (1.1)? Andriy Korud
@ 2007-02-02 15:45 ` Roland Dreier
2007-02-02 20:26 ` Stefan Roese
0 siblings, 1 reply; 4+ messages in thread
From: Roland Dreier @ 2007-02-02 15:45 UTC (permalink / raw)
To: Andriy Korud; +Cc: linuxppc-embedded
> I have complete system (U-Boot, Linux, userspace) running on 440GR Rev.A.
> However after mounting newer chip revision (Rev.B, 1.1) U-Boot and Linux boots fine, however when trying to execute first userland application (init), I get:
>
> Freeing unused kernel memory: 112k init
> init has generated signal 4 but has no handler for it
> Kernel panic - not syncing: Attempted to kill init!
signal 4 is SIGILL. Just a guess but do you have a cputable entry for
440GR rev B in your arch/powerpc/kernel/cputable.c? If you don't then
I think the default kernel settings will result in the wrong cacheline
size being used, which leads to userspace often dying with illegal
instruction traps.
(I don't see any 440GR entries in cputable.c, neither rev A nor rev B,
in the upstream kernel so I'm assuming you're patching your kernel
somehow. So checking that your patch covers rev B would be the first
thing to do)
- R.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Anyone success with 440GR Rev.B (1.1)?
2007-02-02 15:45 ` Roland Dreier
@ 2007-02-02 20:26 ` Stefan Roese
2007-02-02 20:37 ` Andriy Korud
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Roese @ 2007-02-02 20:26 UTC (permalink / raw)
To: Andriy Korud; +Cc: Roland Dreier, linuxppc-embedded
On Friday 02 February 2007 16:45, Roland Dreier wrote:
> > I have complete system (U-Boot, Linux, userspace) running on 440GR
> > Rev.A. However after mounting newer chip revision (Rev.B, 1.1) U-Boot
> > and Linux boots fine, however when trying to execute first userland
> > application (init), I get:
> >
> > Freeing unused kernel memory: 112k init
> > init has generated signal 4 but has no handler for it
> > Kernel panic - not syncing: Attempted to kill init!
>
> signal 4 is SIGILL. Just a guess but do you have a cputable entry for
> 440GR rev B in your arch/powerpc/kernel/cputable.c?
Good idea. That's probably it.
> If you don't then
> I think the default kernel settings will result in the wrong cacheline
> size being used, which leads to userspace often dying with illegal
> instruction traps.
>
> (I don't see any 440GR entries in cputable.c, neither rev A nor rev B,
> in the upstream kernel so I'm assuming you're patching your kernel
> somehow. So checking that your patch covers rev B would be the first
> thing to do)
440GR has the same PVR as 440EP:
440EP Rev B == 440GR Rev A
440EP Rev C == 440GR Rev B
So your kernel should support 440EP Rev. C. The denx kernel has support for
those CPU's included. I'll try to send some patches in the next few days to
support them in the kernel.org version.
Best regards,
Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: Anyone success with 440GR Rev.B (1.1)?
2007-02-02 20:26 ` Stefan Roese
@ 2007-02-02 20:37 ` Andriy Korud
0 siblings, 0 replies; 4+ messages in thread
From: Andriy Korud @ 2007-02-02 20:37 UTC (permalink / raw)
To: Stefan Roese; +Cc: Roland Dreier, linuxppc-embedded
Thanks,
I've discovered this few hours ago. After adding entry to cputable =
everything works fine.
Anyway thanks and sorry for bothering :)
regards,
--
Andriy Korud
-----Original Message-----
From: Stefan Roese [mailto:sr@denx.de]
Sent: =F0=D4 2007-02-02 21:26
To: Andriy Korud
Cc: linuxppc-embedded@ozlabs.org; Roland Dreier
Subject: Re: Anyone success with 440GR Rev.B (1.1)?
=20
On Friday 02 February 2007 16:45, Roland Dreier wrote:
> > I have complete system (U-Boot, Linux, userspace) running on 440GR
> > Rev.A. However after mounting newer chip revision (Rev.B, 1.1) =
U-Boot
> > and Linux boots fine, however when trying to execute first userland
> > application (init), I get:
> >
> > Freeing unused kernel memory: 112k init
> > init has generated signal 4 but has no handler for it
> > Kernel panic - not syncing: Attempted to kill init!
>
> signal 4 is SIGILL. Just a guess but do you have a cputable entry for
> 440GR rev B in your arch/powerpc/kernel/cputable.c?
Good idea. That's probably it.
> If you don't then=20
> I think the default kernel settings will result in the wrong cacheline
> size being used, which leads to userspace often dying with illegal
> instruction traps.
>
> (I don't see any 440GR entries in cputable.c, neither rev A nor rev B,
> in the upstream kernel so I'm assuming you're patching your kernel
> somehow. So checking that your patch covers rev B would be the first
> thing to do)
440GR has the same PVR as 440EP:
440EP Rev B =3D=3D 440GR Rev A
440EP Rev C =3D=3D 440GR Rev B
So your kernel should support 440EP Rev. C. The denx kernel has support =
for=20
those CPU's included. I'll try to send some patches in the next few days =
to=20
support them in the kernel.org version.
Best regards,
Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-02-02 20:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-02 11:35 Anyone success with 440GR Rev.B (1.1)? Andriy Korud
2007-02-02 15:45 ` Roland Dreier
2007-02-02 20:26 ` Stefan Roese
2007-02-02 20:37 ` Andriy Korud
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).