plb_temac w/linux 2.6.18.1 driver init error

Robert Corley rcorley at aegis-inc.net
Thu Nov 2 01:59:26 EST 2006


Has anyone made progress with the MVL drivers for the plb_temac in linux 2.6.18?

I am having initialization problems as is shown in the kernel dump below.  Note that I have added
some printk's to show the status of the device before XTemac_VmInitialize(...) is called.

2.6.18 kernel with all patches
11/01/2006    09:45
PLB_TEMAC

loaded at:     00400000 00985138
board data at: 00983120 00983138
relocated to:  0040407C 00404094
zimage at:     00404E8F 0051024E
initrd at:     00511000 009826FE
avail ram:     00986000 04000000

Linux/PPC load: console=ttyUL0 single ip=off ramdisk_size=4660000 root=/dev/ram rw

Uncompressing Linux...done.

Now booting the kernel

[    0.000000] Linux version 2.6.17.1 (rdcorle at athena) (gcc version 3.4.2) #6 Wed Nov 1 14:28:43 UTC 2006
[    0.000000] Xilinx ML403 Reference System (Virtex-4 FX)
[    0.000000] Built 1 zonelists.  Total pages: 16384
[    0.000000] Kernel command line: console=ttyUL0 single ip=off ramdisk_size=4660000 root=/dev/ram rw
[    0.000000] Xilinx INTC #0 at 0xD1000FC0 mapped to 0xFDFFFFC0
[    0.000000] PID hash table entries: 512 (order: 9, 2048 bytes)
[    0.000157] Console: colour dummy device 80x25
[    0.000567] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.001275] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.012989] Memory: 58024k available (1740k kernel code, 484k data, 92k init, 0k highmem)
[    0.104387] Mount-cache hash table entries: 512
[    0.106727] checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
[    2.410153] Freeing initrd memory: 4549k freed
[    2.414699] NET: Registered protocol family 16
[    2.423477] NET: Registered protocol family 2
[    2.460259] IP route cache hash table entries: 512 (order: -1, 2048 bytes)
[    2.461080] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    2.461247] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    2.461339] TCP: Hash tables configured (established 2048 bind 1024)
[    2.461368] TCP reno registered
[    2.469853] NTFS driver 2.1.27 [Flags: R/O].
[    2.470086] io scheduler noop registered
[    2.470162] io scheduler anticipatory registered
[    2.470234] io scheduler deadline registered
[    2.470362] io scheduler cfq registered (default)
[    2.509013] uartlite.0: ttyUL0 at MMIO 0xa0000000 (irq = 1) is a uartlite
[    2.669456] RAMDISK driver initialized: 16 RAM disks of 4660000K size 1024 blocksize
[    2.682424] loop: loaded (max 8 devices)
[    2.688358] xtenet_probe: xtemac 0: IO resources obtained.  IRQ = 0, MEM = 0x60000000
[    2.696263] xtenet_probe: xtemac 0: private data initialized
[    2.701997] xtenet_probe: TEMAC config lookup succeeded.  Details = 
[    2.708372]         Base address    = 0x60000000, remap address = 0xC5008000
[    2.714899]         Unique ID       = 0x0000
[    2.718659]         RCV FIFO depth  = 0x131072
[    2.722589]         XMIT FIFO depth = 0x131072
[    2.726520]         MAC FIFO depth  = 0x16
[    2.730105]         IPIF/DMA config = 0x03
[    2.733689]         DCR Host        = 0x0
[    2.737189]         DRE Engine?     = 0x1
[    2.740695] Data machine check in kernel mode.
[    2.745138] Oops: machine check, sig: 7 [#1]
[    2.749399] NIP: C013A538 LR: C013A510 CTR: 00000000
[    2.754354] REGS: c022ef50 TRAP: 0202   Not tainted  (2.6.17.1)
[    2.760252] MSR: 00029030 <EE,ME,IR,DR>  CR: 84000022  XER: 4000001D
[    2.766601] TASK = c02d5b70[1] 'swapper' THREAD: c0988000
[    2.771811] GPR00: 00000001 C0989DE0 C02D5B70 C0945344 00000068 C500A200 C094544C C01E4F98 
[    2.780191] GPR08: C500A010 C0230000 11111111 C0945324 24000022 C000A09C BBE6EA1D C0230000 
[    2.788572] GPR16: 00000000 00BEF29E 00000000 C0231B50 00000000 C01E0000 C01E0000 C01E4820 
[    2.796934] GPR24: C09452F8 C01C0000 C09452F8 C01E4818 C01E4EA0 C5008000 C0945000 C09452F8 
[    2.805487] NIP [C013A538] XTemac_ConfigureFifoAccess+0x50/0xb4
[    2.811422] LR [C013A510] XTemac_ConfigureFifoAccess+0x28/0xb4
[    2.817250] Call Trace:
[    2.819695] [C0989DE0] [C013A510] XTemac_ConfigureFifoAccess+0x28/0xb4 (unreliable)
[    2.827340] [C0989E00] [C01389D8] Initialize+0x3c/0xe8
[    2.832506] [C0989E20] [C0137F04] xtenet_probe+0x228/0x7c8
[    2.838001] [C0989EA0] [C012F124] driver_probe_device+0xc8/0x118
[    2.844006] [C0989EC0] [C012F30C] __driver_attach+0xdc/0x108
[    2.849664] [C0989EE0] [C012E32C] bus_for_each_dev+0x54/0x98
[    2.855322] [C0989F10] [C012F35C] driver_attach+0x24/0x34
[    2.860722] [C0989F20] [C012EA20] bus_add_driver+0x88/0x14c
[    2.866295] [C0989F50] [C012F924] driver_register+0x70/0xbc
[    2.871867] [C0989F70] [C0226684] xtenet_init+0x18/0x28
[    2.877093] [C0989F80] [C0002428] init+0x84/0x2e4
[    2.881801] [C0989FF0] [C00051DC] kernel_thread+0x44/0x60
[    2.887204] Instruction dump:
[    2.890159] 38842010 4800619d 38000001 2f830000 387f004c 419e001c 7c030378 80010024 
[    2.897926] 83e1001c 38210020 7c0803a6 4e800020 <809f0000> 38a42100 38842000 48006165 
[    2.906034] Kernel panic - not syncing: Attempted to kill init!
[    2.911957]  <0>Rebooting in 180 seconds..

-cy





More information about the Linuxppc-embedded mailing list