Posts by leenowell

    Hi All,

    Quick update. I tried doing a controlled test of a fresh Pi restart then playing a video whilst monitoring the kodi.log file. The error "Read - Error( -14, read call failed with "F" )" appeared but didn't seem to impact the playing. The video continued playing for a few mins. I then turned the TV to normal TV (I assumed the video would continue to play in the background) and it paused the video but then when I flicked back to the Pi it continued. Going back and forth in the advert breaks the video seems to play fine. This morning, I then played it again and the screen froze then eventually knocked me back to the screen where I selected the video. Only thing in the log was

    ERROR: CGUIMediaWindow::GetDirectory(videodb://tvshows/titles/9/?xsp=%7b%22order%22%3a%7b%22direction%22%3a%22ascending%22%2c%22ig$

    The screen shows I have the video playing in the top right corner (it is not). I then selected the video that was supposed to be playing and the Pi has frozen. My ssh session is fine though and nothing in the log.

    I will try and do another controlled test tonight.

    thanks


    Lee.

    Hi All,

    I have a problem whereby I start playing a video and after about 5 mins or so, it stops (as if someone pressed the stop button). I can resume it from where it stopped but it is very annoying. This appears to happen on all videos. The videos are stored on a central server and played on a Raspberry Pi 1 using nfs and the error in the log is...


    Other bits of information....

    1. manually nfs mounting at the OS level seems to make no difference

    2. the same files work fine using other devices (a laptop and fire stick running VLC) both nfs mounting the directory

    3. the same file stored locally to the Pi works fine

    4. I have added the following to advancedsetting.xml

    Code
    <cache>
    <buffermode>1</buffermode>
    <memorysize>139460608</memorysize>
    <readfactor>20</readfactor>
    </cache>

    5. The Pi is wired to the router whereas the laptop and fire stick are connected to the same router but via wifi

    6. This is a clean install of latest LibreElec (LibreELEC-RPi.arm-9.0.1.img.gz) installed using the LibreElec tool

    I have found a number of people have the same issue but have been unable to find a solution.

    Anyone have any ideas?

    thanks


    Lee.

    I noticed that /storage/.cache/ssh had perms of 755 and read somewhere it should be 700 so I changed it to 700 rebooted and it changed it back. Contents of ssh dir are ok (*.pub 644 everything else 600).

    Changed perms to 700 tried to ssh to Pi same issues. Restarted the sshd (systemctl restart sshd) and perms stayed at 700 but still no joy

    EDIT tried running sshd manually to a log file and logging at DEBUG3 (max I believe). "tail -f log" It says it is listening on 0.0.0.0 port 22 but when I try to ssh from the laptop, nothing gets written to the log.

    ssh from the pi back to itself (ssh root@<pi ip>) I get "ssh_exchange_identification: read: Connectionreset by peer" and in the log I get

    debug3: fd 6 is not O_NONBLOCK

    debug1: Forked child 359.

    debug3: send_rexec_state: entering fd = 9 config len 264

    debug3: ssh_msg_send: type 0

    debug3: send_rexec_state: done

    debug3: oom_adjust_restore

    debug1: Set /proc/self/oom_score_adj to 0

    debug1: rexec start in 6 out 6 newsock 6 pipe 8 sock 9

    Thanks very much for your reply. This is the URL from dmesg | paste

    http://ix.io/1h3e

    At line 27.xxxx it seems to indicate it is full duplex

    ps -A shows that /usr/sbin/sshd -D is running as root but trying to ssh from laptop still fails.

    I have tried ssh from Pi to laptop and it connect OK, does the key exchange, asks for my password then hangs (ctrl c also not responding). Reboot (ctrl alt del) then retrying it and it sometimes works for a few sec then crashes and sometimes crashes after the password

    Hi All,

    I have a fresh install of 9.0.1 created using the LibreElec tool on Ubuntu and running on Raspberry Pi 1. During the startup wizard I have enabled both SSH and SMB and reset the SSH password to something else. As the Pi starts up, if I continually try to connect to it via SSH (from Ubuntu CLI) it will eventually connect ok. I enter my password and can intereact with the Pi (e.g. continually enter ls) for around 10 seconds. Roughly just after the splash screen appears my connection terminates with

    Code
    packet_write_wait: Connection to X.X.X.X port 22: Broken pipe

    After this point I can no longer connect via SSH. Some further points to note

    1. I can't see any errors in the logs

    2. In order to see the logs I have had to mount the SD card in another PC - I have seen threads on file permissions of the .cache/ssh directory and contents so have put them correctly before unmounting the card and restarting in the Pi

    3. neither SMB or NTFS seem to be working either. Trying to add file sources for NTFS the Pi is non-responsive for around 5 second and then returns to the portocol selection screen. SMB gives "Error 2: share not available".

    4. Have checked that STORAGE partition is ext4 (boot partition is fat32)

    5. I have installed the services plugin to try and get a command line on the Pi but when opening it it says it is a console only addon and asks me whether I want to open a terminal. I respond with "yes" and it sits there for a bit and does nothing

    6. tried adding ssh to the "boot = " line

    7. I have seen some posts about adding "tty" to the boot parameters (so I can at least go to a console on the Pi) but can not find the files they refer to to do this. Tried adding it to the "boot=" line but no joy

    8. Saw a post about installing the network tools so have done that too.

    9. I reverted back to 8,2,5 and still no SSH.

    10. Tried switching SSH off in the settings waiting for a few minutes and switching back on.

    I am now at a loss as I can't get on to the Pi to further troubleshoot. Given I'm sure lots of people have got this working I assume this is something simple but fundamental

    Any ideas?

    Thanks


    Lee.

    EDIT - have attached kodi.log

    Hi All,

    I have a strange issue and despite lots of searching I can't seem to find a solution.

    During playback of video files, they will randomly stop almost as if the stop button had been pressed. The screen returns to the list of available videos with the one that was being played highlighted. Then hitting enter it gives you the option of resuming it and it plays from where it left off.

    When this happens, kodi.log shows the following

    All the files are stored on a central file server and the Pi connects to it via NFS. The Pi itself is connection to the server via Ethernet and a switch.

    Looking in system info I see the following

    Code
    Summary
    Operating system - LibreELEC(official) - Version: 8.0.2 (kernel: Linux 4....)
    Build: Kodi 17.3 Git:147cec4
    Compiled: May 25 2017
    
    Video
    GPU: VideoCore IV HW
    OpenGL vendor: Broadcom
    OpenGL version: OpenGL ES 2.0

    Anyone have any ideas what could be wrong?

    Thanks in advance


    Lee.