On the off chance, I decided to update the Ubuntu file server with the latest patches. This seems to have fixed the problem (or at least for now). The cache settings are still in the advancedsettings.xml file as per above. Hope this helps someone else.
Posts by leenowell
-
-
HI All,
I managed to do a quick controlled test with full logging on. Attached is the log file. Looks like that error is the issue and Kodi just continues playing the cached file until it dies. Screen crashed as before but ssh is still fine as is the onscreen logging.
thanks
Lee.kodi.txt -
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...
Code
Display More2019-04-24 13:49:50.253 T:1817162608 ERROR: GetDirectory - Error getting 2019-04-24 13:50:08.186 T:1909785456 ERROR: Previous line repeats 6 times. 2019-04-24 13:50:08.186 T:1909785456 NOTICE: CAESinkPi:AddPackets Underrun (delay:0.00 frames:2205) 2019-04-24 13:50:38.270 T:1938018320 NOTICE: VideoPlayer::OpenFile: nfs://192.168.1.200/media/PrimaryData/Video/March12.mp4 2019-04-24 13:50:38.282 T:1448555376 NOTICE: Creating InputStream 2019-04-24 13:50:38.736 T:1448555376 NOTICE: Creating Demuxer 2019-04-24 13:50:46.220 T:1448555376 NOTICE: Opening stream: 0 source: 256 2019-04-24 13:50:46.424 T:1448555376 NOTICE: Creating video thread 2019-04-24 13:50:46.500 T:1448555376 NOTICE: Opening stream: 1 source: 256 2019-04-24 13:50:46.522 T:1448555376 NOTICE: Creating audio thread 2019-04-24 13:50:46.862 T:1448555376 NOTICE: OMXClock using audio as reference 2019-04-24 13:51:01.063 T:1370428272 ERROR: Read - Error( -14, read call failed with "F" ) 2019-04-24 13:54:06.416 T:1938018320 NOTICE: NFS: sending keep alive after 180 s. 2019-04-24 15:02:19.724 T:1938018320 NOTICE: Previous line repeats 21 times. 2019-04-24 15:02:19.725 T:1938018320 NOTICE: CVideoPlayer::CloseFile() 2019-04-24 15:02:19.729 T:1938018320 NOTICE: VideoPlayer: waiting for threads to exit 2019-04-24 15:16:12.491 T:1667175280 ERROR: OnTvStandby - Unexpected [standby_pc_on_tv_standby] setting value
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. -
Hi,
I have discovered the source of the issue - I had an IP conflict on my network. Now getting some video playback issues but will post separately for that.
Thanks chewitt for your help.
-
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
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
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,
Quick update. I tried to get a clean log with the issue in it and as "luck" would have it the player has been fine so couldn't reproduce the error. Will keep trying. It is amazing... when you want the problem to happen you can't
thanks
Lee.
-
Apologies. I will try and get a full log tonight and upload it as you suggest.
-
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
Code
Display More14:16:16.200 T:1559229344 ERROR: Read - Error( -14, read call failed with "F" ) 14:16:30.077 T:1559229344 ERROR: Previous line repeats 2 times. 14:16:30.077 T:1559229344 NOTICE: CVideoPlayer::OnExit() 14:16:30.077 T:1559229344 NOTICE: VideoPlayer: eof, waiting for queues to empty 14:16:30.077 T:1559229344 NOTICE: Closing stream player 1 14:16:30.078 T:1559229344 NOTICE: CDVDMessageQueue(audio)::WaitUntilEmpty 14:16:30.092 T:1495507872 NOTICE: thread end: OMXPlayerAudio::OnExit() 14:16:30.180 T:1559229344 NOTICE: Closing stream player 2 14:16:30.181 T:1559229344 NOTICE: CDVDMessageQueue(video)::WaitUntilEmpty 14:16:30.182 T:1537995680 ERROR: OMXPlayerVideo: Got MSGQ_IS_ERROR(-1) Aborting 14:16:30.182 T:1537995680 NOTICE: thread end: video_thread 14:16:31.294 T:1961332736 NOTICE: CVideoPlayer::CloseFile() 14:16:31.295 T:1961332736 NOTICE: VideoPlayer: waiting for threads to exit 14:16:31.295 T:1961332736 NOTICE: VideoPlayer: finished waiting 14:16:31.296 T:1961332736 NOTICE: CVideoPlayer::CloseFile() 14:16:31.297 T:1961332736 NOTICE: VideoPlayer: waiting for threads to exit 14:16:31.297 T:1961332736 NOTICE: VideoPlayer: finished waiting
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
CodeSummary 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.