It's a bug in btrfs. From my experience it's been fixed in 3.16.something.
"btrfs check --repair ..." (manually added somewhere in the initramfs init script) fixes it, but --repair is not considered completely safe (although it has never caused any damage here).
My suggestion is to live with it. The directory is actually empty.
Why am I getting kept back message on upgrade attempt?
# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
xbian-package-config-xbmc xbian-package-upstart-xbmc-bridge
xbian-package-xbmc xbian-package-xbmc-scripts xbian-update
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
My sources list:
deb
http://mirrordirector.raspbian.org/raspbian/ wheezy main non-free
deb
http://apt.xbian.org stable main
deb
http://apt.xbian.org staging main
Is this normal or am I missing something here?
I've installed the last two updates and still have the following problems:
- Cpu usage 100% without doing anything
- audio with external usb 5.1 sound card or over HDMI: i experience sound dropouts and a very big delay
- playing any kind of online videos - it'S buffering and freezing
maybe it's all because of 100% cpu usage
(14th Mar, 2015 08:18 PM)mariuscotan Wrote: [ -> ]- audio with external usb 5.1 sound card or over HDMI: i experience sound dropouts and a very big delay
- playing any kind of online videos - it'S buffering and freezing
I think these are related and you may be right about the CPU usage. The question is what's causing it and how to fix it? I get such bad audio dropouts that I binned Kodi and have now gone back to Gotham, then it all works well.
Skywatch.
(14th Mar, 2015 08:18 PM)mariuscotan Wrote: [ -> ]I've installed the last two updates and still have the following problems:
- Cpu usage 100% without doing anything
- audio with external usb 5.1 sound card or over HDMI: i experience sound dropouts and a very big delay
- playing any kind of online videos - it'S buffering and freezing
maybe it's all because of 100% cpu usage
What is using the CPU time?
It is verry interesting:
after i loged in with xbian user to check what is using the cpu, the cpu usage lowered, now it is about 35-40% when system is idle, but as long i navigate through kodi menu, it goes agin to 100%. Please look at the attached screenshoot.
I have also attached the kodi.log file if this help.
You need to remove ~/.kodi and reconfigure, something has gotten corrupted.
On my PI installation, I also have the issue of way too much CPU usage since yesterdag, the system is unusable since then.
I checked the logs, I found one error, but I think it is unrelated:
Unable to load libcurl.so.4, reason: /usr/lib/arm-linux-gnueabihf/libssh2.so.1: cannot read file data: Is a directory
=> I checked the file, and it was a hard link to the complete folder instead of to the correct file. I thought the correct file would be libssh2.so.1.0.1, so I updated it like this:
Terminal
xbian@xbian ~ $ sudo unlink /usr/lib/arm-linux-gnueabihf/libssh2.so.1
xbian@xbian ~ $ sudo ln /usr/lib/arm-linux-gnueabihf/libssh2.so.1.0.1 /usr/lib/arm-linux-gnueabihf/libssh2.so.1
But then I got this error:
Unable to load libcurl.so.4, reason: /usr/lib/arm-linux-gnueabihf/libssh2.so.1: file too short
(14th Mar, 2015 11:42 PM)f1vefour Wrote: [ -> ]You need to remove ~/.kodi and reconfigure, something has gotten corrupted.
Hi!
i have tried and it didn't hepl. As long as i change no kodi config, the cpu usage is about 30-40%, whene i change for example the refresh rate from 50 Hz to 60 Hz, the cpu utilisation is 100% all the time and i cannot do anything... just remove the kodi folder and start from the begining.
Kodi uses 80% CPU in system idle mode
Let me see your syslog (dmesg) and what version is kodi?
Hmm, seems like it was related. I fixed some issues with my installed packages, removed the files I was trying to fix in my previous post and installed the package libssh2-1:
Terminal
xbian@xbian ~ $ sudo rm /usr/lib/arm-linux-gnueabihf/libssh2.so.1
xbian@xbian ~ $ sudo rm /usr/lib/arm-linux-gnueabihf/libssh2.so.1
xbian@xbian ~ $ sudo apt-get install libssh2-1
This fixes the libssh2 files, and also lowers the cpu usage of xbian back to normal levels. Not sure how libssh2 got corrupted... And why it has such an impact on cpu usage.
(15th Mar, 2015 05:29 AM)f1vefour Wrote: [ -> ]Let me see your syslog (dmesg) and what version is kodi?
Kodi 14.2-RC1 Git: Unknown (Compiled: Mar 13 2015)
Xbian 1.0 (kknockout), kenel: Linux 3.18.8+
Raspberry Pi Model B
Dmesg attached.
(15th Mar, 2015 06:17 AM)mariuscotan Wrote: [ -> ] (15th Mar, 2015 05:29 AM)f1vefour Wrote: [ -> ]Let me see your syslog (dmesg) and what version is kodi?
Kodi 14.2-RC1 Git: Unknown (Compiled: Mar 13 2015)
Xbian 1.0 (kknockout), kenel: Linux 3.18.8+
Raspberry Pi Model B
Dmesg attached.
Could you add this to /boot/cmdline.txt and reboot.
Code:
dwc_otg.fiq_fsm_mask=0xf
(15th Mar, 2015 06:35 AM)f1vefour Wrote: [ -> ] (15th Mar, 2015 06:17 AM)mariuscotan Wrote: [ -> ] (15th Mar, 2015 05:29 AM)f1vefour Wrote: [ -> ]Let me see your syslog (dmesg) and what version is kodi?
Kodi 14.2-RC1 Git: Unknown (Compiled: Mar 13 2015)
Xbian 1.0 (kknockout), kenel: Linux 3.18.8+
Raspberry Pi Model B
Dmesg attached.
Could you add this to /boot/cmdline.txt and reboot.
Code:
dwc_otg.fiq_fsm_mask=0xf
I have tried and it is the same and also it boots slower now.
I will try to format the card and than flash the latest stable version
It appears that you are using an incompatible USB hub, try the Pi without it.