[OpenWrt-Devel] Issue with kernel 4.1/4.4 on Linksys-routers

Kristian Evensen kristian.evensen at gmail.com
Sun Dec 20 09:00:21 EST 2015


Hello,

I tried to compile and test trunk on two Linksys-routers (1200AC and
1900ACv2). After manually enabling the Generic Thermal sysfs driver,
compilation went fine. However, none of the routers want to boot.
Hooking up a serial shows what seems to be a filsystem issue, the
following error is repeated over and over:

[   10.985327] SQUASHFS error: xz decompression failed, data probably corrupt
[   10.985329] SQUASHFS error: squashfs_read_data failed to read block 0x1f0a53

In addition, I get the following message at different intervals (dump
is of course much longer, all ff):

[    9.870883] pxa3xx-nand f10d0000.flash: Wait time out!!!
[   10.070883] pxa3xx-nand f10d0000.flash: Wait time out!!!
[   10.076226] ubi0: dumping 2048 bytes of data from PEB 125, offset 6144
[   10.082786] 00000000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
................................
[   10.096408] 00000020: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
................................
[   10.110029] 00000040: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
................................
[   10.123650] 00000060: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
................................
[   10.137270] 00000080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
................................

There is also an oops attached to all of this:

[    8.531175] Unable to handle kernel paging request at virtual
address ffffffec
[    8.538425] pgd = c0004000
[    8.541141] [ffffffec] *pgd=1fffd821, *pte=00000000, *ppte=00000000
[    8.547464] Internal error: Oops: 17 [#2] SMP ARM
[    8.552184] Modules linked in: mwlwifi(+) mac80211 cfg80211 compat
ledtrig_usbdev xt_set ip_set_list_set ip_set_hash_netiface
ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net h
[    8.619946] CPU: 0 PID: 210 Comm: irq/39-f10d0000 Tainted: G      D
        4.1.13 #4
[    8.627805] Hardware name: Marvell Armada 380/385 (Device Tree)
[    8.633747] task: df5ba800 ti: df6cc000 task.ti: df6cc000
[    8.639168] PC is at kthread_data+0x10/0x18
[    8.643367] LR is at irq_thread_dtor+0x84/0xc4
[    8.647827] pc : [<c0040558>]    lr : [<c005cea4>]    psr: 20000093
[    8.647827] sp : df6cdd28  ip : df6cdd38  fp : df6cdd34
[    8.659350] r10: df5ba800  r9 : df6cdd80  r8 : c03dc01c
[    8.664595] r7 : 00000000  r6 : c04b34e0  r5 : df5ba800  r4 : df5ba800
[    8.671147] r3 : 00000000  r2 : df6cdd38  r1 : df6cdf28  r0 : df5ba800
[    8.677701] Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM
Segment user
[    8.684951] Control: 10c5387d  Table: 1e51404a  DAC: 00000015
[    8.690719] Process irq/39-f10d0000 (pid: 210, stack limit = 0xdf6cc210)
[    8.697446] Stack: (0xdf6cdd28 to 0xdf6ce000)
[    8.701820] dd20:                   df6cdd4c df6cdd38 c005cea4
c0040554 df5bab78 df5ba800
[    8.710031] dd40: df6cdd6c df6cdd50 c003eb64 c005ce2c 00000000
0000000b c049706c df5ba800
[    8.718243] dd60: df6cdd9c df6cdd70 c0029328 c003eabc 0000000b
00000001 00000000 df5ba800
[    8.726454] dd80: df6cdd9c df6cdd90 c0028468 0000000b df6cdddc
df6cdda0 c001c630 c0028fa8
[    8.734665] dda0: df6cc210 0000000b c01ff72c 60000093 c04106f8
00000004 e7f001f2 df6cdea0
[    8.742877] ddc0: c0235c54 00000000 c000a62c df6cc000 df6cddec
df6cdde0 c001c6b0 c001c35c
[    8.751088] dde0: df6cde9c df6cddf0 c00091ec c001c664 00000006
c005ccac 00000004 00000000
[    8.759299] de00: 00030001 c0235c54 df423448 dfbd6578 df6cde6c
df6cde20 c004d3fc c004a1ec
[    8.767511] de20: 3a864830 0000000f df5ba8b8 000020d8 0000000f
000074c0 00000014 00000000
[    8.775722] de40: df5baaa8 df551810 df6cdec0 00000003 00000001
df50bd00 df605940 c005ccac
[    8.783934] de60: df6cde84 df6cde70 c01ff764 c01ff588 df6cde9c
df6cde8c df6cdeb4 c0235c58
[    8.792145] de80: 60000013 ffffffff df6cded4 df50bd00 df6cdefc
df6cdea0 c000a62c c0009034
[    8.800356] dea0: 0000003c 60000013 c0499214 c0499214 df662810
00000800 00000000 00000001
[    8.808568] dec0: df50bd00 df605940 c005ccac df6cdefc df6cdcc8
df6cdee8 c005a5a0 c0235c54
[    8.816779] dee0: 60000013 ffffffff df605940 df50bd00 df6cdf1c
df6cdf00 c005ccd0 c0235b6c
[    8.824991] df00: 00000004 df605960 df6cc000 00000000 df6cdf5c
df6cdf20 c005cfb4 c005ccb8
[    8.833202] df20: 00000000 df50bd58 00000000 c005ce20 00000000
df605900 00000000 df605940
[    8.841413] df40: c005cee4 00000000 00000000 00000000 df6cdfac
df6cdf60 c0040028 c005cef0
[    8.849624] df60: fbffffff 00000000 ffffffff df605940 00000000
00000000 df6cdf78 df6cdf78
[    8.857836] df80: 00000001 00010001 df6cdf88 df6cdf88 df605900
c003ff2c 00000000 00000000
[    8.866047] dfa0: 00000000 df6cdfb0 c0009d28 c003ff38 00000000
00000000 00000000 00000000
[    8.874258] dfc0: 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000
[    8.882469] dfe0: 00000000 00000000 00000000 00000000 00000013
00000000 ffffffff fffffdff
[    8.890677] Backtrace:
[    8.893144] [<c0040548>] (kthread_data) from [<c005cea4>]
(irq_thread_dtor+0x84/0xc4)
[    8.901008] [<c005ce20>] (irq_thread_dtor) from [<c003eb64>]
(task_work_run+0xb4/0xcc)
[    8.908954]  r5:df5ba800 r4:df5bab78
[    8.912566] [<c003eab0>] (task_work_run) from [<c0029328>]
(do_exit+0x38c/0x8d8)
[    8.919989]  r7:df5ba800 r6:c049706c r5:0000000b r4:00000000
[    8.925714] [<c0028f9c>] (do_exit) from [<c001c630>] (die+0x2e0/0x308)
[    8.932266]  r7:0000000b
[    8.934819] [<c001c350>] (die) from [<c001c6b0>] (arm_notify_die+0x58/0x5c)
[    8.941807]  r10:df6cc000 r9:c000a62c r8:00000000 r7:c0235c54
r6:df6cdea0 r5:e7f001f2
[    8.949718]  r4:00000004
[    8.952271] [<c001c658>] (arm_notify_die) from [<c00091ec>]
(do_undefinstr+0x1c4/0x1cc)
[    8.960308] [<c0009028>] (do_undefinstr) from [<c000a62c>]
(__und_svc_finish+0x0/0x34)
[    8.968257] Exception stack(0xdf6cdea0 to 0xdf6cdee8)
[    8.973329] dea0: 0000003c 60000013 c0499214 c0499214 df662810
00000800 00000000 00000001
[    8.981541] dec0: df50bd00 df605940 c005ccac df6cdefc df6cdcc8
df6cdee8 c005a5a0 c0235c54
[    8.989750] dee0: 60000013 ffffffff
[    8.993250]  r8:df50bd00 r7:df6cded4 r6:ffffffff r5:60000013 r4:c0235c58
[    9.000030] [<c0235b60>] (pxa3xx_nand_irq_thread) from [<c005ccd0>]
(irq_thread_fn+0x24/0x48)
[    9.008589]  r5:df50bd00 r4:df605940
[    9.012199] [<c005ccac>] (irq_thread_fn) from [<c005cfb4>]
(irq_thread+0xd0/0x180)
[    9.019797]  r6:00000000 r5:df6cc000 r4:df605960 r3:00000004
[    9.025520] [<c005cee4>] (irq_thread) from [<c0040028>] (kthread+0xfc/0x100)
[    9.032595]  r10:00000000 r9:00000000 r8:00000000 r7:c005cee4
r6:df605940 r5:00000000
[    9.040505]  r4:df605900
[    9.043059] [<c003ff2c>] (kthread) from [<c0009d28>]
(ret_from_fork+0x14/0x2c)
[    9.050309]  r7:00000000 r6:00000000 r5:c003ff2c r4:df605900
[    9.056031] Code: e1a0c00d e92dd800 e24cb004 e5903280 (e5130014)
[    9.062148] ---[ end trace 1f4ef4c8707f66b7 ]---

I initially thought it could be a bad flash, so I made one image with
3.18 and one with 4.0. None of them show this behavior (on the same
two devices), not even after several weeks of uptime or multiple
reboots. With 4.1, the crash happens every time I boot the router, or
at least very short time after boot. I also tested 4.4 and see the
same error.

Does anyone have any hints on how I can progress in debugging this?

Thanks in advance for any help,
Kristian
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list