LE 8.2.1 (Wetek Core) Hang - weird dmesg entries

  • Hello,

    LibreELEC 8.2.1 is installed on the NAND of my Wetek Core device I had problems with crashes and data loss with Android (Wetek support suggested a hardware issue)

    LE is actually running great, but I just experienced a hang while playing Youtube videos (Youtube add-on v5.4.5)

    Here is the output of dmesg after unplugging the adapter and rebooting.

    fNLL


    Could this be indeed a hardware issue or could it be AMLogic related?

    I have a 3TB uxternal HDD connected to the USB port, with an HFS+ partition and an EXT4 partition.

    Thank you for your help!

  • P.S. Here are the messages I mean

    [ 22.075672@0] [aml_sdio_timeout] time_start_cnt:990

    [ 22.075672@0] [aml_sdio_print_err] sdio: Timeout error, Cmd52 arg 0xc00, Xfer 0 Bytes, host->xfer_step=12, host->cmd_is_stop=0, pdata->port=0, virqs=0x113, virqc=0x1f003f00, conf->cmd_clk_divide=177, pdata->clkc=177, conf->bus_width=0, pdata->width=0, conf=0x416270b1, clock=397940

    [ 22.075694@3]

    [ 23.075833@3] [aml_sdio_timeout] time_start_cnt:1000

    [ 23.075833@3] <7>[ 23.315895@0] -----hotplug:2

    [ 23.377884@1] IRQ93 no longer affine to CPU1

    [ 23.378061@0] CPU1: shutdown

    [ 23.495724@2] IRQ94 no longer affine to CPU2

    [ 23.495853@0] CPU2: shutdown

    [ 23.076083@0] [aml_sdio_print_err] sdio: Timeout error, Cmd52 arg 0x80000c08, Xfer 0 Bytes, host->xfer_step=12, host->cmd_is_stop=0, pdata->port=0, virqs=0x13, virqc=0x1f001f00, conf->cmd_clk_divide=177, pdata->clkc=177, conf->bus_width=0, pdata->width=0, conf=0x416270b1, clock=397940

    [ 23.076083@0]

    [ 24.075832@0] [aml_sdio_timeout] time_start_cnt:995

    [ 24.075832@0] <4>[ 24.090701@0] sdio: queuing unknown CIS tuple 0x80 (2 bytes)

    [ 24.093082@0] sdio: queuing unknown CIS tuple 0x80 (3 bytes)

    [ 24.095357@0] sdio: queuing unknown CIS tuple 0x80 (3 bytes)

    [ 24.106827@0] sdio: queuing unknown CIS tuple 0x80 (7 bytes)

    [ 24.196261@0] sdio: new high speed SDIO card at address 0001, clock 35416666, 4-bit-bus-width

    [ 24.216742@0] [sdio_reinit] finish


    -------

    [ 24.076086@0] [aml_sdio_print_err] sdio: Timeout error, Cmd8 arg 0x1aa, Xfer 0 Bytes, host->xfer_step=12, host->cmd_is_stop=0, pdata->port=0, virqs=0x13, virqc=0x3f003f00, conf->cmd_clk_divide=177, pdata->clkc=177, conf->bus_width=0, pdata->width=0, conf=0x416270b1, clock=397940

    [ 24.076086@0]

    ------

    [ 25.482834@0] EXT4-fs error (device data): ext4_iget:4199: inode #142711: comm kodi-config: bad extra_isize (65663 != 256)

    [ 26.106441@1] EXT4-fs error (device data): ext4_iget:4199: inode #142644: comm kodi.bin: bad extra_isize (65663 != 256)

    [ 26.109227@1] EXT4-fs error (device data): ext4_iget:4199: inode #142711: comm kodi.bin: bad extra_isize (65663 != 256)

    [ 26.113917@1] EXT4-fs error (device data): ext4_iget:4199: inode #142711: comm kodi.bin: bad extra_isize (65663 != 256)


    ------

    [ 31.352672@0] [amlogic_cec] amlogic_cec_irq_handler(): cec msg status: rx: 0x0; tx: 0x3

    [ 31.352695@2] [amlogic] ##### cec write error! #####

    [ 31.353034@2] [amlogic_cec] dump: msg TX len: 1 dat: 13

    [ 31.532360@0] [amlogic_cec] amlogic_cec_irq_handler(): cec msg status: rx: 0x0; tx: 0x3

    [ 31.532388@2] [amlogic] ##### cec write error! #####

    [ 31.532725@2] [amlogic_cec] dump: msg TX len: 1 dat: 14

    [ 31.577255@0] [amlogic_cec] amlogic_cec_irq_handler(): cec msg status: rx: 0x0; tx: 0x2

    [ 31.579026@0] [amlogic_cec] dump: msg TX len: 1 dat: 16

    [ 31.756976@0] [amlogic_cec] amlogic_cec_irq_handler(): cec msg status: rx: 0x0; tx: 0x3

    [ 31.757003@0] [amlogic] ##### cec write error! #####

    [ 31.757370@0] [amlogic_cec] dump: msg TX len: 1 dat: 16

    [ 31.936668@0] [amlogic_cec] amlogic_cec_irq_handler(): cec msg status: rx: 0x0; tx: 0x3

    [ 31.936688@0] [amlogic] ##### cec write error! #####

    [ 31.937093@0] [amlogic_cec] dump: msg TX len: 1 dat: 17

    [ 32.116364@0] [amlogic_cec] amlogic_cec_irq_handler(): cec msg status: rx: 0x0; tx: 0x3

    [ 32.116434@0] [amlogic] ##### cec write error! #####

    [ 32.116787@0] [amlogic_cec] dump: msg TX len: 1 dat: 17

    [ 32.296054@0] [amlogic_cec] amlogic_cec_irq_handler(): cec msg status: rx: 0x0; tx: 0x3

    [ 32.296188@0] [amlogic] ##### cec write error! #####

  • Hi,

    The UI just stopped responding (I can connect through ssh though - tried to restart kodi, but it didn’t work)

    I was able to enable logging, so hoping there is something useful

    here are the log outputs:

    journalctl - TDIO

    dmesg - WMZS

    kodi.log - ARCb

  • P.S. oops, I just realised that this last one might be related to the Youtube addon (installed an alpha version yesterday)

    However there are other weird things going on in the log.... for some reason looks like the database got corrupted?

    I also checked out the output of top and aml_nftld uses a lot of CPU

    P.P.S. I rebooted LE from ssh and now everything is a mess :)

    here is kodi.log after force reboot

    hUNQ

    journalctl

    LWEN

  • Hi codesnake,

    Yes, noticed that too. Actually it already got corrupted once (I messed with it :) ) and I made a fresh install. Didn't touch it since then and didn't do a recovery either.

    Running from microSD now, let's see if there are any issues. If everything works fine, I guess the NAND might be defective (considering I had problems under Android also).

    Thank you!