[FS#549] Kernel Panic on linux-4.9 during start for ipq806x r7500

LEDE Bugs lede-bugs at lists.infradead.org
Mon Mar 6 18:31:57 PST 2017


The following task has a new comment added:

FS#549 - Kernel Panic on linux-4.9 during start for ipq806x r7500 
User who did this - Thomas Reifferscheid (reiffert)

----------
Success.


U-Boot 2012.07 [local,local] (Jun 20 2014 - 17:36:49)

U-boot 2012.07 dni1 V2.2 for DNI HW ID: 29764841 NOR flash 0MB NAND flash 128MB RAM 256MB 1st Radio 3x3 2nd Radio 4x4
smem ram ptable found: ver: 0 len: 5
DRAM:  235 MiB
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
 131072 bytes read: OK
cdp: get part failed for 0:HLOS
Net:   MAC1 addr:6c:b0:ce:24:7d:5
athrs17_reg_init: complete
athrs17_vlan_config ...done
S17 inits done
MAC2 addr:6c:b0:ce:24:7d:4
eth0, eth1
Hit any key to stop autoboot:  0
Mac2 unit failed
Using eth0 device
TFTP from server 10.20.0.2; our IP address is 10.20.0.3
Filename 'lede-ipq806x-R7500-initramfs-uImage'.
Load address: 0x41000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         ###################################
done
Bytes transferred = 4328037 (420a65 hex)
   Image Name:   ARM LEDE Linux-4.9.13
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4327973 Bytes = 4.1 MiB
   Load Address: 42208000
   Entry Point:  42208000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK
mtdparts variable not set, see 'help mtdparts'
no partitions defined

defaults:
mtdids  : nand0=msm_nand
mtdparts: mtdparts=msm_nand:12M at 0x2d40000(netgear)
info: "mtdparts" not set
Using machid 0x1260 from environment

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.13 (thomas at debian) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3608-5ef0854) ) #0 SMP Mon Feb 27 22:46:53 2017
[    0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5787d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt:Machine model: Netgear Nighthawk X4 R7500
[    0.000000] OF: fdt:Ignoring memory range 0x41500000 - 0x42000000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 57344
[    0.000000] free_area_init_node: node 0, pgdat c0de3280, node_mem_map cde39000
[    0.000000]   Normal zone: 448 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 57344 pages, LIFO batch:15
[    0.000000] percpu: Embedded 13 pages/cpu @cde0d000 s20940 r8192 d24116 u53248
[    0.000000] pcpu-alloc: s20940 r8192 d24116 u53248 alloc=13*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 56896
[    0.000000] Kernel command line: console=ttyMSM0,115200n8 ubi.mtd=rootfs root=mtd:ubi_rootfs debug earlyprintk
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 214768K/229376K available (4000K kernel code, 222K rwdata, 992K rodata, 6800K init, 231K bss, 14608K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xce800000 - 0xff800000   ( 784 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xce000000   ( 224 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0208000 - 0xc05f0318   (4001 kB)
[    0.000000]       .init : 0xc0708000 - 0xc0dac000   (6800 kB)
[    0.000000]       .data : 0xc0dac000 - 0xc0de3b80   ( 223 kB)
[    0.000000]        .bss : 0xc0de5000 - 0xc0e1ec28   ( 232 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] clocksource: dg_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 305801671480 ns
[    0.000006] sched_clock: 32 bits at 6MHz, resolution 160ns, wraps every 343597383600ns
[    0.000019] Switching to timer-based delay loop, resolution 160ns
[    0.000177] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.50 BogoMIPS (lpj=62500)
[    0.000197] pid_max: default: 32768 minimum: 301
[    0.000294] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000309] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000855] CPU: Testing write buffer coherency: ok
[    0.001136] Setting up static identity map for 0x42208280 - 0x422082d8
[    0.004324] Brought up 2 CPUs
[    0.004339] SMP: Total of 2 processors activated (25.00 BogoMIPS).
[    0.004349] CPU: All CPU(s) started in SVC mode.
[    0.012892] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0
[    0.013075] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.013098] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.013176] pinctrl core: initialized pinctrl subsystem
[    0.014333] NET: Registered protocol family 16
[    0.014615] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.041401] cpuidle: using governor ladder
[    0.072414] cpuidle: using governor menu
[    0.074217] qcom_rpm 108000.rpm: could not find pctldev for node /soc/pinmux at 800000/i2c4_pinmux, deferring probe
[    0.089805] qcom-smem smem: SMEM is not initialized by SBL
[    0.089856] qcom-smem: probe of smem failed with error -22
[    0.115404] pps_core: LinuxPPS API ver. 1 registered
[    0.115420] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti 
[    0.115462] PTP clock support registered
[    0.116758] clocksource: Switched to clocksource dg_timer
[    0.118570] NET: Registered protocol family 2
[    0.119103] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.119135] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    0.119167] TCP: Hash tables configured (established 2048 bind 2048)
[    0.119227] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.119250] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.119443] NET: Registered protocol family 1
[    0.119491] PCI: CLS 0 bytes, default 64
[    0.214471] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    0.220587] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.220602] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.223537] io scheduler noop registered
[    0.223554] io scheduler deadline registered (default)
[    0.224445] pinctrl-single 1a4000b0.pinmux: 1 pins at pa ce8630b0 size 4
[    0.226257] gsbi 16300000.gsbi: GSBI port protocol: 6 crci: 0
[    0.227278] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.228093] msm_serial 16340000.serial: msm_serial: detected port #0
[    0.228162] msm_serial 16340000.serial: uartclk = 7372800
[    0.228224] 16340000.serial: ttyMSM0 at MMIO 0x16340000 (irq = 101, base_baud = 460800) is a MSM
[    0.228266] msm_serial: console setup on port #0
[    0.746368] console [ttyMSM0] enabled
[    0.751243] msm_serial: driver initialized
[    0.762597] loop: module loaded
[    0.763884] libphy: GPIO Bitbanged MDIO: probed
[    0.796030] libphy: Fixed MDIO Bus: probed
[    0.808280] stmmac - user ID: 0x10, Synopsys ID: 0x37
[    0.808312]  Ring mode enabled
[    0.812310]  DMA HW capability register supported[    0.815262]  Enhanced/Alternate descriptors
[    0.820904]  Enabled extended descriptors
[    0.823862]  RX Checksum Offload Engine supported
[    0.828121]  COE Type 2
[    0.832713]  TX Checksum insertion supported
[    0.834973]  Wake-Up On Lan supported
[    0.839553]  Enable RX Mitigation via HW Watchdog Timer
[    0.855505] stmmac - user ID: 0x10, Synopsys ID: 0x37
[    0.855536]  Ring mode enabled
[    0.859792]  DMA HW capability register supported[    0.862485]  Enhanced/Alternate descriptors
[    0.868196]  Enabled extended descriptors
[    0.871088]  RX Checksum Offload Engine supported
[    0.875254]  COE Type 2
[    0.880005]  TX Checksum insertion supported
[    0.882198]  Wake-Up On Lan supported
[    0.886712]  Enable RX Mitigation via HW Watchdog Timer
[    0.891095] i2c /dev entries driver
[    0.896840] sdhci: Secure Digital Host Controller Interface driver
[    0.898843] sdhci: Copyright(c) Pierre Ossman
[    0.905029] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.910890] NET: Registered protocol family 10
[    0.916575] NET: Registered protocol family 17
[    0.919820] 8021q: 802.1Q VLAN Support v1.8
[    0.923954] Registering SWP/SWPB emulation handler
[    0.938001] qcom_rpm 108000.rpm: RPM firmware 3.0.16777336
[    0.939014] UBI error: cannot open mtd rootfs, error -2[    0.9▒[    0.956418] Freeing unused kernel memory: 6800K (c0708000 - c0dac000)
[    0.956452] This architecture does not have kernel memory protection.


[    0.981625] init: Console is alive
[    0.981973] init: - watchdog -
[    1.000827] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    1.009609] usbcore: registered new interface driver usbfs
[    1.009783] usbcore: registered new interface driver hub
[    1.014155] usbcore: registered new device driver usb

[    1.031184] SCSI subsystem initialized
[    1.037776] libata version 3.00 loaded.
[    1.043193] ahci 29000000.sata: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x0 impl platform mode
[    1.043253] ahci 29000000.sata: flags: ncq sntf pm led clo only pmp pio slum part ccc apst
[    1.051918] scsi host0: ahci

[    1.059484] ata1: DUMMY
[    1.066795] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.068108] ehci-platform: EHCI generic platform driver
[    1.076262] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.078652] ohci-platform: OHCI generic platform driver

[    1.100792] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    1.104932] init: - preinit -







[    1.324513] random: jshn: uninitialized urandom read (4 bytes read)

[    1.371489] random: jshn: uninitialized urandom read (4 bytes read)








[    1.609082] random: jshn: uninitialized urandom read (4 bytes read)

[    1.646459] random: jshn: uninitialized urandom read (4 bytes read)



[    1.762619] random: jshn: uninitialized urandom read (4 bytes read)



Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.

Failed to connect to the switch. Use the "list" command to see which switches are available.
[    1.891795] random: procd: uninitialized urandom read (4 bytes read)
[    1.897693] eth1: device MAC address 6c:b0:ce:24:7d:04

[    1.908957] ipq806x-gmac-dwmac 37400000.ethernet eth1: IEEE 1588-2008 Advanced Timestamp supported
[    1.909204] ipq806x-gmac-dwmac 37400000.ethernet eth1: registered PTP clock
[    1.917004] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready

sendto(): Network unreachable

Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level













[    2.967214] ipq806x-gmac-dwmac 37400000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
[    2.967276] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready


[    4.135770] procd: - early -
[    4.135929] procd: - watchdog -


[    4.770868] procd: - ubus -
[    4.821519] random: ubusd: uninitialized urandom read (4 bytes read)
[    4.821934] random: ubusd: uninitialized urandom read (4 bytes read)
[    4.827092] random: ubusd: uninitialized urandom read (4 bytes read)
[    4.833733] random: ubusd: uninitialized urandom read (4 bytes read)
[    4.840806] procd: - init -
Please press Enter to activate this console.
uci: Entry not found


BusyBox v1.26.2 () built-in shell (ash)

     _________
    /        /\      _    ___ ___  ___
   /  LE    /  \    | |  | __|   \| __|
  /    DE  /    \   | |__| _|| |) | _|
 /________/  LE  \  |____|___|___/|___|                      lede-project.org
 \        \   DE /
  \    LE  \    /  -----------------------------------------------------------
   \  DE    \  /    Reboot (SNAPSHOT, r3608-5ef0854)
    \________\/    -----------------------------------------------------------

=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@(none):/#
root@(none):/#
root@(none):/# [    5.040134] kmodloader: loading kernel modules from /etc/modules.d/*
[    5.045615] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    5.055131] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[    5.055176] Backport generated by backports.git backports-20160324-13-g24da7d3c
[    5.102359] ip_tables: (C) 2000-2006 Netfilter Core Team
[    5.110268] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
[    5.150490] xt_time: kernel timezone is -0000
[    5.154412] kmodloader: done loading kernel modules from /etc/modules.d/*

root@(none):/# uname -a
Linux LEDE 4.9.13 #0 SMP Mon Feb 27 22:46:53 2017 armv7l GNU/Linux

----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=549#comment2083



More information about the lede-bugs mailing list