PaceyIV Posted June 18, 2017 Posted June 18, 2017 I've upgrade armbian to 5.31, now I have 2 freeze in 2 days Here my log http://sprunge.us/gUeO
Igor Posted June 18, 2017 Posted June 18, 2017 Try to change to this u-boot first: http://apt.armbian.com/pool/main/l/linux-u-boot-lime2-next/linux-u-boot-next-lime2_5.25_armhf.deb
PaceyIV Posted June 18, 2017 Author Posted June 18, 2017 Ok, I've installed it now. I restart the board and I cross my fingers
PaceyIV Posted June 19, 2017 Author Posted June 19, 2017 The board crashed again after 16 hours The log is available here http://sprunge.us/UbYN
Igor Posted June 19, 2017 Posted June 19, 2017 I assume you upgraded from 4.9.7 ? Than go back, until we find out where is the problem. Install those two: http://apt.armbian.com/pool/main/l/linux-4.9.7-sunxi/linux-dtb-next-sunxi_5.25_armhf.deb http://apt.armbian.com/pool/main/l/linux-4.9.7-sunxi/linux-image-next-sunxi_5.25_armhf.deb 1
PaceyIV Posted June 19, 2017 Author Posted June 19, 2017 Yes, I've upgraded from the last available. The kernel was 4.9.7.
PaceyIV Posted June 21, 2017 Author Posted June 21, 2017 Uptime of two days with linux-dtb-next-sunxi linux-image-next-sunxi linux-u-boot-lime2-next version 5.25. The board restarts now after I cat /dev/watchdog
Igor Posted June 21, 2017 Posted June 21, 2017 I put torrent server on Lime 2 and some stress testing scripts on Cubietruck with 4.11.5-sunxi ... I want to see then crash ... only one day up time, so hard to make any conclusions yet.
PaceyIV Posted June 21, 2017 Author Posted June 21, 2017 I use my board as a web server, the load is very low. There is always on apache, exim4, rpimonitor, minidlna, samba and flexget. At night there is transmission and some script that mirror some directory on google drive and idrive.
Igor Posted June 24, 2017 Posted June 24, 2017 15 minutes ago, PaceyIV said: Your board is still alive? Yes. It's also accessible from outside and if you want to take a look and break it down , I can give you root access. Send me PM.
PaceyIV Posted June 24, 2017 Author Posted June 24, 2017 Uhm...Now that I enable watchdog I retry to upgrade my server to the new kernel and uboot. In my case the board crashes when I don't use it, I don't think there is something that I can do to break it down. Do you enable log2ram? (How can I stop receiving mail from it by cronjob?) And do you use rpimonitor?
Igor Posted June 24, 2017 Posted June 24, 2017 It's hard to catch this kind of troubles, yes. Stock Armbian, log2ram is enabled by default. http://89.212.37.216:8888 http://sprunge.us/PQTR
tkaiser Posted June 24, 2017 Posted June 24, 2017 1 hour ago, PaceyIV said: In my case the board crashes when I don't use it, I don't think there is something that I can do to break it down. Maybe monitoring? https://github.com/armbian/build/blob/master/scripts/armbianmonitor/templates/sun7i_next.conf But obviously you should then also massively decrease commit interval in /etc/fstab since with the default 600 seconds the important stuff might be missing. The only time I had stability problems with an inactive board it was due to the cheap USB power supply dying (I bought 6 off Aliexpress ~3 years ago, 4 are dead already but all 6 went already to the recycling yard to save me from further hassles)
PaceyIV Posted June 24, 2017 Author Posted June 24, 2017 By board is powered by and external 5V power supply that I bought from Olimex and there is also a battery connected to it.
tkaiser Posted June 24, 2017 Posted June 24, 2017 33 minutes ago, PaceyIV said: 5V power supply that I bought from Olimex This information doesn't help much since https://www.olimex.com/Products/Power/SY0605E/ https://www.olimex.com/Products/Power/SY0605E-CHINA/ 5V at just 1A doesn't look promising too. Having the battery also should save you from powering hassles but all I really know about hardware is: all hardware will eventually die. If hardware behaves nice it dies immediately, if hardware dies slowly it gets mean. It also doesn't help that much when you switch forth and back with kernel version since remaining back at 4.9.7 for at least a week would be the best idea (to save us from searching for a software problem where it's then most probably just hardware if your Lime2 is still instable. BTW: no luck to access your RPi monitor and my suggestion above was to exchange the template since RPi-Monitor standard templates don't monitor most of the relevant stuff)
PaceyIV Posted June 24, 2017 Author Posted June 24, 2017 I bought the first one. Before upgrading to the last kernel the board was quite stable uptime from a week to month. With the link I send you I can see my rpimonitor using Tor.
tkaiser Posted June 25, 2017 Posted June 25, 2017 15 hours ago, PaceyIV said: Before upgrading to the last kernel the board was quite stable uptime from a week to month. I think everyone understood that. I was suggesting switching 'back to 4.9.7 for at least a week would be the best idea' and not constantly replacing kernels for a simple reason: Since if you then also experience instabilities it's most probably not a kernel problem. On the other hand we had stability troubles with Olimex boards in the past that were related to u-boot (overclocked DRAM by manufacturer) so it might be a good idea to also switch back to the old u-boot version for such a test. Wrt monitoring all I was suggesting to make monitoring work if you're interested if there happens something the last seconds before the board freezes (that's why I was talking about commit interval in fstab). Since with default commit interval of 600 seconds most probably all the interesting stuff is simply missing after you power on the board again. Just a suggestion...
PaceyIV Posted June 25, 2017 Author Posted June 25, 2017 My rootfs is on a sata hard disk. Here my fstab /dev/sda1 / ext4 defaults,noatime,nodiratime,commit=600,errors=remount-ro 0 0 /dev/mmcblk0p1 /media/mmc ext4 defaults 0 0 /media/mmc/boot /boot none bind 0 0 /dev/sda4 /media/data ext4 defaults,noatime,nodiratime,commit=600 0 0 /var/swap none swap sw 0 0 What value I have to put as commit interval? 1? I have to disable log2ram? How can I do it?
tkaiser Posted June 25, 2017 Posted June 25, 2017 26 minutes ago, PaceyIV said: I have to disable log2ram? No. RPi-Monitor's RRD databases are stored somewhere else. Wrt mount options there's a manual page explaining everything. Related: https://forum.armbian.com/index.php?/topic/1737-optimize-orange-pi-pc-for-power-cut/&do=findComment&comment=13451
PaceyIV Posted July 1, 2017 Author Posted July 1, 2017 I modified my fstab according to the link that you provided me but I don't restart the board to apply the changes. I thought to apply at the first freeze, but with Armbian 5.32 the board is still up (uptime 7 days). The difference between Armbian 5.31 and 5.32 are only about cryptography?
Igor Posted July 1, 2017 Posted July 1, 2017 16 minutes ago, PaceyIV said: The difference between Armbian 5.31 and 5.32 are only about cryptography? Not just that, it's 4.11.4 vs 4.11.5, hard to say if it's relevant ... mine is also still up and running, served 100 GB of torrent downloads in 11 days
PaceyIV Posted July 7, 2017 Author Posted July 7, 2017 I think the watchdog have restarted my board this morning at 5.31 AM during battery recharge. Igor, your board is not available now. Do you have changed your ip address?
Igor Posted July 7, 2017 Posted July 7, 2017 1 hour ago, PaceyIV said: Igor, your board is not available now. Do you have changed your ip address? No, I put it offline today since it didn't want to fail
Recommended Posts