• Content Count

  • Joined

  • Last visited

About rufik

  • Rank
    Advanced Member

Profile Information

  • Gender
  • Location

Recent Profile Visitors

733 profile views
  1. rufik

    Rock64 + ICYBOX IB-RD2253-U31

    Maybe blacklist touchscreen driver?
  2. When the device is closed, the watchdog is disabled, unless the "Magic Close" feature is supported (see below). This is not always such a good idea, since if there is a bug in the watchdog daemon and it crashes the system will not reboot. Because of this, some of the drivers support the configuration option "Disable watchdog shutdown on close", CONFIG_WATCHDOG_NOWAYOUT. If it is set to Y when compiling the kernel, there is no way of disabling the watchdog once it has been started. So, if the watchdog daemon crashes, the system will reboot after the timeout has passed. Watchdog devices also usually support the nowayout module parameter so that this option can be controlled at runtime. So it's required to set it up. Try some quoting. Maybe this should be the last line in armbianenv.txt file? I can't remember exactly but there was some issue about it...
  3. To make watchdog performing hard reset you need to add this param to /boot/armbianEnv.txt : extraarg=sunxi_wdt.nowayout=1 But I can't really recall if some quotation should be used (like extraarg="sunxi_wdt.nowayout=1") or not. Just try it yourself. This argument is required if you want your watchdog to perform hard reset SBC. And of course just install watchdog package using apt-get.
  4. rufik

    Home assistant

    You can easily fork my repo and customize srcipt to your needs I'm going to develop ready-made config files yet (like hass alredy configured with mariadb, mqtt, influx; to be deployed by script) and that's all.
  5. rufik

    Home assistant

    I've put some effort to make installation script for Home Assistant using docker: Script is self-explanatory, just installs some useful stuff, docker, images (portainer, hass, mqtt, mariadb, etc), prepares containers, etc. It's not finished yet, I'm still working on it, it has some problems (mosquito does not start properly yet), but I'm quite time limited right now. The idea is just to automate all these manuals steps required to bring up whole hass ecosystem...
  6. All you need is just to install watchdog service and set some parameter in armbianenv.txt file - I can't recall it right now, I'll try to search my notes later and post the solution.
  7. rufik

    OrangePi PC CPU Frequency

    And check storage performance with all those settings now. You can run it using armbianmonitor with some switch (can't remember which one). My statement is based on some tkaiser's forum writing, and he's rather proven to not spread bs (he just did such tests AFAIK).
  8. rufik

    OrangePi PC CPU Frequency

    Note that anything lower than 480 MHz will trash your storage performance probably. And power saving is also minimal. Consider using 480 as min freq.
  9. Anybody know a way to reset board (OPI PC) immediatly not going through shutdown process? I'm already logged in (ssh session). I've overwritten SD card by mistake, whole fs has gone, and I cant perform reboot or shutdown command (not found) :/
  10. rufik

    systemd 100% CPU on OrangePi One

    Check your cpufreq config for bad entry 408 mhz instead of 480 mhz.
  11. Because everything lower than 480 trashes SD card performance, as@tkaiser wrote a few times.
  12. I'm just getting error starting watchdog service on OPI2 Ubuntu Bionic 4.14.70 like Cannot open /dev/watchdog (errno = 16 = 'Device or resource busy'). rufik@farmer:~$ sudo systemctl status watchdog ● watchdog.service - watchdog daemon Loaded: loaded (/lib/systemd/system/watchdog.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2018-10-11 10:52:08 CEST; 15s ago Process: 17410 ExecStopPost=/bin/sh -c [ $run_wd_keepalive != 1 ] || false (code=exited, status=1/FAILURE) Process: 17436 ExecStart=/bin/sh -c [ $run_watchdog != 1 ] || exec /usr/sbin/watchdog $watchdog_options (code=exited, status=0/SUCCESS) Process: 17433 ExecStartPre=/bin/sh -c [ -z "${watchdog_module}" ] || [ "${watchdog_module}" = "none" ] || /sbin/modprobe $watchdog_module (code=exited, status= Main PID: 17438 (watchdog) CGroup: /system.slice/watchdog.service └─17438 /usr/sbin/watchdog Oct 11 10:52:08 farmer watchdog[17438]: starting daemon (5.14): Oct 11 10:52:08 farmer watchdog[17438]: int=3s realtime=yes sync=no soft=no mla=0 mem=0 Oct 11 10:52:08 farmer watchdog[17438]: ping: no machine to check Oct 11 10:52:08 farmer watchdog[17438]: file: no file to check Oct 11 10:52:08 farmer watchdog[17438]: pidfile: no server process to check Oct 11 10:52:08 farmer watchdog[17438]: interface: no interface to check Oct 11 10:52:08 farmer watchdog[17438]: temperature: no sensors to check Oct 11 10:52:08 farmer watchdog[17438]: test=none(0) repair=none(0) alive=/dev/watchdog heartbeat=none to=root no_act=no force=no Oct 11 10:52:08 farmer watchdog[17438]: cannot open /dev/watchdog (errno = 16 = 'Device or resource busy') Oct 11 10:52:08 farmer systemd[1]: Started watchdog daemon. But /dev/watchdog seems not to be opened: rufik@farmer:~$ sudo fuser -v /dev/watchdog rufik@farmer:~$ sudo lsof /dev/watchdog I have disabled wd_keepalive deamon - is it really required to run? Or just excludes with watchdog daemon?
  13. rufik

    change commit setting when using hdd?

    What commit interval do you advise for kernel 4.14.y using btrfs? Default (5 sec) or just armbian's default 600 sec? I've just migrated to Transcend TS32GMTS400S SSD + USB UASP adapter (ASM1351) via nand-sata-install option...
  14. rufik

    OPi Zero does not get an IP address

    Since I got rid of network manager (configured in old good way) my SBC connection is rock solid. Network Manager is not reliable somehow...
  15. I've already checked - firewall is disabled all the time, because OPI PC is inside my LAN. Nmap show open ports 22, 8123 (HomeAssistant), 3306 (MySQL) and so on. But every service accepts TCP connection and does not respond at all, terminating connection after some timeout. Sshd accepts connection, asks for password and hangs...until timeout. Ping works So it looks like some OS internal problem, maybe with memory and spawning processes/threads? That's why I'd like to try out watchdog.