[superh-gnu-discuss] unaligned userspace access
Andrew Stubbs
ams at codesourcery.com
Fri Apr 15 10:49:21 UTC 2011
On 15/04/11 09:57, Andrea Baldini wrote:
> I'm working on a sh2a board and i tried to use your latest available
> toolchain (renesas-2010.09) to cross-compile the 2.6.35 kernel release.
> When i try to boot the kernel i get a "unaligned userspace access" error.
> What could it depend on?
It's hard to say what could be causing that, exactly - in my experience,
the 'unaligned access' it's detected is usually (but not necessarily)
merely fallout from some other error.
Unfortunately, that seems to be one of the most common failure mode I
see. Just about any memory scribble or other kind of crash that leads to
executing random memory as code can cause this exception.
I have not tested a 2.6.35 kernel myself, but I've no reason to believe
it shouldn't work. You could ask about the kernel support for you target
at linux-sh at vger.kernel.org
Presumably you're sure that the user space isn't causing the problem?
Andrew
More information about the superh-gnu-discuss
mailing list