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

LEDE Bugs lede-bugs at lists.infradead.org
Tue Feb 28 11:15:05 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)

----------
after removing all target/linux/ipq8064/patches-4.9/ I end up with another kernel-panic at the same virtual address but way after "libphy: GPIO Bitbanged MDIO: probed"


[    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 @cfdfe000 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: 238380K/240640K available (3696K kernel code, 233K rwdata, 1168K rodata, 6896K init, 232K bss, 2260K 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 - 0xc05a4350   (3697 kB)
[    0.000000]       .init : 0xc06e8000 - 0xc0da4000   (6896 kB)
[    0.000000]       .data : 0xc0da4000 - 0xc0dde440   ( 234 kB)
[    0.000000]        .bss : 0xc0de0000 - 0xc0e1a0e8   ( 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.000019] Switching to timer-based delay loop, resolution 160ns
[    0.000154] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.50 BogoMIPS (lpj=62500)
[    0.000174] pid_max: default: 32768 minimum: 301
[    0.000270] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000285] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000879] CPU: Testing write buffer coherency: ok
[    0.001172] Setting up static identity map for 0x40208280 - 0x402082d8
[    0.004521] Brought up 2 CPUs
[    0.004536] SMP: Total of 2 processors activated (25.00 BogoMIPS).
[    0.004546] CPU: All CPU(s) started in SVC mode.
[    0.009652] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0
[    0.009830] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.009853] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.009935] pinctrl core: initialized pinctrl subsystem
[    0.011240] NET: Registered protocol family 16
[    0.011523] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.063747] usbcore: registered new interface driver usbfs
[    0.063840] usbcore: registered new interface driver hub
[    0.063926] usbcore: registered new device driver usb
[    0.063985] pps_core: LinuxPPS API ver. 1 registered
[    0.063998] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti 
[    0.064029] PTP clock support registered
[    0.065358] clocksource: Switched to clocksource dg_timer
[    0.066443] NET: Registered protocol family 2
[    0.067021] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.067054] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    0.067088] TCP: Hash tables configured (established 2048 bind 2048)
[    0.067142] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.067164] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.067366] NET: Registered protocol family 1
[    0.171854] No memory allocated for crashlog
[    0.172255] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    0.178684] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.178698] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.182013] io scheduler noop registered
[    0.182028] io scheduler deadline registered (default)
[    0.183773] gsbi 16300000.gsbi: GSBI port protocol: 6 crci: 0
[    0.184588] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.185333] msm_serial 16340000.serial: msm_serial: detected port #0
[    0.185394] msm_serial 16340000.serial: uartclk = 7962624
[    0.185454] 16340000.serial: ttyMSM0 at MMIO 0x16340000 (irq = 93, base_baud = 497664) is a MSM
[    0.185500] msm_serial: console setup on port #0
[    0.641327] console [ttyMSM0] enabled
[    0.646397] msm_serial: driver initialized
[    0.658538] loop: module loaded
[    0.660219] libphy: Fixed MDIO Bus: probed
[    0.660486] libphy: mdio_driver_register: qca8k
[    0.664828] i2c /dev entries driver
[    0.670457] sdhci: Secure Digital Host Controller Interface driver
[    0.672555] sdhci: Copyright(c) Pierre Ossman
[    0.678890] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.684321] NET: Registered protocol family 10
[    0.690437] NET: Registered protocol family 17
[    0.693396] 8021q: 802.1Q VLAN Support v1.8
[    0.697814] Registering SWP/SWPB emulation handler
[    0.711484] UBI error: cannot open mtd rootfs, error -2[    0.7▒[    0.724007] Unable to handle kernel paging request at virtual address d01fcf7c
[    0.724043] pgd = c0204000
[    0.730119] [d01fcf7c] *pgd=00000000
[    0.736198] Internal error: Oops: 5 [#1] SMP ARM
[    0.736458] Modules linked in:
[    0.744010] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.9.13 #0
[    0.744099] Hardware name: Generic DT based system
[    0.749827] task: c1538000 task.stack: c153c000
[    0.754698] PC is at free_hot_cold_page+0x94/0x178
[    0.759116] LR is at free_hot_cold_page+0x168/0x178
[    0.763978] pc : []    lr : []    psr: a0000013
[    0.763978] sp : c153df58  ip : 0007ffff  fp : 00000001
[    0.768762] r10: ffffffff  r9 : c065eee1  r8 : 00040000
[    0.780212] r7 : 000006e8  r6 : 00000000  r5 : 00000000  r4 : cfe04d00
[    0.785422] r3 : 0000000d  r2 : 00000280  r1 : cfffcf80  r0 : c0dddb40
[    0.792020] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[    0.798529] Control: 10c5787d  Table: 4020406a  DAC: 00000051
[    0.805731] Process swapper/0 (pid: 1, stack limit = 0xc153c210)
[    0.811465] Stack: (0xc153df58 to 0xc153e000)
[    0.817540] df40:                                                       c06e8000 cfe04d00
[    0.821819] df60: 00000001 c06e9000 c0da4000 c065eee1 ffffffff c0290078 c06e8000 c0da4000
[    0.829978] df80: ffffffff c0de0000 c059f47c 00000000 00000000 00000000 00000000 00000000
[    0.838137] dfa0: 00000000 c059f490 00000000 c020ecb8 00000000 00000000 00000000 00000000
[    0.846297] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.854456] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000 b3baab7b affb3ba2
[    0.862614] [] (free_hot_cold_page) from [] (free_reserved_area+0x88/0xd0)
[    0.870765] [] (free_reserved_area) from [] (kernel_init+0x14/0xf4)
[    0.879277] [] (kernel_init) from [] (ret_from_fork+0x14/0x3c)
[    0.887180] Code: e1a03103 e1a0c2a3 e203301f e263301d (e791110c)
[    0.894802] ---[ end trace 2a7577ab8d5332c0 ]---
[    0.900958] Kernel panic - not syncing: Fatal exception
[    0.905668] CPU1: stopping
[    0.910602] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G      D         4.9.13 #0
[    0.913376] Hardware name: Generic DT based system
[    0.920619] [] (unwind_backtrace) from [] (show_stack+0x10/0x14)
[    0.925299] [] (show_stack) from [] (dump_stack+0x7c/0x9c)
[    0.933188] [] (dump_stack) from [] (handle_IPI+0xcc/0x184)
[    0.940214] [] (handle_IPI) from [] (gic_handle_irq+0x78/0x94)
[    0.947428] [] (gic_handle_irq) from [] (__irq_svc+0x6c/0x90)
[    0.955046] Exception stack(0xc1561f98 to 0xc1561fe0)
[    0.962603] 1f80:                                                       00000000 00000188
[    0.967668] 1fa0: cfe0c27c c021a340 c1560000 c0da6fe4 00000002 c0daf803 c0da7034 512f04d0
[    0.975826] 1fc0: 00000000 00000000 00000001 c1561fe8 c020f550 c020f554 60000013 ffffffff
[    0.983977] [] (__irq_svc) from [] (arch_cpu_idle+0x2c/0x38)
[    0.992131] [] (arch_cpu_idle) from [] (cpu_startup_entry+0xc0/0x120)
[    0.999592] [] (cpu_startup_entry) from [] (0x402094ac)
[    1.007656] Rebooting in 1 seconds..

----------

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



More information about the lede-bugs mailing list