Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
openwrt-bot opened this issue Feb 22, 2017 · 7 comments
Closed

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

openwrt-bot opened this issue Feb 22, 2017 · 7 comments
Labels

Comments

@openwrt-bot
Copy link

reiffert:

Linux-4.9 gets a kernel panic during start.

Please find instructions on how to reproduce [[http://snap.reifferscheid.org/linux-4.9-bootlog.txt|here]].
You would need a serial console for that.

@openwrt-bot
Copy link
Author

reiffert:

[[http://snap.reifferscheid.org/linux-4.9-bootlog-no-SMP.txt|Bootlogs without SMP]]

@openwrt-bot
Copy link
Author

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@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@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@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 giometti@linux.it
[ 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 [<4020807c>] (0x4020807c)
[ 1.079837] Rebooting in 1 seconds..[ 4.087753] Reboot failed -- System halted

@openwrt-bot
Copy link
Author

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@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 [<402094ac>] (0x402094ac) [ 1.007656] Rebooting in 1 seconds..

@openwrt-bot
Copy link
Author

reiffert:

For that to work I had to return from free_hot_cold_page() in mm/page_alloc.c for all the faulty pages, enable arch/arm/mach-qcom/board.c and adjust the Makefile, add mem=224M to the bootargs and I made it to: "Freeing unused kernel memory: 6808K (c06a0000 - c0d46000)"

Irrelevant: CONFIG_SMP, _SWAP, _HIGHMEM, _DEBUG_RODATA

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 = 4185558 (3fddd6 hex)
Image Name: ARM LEDE Linux-4.9.13
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4185494 Bytes = 4 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@0x2d40000(netgear)
info: "mtdparts" not set
Using machid 0x1260 from environment

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.13 (thomas@debian) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3608-5ef0854) ) #0 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] bootconsole [earlycon0] enabled
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] On node 0 totalpages: 51968
[ 0.000000] free_area_init_node: node 0, pgdat c0d8154c, node_mem_map cde63000
[ 0.000000] Normal zone: 406 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 51968 pages, LIFO batch:15
[ 0.000000] ------------[ cut here ]------------
[ 0.000000] WARNING: CPU: 0 PID: 0 at arch/arm/kernel/devtree.c:158 arm_dt_init_cpu_maps+0xf8/0x160
[ 0.000000] DT /cpu 2 nodes greater than max cores 1, capping them
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.9.13 #0
[ 0.000000] Hardware name: Qualcomm (Flattened Device Tree)
[ 0.000000] [] (unwind_backtrace) from [] (show_stack+0x10/0x14)
[ 0.000000] [] (show_stack) from [] (__warn+0xc8/0xf4)
[ 0.000000] [] (__warn) from [] (warn_slowpath_fmt+0x34/0x44)
[ 0.000000] [] (warn_slowpath_fmt) from [] (arm_dt_init_cpu_maps+0xf8/0x160)
[ 0.000000] [] (arm_dt_init_cpu_maps) from [] (setup_arch+0x720/0x81c)
[ 0.000000] [] (setup_arch) from [] (start_kernel+0x84/0x398)
[ 0.000000] [] (start_kernel) from [<40208078>] (0x40208078)
[ 0.000000] ---[ end trace f68728a0d3053b52 ]---
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 51562
[ 0.000000] Kernel command line: console=ttyMSM0,115200n8 ubi.mtd=rootfs root=mtd:ubi_rootfs debug earlyprintk mem=224M
[ 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: 205888K/207872K available (3435K kernel code, 238K rwdata, 1144K rodata, 6808K init, 203K bss, 1980K reserved, 0K cma-reserved)
[ 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] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0208000 - 0xc05631a0 (3437 kB)
[ 0.000000] .init : 0xc06a0000 - 0xc0d46000 (6808 kB)
[ 0.000000] .data : 0xc0d46000 - 0xc0d81ba0 ( 239 kB)
[ 0.000000] .bss : 0xc0d83000 - 0xc0db5cb0 ( 204 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 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.000005] sched_clock: 32 bits at 6MHz, resolution 160ns, wraps every 343597383600ns
[ 0.007986] Switching to timer-based delay loop, resolution 160ns
[ 0.014379] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.50 BogoMIPS (lpj=62500)
[ 0.024476] pid_max: default: 32768 minimum: 301
[ 0.029296] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.035848] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.043476] CPU: Testing write buffer coherency: ok
[ 0.048067] Setting up static identity map for 0x40208240 - 0x40208298
[ 0.061172] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0
[ 0.068130] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.077861] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.084138] pinctrl core: initialized pinctrl subsystem
[ 0.089725] reg-dummy reg-dummy: no of_node; not parsing pinctrl DT
[ 0.096209] NET: Registered protocol family 16
[ 0.101139] DMA: preallocated 2048 KiB pool for atomic coherent allocations
[ 0.109460] qcom_rpm 108000.rpm: could not find pctldev for node /soc/pinmux@800000/i2c4_pinmux, deferring probe
[ 0.119123] ipq8064-pinctrl 800000.pinmux: try to register 72 pins ...
[ 0.125283] pinctrl core: registered pin 0 (GPIO_0) on 800000.pinmux
[ 0.131769] pinctrl core: registered pin 1 (GPIO_1) on 800000.pinmux
[ 0.138124] pinctrl core: registered pin 2 (GPIO_2) on 800000.pinmux
[ 0.144608] pinctrl core: registered pin 3 (GPIO_3) on 800000.pinmux
[ 0.150969] pinctrl core: registered pin 4 (GPIO_4) on 800000.pinmux
[ 0.157447] pinctrl core: registered pin 5 (GPIO_5) on 800000.pinmux
[ 0.163816] pinctrl core: registered pin 6 (GPIO_6) on 800000.pinmux
[ 0.170316] pinctrl core: registered pin 7 (GPIO_7) on 800000.pinmux
[ 0.176663] pinctrl core: registered pin 8 (GPIO_8) on 800000.pinmux
[ 0.183156] pinctrl core: registered pin 9 (GPIO_9) on 800000.pinmux
[ 0.189510] pinctrl core: registered pin 10 (GPIO_10) on 800000.pinmux
[ 0.196183] pinctrl core: registered pin 11 (GPIO_11) on 800000.pinmux
[ 0.202706] pinctrl core: registered pin 12 (GPIO_12) on 800000.pinmux
[ 0.209368] pinctrl core: registered pin 13 (GPIO_13) on 800000.pinmux
[ 0.215900] pinctrl core: registered pin 14 (GPIO_14) on 800000.pinmux
[ 0.222549] pinctrl core: registered pin 15 (GPIO_15) on 800000.pinmux
[ 0.229094] pinctrl core: registered pin 16 (GPIO_16) on 800000.pinmux
[ 0.235764] pinctrl core: registered pin 17 (GPIO_17) on 800000.pinmux
[ 0.242288] pinctrl core: registered pin 18 (GPIO_18) on 800000.pinmux
[ 0.248947] pinctrl core: registered pin 19 (GPIO_19) on 800000.pinmux
[ 0.255483] pinctrl core: registered pin 20 (GPIO_20) on 800000.pinmux
[ 0.262131] pinctrl core: registered pin 21 (GPIO_21) on 800000.pinmux
[ 0.268679] pinctrl core: registered pin 22 (GPIO_22) on 800000.pinmux
[ 0.275345] pinctrl core: registered pin 23 (GPIO_23) on 800000.pinmux
[ 0.281871] pinctrl core: registered pin 24 (GPIO_24) on 800000.pinmux
[ 0.288528] pinctrl core: registered pin 25 (GPIO_25) on 800000.pinmux
[ 0.295066] pinctrl core: registered pin 26 (GPIO_26) on 800000.pinmux
[ 0.301744] pinctrl core: registered pin 27 (GPIO_27) on 800000.pinmux
[ 0.308260] pinctrl core: registered pin 28 (GPIO_28) on 800000.pinmux
[ 0.314926] pinctrl core: registered pin 29 (GPIO_29) on 800000.pinmux
[ 0.321455] pinctrl core: registered pin 30 (GPIO_30) on 800000.pinmux
[ 0.328109] pinctrl core: registered pin 31 (GPIO_31) on 800000.pinmux
[ 0.334651] pinctrl core: registered pin 32 (GPIO_32) on 800000.pinmux
[ 0.341324] pinctrl core: registered pin 33 (GPIO_33) on 800000.pinmux
[ 0.347845] pinctrl core: registered pin 34 (GPIO_34) on 800000.pinmux
[ 0.354507] pinctrl core: registered pin 35 (GPIO_35) on 800000.pinmux
[ 0.361038] pinctrl core: registered pin 36 (GPIO_36) on 800000.pinmux
[ 0.367692] pinctrl core: registered pin 37 (GPIO_37) on 800000.pinmux
[ 0.374234] pinctrl core: registered pin 38 (GPIO_38) on 800000.pinmux
[ 0.380905] pinctrl core: registered pin 39 (GPIO_39) on 800000.pinmux
[ 0.387427] pinctrl core: registered pin 40 (GPIO_40) on 800000.pinmux
[ 0.394088] pinctrl core: registered pin 41 (GPIO_41) on 800000.pinmux
[ 0.400621] pinctrl core: registered pin 42 (GPIO_42) on 800000.pinmux
[ 0.407272] pinctrl core: registered pin 43 (GPIO_43) on 800000.pinmux
[ 0.413816] pinctrl core: registered pin 44 (GPIO_44) on 800000.pinmux
[ 0.420487] pinctrl core: registered pin 45 (GPIO_45) on 800000.pinmux
[ 0.427010] pinctrl core: registered pin 46 (GPIO_46) on 800000.pinmux
[ 0.433670] pinctrl core: registered pin 47 (GPIO_47) on 800000.pinmux
[ 0.440205] pinctrl core: registered pin 48 (GPIO_48) on 800000.pinmux
[ 0.446853] pinctrl core: registered pin 49 (GPIO_49) on 800000.pinmux
[ 0.453399] pinctrl core: registered pin 50 (GPIO_50) on 800000.pinmux
[ 0.460067] pinctrl core: registered pin 51 (GPIO_51) on 800000.pinmux
[ 0.466594] pinctrl core: registered pin 52 (GPIO_52) on 800000.pinmux
[ 0.473251] pinctrl core: registered pin 53 (GPIO_53) on 800000.pinmux
[ 0.479790] pinctrl core: registered pin 54 (GPIO_54) on 800000.pinmux
[ 0.486466] pinctrl core: registered pin 55 (GPIO_55) on 800000.pinmux
[ 0.492982] pinctrl core: registered pin 56 (GPIO_56) on 800000.pinmux
[ 0.499648] pinctrl core: registered pin 57 (GPIO_57) on 800000.pinmux
[ 0.506177] pinctrl core: registered pin 58 (GPIO_58) on 800000.pinmux
[ 0.512833] pinctrl core: registered pin 59 (GPIO_59) on 800000.pinmux
[ 0.519372] pinctrl core: registered pin 60 (GPIO_60) on 800000.pinmux
[ 0.526046] pinctrl core: registered pin 61 (GPIO_61) on 800000.pinmux
[ 0.532566] pinctrl core: registered pin 62 (GPIO_62) on 800000.pinmux
[ 0.539230] pinctrl core: registered pin 63 (GPIO_63) on 800000.pinmux
[ 0.545768] pinctrl core: registered pin 64 (GPIO_64) on 800000.pinmux
[ 0.552413] pinctrl core: registered pin 65 (GPIO_65) on 800000.pinmux
[ 0.558955] pinctrl core: registered pin 66 (GPIO_66) on 800000.pinmux
[ 0.565627] pinctrl core: registered pin 67 (GPIO_67) on 800000.pinmux
[ 0.572149] pinctrl core: registered pin 68 (GPIO_68) on 800000.pinmux
[ 0.578812] pinctrl core: registered pin 69 (SDC3_CLK) on 800000.pinmux
[ 0.585431] pinctrl core: registered pin 70 (SDC3_CMD) on 800000.pinmux
[ 0.592182] pinctrl core: registered pin 71 (SDC3_DATA) on 800000.pinmux
[ 0.598987] gpio gpiochip0: (800000.pinmux): added GPIO chardev (254:0)
[ 0.605769] gpiochip_setup_dev: registered GPIOs 0 to 68 on device: gpiochip0 (800000.pinmux)
[ 0.614172] gpio gpiochip0: (800000.pinmux): created GPIO range 0->68 ==> 800000.pinmux PIN 0->68
[ 0.625569] ipq8064-pinctrl 800000.pinmux: Probed Qualcomm pinctrl driver
[ 0.656988] qcom-smem smem: SMEM is not initialized by SBL
[ 0.661611] qcom-smem: probe of smem failed with error -22
[ 0.670720] usbcore: registered new interface driver usbfs
[ 0.675305] usbcore: registered new interface driver hub
[ 0.680764] usbcore: registered new device driver usb
[ 0.685792] pps_core: LinuxPPS API ver. 1 registered
[ 0.690788] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
[ 0.700077] PTP clock support registered
[ 0.704847] clocksource: Switched to clocksource dg_timer
[ 0.710878] NET: Registered protocol family 2
[ 0.714782] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.721406] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.727807] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.734203] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.740142] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.746584] NET: Registered protocol family 1
[ 0.750852] PCI: CLS 0 bytes, default 64
[ 0.834113] alarmtimer alarmtimer: no of_node; not parsing pinctrl DT
[ 0.839841] No memory allocated for crashlog
[ 0.844272] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[ 0.854292] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.859254] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.870428] io scheduler noop registered
[ 0.873395] io scheduler deadline registered (default)
[ 0.881749] gsbi 16300000.gsbi: GSBI port protocol: 6 crci: 0
[ 0.887236] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.893274] serial8250 serial8250: no of_node; not parsing pinctrl DT
[ 0.899736] msm_serial 16340000.serial: msm_serial: detected port #0
[ 0.906004] msm_serial 16340000.serial: uartclk = 0
[ 0.910880] 16340000.serial: ttyMSM0 at MMIO 0x16340000 (irq = 101, base_baud = 0) is a MSM
[ 0.919347] msm_serial: console setup o▒[ 0.924054] console [ttyMSM0] enabled
[ 0.924054] console [ttyMSM0] enabled
[ 0.930480] bootconsole [earlycon0] disabled
[ 0.930480] bootconsole [earlycon0] disabled
[ 0.939200] msm_serial: driver initialized
[ 0.943382] loop: module loaded
[ 0.944252] generic pinconfig core: found bias-disable with value 0
[ 0.946136] generic pinconfig core: found drive-strength with value 8
[ 0.952314] pinctrl core: add 4 pinctrl maps
[ 0.958989] ipq8064-pinctrl 800000.pinmux: found group selector 0 for gpio0
[ 0.963244] ipq8064-pinctrl 800000.pinmux: found group selector 0 for gpio0
[ 0.970006] ipq8064-pinctrl 800000.pinmux: found group selector 1 for gpio1
[ 0.976943] ipq8064-pinctrl 800000.pinmux: found group selector 1 for gpio1
[ 0.983822] ipq8064-pinctrl 800000.pinmux: request pin 0 (GPIO_0) for soc:mdio
[ 0.990846] ipq8064-pinctrl 800000.pinmux: request pin 1 (GPIO_1) for soc:mdio
[ 0.998161] of_get_named_gpiod_flags: parsed 'gpios' property of node '/soc/mdio[0]' - status (0)
[ 1.005345] of_get_named_gpiod_flags: parsed 'gpios' property of node '/soc/mdio[1]' - status (0)
[ 1.014207] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/soc/mdio[2]'
[ 1.023125] ipq8064-pinctrl 800000.pinmux: request pin 1 (GPIO_1) for 800000.pinmux:1
[ 1.031302] ipq8064-pinctrl 800000.pinmux: request pin 0 (GPIO_0) for 800000.pinmux:0
[ 1.039168] libphy: GPIO Bitbanged MDIO: probed
[ 1.071009] switch0: Atheros AR8337 rev. 2 switch registered on gpio-0
[ 1.833234] libphy: Fixed MDIO Bus: probed
[ 1.833258] libphy: mdio_driver_register: qca8k
[ 1.836476] generic pinconfig core: found bias-disable with value 0
[ 1.840650] generic pinconfig core: found drive-strength with value 8
[ 1.846979] pinctrl core: add 24 pinctrl maps
[ 1.853519] ipq8064-pinctrl 800000.pinmux: found group selector 27 for gpio27
[ 1.857909] ipq8064-pinctrl 800000.pinmux: found group selector 27 for gpio27
[ 1.864964] ipq8064-pinctrl 800000.pinmux: found group selector 28 for gpio28
[ 1.872152] ipq8064-pinctrl 800000.pinmux: found group selector 28 for gpio28
[ 1.879277] ipq8064-pinctrl 800000.pinmux: found group selector 29 for gpio29
[ 1.886398] ipq8064-pinctrl 800000.pinmux: found group selector 29 for gpio29
[ 1.893435] ipq8064-pinctrl 800000.pinmux: found group selector 30 for gpio30
[ 1.900612] ipq8064-pinctrl 800000.pinmux: found group selector 30 for gpio30
[ 1.907737] ipq8064-pinctrl 800000.pinmux: found group selector 31 for gpio31
[ 1.914787] ipq8064-pinctrl 800000.pinmux: found group selector 31 for gpio31
[ 1.921984] ipq8064-pinctrl 800000.pinmux: found group selector 32 for gpio32
[ 1.929103] ipq8064-pinctrl 800000.pinmux: found group selector 32 for gpio32
[ 1.936202] ipq8064-pinctrl 800000.pinmux: found group selector 51 for gpio51
[ 1.943263] ipq8064-pinctrl 800000.pinmux: found group selector 51 for gpio51
[ 1.950445] ipq8064-pinctrl 800000.pinmux: found group selector 52 for gpio52
[ 1.957566] ipq8064-pinctrl 800000.pinmux: found group selector 52 for gpio52
[ 1.964621] ipq8064-pinctrl 800000.pinmux: found group selector 59 for gpio59
[ 1.971818] ipq8064-pinctrl 800000.pinmux: found group selector 59 for gpio59
[ 1.978937] ipq8064-pinctrl 800000.pinmux: found group selector 60 for gpio60
[ 1.986026] ipq8064-pinctrl 800000.pinmux: found group selector 60 for gpio60
[ 1.993091] ipq8064-pinctrl 800000.pinmux: found group selector 61 for gpio61
[ 2.000271] ipq8064-pinctrl 800000.pinmux: found group selector 61 for gpio61
[ 2.007397] ipq8064-pinctrl 800000.pinmux: found group selector 62 for gpio62
[ 2.014444] ipq8064-pinctrl 800000.pinmux: found group selector 62 for gpio62
[ 2.021641] ipq8064-pinctrl 800000.pinmux: request pin 27 (GPIO_27) for 37200000.ethernet
[ 2.028764] ipq8064-pinctrl 800000.pinmux: request pin 28 (GPIO_28) for 37200000.ethernet
[ 2.036913] ipq8064-pinctrl 800000.pinmux: request pin 29 (GPIO_29) for 37200000.ethernet
[ 2.044999] ipq8064-pinctrl 800000.pinmux: request pin 30 (GPIO_30) for 37200000.ethernet
[ 2.053222] ipq8064-pinctrl 800000.pinmux: request pin 31 (GPIO_31) for 37200000.ethernet
[ 2.061375] ipq8064-pinctrl 800000.pinmux: request pin 32 (GPIO_32) for 37200000.ethernet
[ 2.069562] ipq8064-pinctrl 800000.pinmux: request pin 51 (GPIO_51) for 37200000.ethernet
[ 2.077715] ipq8064-pinctrl 800000.pinmux: request pin 52 (GPIO_52) for 37200000.ethernet
[ 2.085870] ipq8064-pinctrl 800000.pinmux: request pin 59 (GPIO_59) for 37200000.ethernet
[ 2.093960] ipq8064-pinctrl 800000.pinmux: request pin 60 (GPIO_60) for 37200000.ethernet
[ 2.102172] ipq8064-pinctrl 800000.pinmux: request pin 61 (GPIO_61) for 37200000.ethernet
[ 2.110358] ipq8064-pinctrl 800000.pinmux: request pin 62 (GPIO_62) for 37200000.ethernet
[ 2.118691] of_get_named_gpiod_flags: can't parse 'link-gpios' property of node '/soc/ethernet@37200000/fixed-link[0]'
[ 2.136166] stmmac - user ID: 0x10, Synopsys ID: 0x37
[ 2.137172] Ring mode enabled
[ 2.142291] DMA HW capability register supported[ 2.145311] Enhanced/Alternate descriptors
[ 2.150883] Enabled extended descriptors
[ 2.153842] RX Checksum Offload Engine supported
[ 2.158084] COE Type 2
[ 2.162692] TX Checksum insertion supported
[ 2.164953] Wake-Up On Lan supported
[ 2.169549] Enable RX Mitigation via HW Watchdog Timer
[ 2.173692] of_get_named_gpiod_flags: can't parse 'link-gpios' property of node '/soc/ethernet@37400000/fixed-link[0]'
[ 2.187574] stmmac - user ID: 0x10, Synopsys ID: 0x37
[ 2.188831] Ring mode enabled
[ 2.193947] DMA HW capability register supported[ 2.196977] Enhanced/Alternate descriptors
[ 2.202541] Enabled extended descriptors
[ 2.205566] RX Checksum Offload Engine supported
[ 2.209668] COE Type 2
[ 2.214349] TX Checksum insertion supported
[ 2.216687] Wake-Up On Lan supported
[ 2.221126] Enable RX Mitigation via HW Watchdog Timer
[ 2.225273] i2c /dev entries driver
[ 2.230923] sdhci: Secure Digital Host Controller Interface driver
[ 2.233194] sdhci: Copyright(c) Pierre Ossman
[ 2.239525] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.244706] NET: Registered protocol family 10
[ 2.250807] NET: Registered protocol family 17
[ 2.254015] 8021q: 802.1Q VLAN Support v1.8
[ 2.258448] Registering SWP/SWPB emulation handler
[ 2.266528] generic pinconfig core: found bias-disable with value 0
[ 2.267231] generic pinconfig core: found drive-strength with value 12
[ 2.273401] pinctrl core: add 4 pinctrl maps
[ 2.280078] ipq8064-pinctrl 800000.pinmux: found group selector 12 for gpio12
[ 2.284422] ipq8064-pinctrl 800000.pinmux: found group selector 12 for gpio12
[ 2.291523] ipq8064-pinctrl 800000.pinmux: found group selector 13 for gpio13
[ 2.298642] ipq8064-pinctrl 800000.pinmux: found group selector 13 for gpio13
[ 2.305770] ipq8064-pinctrl 800000.pinmux: request pin 12 (GPIO_12) for 108000.rpm
[ 2.312811] ipq8064-pinctrl 800000.pinmux: request pin 13 (GPIO_13) for 108000.rpm
[ 2.320536] qcom_rpm 108000.rpm: RPM firmware 3.0.16777336
[ 2.349473] s1a: Bringing 0uV into 1050000-1050000uV
[ 2.349671] s1b: Bringing 0uV into 1050000-1050000uV
[ 2.353660] s2a: Bringing 0uV into 800000-800000uV
[ 2.358694] s2b: Bringing 0uV into 800000-800000uV
[ 2.363315] UBI error: cannot open mtd rootfs, error -2[ 2[ 2.381460] Freeing unused kernel memory: 6808K (c06a0000 - c0d46000)
[ 2.381482] This architecture does not have kernel memory protection.
[ 2.386881] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[ 2.386886] pgd = c0204000
[ 2.386891] [00000000] *pgd=00000000
[ 2.386901] Internal error: Oops: 17 [#1] ARM
[ 2.386908] Modules linked in:
[ 2.386917] CPU: 0 PID: 1 Comm: swapper Tainted: G W 4.9.13 #0
[ 2.386920] Hardware name: Qualcomm (Flattened Device Tree)
[ 2.386926] task: c1530000 task.stack: c1532000
[ 2.386938] PC is at hrtimer_active+0x4/0x5c
[ 2.386945] LR is at hrtimer_try_to_cancel+0xc/0x74
[ 2.386951] pc : [] lr : [] psr: 80000193
[ 2.386951] sp : c1533e18 ip : 00000000 fp : c0d84d60
[ 2.386954] r10: 00000049 r9 : c1532000 r8 : 00000001
[ 2.386958] r7 : 00000010 r6 : c0d48af4 r5 : c1503600 r4 : cde48140
[ 2.386963] r3 : 00000000 r2 : c0d4fab8 r1 : cde48140 r0 : cde48140
[ 2.386968] Flags: Nzcv IRQs off FIQs on Mode SVC_32 ISA ARM Segment none
[ 2.386973] Control: 10c5787d Table: 4cf0c059 DAC: 00000051
[ 2.386979] Process swapper (pid: 1, stack limit = 0xc1532208)
[ 2.386982] Stack: (0xc1533e18 to 0xc1534000)
[ 2.386995] 3e00: c1504c00 c1503600
[ 2.387023] 3e20: c0d48af4 c0249910 c1504c00 c0244244 00000000 c0d56520 00000000 c1508000
[ 2.387048] 3e40: 00000001 c02407e0 00000000 c0240c08 ce802000 c0d48af4 c0d56698 ce803000
[ 2.387075] 3e60: c1533e80 c02093a0 c023f680 60000013 ffffffff c1533eb4 00000000 c02128cc
[ 2.387102] 3e80: f6340070 c1533e8c 80000000 60000013 c0d84d60 c0da4ce0 c0d84d60 c0d8b1cc
[ 2.387129] 3ea0: 00000000 00000000 00000049 c0d84d60 00000000 c1533ed0 c03c9a14 c023f680
[ 2.387154] 3ec0: 60000013 ffffffff 00000051 00000000 00000400 c0d8b1cc 00000000 00000001
[ 2.387181] 3ee0: 00005b50 00000039 60000013 00000000 00000111 00000000 0000000a 00000000
[ 2.387207] 3f00: 00000000 00000039 00000039 00000006 00000004 c0da76b6 c0d4fccc 00000000
[ 2.387232] 3f20: 00000000 c023fa54 00000000 00000000 00000000 00000000 c0da76b6 00000039
[ 2.387257] 3f40: 00000001 00000000 60000013 00000000 00001a98 c0d83000 c055f364 00000000
[ 2.387282] 3f60: 00000000 00000000 00000000 00000000 00000000 c023fc10 c06170e6 c1533f9c
[ 2.387308] 3f80: c0d4fcd0 c02687a0 c06170e6 c1533f9c c0d4fcd0 c055f380 c06170e6 00000000
[ 2.387333] 3fa0: c0d4fcd0 c0d4fcd0 00000000 c020eb58 00000000 00000000 00000000 00000000
[ 2.387356] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2.387381] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000 2a8aaaaa aa2aaaaa
[ 2.387398] [] (hrtimer_active) from [] (hrtimer_try_to_cancel+0xc/0x74)
[ 2.387412] [] (hrtimer_try_to_cancel) from [] (hrtimer_cancel+0x10/0x1c)
[ 2.387429] [] (hrtimer_cancel) from [] (handle_percpu_devid_irq+0x60/0xe0)
[ 2.387443] [] (handle_percpu_devid_irq) from [] (generic_handle_irq+0x18/0x28)
[ 2.387453] [] (generic_handle_irq) from [] (__handle_domain_irq+0x80/0xa0)
[ 2.387464] [] (__handle_domain_irq) from [] (gic_handle_irq+0x4c/0x80)
[ 2.387485] [] (gic_handle_irq) from [] (__irq_svc+0x6c/0x90)
[ 2.387489] Exception stack(0xc1533e80 to 0xc1533ec8)
[ 2.387516] 3e80: f6340070 c1533e8c 80000000 60000013 c0d84d60 c0da4ce0 c0d84d60 c0d8b1cc
[ 2.387541] 3ea0: 00000000 00000000 00000049 c0d84d60 00000000 c1533ed0 c03c9a14 c023f680
[ 2.387551] 3ec0: 60000013 ffffffff
[ 2.387579] [] (__irq_svc) from [] (console_unlock+0x3dc/0x428)
[ 2.387595] [] (console_unlock) from [] (vprintk_emit+0x388/0x3c4)
[ 2.387609] [] (vprintk_emit) from [] (vprintk_default+0x1c/0x24)
[ 2.387624] [] (vprintk_default) from [] (printk+0x20/0x34)
[ 2.387647] [] (printk) from [] (kernel_init+0x1c/0xf0)
[ 2.387665] [] (kernel_init) from [] (ret_from_fork+0x14/0x3c)
[ 2.387688] Code: e5801030 e12fff1e c02496c4 e5903024 (e5932000)
[ 2.387693] ---[ end trace f68728a0d3053b54 ]---
[ 2.387698] Kernel panic - not syncing: Fatal exception in interrupt
[ 2.764300] Rebooting in 1 seconds..[ 4.771107] ------------[ cut here ]------------
[ 4.771139] WARNING: CPU: 0 PID: 0 at kernel/time/clockevents.c:325 clockevents_program_event+0x8c/0x164
[ 4.774785] Current state: 0
[ 4.784238] Modules linked in:
[ 4.789969] CPU: 0 PID: 0 Comm: swapper Tainted: G D W 4.9.13 #0
[ 4.790061] Hardware name: Qualcomm (Flattened Device Tree)
[ 4.796850] [] (unwind_backtrace) from [] (show_stack+0x10/0x14)
[ 4.802404] [] (show_stack) from [] (__warn+0xc8/0xf4)
[ 4.810385] [] (__warn) from [] (warn_slowpath_fmt+0x34/0x44)
[ 4.817070] [] (warn_slowpath_fmt) from [] (clockevents_program_event+0x8c/0x164)
[ 4.824625] [] (clockevents_program_event) from [] (tick_program_event+0x74/0x80)
[ 4.833826] [] (tick_program_event) from [] (hrtimer_start_range_ns+0x48/0x190)
[ 4.843028] [] (hrtimer_start_range_ns) from [] (__tick_nohz_idle_enter.constprop.4+0x2b8/0x354)
[ 4.851885] [] (__tick_nohz_idle_enter.constprop.4) from [] (tick_nohz_idle_enter+0x48/0x5c)
[ 4.862649] [] (tick_nohz_idle_enter) from [] (cpu_startup_entry+0x20/0xac)
[ 4.872808] [] (cpu_startup_entry) from [] (start_kernel+0x324/0x398)
[ 4.881221] [] (start_kernel) from [<40208078>] (0x40208078)
[ 4.889541] ---[ end trace f68728a0d3053b55 ]---

@openwrt-bot
Copy link
Author

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@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@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@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 giometti@linux.it
[ 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

@openwrt-bot
Copy link
Author

reiffert:

It requires this patch in your patches-4.9 directory:

target/linux/ipq806x/patches-4.4/300-arch-arm-force-ZRELADDR-on-arch-qcom.patch

Further the following two options needed to get unset:

CONFIG_AUTO_ZRELADDR=y
CONFIG_AR8216_PHY=y

It comes up and no longer kernel panics.

Just so you know: You can now boot the INITRAMFS images via tftpboot without kernel panics.

@openwrt-bot
Copy link
Author

nbd:

I've cleaned up and pushed the above suggestions to my staging tree at https://git.lede-project.org/?p=lede/nbd/staging.git;a=summary

I've left out the removal of CONFIG_AR8216_PHY, since it doesn't make any sense to me. This driver is still being used.

Please test that tree and let me know if it works for you.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant