[U-Boot] Bus Fault when calling irq_install_handler

k b k_bisla at hotmail.com
Wed Nov 5 00:15:50 CET 2008


Hi,

I'm trying to add a interrupt handler. My board is based of taishan 440gx. I'm using external irq0.
the moment i add the interrupt i get

Bus Fault @ 0x00000000, fixup 0x00000000
Machine check in kernel mode.
Caused by (from msr): regs 0c21ec28 Unknown values in msr
NIP: 00000000 XER: 20000000 LR: 0C345878 REGS: 0c21ec28 TRAP: 0200 DAR: 00000000
MSR: 00000000 EE: 0 PR: 0 FP: 0 ME: 0 IR/DR: 00

GPR00: 00000000 0C21ED18 7FFFFFFF 00000000 0E37EBDB 0C37EBDC 0C361D48 20600000
GPR08: 00000100 0C37EBDC 0C361D44 27BC86AE 0C21EC20 00200000 0C364F00 0C363000
GPR16: 00000000 00000001 00000000 00000001 00001000 0C21ED58 00000000 0C32519C
GPR24: 0C325EC8 FFFFFFF7 0C34586C 00000017 0C362248 0C21EF2C 0C366538 80000000
Call backtrace:
machine check

this happens in
ppc4xx/interrupt.c function irq_install_handler
the moment a call to
mtdcr (uicer, mfdcr (uicer) | (0x80000000>> i));

FYI CONFIG_440 is set and so is CONFIG_4xx and this is not running in compatibility mode.

i checked and rechecked the polarity, trigger register setting they all seem to be correct.

Any pointers would be appreciated.


thanks !


_________________________________________________________________
Store, manage and share up to 5GB with Windows Live SkyDrive.
http://skydrive.live.com/welcome.aspx?provision=1?ocid=TXT_TAGLM_WL_skydrive_102008


More information about the U-Boot mailing list