Fixing recursive fault but reboot is needed!

Hi,

I’m running the latest version of OSMC on a RPI2. Apart from Kodi I’m using it mainly for downloading stuff with pyload.

In the last time I frequently see system crashes. I installed syslog-ng and had a look through the logs.

There are some lines that seem to point to the error but I do not understand them.

Sep  3 08:15:56 osmc kernel: Unable to handle kernel paging request at virtual address cadb0010
Sep  3 08:15:56 osmc kernel: pgd = ad50c000
Sep  3 08:15:56 osmc kernel: [cadb0010] *pgd=00000000
Sep  3 08:15:56 osmc kernel: Internal error: Oops: 5 [#3] PREEMPT SMP ARM
Sep  3 08:15:56 osmc kernel: Modules linked in: tun cfg80211 rfkill evdev uinput sg 8192cu(O) uas bcm2835_thermal lirc_rpi(C) lirc_dev uio_pdrv_genirq rc_core uio fuse ipv6
Sep  3 08:15:56 osmc kernel: CPU: 2 PID: 5734 Comm: python Tainted: G      D  C O    4.1.3-2-osmc #1
Sep  3 08:15:56 osmc kernel: Hardware name: BCM2709
Sep  3 08:15:56 osmc kernel: task: a5674380 ti: 8fa02000 task.ti: 8fa02000
Sep  3 08:15:56 osmc kernel: PC is at __d_lookup+0x78/0x180
Sep  3 08:15:56 osmc kernel: LR is at __d_lookup+0x5c/0x180
Sep  3 08:15:56 osmc kernel: pc : [<801e5aac>]    lr : [<801e5a90>]    psr: a0010013\x0asp : 8fa03e48  ip : 8fa03e48  fp : 8fa03e84
Sep  3 08:15:56 osmc kernel: r10: adc06d90  r9 : 00000003  r8 : 8fa03ec8
Sep  3 08:15:56 osmc kernel: r7 : ad802198  r6 : ae091000  r5 : 00303136  r4 : cadb0000
Sep  3 08:15:56 osmc kernel: r3 : 39183136  r2 : a5674380  r1 : 02e631bc  r0 : ad802198
Sep  3 08:15:56 osmc kernel: Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
Sep  3 08:15:56 osmc kernel: Control: 10c5387d  Table: 2d50c06a  DAC: 00000015
Sep  3 08:15:56 osmc kernel: Process python (pid: 5734, stack limit = 0x8fa02210)
Sep  3 08:15:56 osmc kernel: Stack: (0x8fa03e48 to 0x8fa04000)
Sep  3 08:15:56 osmc kernel: 3e40:                   8fa03ebb 0000000d ff0a0110 8fa03ebb 6c2ff000 8fa03ec8
Sep  3 08:15:56 osmc kernel: 3e60: 809bab00 ad802198 00000584 00000001 00000262 adc06d90 8fa03ea4 8fa03e88
Sep  3 08:15:56 osmc kernel: 3e80: 801e5c8c 801e5a40 8fa03ebb 8a9ad590 00001666 ad4e1350 8fa03f04 8fa03ea8
Sep  3 08:15:56 osmc kernel: 3ea0: 80244af4 801e5c20 ae1338c0 8082e3c0 8a9ad580 00000000 36a03edc 00003031
Sep  3 08:15:56 osmc kernel: 3ec0: 806fd8dc 8012203c 00303136 00000003 8fa03ebb 8fa03ee0 8006b9b4 a5674380
Sep  3 08:15:56 osmc kernel: 3ee0: 8fa03bec 8fa03f60 00200200 80a26514 a5674380 80996300 8fa03f54 8fa03f08
Sep  3 08:15:56 osmc kernel: 3f00: 800342f4 80244a24 00000001 00000000 80996300 8099e040 a56748c4 00200200
Sep  3 08:15:56 osmc kernel: 3f20: ad56a700 a5674380 809c67d4 a5674380 8fa03bec 8fa03f60 a56746d8 00000000
Sep  3 08:15:56 osmc kernel: 3f40: ad56a738 adce0000 8fa03f94 8fa03f58 80035fa0 8003428c 757f2624 0000004e
Sep  3 08:15:56 osmc kernel: 3f60: 8fa03f60 8fa03f60 00000000 00000000 00000000 6cafd460 00000001 80016ea4
Sep  3 08:15:56 osmc kernel: 3f80: 8fa02000 00000000 8fa03fa4 8fa03f98 80036368 80035900 00000000 8fa03fa8
Sep  3 08:15:56 osmc kernel: 3fa0: 80016cc0 80036354 00000000 00000000 00000000 00000000 00000001 00000000
Sep  3 08:15:56 osmc kernel: 3fc0: 00000000 00000000 6cafd460 00000001 6cafcfa0 00000000 6cafd694 7ea5b540
Sep  3 08:15:56 osmc kernel: 3fe0: 00000001 6cafce58 76f78053 76f7f536 60010030 00000000 e1206849 ba0565dd
Sep  3 08:15:56 osmc kernel: [<801e5aac>] (__d_lookup) from [<801e5c8c>] (d_hash_and_lookup+0x78/0x98)
Sep  3 08:15:56 osmc kernel: [<801e5c8c>] (d_hash_and_lookup) from [<80244af4>] (proc_flush_task+0xdc/0x16c)
Sep  3 08:15:56 osmc kernel: [<80244af4>] (proc_flush_task) from [<800342f4>] (release_task+0x74/0x4b4)
Sep  3 08:15:56 osmc kernel: [<800342f4>] (release_task) from [<80035fa0>] (do_exit+0x6ac/0xa28)
Sep  3 08:15:56 osmc kernel: [<80035fa0>] (do_exit) from [<80036368>] (do_group_exit+0x0/0xd4)
Sep  3 08:15:56 osmc kernel: Code: ea000010 e5944000 e3540000 0a00000d (e5943010) 
Sep  3 08:15:56 osmc kernel: ---[ end trace f49a3b64bef3fc9e ]---
Sep  3 08:15:56 osmc kernel: Fixing recursive fault but reboot is needed!

This part is repeated several times in the log and then suddenly the whole system freezes, the last entry is

 Sep  3 08:19:23 osmc kernel: @@@@- #2  rtw_ps_processor==> rfstate:rf_on 

Do you have suggestions or ideas what I could do to stabilize the system?

Best
Sebastian

I would start by checking your power supply or trying a different one, and reduce your overclock if you have increased it. Most instability problems that cause a kernel panic are caused by hardware instability.

By the way, you don’t need to install syslog-ng - check out the ‘journalctl’ command for reading systemd log files natively. :wink:

Unplug the WiFi dongle. Does it go away?

Sam

DBMandrake, Thank you for the hint regarding journalctl!

I have noticed that the USB stick, to which I am saving the downloaded data to, was completely full.

Moreover, no freezes if pyload is not running.

Could it be the case that the system freezes when the stick is full and pyload can not write data to the file system anymore?