Closed s47 closed 8 years ago
Last news : almost 24 hours since the beginning of the last test and my rpi still runs.
To complete my test, i'm going to delete theses lines from /etc/rc.local : echo 08 > /sys/devices/platform/bcm2708_usb/regoffset echo 0x31 > /sys/devices/platform/bcm2708_usb/regvalue
Moreover, i'm going to reinstall the last version of xbian-kernel.
We'll see in 24 hours ^^
@f1vefour np, I can.
Just to comment, the way I see to quickly reproduce the issue is not the only way it happens. Sometimes it will freeze a few moments after I boot.
My RPi is still running so it seems the problem is solved with moving the .kodi directory. If the problem finally come back i will post here but for now thanks a lot for the solution ;)
I've installed a fresh install of XBian on my RPi Model B and unfortunately I have the same issue. At least once a day the whole system freezes and I have to reboot to use it again. Because it happens randomly I haven't been able to save dmesg or anything.
This happens also after I've added the code below to /etc/rc.local : echo 08 > /sys/devices/platform/bcm2708_usb/regoffset echo 0x31 > /sys/devices/platform/bcm2708_usb/regvalue
Have you addedd before or after "exit 0"? Should be before check if you have the right values with cat /sys/devices/platform/bcm2708_usb/regoffset cat /sys/devices/platform/bcm2708_usb/regvalue
Yes I've added it before the "exit 0":
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
echo 08 > /sys/devices/platform/bcm2708_usb/regoffset
echo 0x31 > /sys/devices/platform/bcm2708_usb/regvalue
exit 0
This also works correctly:
root@xbian:/home/xbian# cat /sys/devices/platform/bcm2708_usb/regoffset
0x00000008
root@xbian:/home/xbian# cat /sys/devices/platform/bcm2708_usb/regvalue
Reg@0x000008 = 0x00000031
And my problem came back. Since Monday every day my RPi freezes....
I added again the two "echo" in /etc/rc.local but it seems hopeless...
And I as imagined the edition of rc.local doesn't change anything. Xbian is still very very unstable...
Even if you use the image we labeled stable?
I switched to the beta image because i had a big problem with the stable image which forced me to format and reinstall all from the beginning. I thought that the beta image couldn't be more unstable and dangerous than the stable one. And in fact i had less problem with this beta image...
Hopefully i will receive soon my RPi 2 and will be able to test my Xbian on it. If it's still unstable i will switch to another distrib.
Today xbian freezed after many weeks. I was using youtube plugin. I restarted and within 10 minutes it freezed again, while it was idle. The only thing I changed was removing of "elevator=noop" from cmdline.txt. Now I'm tring again with noop elevator and uptime is 4h
To keep you info, since my last post the RPi hasn't freezed again. I noticed that the last freezes happened when i was downloading a file so when there was a lot of I/O on the USB disk and ethernet.
And a new freeze/crash when nzbget was unpacking a download...
New behaviour, my RPi completely freezed but still respond to ping whereas before when it freezed even ping didn't work. XBian is going to make me crazy...
Is there a way to go back to the stable version without installing everything again? For instance downgrading the kernel and kodi to a specific version?
Standard apt functionality. A quick search on startpage or duckduckgo will give you the answer.
Yeah sorry wrong question, what I meant is what packages do I have to downgrade to get to the stable version again and which versions of the packages are used for the stable version?
We don't keep track of that. Images are automatically generated based on the latest debs in the stable repositories. Install the latest stable on a separate SD card and save the list of package versions. That would essentially be what i would have to do myself to get the answer.
@RolfTimmerman you probably can probably use apt preferences for that.
Take a look at this post I've made regarding something alike I did on Debian.
The theory is the same, you just need to pin the stable repository instead of snapshots.debian.org with a priority of 1001.
XBian already uses these preferences for its own override packages.
I'll just give you an update on my situation. My pi started freezing again and again up until I couldn't restart it anymore. Eventually I couldn't boot and I only had one red light indicating on the pi. Tried 3 different SD cards with different versions of Xbian but I just couldn't get it to boot. I think the card reader might have gone bad. I don't know if that has had anything to do with my problems mentioned above. Either way I have ordered a new rpi 2 and can't wait to try it out with xbian.
I have tried several power adapters, and the freeze even occurs with a 2.5A adapter. It can be easily reproduced (not every time, but nearly every time) with a "btrfs scrub start /" command. I will open an issue for this ASAP.
I successfully used btrfs scrub several times in a row trying to reproduce but it completed successfully each time.
I have also been able to reproduce my issue with btrfs scrub start /
in the first try (took ~4 sec for it to freeze).
What are you running xbian on f1vefour?
Pi 1 Model B and Pi 2
Please see: http://forum.xbian.org/thread-2789-post-27655.html#pid27655 I've haven't had any problems until recently updating. Seems to happen only when downloading torrents with transmission. Dmesg log: http://pastebin.com/ZLbC9tci Kodi log: http://pastebin.com/ggAhcfxg
Latest build. Kodi 14.2 Beta RPI B model. No overclocking. Sufficient power supply. 8 GB sandisk class 10. Wired ethernet. HDMI, 2 TB EXT4 drive connected.