Jump to content

Pedro Teixeira

  • Posts

  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I've updated to the latest Armbian 20.08.14 Focal and after reboot noticed in htop that the CPU clock is showing 0mhz , which is fine as it's most likely just a bug. Though I did notice in armbian-config that it shows CPU freq between 1000mhz and 2016mhz (when it should be 2400mhz in theory). Is this just a display bug? Also attached my dmesg output
  2. So, I've noticed there were some updates available, so decided to do so, now running 20.08.7 Focal / 5.8.13 kernel. Now, I did run the nand-sata-install when I first installed armbian a month ago to an external SSD and all's working perfectly. The thing is, a couple of weeks ago, even after this latest update and rebooting, the sbc won't boot up, I had to pull the plug and back about 20 times for it to boot. So this is what I found running dmesg. [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 5.8.13-meson64 (root@xeon) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) #20.08.6 SMP PREEMPT Thu Oct 1 18:51:27 CEST 2020 [ 0.000000] Machine model: Hardkernel ODROID-N2Plus [ 0.000000] efi: UEFI not found. [ 0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader! [ 0.000000] Reserved memory: created CMA memory pool at 0x00000000b5800000, size 896 MiB [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool [ 0.000000] NUMA: No NUMA configuration found [ 0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x00000000ed7fffff] [ 0.000000] NUMA: NODE_DATA [mem 0xb5033100-0xb5034fff] [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000000000-0x000000003fffffff] [ 0.000000] DMA32 [mem 0x0000000040000000-0x00000000ed7fffff] [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000004ffffff] [ 0.000000] node 0: [mem 0x0000000005300000-0x00000000ed7fffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000000ed7fffff] Specifically [ 0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader! Is there anything I can do to fix this? I dread whenever I need to reboot due to having to go around doing this. I've also noticed the hwclock isn't working properly? sptz@odroidn2:~$ hwclock --test -D hwclock: use --verbose, --debug has been deprecated. hwclock from util-linux 2.34 System Time: 1601811651.679131 Trying to open: /dev/rtc0 No usable clock interface found. hwclock: Cannot access the Hardware Clock via any known method.
  3. I just updated and after reboot both seem to be running: ● zram-config.service - Initializes zram swaping Loaded: loaded (/lib/systemd/system/zram-config.service; enabled; vendor preset: enabled) Active: active (exited) since Tue 2020-09-22 17:51:56 BST; 36min ago Process: 1710 ExecStart=/usr/bin/init-zram-swapping (code=exited, status=0/SUCCESS) Main PID: 1710 (code=exited, status=0/SUCCESS) Sep 22 17:51:55 odroidn2 init-zram-swapping[1859]: no label, UUID=339a18b7-f3bf-434d-87c7-59b2080efe0e Sep 22 17:51:55 odroidn2 init-zram-swapping[1905]: Setting up swapspace version 1, size = 302.8 MiB (317485056 bytes) Sep 22 17:51:55 odroidn2 init-zram-swapping[1905]: no label, UUID=342ed5cd-4791-4c62-a93a-630837fda499 Sep 22 17:51:55 odroidn2 init-zram-swapping[1965]: Setting up swapspace version 1, size = 302.8 MiB (317485056 bytes) Sep 22 17:51:55 odroidn2 init-zram-swapping[1965]: no label, UUID=e5029900-bb05-48f3-8f66-ea5b720591c2 Sep 22 17:51:55 odroidn2 init-zram-swapping[1989]: Setting up swapspace version 1, size = 302.8 MiB (317485056 bytes) Sep 22 17:51:55 odroidn2 init-zram-swapping[1989]: no label, UUID=a3eaf027-1cbc-4346-8ba6-caca455008b5 Sep 22 17:51:55 odroidn2 init-zram-swapping[2022]: Setting up swapspace version 1, size = 302.8 MiB (317485056 bytes) Sep 22 17:51:55 odroidn2 init-zram-swapping[2022]: no label, UUID=9a4d8876-4fb4-4e94-8b8d-cfeff3371146 Sep 22 17:51:56 odroidn2 systemd[1]: Finished Initializes zram swaping. sptz@odroidn2:~$ sudo systemctl status armbian-zram-config ● armbian-zram-config.service - Armbian ZRAM config Loaded: loaded (/lib/systemd/system/armbian-zram-config.service; enabled; vendor preset: enabled) Active: active (exited) since Tue 2020-09-22 17:51:54 BST; 36min ago Process: 1505 ExecStart=/usr/lib/armbian/armbian-zram-config start (code=exited, status=0/SUCCESS) Main PID: 1505 (code=exited, status=0/SUCCESS) Warning: journal has been rotated since unit was started, output may be incomplete. Is this "bad" or harmless? Should I remove one of them and if so which one? Thanks!
  4. This is probably going to be a stupid question. But since it's been fixed now, should I uninstall zram-config and re-enable armbian-zram-config service and then sudo apt update - upgrade? Or just leave as is?
  5. Thanks both. I've disabled armbian-zram-config service for now. I was about what you said @NicoD regarding using zram then zswap. According to here https://github.com/Nefelim4ag/systemd-swap. Which is the script I use to run zswap + swapfc on my crappy celeron with 2GB running Manjaro and it works incredibly well. Zram and zswap shouldn't be used in conjunction: If having 2GB of zram works well I'll keep it of course. Otherwise I'll give this script a go and replicate what I use on my laptop and check the results!
  6. Thanks, that worked a treat. It's now showing 2GB of zram. Would it be better in this scenario to disable the armbian-zram-config? # configuration values for the armbian-zram-config service # # enable the armbian-zram-config service? ENABLED=true
  7. Thanks! So, if I just install it again, it will re-create zram to 2GB instead of 1GB? (It's definitely at 1GB right now). Mine is an N2+ so it's 4GB. What about armbian-zram-config? Won't there be a conflict? As it looks like it's not a reinstall at all: The following NEW packages will be installed: zram-config 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 4,312 B of archives.
  8. Hi all, I've been searching this topic for a while but haven't found a clear answer to my question. Running an N2+, I've noticed that sometimes, in dmesg, a process will be killed due to lack of ram, this is usually when, for example, plex is busy generating video thumbnails and bazarr is syncing newly downloaded subtitles for example. This isn't as common place as such but it does happen from time to time. My armbian installation (latest ubuntu server image with latest mainline kernel) is installed to an nvme ssd, so I was wondering if enabling zswap and disabling zram would be beneficial in this case? Or can both be used at the same time? That's the part that I'm a bit confused, if both can be used in conjunction or if it's one or the other. Or would tweaking zram be a better solution? Many thanks!
  9. Thanks, I will do so. But do you know if the process should "in theory" mess up with anything? Honestly, I only have docker and loads of containers running, that's pretty much it.
  10. Hi, I'd like to install to USB storage as the eMMC card I have is quite small. As stated in the documentation https://docs.armbian.com/User-Guide_Getting-Started/#how-to-install-to-emmc-nand-sata-usb It appears to be quite simple but my question is, I already have everything installed and running, with the software I need etc. Will this pose an issue or should I re-flash and do it straight away? Thanks!
  11. It does spin up and down at boot though And the splash screen shows Odroid N2+ I just can't seem to change the value to stick after a reboot. I'm using the latest Focal 5.7 server image. I can't do that bash command as I've specified but I can sudo nano and edit the file to say 40000 and it does stay like that until a reboot. It doesn't seem to apply when I change it though. https://pastebin.com/d6c5eUEB
  12. Thanks! I tried running a sudo echo 20000 > /sys/devices/virtual/thermal/thermal_zone0/trip_point_4_temp but I get permission denied, so I edited the file with the temperature I wanted and saved it but it returns to 65000 after a reboot. Anyway to keep it to my set value?
  13. Hi everyone! Been using Armbian for a few days and loving it!! Banging job! I'd like to ask though, is there a way to change the threshold for when the fan kicks in on the N2+? As it's hardcoded to 65C correct? Thanks!
  • Create New...