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

LEDE Bugs lede-bugs at lists.infradead.org
Tue Feb 28 01:31:39 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)

----------
Bootlogs from the latest trunk with 4.9.13:


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 = 4301730 (41a3a2 hex)
   Image Name:   ARM LEDE Linux-4.9.13
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4301666 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] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 12 pages/cpu @cfdf7000 s20236 r8192 d20724 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 59690
[    0.000000] Kernel command line: console=ttyMSM0,115200n8 ubi.mtd=rootfs root=mtd:ubi_rootfs
[    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: 238340K/240640K available (3692K kernel code, 235K rwdata, 1172K rodata, 6888K init, 232K bss, 2300K 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 : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0208000 - 0xc05a3538   (3694 kB)
[    0.000000]       .init : 0xc06e8000 - 0xc0da2000   (6888 kB)
[    0.000000]       .data : 0xc0da2000 - 0xc0ddcf80   ( 236 kB)
[    0.000000]        .bss : 0xc0dde000 - 0xc0e180e8   ( 233 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.000022] Switching to timer-based delay loop, resolution 160ns
[    0.000199] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.50 BogoMIPS (lpj=62500)
[    0.000220] pid_max: default: 32768 minimum: 301
[    0.000318] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000332] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000919] CPU: Testing write buffer coherency: ok
[    0.001211] Setting up static identity map for 0x40208280 - 0x402082d8
[    0.004548] Brought up 2 CPUs
[    0.004564] SMP: Total of 2 processors activated (25.00 BogoMIPS).
[    0.004576] CPU: All CPU(s) started in SVC mode.
[    0.013658] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0
[    0.013835] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.013862] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.013944] pinctrl core: initialized pinctrl subsystem
[    0.015203] NET: Registered protocol family 16
[    0.015478] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.018746] qcom_rpm 108000.rpm: could not find pctldev for node /soc/pinmux at 800000/i2c4_pinmux, deferring probe
[    0.052533] qcom-smem smem: SMEM is not initialized by SBL
[    0.052590] qcom-smem: probe of smem failed with error -22
[    0.084581] usbcore: registered new interface driver usbfs
[    0.084674] usbcore: registered new interface driver hub
[    0.084756] usbcore: registered new device driver usb
[    0.084820] pps_core: LinuxPPS API ver. 1 registered
[    0.084834] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti 
[    0.084867] PTP clock support registered
[    0.086200] clocksource: Switched to clocksource dg_timer
[    0.088079] NET: Registered protocol family 2
[    0.088688] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.088720] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    0.088755] TCP: Hash tables configured (established 2048 bind 2048)
[    0.088804] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.088828] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.089019] NET: Registered protocol family 1
[    0.192056] No memory allocated for crashlog
[    0.192410] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    0.198824] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.198838] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.201962] io scheduler noop registered
[    0.201980] io scheduler deadline registered (default)
[    0.206714] gsbi 16300000.gsbi: GSBI port protocol: 6 crci: 0
[    0.207676] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.208494] msm_serial 16340000.serial: msm_serial: detected port #0
[    0.208569] msm_serial 16340000.serial: uartclk = 0
[    0.208633] 16340000.serial: ttyMSM0 at MMIO 0x16340000 (irq = 101, base_baud = 0) is a MSM
[    0.208673] msm_serial: console setup on port #0
[    0.684778] console [ttyMSM0] enabled
[    0.689855] msm_serial: driver initialized
[    0.701639] loop: module loaded
[    0.703250] libphy: GPIO Bitbanged MDIO: probed
[    0.722307] Unable to handle kernel paging request at virtual address d01fcf7c
[    0.722358] pgd = ceca8000
[    0.728431] [d01fcf7c] *pgd=00000000
[    0.734516] Internal error: Oops: 5 [#1] SMP ARM
[    0.734772] Modules linked in:
[    0.742323] CPU: 1 PID: 48 Comm: modprobe Not tainted 4.9.13 #0
[    0.742412] Hardware name: Generic DT based system
[    0.748145] task: ceca0000 task.stack: cec8e000
[    0.753012] PC is at free_hot_cold_page+0x94/0x178
[    0.757433] LR is at free_hot_cold_page+0x168/0x178
[    0.762294] pc : []    lr : []    psr: a0000013
[    0.762294] sp : cec8fea0  ip : 0007ffff  fp : 00000000
[    0.767076] r10: 00000089  r9 : c0ddc680  r8 : 00040000
[    0.778525] r7 : 000006a0  r6 : 00000000  r5 : 00000004  r4 : cfe04400
[    0.783735] r3 : 0000000d  r2 : 00000280  r1 : cfffcf80  r0 : c0ddc680
[    0.790338] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[    0.796845] Control: 10c5787d  Table: 4eca806a  DAC: 00000051
[    0.804045] Process modprobe (pid: 48, stack limit = 0xcec8e210)
[    0.809778] Stack: (0xcec8fea0 to 0xcec90000)
[    0.815886] fea0: cfff31e0 cec8fed8 00000000 60000013 00000008 c0ddc680 00000089 c028f9e4
[    0.820143] fec0: cffd0580 00000001 00000089 c0295430 00000000 cecb6000 cffd0594 cfe43474
[    0.828303] fee0: cecb6000 cec87058 cec8ff38 00000001 ceca4038 cec8ff78 cec8e000 00000000
[    0.836460] ff00: 00000000 c02adf60 00000000 642f0001 ceca4000 00000001 00000000 00000000
[    0.844623] ff20: ffffffff c020ed44 cec8e000 00000089 00000400 cecb6000 0044d7ce 00000000
[    0.852781] ff40: ffffffff 00000000 80000000 002a51bd cec8ff90 00000000 ceca4000 00000000
[    0.860943] ff60: ceca03f4 c021b27c ceca0000 ceca4000 ceca03f4 c021f098 0000ff00 ceca02ec
[    0.869102] ff80: ceca0000 000000f8 00000000 c02206b0 ffffffff befefea4 00000004 c0220748
[    0.877262] ffa0: ffffffff c020eb80 ffffffff befefea4 ffffffff befefdd8 00000000 ffffffff
[    0.885418] ffc0: ffffffff befefea4 00000004 000000f8 00000020 00000000 00000001 00000000
[    0.893580] ffe0: 00000001 befefe68 b6ea8524 b6eba550 60000010 ffffffff 00000000 00000000
[    0.901737] [] (free_hot_cold_page) from [] (free_hot_cold_page_list+0x30/0x44)
[    0.909893] [] (free_hot_cold_page_list) from [] (release_pages+0xf4/0x294)
[    0.918745] [] (release_pages) from [] (exit_mmap+0x124/0x1bc)
[    0.927423] [] (exit_mmap) from [] (mmput+0x38/0xf4)
[    0.935060] [] (mmput) from [] (do_exit+0x350/0x834)
[    0.941916] [] (do_exit) from [] (do_group_exit+0x48/0xd0)
[    0.948598] [] (do_group_exit) from [] (__wake_up_parent+0x0/0x18)
[    0.955639] Code: e1a03103 e1a0c2a3 e203301f e263301d (e791110c)
[    0.963523] ---[ end trace 8735e48574c74ac6 ]---
[    0.969670] Kernel panic - not syncing: Fatal exception
[    0.974368] CPU0: stopping
[    0.979300] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G      D         4.9.13 #0
[    0.982079] Hardware name: Generic DT based system
[    0.989312] [] (unwind_backtrace) from [] (show_stack+0x10/0x14)
[    0.993993] [] (show_stack) from [] (dump_stack+0x7c/0x9c)
[    1.001885] [] (dump_stack) from [] (handle_IPI+0xcc/0x184)
[    1.008911] [] (handle_IPI) from [] (gic_handle_irq+0x78/0x94)
[    1.016124] [] (gic_handle_irq) from [] (__irq_svc+0x6c/0x90)
[    1.023747] Exception stack(0xc0da3f60 to 0xc0da3fa8)
[    1.031320] 3f60: 00000000 000000f2 cfdf927c c021a280 c0da2000 c0da4fe4 00000001 c0dad803
[    1.036357] 3f80: c0da5034 c0710a28 00000000 00000000 00000000 c0da3fb0 c020f4d0 c020f4d4
[    1.044502] 3fa0: 60000013 ffffffff
[    1.052662] [] (__irq_svc) from [] (arch_cpu_idle+0x2c/0x38)
[    1.055967] [] (arch_cpu_idle) from [] (cpu_startup_entry+0xb8/0x118)
[    1.063609] [] (cpu_startup_entry) from [] (start_kernel+0x334/0x3a8)
[    1.071676] [] (start_kernel) from [] (0x4020807c)
[    1.079837] Rebooting in 1 seconds..[    4.087753] Reboot failed -- System halted


----------

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



More information about the lede-bugs mailing list