Maybe it's time for beta 3? Or a another try to update my beta2
|
21st Dec, 2013, 08:04 AM
Post: #1
|
|||
|
|||
Maybe it's time for beta 3? Or a another try to update my beta2
Since I am not able to update the beta2 image by using apt-get update; apt-get upgrade.
Still I am facing memory OOPS; segmentation errors etc. during the update. I already tried various things such as: create SD card with beta2 image boot (fs_resize) reboot remove /etc/sysctr.d/xbian.conf reboot Stop XMBC open remote ssh change /etc/apt/sources.conf to use staging and devel repos apt-get clean apt-get update apt-get upgrade or apt-get install --reinstall xbian-update than problem starts. OOPS /segfaults etc I am using a 256 rpi. I was wondering if it's possible to release a beta3 or RC1 image? KB |
|||
21st Dec, 2013, 10:05 AM
Post: #2
|
|||
|
|||
RE: Maybe it's time for beta 3?
@Killerbee
the dpkg issue was OOM, not OOPS setup exactly as you described is one of my RPI. to test your scenario I reverted to earlier snapshot and installed xbian* from stable/devel/staging. currently, Xbian-Config is updating the RPI via apt-get / dpkg from within running XBMC controlled by vnc session. more than 180pkgs, 100+Mb. Code: total used free shared buffers cached Code: Filename Type Size Used Priority Code: 18:42:20 T:2847904832 NOTICE: set label <xbmcgui.Control object at 0x251d998> to Need to get 128 MB of archives. can you provide more info on the OOPS ? Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
21st Dec, 2013, 07:40 PM
Post: #3
|
|||
|
|||
RE: Maybe it's time for beta 3?
(21st Dec, 2013 10:05 AM)mk01 Wrote: can you provide more info on the OOPS ? @mk01 Okay I will do and changed the title of the topic. Question: Should I run apt-get update from the cli or update the system from XBMC? Also when I run apt-get upgrade or apt-get install --reinstall xbian-update (from a remote session or local cli) the system freezes (or shows updating splash forever). I get no (visual) response at all. Question: What to do in that case because when I unplug the power (after let's 15 minutes) my pi won't boot. Due to various reasons. -.- Missing cmdline.txt/config.txt file or corrupted *.txt files -.- Wrong content of /etc/fstab file -.- .... Once I had even the content of the cmdline.txt in my config.txt file! I thought maybe it's me or it's to late but it was the really the case. Edit: I tried various SD cards and these cards run fine with other "distro's" KB |
|||
21st Dec, 2013, 08:08 PM
Post: #4
|
|||
|
|||
RE: Maybe it's time for beta 3? Or a another try to update my beta2
QA: doesn't matter. it is always just apt-get & dpkg at the end. Beta2 (and XBian's packages since beta2) was designed (also) for auto updating - meaning constant XBMC running with popup about reboot needed (changed libs, or binaries related to xbmc asking xbmc reload - as opposing to xbmc termination).
If boot gets corrupted, you can take this .zip archive of boot http://xbian.brantje.com/others/boot20131206.zip . you won't be able to load additional modules after boot, but it makes possible to reinstall kernel package and general maintenance on XBian. But in your case this doesn't make sense much as there is something very very wrong and any attempt to reinstall .deb again will fail (at least it looks this way). Unfortunately I have no idea what. btw: you posted on Dec-1st that you solved the problems finally (the original OOM problem). what happened ? can you provide remote ssh session to fresh reflash of img B2 for me to look a bit ? otherwise have no other ideas currently. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
21st Dec, 2013, 09:56 PM
Post: #5
|
|||
|
|||
RE: Maybe it's time for beta 3? Or a another try to update my beta2
(21st Dec, 2013 08:08 PM)mk01 Wrote: btw: you posted on Dec-1st that you solved the problems finally (the original OOM problem). what happened ? can you provide remote ssh session to fresh reflash of img B2 for me to look a bit ? otherwise have no other ideas currently. Once I am able to (re)install xbian-update (with success) all other updates are running fine. At the first of dec. I was able to successfully install the xbian-update package. It seems that a few 256Mb pi users are facing update issues. At least I do. That's why I was suggesting to release a Beta3 with all updates already installed. Kb |
|||
21st Dec, 2013, 10:26 PM
Post: #6
|
|||
|
|||
RE: Maybe it's time for beta 3? Or a another try to update my beta2
@Killerbee
ok, got the point. the difference for you is only /etc/sysctl.d/xbian.conf. XBian B2 image currently available is fixed. http://sourceforge.net/projects/xbian/files/release/ If you re-download you should not have this issue during first update. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
21st Dec, 2013, 11:48 PM
Post: #7
|
|||
|
|||
RE: Maybe it's time for beta 3? Or a another try to update my beta2
(21st Dec, 2013 10:26 PM)mk01 Wrote: XBian B2 image currently available is fixed. http://sourceforge.net/projects/xbian/files/release/ @mk01 So this is what I did: Download the above image dd bs=1M if=XBian_1.0_Beta_2.img of=/dev/sdb boot reboot Stop XBMC login as xbian sudo -i apt-get update apt-get upgrade After a few packages I got: E: Sub-process /usr/bin/dpkg exited unexpectedly The package i was updating was: xbian-package-xbmc-scripts I ran dpkg --configure -a I ran apt-get update again After a few packages I got: E: Sub-process /usr/bin/dpkg exited unexpectedly The package i was updating was: libcurl3-gnutils ... ... after 4 attempts I stopped I checked dmesg Code: [ 1213.630310] Out of memory: Kill process 5477 (dpkg) score 128 or sacrifice child I checked /etc/sysctrl.d/xbian.conf and saved it to a file Code: Filename Type Size Used Priority The system is still running so do you need some additional info? |
|||
22nd Dec, 2013, 12:30 AM
Post: #8
|
|||
|
|||
RE: Maybe it's time for beta 3? Or a another try to update my beta2
did this since your message three times (reflash, update/upgrade - with the same image). even I have less system mem (118MB).
only difference is i don't have anything in USBs. sounds stupid, can you remove all from USB, reboot & test ? then I'm out of ideas and a bit angry ) you can also edit /etc/default/zram-swap SIZE=0 (then stop zram-swap start zram-swap). then we finished. a bit confusing is that the other reports have been resolved and until now have not reported being not working again. and also can give you a certificate that you are not stupid one more idea : vm.min_free_kbytes - double it to 16384, or 32768. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
22nd Dec, 2013, 10:55 PM
Post: #9
|
|||
|
|||
RE: Maybe it's time for beta 3? Or a another try to update my beta2
(22nd Dec, 2013 12:30 AM)mk01 Wrote: you can also edit /etc/default/zram-swap SIZE=0 (then stop zram-swap start zram-swap). then we finished. I did both! and that worked By the way the value for vm.min_free_kbytes was 8192. So what I did was: Changed /etc/default/zram-swap SIZE=0 and changed /etc/sysctrl.d/xbian.conf vm.min_free_kbytes=32768. Reboot stop xbmc setup a remote ssh session and login with xbian sudo -i apt-get update apt-get upgrade .. All went well. Xbian rebooted setup a remote ssh session I checked the vm.min_free_kbytes parameters and is was set to 16384. I checked the SIZE parameters and is was still 0 added the staging and devel repo's and ran apt-get update; apt-get upgrade (without stopping xbmc) Code: Preparing to replace xbian-package-firmware 1.4-7 (using .../xbian-package-firmware_1.4.11_armhf.deb) ... the system did not respond. So I switched of the power and booted Changed file to /etc/sysctrl.d/xbian.conf vm.min_free_kbytes=32768 reboot apt-get upgrade to be continued... continue: system freezes again. So I rebooted and ran apt-get upgrade. This time I stopped xbmc. All upgrades were installed correctly! So temp conclusion: It worked for me with: /etc/sysctrl.d/xbian.conf vm.min_free_kbytes=32768 Changed /etc/default/zram-swap SIZE=0 xbmc stopped. Next test: do the same test as above with zram-swap enabled. KB |
|||
23rd Dec, 2013, 12:06 AM
Post: #10
|
|||
|
|||
RE: Maybe it's time for beta 3? Or a another try to update my beta2
so you need 32mb as min free ?
Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
23rd Dec, 2013, 03:31 AM
Post: #11
|
|||
|
|||
RE: Maybe it's time for beta 3? Or a another try to update my beta2
(23rd Dec, 2013 12:06 AM)mk01 Wrote: so you need 32mb as min free ? it seems but I'd like to do some more tests. Also it seems apt-get upgrade only works when xbmc has stopped. If not stopped upgrade won't work Swap was disabled in my tests so I have to redo every test with zram-swap enabled. to be continued..... |
|||
23rd Dec, 2013, 03:33 AM
Post: #12
|
|||
|
|||
RE: Maybe it's time for beta 3? Or a another try to update my beta2
swap including partitions, or zram swap only ?
and why with xbmc stopped ? due to memory low ? Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
23rd Dec, 2013, 03:36 AM
Post: #13
|
|||
|
|||
RE: Maybe it's time for beta 3? Or a another try to update my beta2
(23rd Dec, 2013 03:33 AM)mk01 Wrote: swap including partitions, or zram swap only ?partitions only (23rd Dec, 2013 03:33 AM)mk01 Wrote: and why with xbmc stopped ? due to memory low ? I stopped xbmc manually. Because when I ran apt-get upgrade with xbmc running I got this: Code: Preparing to replace xbian-package-firmware 1.4-7 (using .../xbian-package-firmware_1.4.11_armhf.deb) ... KB |
|||
23rd Dec, 2013, 03:50 AM
Post: #14
|
|||
|
|||
RE: Maybe it's time for beta 3? Or a another try to update my beta2
this is not xbmc influencing it. this is fs corruption.
Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
23rd Dec, 2013, 04:37 AM
Post: #15
|
|||
|
|||
RE: Maybe it's time for beta 3? Or a another try to update my beta2
(23rd Dec, 2013 03:50 AM)mk01 Wrote: this is not xbmc influencing it. this is fs corruption.Yes it seems because this is my content now of my config.txt file Code: #initramfs initramfs.gz 0x00a00000 Kb |
|||
« Next Oldest | Next Newest »
|