OpenWrt Forum Archive

Topic: kernel rebooting in 180 sec while loading rootfs for P1020RDB

The content of this topic has been archived on 30 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello there,
I have generated rootfs and trying to load into freescale P1020RDB board.But error like kernel rebooting in 180 seconds is coming.Below i have mention the logs.
-------------------------------------------------------------------------------------------------------
Device: FSL_ESDHC
Manufacturer ID: 3
OEM: 5344
Name: SU04G
Tran Speed: 25000000
Rd Block Len: 512
SD version 2.0
High Capacity: Yes
Capacity: 3965190144
Bus Width: 4-bit
Loading file "/boot/uImage" from mmc device 0:1 (xxa1)
1524278 bytes read
Loading file "/boot/p1020rdb.dtb" from mmc device 0:1 (xxa1)
28288 bytes read
WARNING: adjusting available memory to 30000000
## Booting kernel from Legacy Image at 01000000 ...
   Image Name:   Linux-3.10.24
   Created:      2014-01-01   7:16:12 UTC
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    1524214 Bytes = 1.5 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 00c00000
   Booting using the fdt blob at 0xc00000
   Uncompressing Kernel Image ... OK
   Loading Device Tree to 00ff6000, end 00fffe7f ... OK
[    0.000000] Using P1020 RDB machine description
[    0.000000] Memory CAM mapping: 256/256/256 Mb, residual: 256Mb
[    0.000000] Linux version 3.10.24 (root@nue) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r39163) ) #2 Wed Jan 1 12:46:07 IST 2014
[    0.000000] bootconsole [udbg0] enabled
setup_arch: bootmem
mpc85xx_rdb_setup_arch()
[    0.000000] mpc85xx_rdb_setup_arch: Could not find Quicc Engine node
[    0.000000] MPC85xx RDB board from Freescale Semiconductor
arch: exit
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x00000000-0x2fffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x2fffffff]
[    0.000000] MMU: Allocated 1088 bytes of context maps for 255 contexts
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 195072
[    0.000000] Kernel command line: root=/dev/mmcblk0p1 rw rootdelay=30 console=ttyS0,115200
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Sorting __ex_table...
[    0.000000] Memory: 710276k/786432k available (2944k kernel code, 76156k reserved, 120k data, 180k bss, 132k init)
[    0.000000] Kernel virtual memory layout:
[    0.000000]   * 0xfffdf000..0xfffff000  : fixmap
[    0.000000]   * 0xfdffe000..0xfe000000  : early ioremap
[    0.000000]   * 0xf1000000..0xfdffe000  : vmalloc & ioremap
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:512 nr_irqs:512 16
[    0.000000] mpic: Setting up MPIC " OpenPIC  " version 1.2 at ffe40000, max 1 CPUs
[    0.000000] mpic: ISU size: 256, shift: 8, mask: ff
[    0.000000] mpic: Initializing for 256 sources
[    0.000000] mpc85xx_rdb_pic_init: Could not find qe-ic node
[    0.000000] clocksource: timebase mult[1e000005] shift[24] registered
[    0.006411] pid_max: default: 32768 minimum: 301
[    0.011128] Mount-cache hash table entries: 512
[    0.019974] NET: Registered protocol family 16
             
[    0.036389] Found FSL PCI host bridge at 0x00000000ffe09000. Firmware bus number: 0->1
[    0.044256] PCI host bridge /pcie@ffe09000 (primary) ranges:
[    0.049901]  MEM 0x00000000a0000000..0x00000000bfffffff -> 0x00000000a0000000
[    0.057119]   IO 0x00000000ffc10000..0x00000000ffc1ffff -> 0x0000000000000000
[    0.064266] /pcie@ffe09000: PCICSRBAR @ 0xfff00000
[    0.069513] Found FSL PCI host bridge at 0x00000000ffe0a000. Firmware bus number: 0->0
[    0.077373] PCI host bridge /pcie@ffe0a000  ranges:
[    0.082239]  MEM 0x0000000080000000..0x000000009fffffff -> 0x0000000080000000
[    0.089458]   IO 0x00000000ffc00000..0x00000000ffc0ffff -> 0x0000000000000000
[    0.096603] /pcie@ffe0a000: PCICSRBAR @ 0xfff00000
[    0.114850] PCI: Probing PCI hardware
[    0.118759] fsl-pci ffe09000.pcie: PCI host bridge to bus 0000:00
[    0.124809] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.130965] pci_bus 0000:00: root bus resource [mem 0xa0000000-0xbfffffff]
[    0.137839] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.143388] pci 0000:00:00.0: ignoring class 0x0b2000 (doesn't match header type 01)
[    0.152099] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'
[    0.162069] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    0.167627] fsl-pci ffe0a000.pcie: PCI host bridge to bus 0001:02
[    0.173671] pci_bus 0001:02: root bus resource [io  0x20000-0x2ffff] (bus address [0x0000-0xffff])
[    0.182617] pci_bus 0001:02: root bus resource [mem 0x80000000-0x9fffffff]
[    0.189492] pci_bus 0001:02: root bus resource [bus 02-ff]
[    0.195029] pci 0001:02:00.0: ignoring class 0x0b2000 (doesn't match header type 01)
[    0.203005] pci 0001:02:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.211173] pci 0001:02:00.0: PCI bridge to [bus 03-ff]
[    0.216526] pci 0000:00:00.0: BAR 9: can't assign mem pref (size 0x100000)
[    0.223348] pci 0000:01:00.0: BAR 6: assigned [mem 0xa0080000-0xa00fffff pref]
[    0.230558] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.235515] pci 0000:00:00.0:   bridge window [io  0x0000-0xffff]
[    0.241605] pci 0000:00:00.0:   bridge window [mem 0xa0000000-0xbfffffff]
[    0.248393] pci 0001:02:00.0: PCI bridge to [bus 03]
[    0.253350] pci 0001:02:00.0:   bridge window [io  0x20000-0x2ffff]
[    0.259614] pci 0001:02:00.0:   bridge window [mem 0x80000000-0x9fffffff]
[    0.266394] Some PCI device resources are unassigned, try booting with pci=realloc
[    0.273973] pci 0000:00:00.0: enabling device (0106 -> 0107)
[    0.279629] pci 0001:02:00.0: enabling device (0106 -> 0107)
[    0.289562] bio: create slab <bio-0> at 0
[    0.295303] Switching to clocksource timebase
[    0.301677] NET: Registered protocol family 2
[    0.306364] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    0.313538] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[    0.319997] TCP: Hash tables configured (established 8192 bind 8192)
[    0.326384] TCP: reno registered
[    0.329554] UDP hash table entries: 512 (order: 1, 8192 bytes)
[    0.335396] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
[    0.341853] NET: Registered protocol family 1
[    0.359290] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.365079] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.375683] msgmni has been set to 1515
[    0.379672] io scheduler noop registered
[    0.383513] io scheduler deadline registered (default)
[    0.468117] Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled
[    0.475411] serial8250.0: ttyS0 at MMIO 0xffe04500 (irq = 42) is a 16550A
[    0.482170] console [ttyS0] enabled, bootconsole disabled
[    0.482170] console [ttyS0] enabled, bootconsole disabled
[    0.493518] serial8250.0: ttyS1 at MMIO 0xffe04600 (irq = 42) is a 16550A
[    0.501248] ffe04500.serial: ttyS0 at MMIO 0xffe04500 (irq = 42) is a 16550
[    0.508913] ffe04600.serial: ttyS1 at MMIO 0xffe04600 (irq = 42) is a 16550
[    0.516532] Generic RTC Driver v1.07
[    0.522536] libphy: Freescale PowerQUICC MII Bus: probed
[    0.529310] libphy: Freescale PowerQUICC MII Bus: probed
[    0.537449] fsl-gianfar ethernet.1 eth0: mac: 00:04:9f:01:cf:04
[    0.543411] fsl-gianfar ethernet.1 eth0: Running with NAPI enabled
[    0.549617] fsl-gianfar ethernet.1 eth0: RX BD ring size for Q[0]: 256
[    0.556168] fsl-gianfar ethernet.1 eth0: RX BD ring size for Q[1]: 256
[    0.562719] fsl-gianfar ethernet.1 eth0: RX BD ring size for Q[2]: 256
[    0.569271] fsl-gianfar ethernet.1 eth0: RX BD ring size for Q[3]: 256
[    0.575821] fsl-gianfar ethernet.1 eth0: RX BD ring size for Q[4]: 256
[    0.582373] fsl-gianfar ethernet.1 eth0: RX BD ring size for Q[5]: 256
[    0.588924] fsl-gianfar ethernet.1 eth0: RX BD ring size for Q[6]: 256
[    0.595475] fsl-gianfar ethernet.1 eth0: RX BD ring size for Q[7]: 256
[    0.602027] fsl-gianfar ethernet.1 eth0: TX BD ring size for Q[0]: 256
[    0.608578] fsl-gianfar ethernet.1 eth0: TX BD ring size for Q[1]: 256
[    0.615129] fsl-gianfar ethernet.1 eth0: TX BD ring size for Q[2]: 256
[    0.621681] fsl-gianfar ethernet.1 eth0: TX BD ring size for Q[3]: 256
[    0.628233] fsl-gianfar ethernet.1 eth0: TX BD ring size for Q[4]: 256
[    0.634783] fsl-gianfar ethernet.1 eth0: TX BD ring size for Q[5]: 256
[    0.641334] fsl-gianfar ethernet.1 eth0: TX BD ring size for Q[6]: 256
[    0.647885] fsl-gianfar ethernet.1 eth0: TX BD ring size for Q[7]: 256
[    0.656364] fsl-gianfar ethernet.2 eth1: mac: 00:04:9f:01:cf:05
[    0.662324] fsl-gianfar ethernet.2 eth1: Running with NAPI enabled
[    0.668529] fsl-gianfar ethernet.2 eth1: RX BD ring size for Q[0]: 256
[    0.675080] fsl-gianfar ethernet.2 eth1: RX BD ring size for Q[1]: 256
[    0.681631] fsl-gianfar ethernet.2 eth1: RX BD ring size for Q[2]: 256
[    0.688183] fsl-gianfar ethernet.2 eth1: RX BD ring size for Q[3]: 256
[    0.694734] fsl-gianfar ethernet.2 eth1: RX BD ring size for Q[4]: 256
[    0.701285] fsl-gianfar ethernet.2 eth1: RX BD ring size for Q[5]: 256
[    0.707836] fsl-gianfar ethernet.2 eth1: RX BD ring size for Q[6]: 256
[    0.714386] fsl-gianfar ethernet.2 eth1: RX BD ring size for Q[7]: 256
[    0.720938] fsl-gianfar ethernet.2 eth1: TX BD ring size for Q[0]: 256
[    0.727489] fsl-gianfar ethernet.2 eth1: TX BD ring size for Q[1]: 256
[    0.734040] fsl-gianfar ethernet.2 eth1: TX BD ring size for Q[2]: 256
[    0.740591] fsl-gianfar ethernet.2 eth1: TX BD ring size for Q[3]: 256
[    0.747142] fsl-gianfar ethernet.2 eth1: TX BD ring size for Q[4]: 256
[    0.753693] fsl-gianfar ethernet.2 eth1: TX BD ring size for Q[5]: 256
[    0.760245] fsl-gianfar ethernet.2 eth1: TX BD ring size for Q[6]: 256
[    0.766796] fsl-gianfar ethernet.2 eth1: TX BD ring size for Q[7]: 256
[    0.775210] fsl-gianfar ethernet.3 eth2: mac: 00:04:9f:01:cf:06
[    0.781175] fsl-gianfar ethernet.3 eth2: Running with NAPI enabled
[    0.787379] fsl-gianfar ethernet.3 eth2: RX BD ring size for Q[0]: 256
[    0.793931] fsl-gianfar ethernet.3 eth2: RX BD ring size for Q[1]: 256
[    0.800483] fsl-gianfar ethernet.3 eth2: RX BD ring size for Q[2]: 256
[    0.807034] fsl-gianfar ethernet.3 eth2: RX BD ring size for Q[3]: 256
[    0.813585] fsl-gianfar ethernet.3 eth2: RX BD ring size for Q[4]: 256
[    0.820137] fsl-gianfar ethernet.3 eth2: RX BD ring size for Q[5]: 256
[    0.826688] fsl-gianfar ethernet.3 eth2: RX BD ring size for Q[6]: 256
[    0.833239] fsl-gianfar ethernet.3 eth2: RX BD ring size for Q[7]: 256
[    0.839791] fsl-gianfar ethernet.3 eth2: TX BD ring size for Q[0]: 256
[    0.846341] fsl-gianfar ethernet.3 eth2: TX BD ring size for Q[1]: 256
[    0.852893] fsl-gianfar ethernet.3 eth2: TX BD ring size for Q[2]: 256
[    0.859444] fsl-gianfar ethernet.3 eth2: TX BD ring size for Q[3]: 256
[    0.865996] fsl-gianfar ethernet.3 eth2: TX BD ring size for Q[4]: 256
[    0.872548] fsl-gianfar ethernet.3 eth2: TX BD ring size for Q[5]: 256
[    0.879098] fsl-gianfar ethernet.3 eth2: TX BD ring size for Q[6]: 256
[    0.885650] fsl-gianfar ethernet.3 eth2: TX BD ring size for Q[7]: 256
[    0.892400] ucc_geth_driver: QE UCC Gigabit Ethernet Controller
[    0.898856] TCP: cubic registered
[    0.902204] NET: Registered protocol family 17
[    0.906740] 8021q: 802.1Q VLAN Support v1.8
[    0.912203] Waiting 30sec before mounting root device...
[   30.919748] VFS: Cannot open root device "mmcblk0p1" or unknown-block(0,0): error -6
[   30.927523] Please append a correct "root=" boot option; here are the available partitions:
[   30.935902] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   30.944184] CPU: 0 PID: 1 Comm: swapper Not tainted 3.10.24 #2
[   30.950022] Call Trace:
[   30.952487] [ef833df0] [c0006914] show_stack+0x50/0x170 (unreliable)
[   30.958872] [ef833e30] [c023b6f0] dump_stack+0x24/0x34
[   30.964024] [ef833e40] [c0239dcc] panic+0xc8/0x210
[   30.968827] [ef833ea0] [c02bfcfc] mount_block_root+0x228/0x2e0
[   30.974674] [ef833ef0] [c02bff88] prepare_namespace+0x16c/0x1ac
[   30.980606] [ef833f00] [c02bf964] kernel_init_freeable+0x1a8/0x1c0
[   30.986799] [ef833f30] [c0002730] kernel_init+0x14/0x11c
[   30.992126] [ef833f40] [c000c4bc] ret_from_kernel_thread+0x5c/0x64
[   30.998316] Rebooting in 180 seconds..
------------------------------------------------------------------------------------------------------------------

Please guys help me out of this problem.

Regards
Suman Pandit

Hi Suman,

right now I'm stuck at the very same point but with a P1020WLAN board.
As far as I understand the matter, for some reason the kernel is not able to mount the root system.
Unfortunately I do not have a solution. Maybe some drivers are missing??

Did you have any success with this?

Kind Regards
Johannes

The discussion might have continued from here.