All of lore.kernel.org
 help / color / mirror / Atom feed
* User mode address error problems on 7763
@ 2009-09-11 18:06 Dale Larson
  2009-09-11 18:35 ` Matt Fleming
                   ` (21 more replies)
  0 siblings, 22 replies; 23+ messages in thread
From: Dale Larson @ 2009-09-11 18:06 UTC (permalink / raw)
  To: linux-sh

I've been porting linux (2.6.30.2) to our 7763 based platform and the
kernel seems to be running fine but when user mode programs run I
randomly get errors like this:

[    8.419557] VFS: Mounted root (nfs filesystem) on device 0:9.
[    8.431863] Freeing unused kernel memory: 80k freed
init started: BusyBox v1.14.3 (2009-09-04 15:19:48 CDT)
[    8.682286] Fixing up unaligned userspace access in "mount" pid\x152
pc=0x295583d0 ins=0x60b2
[    8.699336] Sending SIGBUS to "mount" due to unaligned access (PC
a0042955 PR 295583da)
Populating /dev using udev: done

Another example:

Starting dropbear sshd: OK
[  484.428550] Fixing up unaligned userspace access in "touch" pid\x188
pc=0x295583d0 ins=0x60b2
[  492.438796] Sending SIGBUS to "touch" due to unaligned access (PC
a0042955 PR 295583da)

The SIGBUS kills the process. I've tried various versions of linux
form kernel.org: 2.6.28, 2.6.29, 2.6.30 and all have the same
behaviour.

Using JTAG I see that I'm having both data alignment and PC alignment
problems. If I turn off the I&D caching this problem doesn't happen.

It almost seems like some loader code is loading programs on bad addresses.

I'm building the system using BuildRoot and the cross compiler I'm
using is version 4.3.4 of the GNU compiler and 2.19.1 of binutils.

Can anyone give a clue as to what rabbit holes I need to look down?

Dale Larson
Johnson Controls, Inc

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

end of thread, other threads:[~2009-09-16 19:22 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-11 18:06 User mode address error problems on 7763 Dale Larson
2009-09-11 18:35 ` Matt Fleming
2009-09-11 19:16 ` Dale Larson
2009-09-14 13:02 ` Dale Larson
2009-09-14 13:10 ` Paul Mundt
2009-09-14 13:14 ` Matt Fleming
2009-09-14 13:54 ` Dale Larson
2009-09-15  8:39 ` Matt Fleming
2009-09-15 11:54 ` Dale Larson
2009-09-15 11:57 ` Paul Mundt
2009-09-15 12:20 ` Dale Larson
2009-09-15 12:36 ` Paul Mundt
2009-09-15 12:55 ` Dale Larson
2009-09-15 13:07 ` Paul Mundt
2009-09-15 13:16 ` Dale Larson
2009-09-15 13:23 ` Dale Larson
2009-09-15 13:29 ` Dale Larson
2009-09-15 13:39 ` Paul Mundt
2009-09-15 13:49 ` Valentin R Sitsikov
2009-09-15 14:43 ` Dale Larson
2009-09-15 23:42 ` Paul Mundt
2009-09-16 12:45 ` Dale Larson
2009-09-16 19:22 ` Dale Larson

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.