Linux kernel panic at bman_create_affine_portal

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Linux kernel panic at bman_create_affine_portal

741 Views
yashwantdixit
Contributor I

We are booting the Linux kernel on T104xRDB Eval board. we are using QorIQ-SDK-T1040-BSP0.2-20140310-yocto SDK from Freescale.  we are modifying the U-Boot to boot it from RAM. Like we have our own custom boot loader and that sets up the basic thing like law and DDR. So while we boot Linux from this ram U-Boot kernel panic is coming at bman_init as follows : if same kernel we boot form Flash U-boot it works fine. for RAM U-Boot we masked lot of law/tlb init code and for FMAN fimware we are using C array in U-Boot. so our ram based u-boot is able to load the linux and dtb files well but crashes.

pci 0003:06:00.0:   bridge window [mem 0xc30000000-0xc3fffffff]

bio: create slab <bio-0> at 0

vgaarb: loaded

SCSI subsystem initialized

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

Bman err interrupt handler present

Machine check in kernel mode.

Caused by (from MCSR=a000): Load Error Report

Guarded Load Error Report

Oops: Machine check, sig: 7 [#1]

SMP NR_CPUS=8 T104x RDB

Modules linked in:

NIP: c04fd034 LR: c04fd3bc CTR: 00000000

REGS: ee6b1f10 TRAP: 0204   Not tainted  (3.8.13-rt9-QorIQ-SDK-T1040-BSP0.2)

MSR: 00029002 <CE,EE,ME>  CR: 82adbe44  XER: 00000000

TASK = e80679b0[1] 'swapper/0' THREAD: e8076000 CPU: 0

GPR00: c04fd3bc e8077d60 e80679b0 c2914540 e80faac0 00000000 0000000f f1199000

GPR08: e8077db8 f1096000 00000000 fffffff0 22adbe28 00000000 c0002670 00000000

GPR16: 00000000 00000000 00000000 00000000 00000000 c3fe409c c0890000 e8077dc0

GPR24: e8077db8 c0890000 00100100 00200200 e8077dc0 c084cbf0 e80faac0 c2914540

NIP [c04fd034] bman_create_portal+0x44/0x390

LR [c04fd3bc] bman_create_affine_portal+0x3c/0xb0

Call Trace:

[e8077d60] [c04f4eb4] __of_device_is_compatible+0x24/0xc0 (unreliable)

[e8077d80] [c04fd3bc] bman_create_affine_portal+0x3c/0xb0

[e8077da0] [c06523b8] init_pcfg+0x18/0x98

[e8077db0] [c0824074] bman_init+0x934/0xaf8

[e8077e20] [c08230cc] qbman_init+0x1c/0x17c

[e8077ed0] [c00020a8] do_one_initcall+0x148/0x1b0

[e8077f00] [c08018e8] kernel_init_freeable+0x12c/0x1e4

[e8077f30] [c0002684] kernel_init+0x14/0x110

[e8077f40] [c000f648] ret_from_kernel_thread+0x64/0x6c

Instruction dump:

7c9e2378 41c202f0 39200000 3fa0c085 993f01f4 3bbdcbf0 813e0000 913f0000

38e91000 813e0004 90ff0008 913f0004 <81490004> 554a077e 995f0010 81090000

---[ end trace 6ffe9486fc6d2b4b ]---

Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000007

any help is appreciated.

Yashwant

0 Kudos
0 Replies