Coomand line shutdown -r or reboot doesn't work

Started by David Goadby, November 10, 2012, 03:28:47 AM

Previous topic - Next topic

anubis

Hi All,
looks like it's watchdog related.

I reproduced bug using hansg's Fedora image (from linux-sunxi google group)
http://scotland.proximity.on.ca/contrib-images/hansg/

Traces are on so it's possible to see what is going on...

It hangs and trying to reboot each 30 seconds...
(last dump block repeating each 30 sec).

BTW, jwischka, do you have watchdog support compiled in you kernel?
(I mean 3.4.29-jwischka-3.4-video-20130308-R18+)

--------------
Unmounting file systems.
Not all file systems unmounted, 1 left.
Cannot finalize remaining file systems and devices, giving up.
[   81.990000] [sw-ohci1]: close clock
[   82.010000] [sw-ehci1]: Set USB Power OFF
[   82.020000] [sw-ehci1]: close clock
[   82.030000] wrn: hcd is disable, need not shutdown
[   82.050000] Restarting system.
[  108.110000] BUG: soft lockup - CPU#0 stuck for 22s! [systemd-shutdow:1]
[  108.110000] Modules linked in: nf_conntrack_netbios_ns nf_conntrack_broadcast ipt_MASQUERADE ip6table_mangle ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6
iptable_nat nf_nat bnep iptable_mangle bluetooth nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ebtable_filter ebtables ip6table_filter ip6_table
s vfat fat snd_usb_audio snd_hwdep snd_usbmidi_lib snd_rawmidi uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core videodev media joydev dm9601 qf9700
usbnet uinput
[  108.110000]
[  108.110000] Pid: 1, comm:      systemd-shutdow
[  108.110000] CPU: 0    Not tainted  (3.4.29.sun5i #18)
[  108.110000] PC is at sun4i_restart+0x28/0x34
[  108.110000] LR is at sun4i_restart+0x20/0x34
[  108.110000] pc : [<c002b90c>]    lr : [<c002b904>]    psr: 600f0013
[  108.110000] sp : df837e78  ip : 00000000  fp : b6ff4f54
[  108.110000] r10: 00000000  r9 : df836000  r8 : c000e2c8
[  108.110000] r7 : c0701bc0  r6 : 45584543  r5 : 00000000  r4 : f1c20000
[  108.110000] r3 : 00000003  r2 : c002b8e4  r1 : 00000000  r0 : 00000000
[  108.110000] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[  108.110000] Control: 10c5387d  Table: 5d930019  DAC: 00000015
[  108.110000]
[  108.110000] PC: 0xc002b88c:
[  108.110000] b88c  e5913000 e12fff33 e1a00004 e8bd8010 f1c20000 e24dd008 e52de004 e8bd4000
[  108.110000] b8ac  e59f302c e5933d3c f57ff04f e58d3004 e59d3004 e7e13353 e58d3004 e59d0004
[  108.110000] b8cc  e2503003 e2730000 e0b00003 e28dd008 e12fff1e f1c20000 e92d4010 e52de004
[  108.110000] b8ec  e8bd4000 e3a03000 e59f4014 e59f0014 e5843c94 eb07491a e3a03003 e5843c94
[  108.110000] b90c  eafffffe f1c20000 000186a0 e92d4013 e52de004 e8bd4000 e3500002 e59f4090
[  108.110000] b92c  0a000002 e3500003 1a000016 ea00000d e59f0080 eb121a34 f57ff04f e3033a98
[  108.110000] b94c  e5843c14 e5943c10 f57ff04f e58d3004 e59d3004 e3c33080 e58d3004 e59d3004
[  108.110000] b96c  e3833001 ea00000c e59f004c eb121a26 e5943c10 f57ff04f e58d3004 e59d3004
[  108.110000]
[  108.110000] LR: 0xc002b884:
[  108.110000] b884  e1a00001 e5834c04 e5913000 e12fff33 e1a00004 e8bd8010 f1c20000 e24dd008
[  108.110000] b8a4  e52de004 e8bd4000 e59f302c e5933d3c f57ff04f e58d3004 e59d3004 e7e13353
[  108.110000] b8c4  e58d3004 e59d0004 e2503003 e2730000 e0b00003 e28dd008 e12fff1e f1c20000
[  108.110000] b8e4  e92d4010 e52de004 e8bd4000 e3a03000 e59f4014 e59f0014 e5843c94 eb07491a
[  108.110000] b904  e3a03003 e5843c94 eafffffe f1c20000 000186a0 e92d4013 e52de004 e8bd4000
[  108.110000] b924  e3500002 e59f4090 0a000002 e3500003 1a000016 ea00000d e59f0080 eb121a34
[  108.110000] b944  f57ff04f e3033a98 e5843c14 e5943c10 f57ff04f e58d3004 e59d3004 e3c33080
[  108.110000] b964  e58d3004 e59d3004 e3833001 ea00000c e59f004c eb121a26 e5943c10 f57ff04f
[  108.110000]
[  108.110000] SP: 0xdf837df8:
[  108.110000] 7df8  df836000 00000000 b6ff4f54 c008e728 c0705e7c c0090bb0 00000017 c008df44
[  108.110000] 7e18  00000017 c000f024 c002b904 c002b90c 600f0013 c04ba9f4 00000000 00000000
[  108.110000] 7e38  c002b8e4 00000003 f1c20000 00000000 45584543 c0701bc0 c000e2c8 df836000
[  108.110000] 7e58  00000000 b6ff4f54 00000000 df837e78 c002b904 c002b90c 600f0013 ffffffff
[  108.110000] 7e78  000003e9 c000f4f4 01234567 c004192c df861938 c0058c84 c0703578 c04bc5ac
[  108.110000] 7e98  c0008f14 ffffffff 00000000 c04bc5ac dd8d001c c04b99f4 df836000 dd8c7c00
[  108.110000] 7eb8  00000000 df860000 c0703530 dd8a8c80 df837f54 c04b99f4 db43da00 dd8a8cb0
[  108.110000] 7ed8  df860000 c0059d50 c0703998 c0055b58 df837f24 c0059d70 c0703530 df860000
[  108.110000]
[  108.110000] R2: 0xc002b864:
[  108.110000] b864  e12fff1e f1c20000 e92d4010 e52de004 e8bd4000 f57ff04f e59f3018 e3a04001
[  108.110000] b884  e1a00001 e5834c04 e5913000 e12fff33 e1a00004 e8bd8010 f1c20000 e24dd008
[  108.110000] b8a4  e52de004 e8bd4000 e59f302c e5933d3c f57ff04f e58d3004 e59d3004 e7e13353
[  108.110000] b8c4  e58d3004 e59d0004 e2503003 e2730000 e0b00003 e28dd008 e12fff1e f1c20000
[  108.110000] b8e4  e92d4010 e52de004 e8bd4000 e3a03000 e59f4014 e59f0014 e5843c94 eb07491a
[  108.110000] b904  e3a03003 e5843c94 eafffffe f1c20000 000186a0 e92d4013 e52de004 e8bd4000
[  108.110000] b924  e3500002 e59f4090 0a000002 e3500003 1a000016 ea00000d e59f0080 eb121a34
[  108.110000] b944  f57ff04f e3033a98 e5843c14 e5943c10 f57ff04f e58d3004 e59d3004 e3c33080
[  108.110000]
[  108.110000] R4: 0xf1c1ff80:
[  108.110000] ff80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  108.110000] ffa0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  108.110000] ffc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  108.110000] ffe0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  108.110000] 0000  a1005100 0a10100e 8c105615 00000000 8010d05d 00000000 a1080f00 00000000
[  108.110000] 0020  b1059191 1488001d a1009900 00000000 8010d063 00000000 00000000 00000000
[  108.110000] 0040  00000000 00000000 00000000 00000000 00138013 00020110 00000000 00000000
[  108.110000] 0060  0000e141 00085814 00000021 00020007 00000000 00000000 00000000 00000000
[  108.110000]
[  108.110000] R7: 0xc0701b40:
[  108.110000] 1b40  c05cf737 df419780 00000000 c070f9c8 c0701ed8 c0701ae4 00000024 c0701bb0
[  108.110000] 1b60  c04c2679 00000000 00000000 00000000 00000000 00000000 00000000 c060a2ea
[  108.110000] 1b80  c003d0d0 c003cfe0 c00a9e54 c003d46c 00000000 df8de0c0 df8dcc40 c00a963c
[  108.110000] 1ba0  c003cc80 c00a312c c00a312c c00a312c c003cd5c c00a312c c00a312c c00a312c
[  108.110000] 1bc0  6962732f 6f702f6e 6f726577 00006666 00000000 00000000 00000000 00000000
[  108.110000] 1be0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  108.110000] 1c00  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  108.110000] 1c20  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  108.110000]
[  108.110000] R8: 0xc000e248:
[  108.110000] e248  e28d1008 e3a08000 e357080f e2270000 2a0010d8 ea00f7bb e1a02007 e28d1008
[  108.110000] e268  e3a00000 eb000982 e28fe014 e1a07000 e28d1008 e3570f5f 3891000f 3798f107
[  108.110000] e288  eaffffef e5ad0008 e1a02007 e1a0100d e3a00001 eb000976 eaffff9e e320f000
[  108.110000] e2a8  e320f000 e320f000 e320f000 e320f000 e320f000 e320f000 c06fbd9c c000e97c
[  108.110000] e2c8  c003fd6c c0033878 c000e8e0 c00f5878 c00f58e8 c00f4b00 c00f358c c004c150
[  108.110000] e2e8  c00f4b38 c01028c4 c01026e0 c000e8f0 c00f44c4 c004c150 c01025b8 c00f4700
[  108.110000] e308  c006b8a4 c004c150 c004c150 c00f50c0 c003c6e4 c010e4d8 c004c150 c006b93c
[  108.110000] e328  c006bd6c c004c150 c00395a0 c004c150 c004c150 c0040e30 c004c150 c004c150
[  108.110000]
[  108.110000] R9: 0xdf835f80:
[  108.110000] 5f80  f0000086 0002416d 00000000 00000000 00000000 00000000 c04ce680 c04ce600
[  108.110000] 5fa0  df835e80 df82c400 df882000 00000000 00000000 00000000 00000001 00000000
[  108.110000] 5fc0  00000000 df835fc4 df835fc4 00393502 7ff7edb3 46f36dff 3df5abcf ebfff7d5
[  108.110000] 5fe0  477b6beb defdbf19 7afffff5 cd55fac7 be5f7a55 ffdff3ff ba77dcff ebfffee9
[  108.110000] 6000  00000002 00010001 00000000 df860000 c06ffc04 00000000 00000015 dd8c7c00
[  108.110000] 6020  00000000 df860000 c0703530 df862580 c0703530 df836000 df837e4c df837dc8
[  108.110000] 6040  c04b99f0 00000000 00000000 00000000 00000000 00000000 01000000 00000000
[  108.110000] 6060  b6fe44c0 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  108.110000] [<c0014aa4>] (unwind_backtrace+0x0/0x124) from [<c008dd8c>] (watchdog_timer_fn+0xe8/0x13c)
[  108.110000] [<c008dd8c>] (watchdog_timer_fn+0xe8/0x13c) from [<c004e524>] (__run_hrtimer+0xb0/0x1cc)
[  108.110000] [<c004e524>] (__run_hrtimer+0xb0/0x1cc) from [<c004ed1c>] (hrtimer_interrupt+0x104/0x250)
[  108.110000] [<c004ed1c>] (hrtimer_interrupt+0x104/0x250) from [<c002bdb8>] (aw_clkevt_irq+0x3c/0x4c)
[  108.110000] [<c002bdb8>] (aw_clkevt_irq+0x3c/0x4c) from [<c008e508>] (handle_irq_event_percpu+0x38/0x228)
[  108.110000] [<c008e508>] (handle_irq_event_percpu+0x38/0x228) from [<c008e728>] (handle_irq_event+0x30/0x40)
[  108.110000] [<c008e728>] (handle_irq_event+0x30/0x40) from [<c0090bb0>] (handle_level_irq+0xbc/0xcc)
[  108.110000] [<c0090bb0>] (handle_level_irq+0xbc/0xcc) from [<c008df44>] (generic_handle_irq+0x28/0x38)
[  108.110000] [<c008df44>] (generic_handle_irq+0x28/0x38) from [<c000f024>] (handle_IRQ+0x68/0x8c)
[  108.110000] [<c000f024>] (handle_IRQ+0x68/0x8c) from [<c04ba9f4>] (__irq_svc+0x34/0xf8)
[  108.110000] [<c04ba9f4>] (__irq_svc+0x34/0xf8) from [<c002b90c>] (sun4i_restart+0x28/0x34)
[  108.110000] [<c002b90c>] (sun4i_restart+0x28/0x34) from [<c000f4f4>] (machine_restart+0x24/0x54)
[  108.110000] [<c000f4f4>] (machine_restart+0x24/0x54) from [<c004192c>] (sys_reboot+0x198/0x224)
[  108.110000] [<c004192c>] (sys_reboot+0x198/0x224) from [<c000e0c0>] (ret_fast_syscall+0x0/0x30)
[  136.110000] BUG: soft lockup - CPU#0 stuck for 22s! [systemd-shutdow:1]
[  136.110000] Modules linked in: nf_conntrack_netbios_ns nf_conntrack_broadcast ipt_MASQUERADE ip6table_mangle ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6
iptable_nat nf_nat bnep iptable_mangle bluetooth nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ebtable_filter ebtables ip6table_filter ip6_table
s vfat fat snd_usb_audio snd_hwdep snd_usbmidi_lib snd_rawmidi uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core videodev media joydev dm9601 qf9700
usbnet uinput
[  136.110000]
[  136.110000] Pid: 1, comm:      systemd-shutdow
[  136.110000] CPU: 0    Not tainted  (3.4.29.sun5i #18)
[  136.110000] PC is at sun4i_restart+0x28/0x34
[  136.110000] LR is at sun4i_restart+0x20/0x34
[  136.110000] pc : [<c002b90c>]    lr : [<c002b904>]    psr: 600f0013
[  136.110000] sp : df837e78  ip : 00000000  fp : b6ff4f54
[  136.110000] r10: 00000000  r9 : df836000  r8 : c000e2c8
[  136.110000] r7 : c0701bc0  r6 : 45584543  r5 : 00000000  r4 : f1c20000
[  136.110000] r3 : 00000003  r2 : c002b8e4  r1 : 00000000  r0 : 00000000
[  136.110000] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[  136.110000] Control: 10c5387d  Table: 5d930019  DAC: 00000015
[  136.110000]
[  136.110000] PC: 0xc002b88c:
[  136.110000] b88c  e5913000 e12fff33 e1a00004 e8bd8010 f1c20000 e24dd008 e52de004 e8bd4000
[  136.110000] b8ac  e59f302c e5933d3c f57ff04f e58d3004 e59d3004 e7e13353 e58d3004 e59d0004
[  136.110000] b8cc  e2503003 e2730000 e0b00003 e28dd008 e12fff1e f1c20000 e92d4010 e52de004
[  136.110000] b8ec  e8bd4000 e3a03000 e59f4014 e59f0014 e5843c94 eb07491a e3a03003 e5843c94
[  136.110000] b90c  eafffffe f1c20000 000186a0 e92d4013 e52de004 e8bd4000 e3500002 e59f4090
[  136.110000] b92c  0a000002 e3500003 1a000016 ea00000d e59f0080 eb121a34 f57ff04f e3033a98
[  136.110000] b94c  e5843c14 e5943c10 f57ff04f e58d3004 e59d3004 e3c33080 e58d3004 e59d3004
[  136.110000] b96c  e3833001 ea00000c e59f004c eb121a26 e5943c10 f57ff04f e58d3004 e59d3004
[  136.110000]
[  136.110000] LR: 0xc002b884:
[  136.110000] b884  e1a00001 e5834c04 e5913000 e12fff33 e1a00004 e8bd8010 f1c20000 e24dd008
[  136.110000] b8a4  e52de004 e8bd4000 e59f302c e5933d3c f57ff04f e58d3004 e59d3004 e7e13353
[  136.110000] b8c4  e58d3004 e59d0004 e2503003 e2730000 e0b00003 e28dd008 e12fff1e f1c20000
[  136.110000] b8e4  e92d4010 e52de004 e8bd4000 e3a03000 e59f4014 e59f0014 e5843c94 eb07491a
[  136.110000] b904  e3a03003 e5843c94 eafffffe f1c20000 000186a0 e92d4013 e52de004 e8bd4000
[  136.110000] b924  e3500002 e59f4090 0a000002 e3500003 1a000016 ea00000d e59f0080 eb121a34
[  136.110000] b944  f57ff04f e3033a98 e5843c14 e5943c10 f57ff04f e58d3004 e59d3004 e3c33080
[  136.110000] b964  e58d3004 e59d3004 e3833001 ea00000c e59f004c eb121a26 e5943c10 f57ff04f
[  136.110000]
[  136.110000] SP: 0xdf837df8:
[  136.110000] 7df8  df836000 00000000 b6ff4f54 c008e728 c0705e7c c0090bb0 00000017 c008df44
[  136.110000] 7e18  00000017 c000f024 c002b904 c002b90c 600f0013 c04ba9f4 00000000 00000000
[  136.110000] 7e38  c002b8e4 00000003 f1c20000 00000000 45584543 c0701bc0 c000e2c8 df836000
[  136.110000] 7e58  00000000 b6ff4f54 00000000 df837e78 c002b904 c002b90c 600f0013 ffffffff
[  136.110000] 7e78  000003e9 c000f4f4 01234567 c004192c df861938 c0058c84 c0703578 c04bc5ac
[  136.110000] 7e98  c0008f14 ffffffff 00000000 c04bc5ac dd8d001c c04b99f4 df836000 dd8c7c00
[  136.110000] 7eb8  00000000 df860000 c0703530 dd8a8c80 df837f54 c04b99f4 db43da00 dd8a8cb0
[  136.110000] 7ed8  df860000 c0059d50 c0703998 c0055b58 df837f24 c0059d70 c0703530 df860000
[  136.110000]
[  136.110000] R2: 0xc002b864:
[  136.110000] b864  e12fff1e f1c20000 e92d4010 e52de004 e8bd4000 f57ff04f e59f3018 e3a04001
[  136.110000] b884  e1a00001 e5834c04 e5913000 e12fff33 e1a00004 e8bd8010 f1c20000 e24dd008
[  136.110000] b8a4  e52de004 e8bd4000 e59f302c e5933d3c f57ff04f e58d3004 e59d3004 e7e13353
[  136.110000] b8c4  e58d3004 e59d0004 e2503003 e2730000 e0b00003 e28dd008 e12fff1e f1c20000
[  136.110000] b8e4  e92d4010 e52de004 e8bd4000 e3a03000 e59f4014 e59f0014 e5843c94 eb07491a
[  136.110000] b904  e3a03003 e5843c94 eafffffe f1c20000 000186a0 e92d4013 e52de004 e8bd4000
[  136.110000] b924  e3500002 e59f4090 0a000002 e3500003 1a000016 ea00000d e59f0080 eb121a34
[  136.110000] b944  f57ff04f e3033a98 e5843c14 e5943c10 f57ff04f e58d3004 e59d3004 e3c33080
[  136.110000]
[  136.110000] R4: 0xf1c1ff80:
[  136.110000] ff80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  136.110000] ffa0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  136.110000] ffc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  136.110000] ffe0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  136.110000] 0000  a1005100 0a10100e 8c105615 00000000 8010d05d 00000000 a1080f00 00000000
[  136.110000] 0020  b1059191 1488001d a1009900 00000000 8010d063 00000000 00000000 00000000
[  136.110000] 0040  00000000 00000000 00000000 00000000 00138013 00020110 00000000 00000000
[  136.110000] 0060  0000e141 00085814 00000021 00020007 00000000 00000000 00000000 00000000
[  136.110000]
[  136.110000] R7: 0xc0701b40:
[  136.110000] 1b40  c05cf737 df419780 00000000 c070f9c8 c0701ed8 c0701ae4 00000024 c0701bb0
[  136.110000] 1b60  c04c2679 00000000 00000000 00000000 00000000 00000000 00000000 c060a2ea
[  136.110000] 1b80  c003d0d0 c003cfe0 c00a9e54 c003d46c 00000000 df8de0c0 df8dcc40 c00a963c
[  136.110000] 1ba0  c003cc80 c00a312c c00a312c c00a312c c003cd5c c00a312c c00a312c c00a312c
[  136.110000] 1bc0  6962732f 6f702f6e 6f726577 00006666 00000000 00000000 00000000 00000000
[  136.110000] 1be0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  136.110000] 1c00  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  136.110000] 1c20  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  136.110000]
[  136.110000] R8: 0xc000e248:
[  136.110000] e248  e28d1008 e3a08000 e357080f e2270000 2a0010d8 ea00f7bb e1a02007 e28d1008
[  136.110000] e268  e3a00000 eb000982 e28fe014 e1a07000 e28d1008 e3570f5f 3891000f 3798f107
[  136.110000] e288  eaffffef e5ad0008 e1a02007 e1a0100d e3a00001 eb000976 eaffff9e e320f000
[  136.110000] e2a8  e320f000 e320f000 e320f000 e320f000 e320f000 e320f000 c06fbd9c c000e97c
[  136.110000] e2c8  c003fd6c c0033878 c000e8e0 c00f5878 c00f58e8 c00f4b00 c00f358c c004c150
[  136.110000] e2e8  c00f4b38 c01028c4 c01026e0 c000e8f0 c00f44c4 c004c150 c01025b8 c00f4700
[  136.110000] e308  c006b8a4 c004c150 c004c150 c00f50c0 c003c6e4 c010e4d8 c004c150 c006b93c
[  136.110000] e328  c006bd6c c004c150 c00395a0 c004c150 c004c150 c0040e30 c004c150 c004c150
[  136.110000]
[  136.110000] R9: 0xdf835f80:
[  136.110000] 5f80  f0000086 0002416d 00000000 00000000 00000000 00000000 c04ce680 c04ce600
[  136.110000] 5fa0  df835e80 df82c400 df882000 00000000 00000000 00000000 00000001 00000000
[  136.110000] 5fc0  00000000 df835fc4 df835fc4 00393502 7ff7edb3 46f36dff 3df5abcf ebfff7d5
[  136.110000] 5fe0  477b6beb defdbf19 7afffff5 cd55fac7 be5f7a55 ffdff3ff ba77dcff ebfffee9
[  136.110000] 6000  00000002 00010001 00000000 df860000 c06ffc04 00000000 00000015 dd8c7c00
[  136.110000] 6020  00000000 df860000 c0703530 df862580 c0703530 df836000 df837e4c df837dc8
[  136.110000] 6040  c04b99f0 00000000 00000000 00000000 00000000 00000000 01000000 00000000
[  136.110000] 6060  b6fe44c0 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  136.110000] [<c0014aa4>] (unwind_backtrace+0x0/0x124) from [<c008dd8c>] (watchdog_timer_fn+0xe8/0x13c)
[  136.110000] [<c008dd8c>] (watchdog_timer_fn+0xe8/0x13c) from [<c004e524>] (__run_hrtimer+0xb0/0x1cc)
[  136.110000] [<c004e524>] (__run_hrtimer+0xb0/0x1cc) from [<c004ed1c>] (hrtimer_interrupt+0x104/0x250)
[  136.110000] [<c004ed1c>] (hrtimer_interrupt+0x104/0x250) from [<c002bdb8>] (aw_clkevt_irq+0x3c/0x4c)
[  136.110000] [<c002bdb8>] (aw_clkevt_irq+0x3c/0x4c) from [<c008e508>] (handle_irq_event_percpu+0x38/0x228)
[  136.110000] [<c008e508>] (handle_irq_event_percpu+0x38/0x228) from [<c008e728>] (handle_irq_event+0x30/0x40)
[  136.110000] [<c008e728>] (handle_irq_event+0x30/0x40) from [<c0090bb0>] (handle_level_irq+0xbc/0xcc)
[  136.110000] [<c0090bb0>] (handle_level_irq+0xbc/0xcc) from [<c008df44>] (generic_handle_irq+0x28/0x38)
[  136.110000] [<c008df44>] (generic_handle_irq+0x28/0x38) from [<c000f024>] (handle_IRQ+0x68/0x8c)
[  136.110000] [<c000f024>] (handle_IRQ+0x68/0x8c) from [<c04ba9f4>] (__irq_svc+0x34/0xf8)
[  136.110000] [<c04ba9f4>] (__irq_svc+0x34/0xf8) from [<c002b90c>] (sun4i_restart+0x28/0x34)
[  136.110000] [<c002b90c>] (sun4i_restart+0x28/0x34) from [<c000f4f4>] (machine_restart+0x24/0x54)
[  136.110000] [<c000f4f4>] (machine_restart+0x24/0x54) from [<c004192c>] (sys_reboot+0x198/0x224)
[  136.110000] [<c004192c>] (sys_reboot+0x198/0x224) from [<c000e0c0>] (ret_fast_syscall+0x0/0x30)
--------------

JohnS

The problem seems to be that the watchdog inside the A13 simply does not work reliably.  Kernel build/module details are going to be irrelevant!

I doubt Allwinner are going to change the chip...

John

anubis

Dear John,

yep it's possible buggy MCU issue, but if we need a solution we can't ignore the fact this bug IS NOT
reproducing (at least by me on same board) on other images/kernels.

Still looking for any solution which will reboot board reliebly.


Alex.

JohnS

Which kernel works reliably i.e. never fails?

No-one has posted any that works.

John

nvd

I do not believe that it is a MCU bug.

On a "github" discussion, as it seems, it is misconfigured u-boot.

https://github.com/linux-sunxi/linux-sunxi/issues/118#issuecomment-15611995

JohnS

So far as I can tell that is a different problem.

John