'mmap' memory access causes Bus Error
Sachin Rane
SRane at alphion.com
Thu Jun 21 22:23:59 EST 2007
Hi,
I got an 'Bus Error' when tried to access 'mmap' PCI memory on PPC440GX machine.
I verified this behavior with D-Link Ethernet Network card and Broadcom device.
I have appeneded the log for reference.
But the same program works fine on i386 machine i.e. accessing 'mmap' PCI memory works fine.
Any clue or solution for this problem on PPC440GX machine?
Regards,
Sachin Rane
8<--------------------------------------------------------------------
Machine check in kernel mode.
Data Write PLB Error
PLB0: BEAR=0x00000000fffe0000 ACR= 0x9b000000 BESR= 0x00800000
POB0: BEAR=0x00000005dfff74df BESR0=0x00000000 BESR1=0x00000000
OPB0: BEAR=0x0000000f7fffffef BSTAT=0x00000000
Oops: machine check, sig: 7 [#3]
NIP: C0002420 LR: C00022C4 CTR: 00000000
REGS: c020ff50 TRAP: 0202 Not tainted (2.6.16.1)
MSR: 00029000 <EE,ME> CR: 22000484 XER: 00000000
TASK = c7d63450[40] 'cdksim' THREAD: c79dc000
GPR00: 00000000 C79DDF40 C7D63450 00004000 00000001 00000000 C785B940 7FA18498
GPR08: 00000000 00000004 00029002 00000000 22000482 100AFAA0 07FF5000 007FFF3C
GPR16: 00000000 00000001 00000000 7FA18480 00000000 10195BA0 7FA18498 10195BB8
GPR24: 00000000 00000001 30021800 7FD75C50 00000000 00000000 10047234 7FD745E0
NIP [C0002420] do_user_signal+0x8/0xc4
LR [C00022C4] ret_from_mcheck_exc+0x0/0xe0
Call Trace:
[C79DDF40] [C00022C4] ret_from_mcheck_exc+0x0/0xe0 (unreliable)
Instruction dump:
48182ccd 3d400002 614a1002 7d400124 54290024 81290024 71200008 40a2ffdc
71200004 4182fc74 614a8000 7d400124 <806100b0> 70600001 41820058 91a10044
8<--------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20070621/5fb7199d/attachment.htm
More information about the Linuxppc-embedded
mailing list