Subject: Re: gcc-3.0.1 / strongarm-netbsd-elf: Translation fault
To: Thomas Mller <teeqemm@hotmail.com>
From: Chris Gilbert <chris@paradox.demon.co.uk>
List: port-hpcarm
Date: 09/22/2001 12:01:07
On Saturday 22 September 2001 10:37 am, Thomas Mller wrote:
> Hello hpcarm-users!
>
> I've compiled a hpcarm kernel using gcc-3.0.1, but unfortunately the boot
> process aborts just before mounting the filesystem from CF (kernel messages
> see below).
>
> I know that it works fine with gcc-2.9.x, but it is easier to setup a
> toolchain using gcc-3.0.1 (works straight out of the box)

3.0.x is not that likely to produce working arm binaries as there's still 
some work in progress to get gcc 3 to produce arm code.

> Any ideas?

[snip]

> root on wd0a dumps on wd0b
> Non-emulated page fault with intr_depth > 0
> Data abort: 'Translation fault (page)' status=007 address=c137d000
> PC=c0123380
> Stopped at      sa11x0_bs_rm_2_fastloop+0x30:   stmia   r3!, {r1, r4-r5,
> r12}
> db>

A trace would be handy (just type trace at the db prompt)  I'm a little bit 
scared that we're getting a page fault while in an interrupt.

Cheers,
Chris