Subject: Canīt compile custom kernel: 'Permission error (page)'
To: None <port-arm32@NetBSD.ORG>
From: Thilo Manske <Thilo.Manske@HEH.Uni-Oldenburg.DE>
List: port-arm32
Date: 05/11/1998 22:59:05
Hi there!

I=B4ve just installed NetBSD1.3.1/arm32 from ftp.de.netbsd.org (the Germa=
n
mirror) and everything works quite well, but:

When I made "make depend" as root after configuring my kernel, I get
something like:

RiscPC#make depend
depending the kern library objects
depending the compat library objects
cc  -O2 -Werror -Wreturn-type -I. -I../../../../arch -I../../../..
  -DMACHINE_NONCONTIG -DEXEC_AOUT -DEXEC_SCRIPT -DCPU_SA110 -DCPU_ARM6
  -DIOMD -DRISCPC -DARMFPE -DFFS -DNFS -DMSDOSFS -DFDESC -DKERNFS
  -DNULLFS -DPROCFS -DUMAPFS -DUNION -DFIFO -DNFSSERVER -DGATEWAY -DINET
  -DSYSVMSG -DSYSVSEM -DSYSVSHM -DSHMMAXPGS=3D"0x400" -DKTRACE -DIRQSTATS=

  -DLKM - DMOUSE_IOC_ACK -DDIAGNOSTIC -DPOSTMORTEM -DDDB -DMAXUSERS=3D16
  -D_KERNEL -Darm32 -Wcomment -c ..
/../../../arch/arm32/vidc/makemodes.c
May 11 13:03:50 RiscPC /netbsd: Data abort: 'Permission error (page)'
  status =3D 00f address =3D 00000010 PC =3D 000ef7f0
May 11 13:03:51 RiscPC /netbsd: Process =3D f15c7a00 pid =3D 427 comm =3D=
 cc1
May 11 13:03:51 RiscPC /netbsd: CPSR=3D60000013 Traceback info (frame=3Df=
2adcfb8)
May 11 13:03:51 RiscPC /netbsd: fp->lr=3Df0125540 fp->pc=3Df012e694
May 11 13:03:51 RiscPC /netbsd: fp->lr=3Df0123fd4 fp->pc=3Df0124f88
May 11 13:03:51 RiscPC /netbsd: Trapframe PC =3D 000ef7f0
May 11 13:03:51 RiscPC /netbsd: Trapframe SPSR =3D 60000010
*** Error code 1

Stop.

(It=B4s reconstructed from an ">output" and /var/log/messages, nearly as
it appears on console).

This happens everytime with nearly exact the same output:
  Process, pid and the second LSB of "frame" differs (frame=3Df2adxxb8)

I=B4ve repeated the complete installation, checked the tars of the binary=
s
with chksum, tried other kernels (voyager and an older one I found on
ftp.uni-stuttgart.de/pub/systems/acorn/riscbsd), tried binarys from
NetBSD-1.3 - no success :-(

My hardware is:
  SA-110 Rev 2 (bugged STM^) @ 277MHz
  40MB DRAM (8MB paged mode + 32MB EDO)
  2MB VRAM
  EtherH podule
  Power-tec SCSI-2 (16Bit) podule (not used under NetBSD)

FYI: Over 1 year ago I=B4ve run NetBSD/arm32 1.2.1 and NetBSD-current
successfully on this machine with 16MB DRAM (2*8MB page mode) and it
run=B4s quite stable under RISC OS. At least as stable, as you can expect=

with a Power-tec podule inside...

Thilo Manske

--=20
Mir ist mein Signature entlaufen :-(. Wer es findet, sendet es bitte an
Thilo.Manske@HEH.Uni-Oldenburg.DE zur=FCck. Danke!=20