Robert, I haven't seen this before, but perhaps the plb_temac hardware is built for DMA but xparameters.h is out of sync and thinks it's built with FIFO mode? This would probably cause a machine check if trying to write a FIFO register but it doesn't exist. You can crosscheck xparameters.h with your hardware design to verify.
-Rick -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of robert corley Sent: Wednesday, November 01, 2006 1:33 PM To: David Bolcsfoldi Cc: linux linuxppc-embedded Subject: RE: plb_temac w/linux 2.6.18.1 driver init error Anyone?; The offending instruction is: out_be32((volatile unsigned *) InstancePtr->RegBaseAddress+XPF_V200A_RESET_REG_OFFSET, XPF_V200A_RESET_FIFO_MASK); called vai a #define in "drivers/xilinx_edk/xpacket_fifo_v2_00_a.c" Would anyone care to speculate if the error is in the out_be32 definition or is this a function of a memory access to an incorrect value? Here is the latest dump: [ 2.702189] xtenet_probe: xtemac 0: IO resources obtained. IRQ = 0, MEM = 0x60000000 [ 2.710095] xtenet_probe: xtemac 0: private data initialized [ 2.715872] remap info => start = 0x60000000, end=0x60003fff, total=16384, virtual dest.=0xc5050000 [ 2.725007] xtenet_probe: TEMAC config lookup succeeded. Details = [ 2.731369] Base address = 0x60000000 [ 2.735471] Unique ID = 0x0000 [ 2.739230] RCV FIFO depth = 0x131072 [ 2.743161] XMIT FIFO depth = 0x131072 [ 2.747091] MAC FIFO depth = 0x64 [ 2.750677] IPIF/DMA config = 0x03 [ 2.754260] DCR Host = 0x0 [ 2.757759] DRE Engine? = 0x1 [ 2.761260] Initialize : Handlers set up. Configuring FIFO access... [ 2.767709] XPacketFifoV200a_Initialize : setting FIFO REG base address to 0xC5052010 [ 2.775548] XPacketFifoV200a_Initialize : setting FIFO DATA base address to 0xC5052200 [ 2.783474] XPacketFifoV200a_Initialize : setting IsReady to 286331153 [ 2.790011] XPacketFifoV200a_Initialize : resetting FIFO by writing 0x000A to 0xC5052010 [ 2.798103] Data machine check in kernel mode. [ 2.802544] Oops: machine check, sig: 7 [#1] -cy _______________________________________________ Linuxppc-embedded mailing list [email protected] https://ozlabs.org/mailman/listinfo/linuxppc-embedded _______________________________________________ Linuxppc-embedded mailing list [email protected] https://ozlabs.org/mailman/listinfo/linuxppc-embedded
