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#2899 - ath79 : Kernel 5.4 bootloop crash on TP Link 3420-V2 #8045
Comments
nouman8: compiled fresh master clone without these flags -march=74kc -mdspr2 and the router now boots with kernel 5.4 |
Rising-Sun: I have the same problem on my devolo 1750e with kernel 5.4 with openwrt master at a0027f8
dup 1 speed 1000
Using eth1 device
TFTP from server 192.168.1.5; our IP address is 192.168.1.1
Filename 'boot.bin'.
Load address: 0x80800000
Loading: *#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
########################################################
done
Bytes transferred = 7275273 (6f0309 hex)
Automatic boot of image at addr 0x80800000 ...
## Booting image at 80800000 ...
Image Name: MIPS OpenWrt Linux-5.4.24
Created: 2020-03-23 21:31:05 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1962754 Bytes = 1.9 MB
Load Address: 80060000
Entry Point: 80060000
Verifying Checksum at 0x80800040 ...OK
Uncompressing Kernel Image ... OK
my .config_diff, have not changed any cflags
|
Rising-Sun: Fixed by using GCC 9.3, eventhough I think it crashed when booting the first time from tftp after a reboot from 4.19. [[http://example.com|External Linkhttps://bugs.openwrt.org/index.php?do=details&task_id=2928]] Edit: Did now happen once with GCC 9.3 too [ 0.000000] Linux version 5.4.28 (xxxx@debian) (gcc version 9.3.0 (OpenWrt GCC 9.3.0 r12704-a0027f8dbf)) #0 Sat Mar 28 12:20:05 2020 |
sbrown: Reverting 88ab42523 Revert "toolchain: Update GCC 8 to version 8.4.0" Fixes the problem on my TP-Link Archer a7V5 |
sbrown: Oops wrong commit id, it's db70077 |
nouman8: today i compiled the master and same thing happening again |
nouman8:
Supply the following if possible:
Serial Log.
U-Boot 1.1.4 (Sep 12 2014 - 09:54:01)
U-boot AP123
DRAM: 32 MB
id read 0x100000ff
Flash: 4 MB
Using default environment
In: serial
Out: serial
Err: serial
Net: ag934x_enet_initialize...
wasp reset mask:c03300
WASP ----> S27 PHY
file: ag934x.c,line: 180==: set LAN&WAN SWAP. --debug by HouXB
GMAC: cfg1 0x5 cfg2 0x7114
eth0: ba:be:fa:ce:08:41
s27 reg init
athrs27_phy_setup ATHR_PHY_CONTROL 4: 0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 4: 0x10
eth0 up
WASP ----> S27 PHY
file: ag934x.c,line: 180==: set LAN&WAN SWAP. --debug by HouXB
GMAC: cfg1 0xf cfg2 0x7214
eth1: ba:be:fa:ce:08:41
s27 reg init lan
ATHRS27: resetting s27
ATHRS27: s27 reset done
athrs27_phy_setup ATHR_PHY_CONTROL 0: 0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 0: 0x10
athrs27_phy_setup ATHR_PHY_CONTROL 1: 0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 1: 0x50
athrs27_phy_setup ATHR_PHY_CONTROL 2: 0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 2: 0x10
athrs27_phy_setup ATHR_PHY_CONTROL 3: 0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 3: 0x10
eth1 up
eth0, eth1
is_auto_upload_firmware=0
Autobooting in 1 seconds
Booting image at 9f020000 ...
Uncompressing Kernel Image ... OK
Starting kernel ...
[ 0.000000] Linux version 5.4.24 (openwrt@) (gcc version 9.2.0 (OpenWrt GCC 9.2.0 r12514-659ae99e9b)) #0 Wed Mar 11 18:40:03 2020
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[ 0.000000] MIPS: machine is TP-Link TL-MR3420 v2
[ 0.000000] SoC: Atheros AR9341 rev 3
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 8128
[ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 26408K/32768K available (3926K kernel code, 131K rwdata, 548K rodata, 1212K init, 181K bss, 6360K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 51
[ 0.000000] random: get_random_bytes called from 0x804e1a04 with crng_init=0
[ 0.000000] CPU clock: 535.000 MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7144898866 ns
[ 0.000011] sched_clock: 32 bits at 267MHz, resolution 3ns, wraps every 8027976190ns
[ 0.008248] Calibrating delay loop... 266.64 BogoMIPS (lpj=1333248)
[ 0.094816] pid_max: default: 32768 minimum: 301
[ 0.099872] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.107593] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.116625] Kernel panic - not syncing: Unexpected DSP exception
[ 0.122965] Rebooting in 1 seconds..
The text was updated successfully, but these errors were encountered: