AnsweredAssumed Answered

P1022DS PCI kills boot on 3.9?

Question asked by Barry Grussling on May 6, 2013
Latest reply on May 7, 2013 by Barry Grussling

Hello,

 

Is anyone having trouble with P1022DS system booting on 3.9?

 

I clone'd down 3.9, gunzip'd the /proc/config.gz from my working P1022DS - PB REV B, make oldconfig,

copy over new uImage, boot it and get:

U-Boot 2009.11-00016-ga162357 (Sep 10 2010 - 16:22:17)

 

CPU0:  P1022E, Version: 1.1, (0x80ee0011)
Core:  E500, Version: 5.1, (0x80211151)
Clock Configuration:
       CPU0:999.990 MHz, CPU1:999.990 MHz,
       CCB:499.995 MHz,
       DDR:333.330 MHz (666.660 MT/s data rate) (Asynchronous), LBC:31.250 MHz
L1:    D-cache 32 kB enabled
       I-cache 32 kB enabled
Board: P1022DS Sys ID: 0x19, Sys Ver: 0x03, FPGA Ver: 0x0a, vBank: 0
I2C:   ready
SPI:   ready
DRAM:  Initializing....    DDR:  2 GB (DDR3, 64-bit, CL=6, ECC off)
FLASH: 128 MB
L2:    256 KB enabled
NAND:  1024 MiB
MMC:  FSL_ESDHC: 0
EEPROM: NXID v0

 

    PCIE1 connected to Slot 1 as Root Complex (base addr ffe0a000)
    PCIE1 on bus 00 - 00

 


    PCIE2 connected to Slot 3 as Root Complex (base addr ffe09000)
    PCIE2 on bus 01 - 01

 

    PCIE3 connected to Slot 2 as Root Complex (base addr ffe0b000)
    PCIE3 on bus 02 - 02

 

In:    serial
Out:   serial
Err:   serial
Net:   eTSEC1, eTSEC2
Hit any key to stop autoboot:  0
WARNING: adjusting available memory to 30000000
## Booting kernel from Legacy Image at ea120000 ...
   Image Name:   Linux-3.9.0-00004-g5303862
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    3585205 Bytes =  3.4 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at eff00000
   Booting using the fdt blob at 0xeff00000
   Uncompressing Kernel Image ... OK
   Loading Device Tree to 00ff9000, end 00fff521 ... OK
Using P1022 DS machine description
Memory CAM mapping: 256/256/256 Mb, residual: 1280Mb
Linux version 3.9.0-00004-g5303862 (barrgr@zoidberg) (gcc version 4.2.4) #1 SMP Mon May 6 14:19:53 PDT 2013
CPU maps initialized for 1 thread per core
bootconsole [udbg0] enabled
setup_arch: bootmem
p1022_ds_setup_arch()
Freescale P1022 DS reference board
arch: exit
Zone ranges:
  DMA      [mem 0x00000000-0x2fffffff]
  Normal   empty
  HighMem  [mem 0x30000000-0x7fffffff]
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x00000000-0x7fffffff]
MMU: Allocated 1088 bytes of context maps for 255 contexts
PERCPU: Embedded 7 pages/cpu @c2009000 s6688 r8192 d13792 u32768
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522752
Kernel command line: root=/dev/sda3 rw console=ttyS0,115200
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 2006532k/2097152k available (6976k kernel code, 90620k reserved, 244k data, 158k bss, 240k init)
Kernel virtual memory layout:
  * 0xfffbf000..0xfffff000  : fixmap
  * 0xff800000..0xffc00000  : highmem PTEs
  * 0xff7fd000..0xff800000  : early ioremap
  * 0xf1000000..0xff7fd000  : vmalloc & ioremap
SLUB: Genslabs=15, HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:512 nr_irqs:512 16
mpic: Setting up MPIC " OpenPIC  " version 1.2 at ffe40000, max 2 CPUs
mpic: ISU size: 256, shift: 8, mask: ff
mpic: Initializing for 256 sources
clocksource: timebase mult[800053c] shift[23] registered
Console: colour dummy device 80x25
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
mpic: requesting IPIs...
Brought up 2 CPUs
NET: Registered protocol family 16
            
Found FSL PCI host bridge at 0x00000000ffe09000. Firmware bus number: 0->0
PCI host bridge /pcie@ffe09000 (primary) ranges:
MEM 0x00000000a0000000..0x00000000bfffffff -> 0x00000000a0000000
  IO 0x00000000ffc10000..0x00000000ffc1ffff -> 0x0000000000000000
/pcie@ffe09000: PCICSRBAR @ 0xfff00000
EDAC PCI0: Giving out device to module 'MPC85xx_edac' controller 'mpc85xx_pci_err': DEV 'ffe09000.pcie' (INTERRUPT)
MPC85xx_edac acquired irq 16 for PCI Err
MPC85xx_edac PCI err registered
Found FSL PCI host bridge at 0x00000000ffe0a000. Firmware bus number: 0->0
PCI host bridge /pcie@ffe0a000  ranges:
MEM 0x00000000c0000000..0x00000000dfffffff -> 0x00000000c0000000
  IO 0x00000000ffc20000..0x00000000ffc2ffff -> 0x0000000000000000
/pcie@ffe0a000: PCICSRBAR @ 0xfff00000
EDAC PCI1: Giving out device to module 'MPC85xx_edac' controller 'mpc85xx_pci_err': DEV 'ffe0a000.pcie' (INTERRUPT)
genirq: Flags mismatch irq 16. 00000020 ([EDAC] PCI err) vs. 00000020 ([EDAC] PCI err)
mpc85xx_pci_err_probe: Unable to request irq 16 for MPC85xx PCI err
remove_proc_entry: removing non-empty directory 'irq/16', leaking at least '[EDAC] PCI err'
------------[ cut here ]------------
WARNING: at c012c7a8 [verbose debug info unavailable]
Modules linked in:
NIP: c012c7a8 LR: c012c7a8 CTR: c000f7d4
REGS: ef04dba8 TRAP: 0700   Not tainted  (3.9.0-00004-g5303862)
MSR: 00029000 <CE,EE,ME>  CR: 22a22e22  XER: 00000000
TASK = ef048000[1] 'swapper/0' THREAD: ef04c000 CPU: 1
GPR00: c012c7a8 ef04dc58 ef048000 0000005b 00021000 0000005c c070f0fe 435d2050
GPR08: 43492065 c06d4094 c000bd84 00021000 00000000 00000000 c00026d8 00000000
GPR16: 00000000 00000000 00000000 00000000 c06e9bf4 c06e9ba8 00000000 00000000
GPR24: 00000000 c0710000 ef04dca0 ef04dca0 00000002 ef095030 00000000 ef0a3400
NIP [c012c7a8] remove_proc_entry+0x174/0x17c
LR [c012c7a8] remove_proc_entry+0x174/0x17c
Call Trace:
[ef04dc58] [c012c7a8] remove_proc_entry+0x174/0x17c (unreliable)
[ef04dc98] [c0090538] unregister_irq_proc+0xb4/0xc8
[ef04dcc0] [c008af14] free_desc+0x30/0x70
[ef04dce0] [c008afa4] irq_free_descs+0x50/0x9c
[ef04dcf8] [c008f770] irq_dispose_mapping+0x78/0x8c
[ef04dd08] [c03e6ec8] mpc85xx_pci_err_probe+0x30c/0x318
[ef04dd50] [c001ad3c] fsl_pci_probe+0x40/0xac
[ef04dd68] [c02ec5d0] platform_drv_probe+0x20/0x30
[ef04dd70] [c02eabdc] driver_probe_device+0x15c/0x244
[ef04dd90] [c02e9064] bus_for_each_drv+0x70/0xac
[ef04ddb8] [c02eaf98] device_attach+0xb4/0xd8
[ef04ddd0] [c02e9934] bus_probe_device+0xa4/0xb4
[ef04dde8] [c02e7cb8] device_add+0x4a0/0x610
[ef04de38] [c04168fc] of_device_add+0x64/0x74
[ef04de40] [c0416d34] of_platform_device_create_pdata+0x84/0x9c
[ef04de60] [c0416e50] of_platform_bus_create+0x104/0x1a8
[ef04dea8] [c0417094] of_platform_bus_probe+0xa0/0xf0
[ef04dec8] [c069cab0] mpc85xx_common_publish_devices+0x20/0x30
[ef04ded0] [c069cb3c] __machine_initcall_p1022_ds_mpc85xx_common_publish_devices+0x3c/0x4c
[ef04ded8] [c000219c] do_one_initcall+0x14c/0x194
[ef04df00] [c0694288] kernel_init_freeable+0x130/0x1d4
[ef04df30] [c00026f0] kernel_init+0x18/0xf8
[ef04df40] [c000df74] ret_from_kernel_thread+0x64/0x6c
Instruction dump:
0fe00000 4bffff04 80bf002c 3c80c054 3c60c062 38844020 38840260 38a50059
38e70059 38df0059 386303d8 4bf0a249 <0fe00000> 4bffff8c 9421ffc8 7c0802a6
---[ end trace 1dc1ca261e79bd1b ]---
Unable to handle kernel paging request for data at address 0x00000010
Faulting instruction address: 0xc0530948
Oops: Kernel access of bad area, sig: 11 [#1]
SMP NR_CPUS=2 P1022 DS
Modules linked in:
NIP: c0530948 LR: c004ea1c CTR: c00667b4
REGS: ef04dbc8 TRAP: 0300   Tainted: G        W     (3.9.0-00004-g5303862)
MSR: 00029000 <CE,EE,ME>  CR: 22a22e42  XER: 00000000
DEAR: 00000010, ESR: 00000000
TASK = ef048000[1] 'swapper/0' THREAD: ef04c000 CPU: 1
GPR00: c004ea1c ef04dc78 ef048000 00000010 c0614ae8 c0714ff8 00000000 00000000
GPR08: ef04dcb4 00000000 ef04dcb4 00000000 42a22e48 00000000 c00026d8 00000000
GPR16: 00000000 00000000 00000000 00000000 c06e9bf4 c06e9ba8 00000000 00000010
GPR24: 00000000 c072f160 ef0a5100 ef04dca0 ef0a51d0 ef0a5100 ffffffed 00000010
NIP [c0530948] mutex_lock+0x14/0x50
LR [c004ea1c] flush_workqueue+0x78/0x3c8
Call Trace:
[ef04dc78] [42a22e48] 0x42a22e48 (unreliable)
[ef04dc88] [c004ea1c] flush_workqueue+0x78/0x3c8
[ef04dce8] [c03e5284] edac_pci_workq_teardown+0x28/0x38
[ef04dcf0] [c03e52e8] edac_pci_del_device+0x54/0x94
[ef04dd08] [c03e6ed0] mpc85xx_pci_err_probe+0x314/0x318
[ef04dd50] [c001ad3c] fsl_pci_probe+0x40/0xac
[ef04dd68] [c02ec5d0] platform_drv_probe+0x20/0x30
[ef04dd70] [c02eabdc] driver_probe_device+0x15c/0x244
[ef04dd90] [c02e9064] bus_for_each_drv+0x70/0xac
[ef04ddb8] [c02eaf98] device_attach+0xb4/0xd8
[ef04ddd0] [c02e9934] bus_probe_device+0xa4/0xb4
[ef04dde8] [c02e7cb8] device_add+0x4a0/0x610
[ef04de38] [c04168fc] of_device_add+0x64/0x74
[ef04de40] [c0416d34] of_platform_device_create_pdata+0x84/0x9c
[ef04de60] [c0416e50] of_platform_bus_create+0x104/0x1a8
[ef04dea8] [c0417094] of_platform_bus_probe+0xa0/0xf0
[ef04dec8] [c069cab0] mpc85xx_common_publish_devices+0x20/0x30
[ef04ded0] [c069cb3c] __machine_initcall_p1022_ds_mpc85xx_common_publish_devices+0x3c/0x4c
[ef04ded8] [c000219c] do_one_initcall+0x14c/0x194
[ef04df00] [c0694288] kernel_init_freeable+0x130/0x1d4
[ef04df30] [c00026f0] kernel_init+0x18/0xf8
[ef04df40] [c000df74] ret_from_kernel_thread+0x64/0x6c
Instruction dump:
7d601828 316b0001 7d60192d 40a2fff4 2f8b0000 4dbd0020 4bffff80 7c0802a6
9421fff0 93e1000c 7c7f1b78 90010014 <7c001828> 3000ffff 7c00192d 40a2fff4
---[ end trace 1dc1ca261e79bd1c ]---

 

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

 

Rebooting in 180 seconds..

 

This is based on c1be5a5b1b355d40e6cf79cc979eb66dafa24ad1 from torvalds kernel.

 

Are there any patches against the kernel I need?  Anyone seen this before I work on

figuring it out?  I didn't update the device tree yet.  Not sure if I need the 32 or 36 bit version.

 

Thanks,

 

Barry

Outcomes