kernel access of bad area

Chris Wardman cwardman at sbir.com
Fri Jan 27 13:09:52 EST 2006


I'm working on getting a MPC885 to interface with an onboard CPLD.  I've
successfully talked to the CPLD from our diagnostic application and I
know that it works at the locations that I specified in the IMMR. I know
that when linux loads that the IMMR still has the settings. However,
when I try to do a read from the address I get the following error:

 

Oops: kernel access of bad area, sig: 11

NIP: C00BDED8 XER: 8000FF40 LR: C00BDCE0 SP: C1C81E30 REGS: c1c81d80
TRAP: 0300

MSR: 00009032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11

DAR: F4000002, DSISR: 00000129

TASK = c1c80000[19] 'acc2test' Last syscall: 54

last math 00000000 last altivec 00000000

GPR00: 00000001 C1C81E30 C1C80000 FFFFFFFA C1C81E38 20004C0A 7FFFFE6C
3000B8A8

GPR08: 10000560 F4000002 00000001 00000000 538D6C93 10018688 00000000
40000000

GPR16: 00000000 00000000 00000001 00000000 00009032 01C81E80 00000000
C0002838

GPR24: C0002560 10000560 30024E9C 00000003 C015C198 C015C1C4 7FFFFE6C
20004C0A

Call backtrace:

C003D81C C0042AA4 C00025BC 100106E8 10000494 0FECED14 00000000

SIGSEGV

 

It appears it is dying in the memory manager because of a bad page
fault. 

Does anyone have any suggestion as how to fix this?

 

Thanx, 

-Chris

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20060126/febfa50e/attachment.htm 


More information about the Linuxppc-embedded mailing list