Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: RPi3A+ Network instability.
#43
I set locale to Europe/London on a Pi 4B 4GB and was not able to repro the fail when enabling swap.

Here's the console log starting with a fresh 9.0.3

Code:
# LOCALE
pi@moode9test:~ $ locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

# SERVICE STATUS (disabled)
pi@moode9test:~ $ systemctl status dphys-swapfile.service
○ dphys-swapfile.service - dphys-swapfile - set up, mount/unmount, and delete a swap file
    Loaded: loaded (/lib/systemd/system/dphys-swapfile.service; disabled; preset: enabled)
    Active: inactive (dead)
      Docs: man:dphys-swapfile(8)

# ENABLE SERVICE
pi@moode9test:~ $ sudo systemctl enable dphys-swapfile.service
Synchronizing state of dphys-swapfile.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable dphys-swapfile
Created symlink /etc/systemd/system/multi-user.target.wants/dphys-swapfile.service → /lib/systemd/system/dphys-swapfile.service.

# REBOOT
pi@moode9test:~ $ sudo reboot

# SERVICE STATUS (enabled)
pi@moode9test:~ $ systemctl status dphys-swapfile.service
● dphys-swapfile.service - dphys-swapfile - set up, mount/unmount, and delete a swap file
    Loaded: loaded (/lib/systemd/system/dphys-swapfile.service; enabled; preset: enabled)
    Active: active (exited) since Tue 2024-07-02 00:27:23 BST; 6min ago
      Docs: man:dphys-swapfile(8)
  Main PID: 485 (code=exited, status=0/SUCCESS)
       CPU: 172ms

Jul 02 00:27:22 moode9test systemd[1]: Starting dphys-swapfile.service - dphys-swapfile - set up, mount/unmount, and delete a swap file...
Jul 02 00:27:23 moode9test dphys-swapfile[372]: want /var/swap=100MByte, generating swapfile ... of 100MBytes
Jul 02 00:27:23 moode9test systemd[1]: Finished dphys-swapfile.service - dphys-swapfile - set up, mount/unmount, and delete a swap file.

# SWAPFILE SIZE 100MB
pi@moode9test:~ $ free -m
              total        used        free      shared  buff/cache   available
Mem:             907         223         401           4         339         683
Swap:             99           0          99
pi@moode9test:~ $
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
RPi3A+ Network instability. - by the_bertrum - 06-13-2024, 07:26 AM
RE: RPi3A+ Network instability. - by Tim Curtis - 06-13-2024, 11:08 AM
RE: RPi3A+ Network instability. - by the_bertrum - 06-13-2024, 12:48 PM
RE: RPi3A+ Network instability. - by Tim Curtis - 06-13-2024, 02:12 PM
RE: RPi3A+ Network instability. - by the_bertrum - 06-13-2024, 06:52 PM
RE: RPi3A+ Network instability. - by Tim Curtis - 06-13-2024, 07:58 PM
RE: RPi3A+ Network instability. - by the_bertrum - 06-14-2024, 07:25 AM
RE: RPi3A+ Network instability. - by Tim Curtis - 06-14-2024, 10:36 AM
RE: RPi3A+ Network instability. - by zandman - 06-14-2024, 11:50 AM
RE: RPi3A+ Network instability. - by the_bertrum - 06-18-2024, 12:38 PM
RE: RPi3A+ Network instability. - by zandman - 06-21-2024, 08:12 AM
RE: RPi3A+ Network instability. - by the_bertrum - 06-18-2024, 02:34 PM
RE: RPi3A+ Network instability. - by Tim Curtis - 06-18-2024, 05:48 PM
RE: RPi3A+ Network instability. - by the_bertrum - 06-19-2024, 07:06 AM
RE: RPi3A+ Network instability. - by the_bertrum - 06-19-2024, 08:15 PM
RE: RPi3A+ Network instability. - by Tim Curtis - 06-19-2024, 08:56 PM
RE: RPi3A+ Network instability. - by the_bertrum - 06-20-2024, 07:28 AM
RE: RPi3A+ Network instability. - by Tim Curtis - 06-20-2024, 10:09 AM
RE: RPi3A+ Network instability. - by the_bertrum - 06-20-2024, 02:40 PM
RE: RPi3A+ Network instability. - by Tim Curtis - 06-20-2024, 03:20 PM
RE: RPi3A+ Network instability. - by the_bertrum - 06-21-2024, 07:27 AM
RE: RPi3A+ Network instability. - by the_bertrum - 06-23-2024, 04:27 PM
RE: RPi3A+ Network instability. - by the_bertrum - 06-21-2024, 08:15 AM
RE: RPi3A+ Network instability. - by the_bertrum - 06-23-2024, 05:44 PM
RE: RPi3A+ Network instability. - by Tim Curtis - 06-23-2024, 07:59 PM
RE: RPi3A+ Network instability. - by the_bertrum - 06-23-2024, 05:50 PM
RE: RPi3A+ Network instability. - by the_bertrum - 06-24-2024, 06:50 PM
RE: RPi3A+ Network instability. - by Tim Curtis - 06-24-2024, 08:23 PM
RE: RPi3A+ Network instability. - by the_bertrum - 06-27-2024, 06:37 PM
RE: RPi3A+ Network instability. - by Tim Curtis - 06-27-2024, 08:55 PM
RE: RPi3A+ Network instability. - by Tim Curtis - 06-28-2024, 11:15 AM
RE: RPi3A+ Network instability. - by the_bertrum - 06-28-2024, 01:41 PM
RE: RPi3A+ Network instability. - by the_bertrum - 06-29-2024, 07:47 AM
RE: RPi3A+ Network instability. - by Tim Curtis - 06-29-2024, 10:42 AM
RE: RPi3A+ Network instability. - by the_bertrum - 06-30-2024, 06:18 PM
RE: RPi3A+ Network instability. - by Tim Curtis - 06-30-2024, 08:22 PM
RE: RPi3A+ Network instability. - by Tim Curtis - 07-01-2024, 11:39 PM
RE: RPi3A+ Network instability. - by the_bertrum - 07-02-2024, 07:55 AM
RE: RPi3A+ Network instability. - by Tim Curtis - 07-02-2024, 11:17 AM
RE: RPi3A+ Network instability. - by Tim Curtis - 07-02-2024, 12:40 PM
RE: RPi3A+ Network instability. - by the_bertrum - 07-14-2024, 10:11 AM

Forum Jump: