Bus error with ppp

Bernd Walter ticso at cicely12.cicely.de
Sat Dec 16 11:29:16 PST 2006


On Sat, Dec 16, 2006 at 11:34:27AM -0700, M. Warner Losh wrote:
> In message: <20061216130957.GL75351 at cicely12.cicely.de>
>             Bernd Walter <ticso at cicely12.cicely.de> writes:
> : I have no clue where to start debugging now.
> 
> The following are issues for arm that are differences with x86:
> 	o unaligned access (which I think generates a SEGV, not BUS)

So unaligned access from userland are not corrected.
Ok - on alpha SIGBUS is send in case you disable correction.

> 	o Different packing and alignment of data structures causing
> 	  mismatches between x86 and arm representations (x86 may
> 	  match external ones, while arm doesn't w/o __packed).

Interesting point - I often forget about this.

> 	o Characters are unsigned on arm and signed on i386.
> 
> You might want to try a ppp with symbols to see where it is dying.

#0  0x0002fd64 in ?? ()                                                                                                             
Doesn't sound like a valid code address.
Maybe single step tracing...
Will recompile ppp with symbols and without optimization.

-- 
B.Walter                http://www.bwct.de      http://www.fizon.de
bernd at bwct.de           info at bwct.de            support at fizon.de


More information about the freebsd-arm mailing list