1.4.0 Release Candidate 3
#11
A few more general tests.
  1. NUC Ubuntu 24.04 install stopped, had to run sudo apt-get update before successfully install.  Pi5 install went through with no problems
  2. Accidentally installed RC2 first, then installed RC3.  However, noticed that the SO Restore backup was still had RC2 functionality.  Not sure whether this is the correct way to do future updates?
  3. Updated my Cisco router to use latest Fresh Tomato version.  As a result, NUC got a new ip address, had to give new NFS permissions in Synology setup.  However, still require manual remount of NFS folders on rebooting.  Maybe it is time to stop trying to find root cause of this problem, and create a "hacK" to mount remote folders at the end of SO startup process ???

[Image: happy.gif]
I added into /etc/systemd/system/snakeoil-rest.service After=... nmbd.service
This is the slowest service in system-analyze blame.  Voila!  NFS folders are reloaded at boot time!

BUT no idea why a service for Samba is affecting the NFS load???

And confirming fix applies to Pi5
Reply

#12
(06-Jan-2025, 07:56 AM)Snoopy8 Wrote: I added into /etc/systemd/system/snakeoil-rest.service After=... nmbd.service
This is the slowest service in system-analyze blame.  Voila!  NFS folders are reloaded at boot time!

BUT no idea why a service for Samba is affecting the NFS load???

And confirming fix applies to Pi5
You are right, this doesn't make sense. If you look at the nmbd.service file, it wants network.target, and will start after network and network-online. Which is exactly the same setup as Snakeoil service file in RC-1 (or RC-2). This is really a bug in systemd (Or Ubuntu) but can't really be fixed easily.

Since samba is a dependency of Snakeoil anyway, I guess it's safe to start Snakeoil after nmbd service, which is a really good idea anyway just in case CIFS will fail to mount also. Big Grin Will add this into official High End release.
Snakeoil Operating System - Music, your way!
[-] The following 1 user Likes agent_kith's post:
  • Snoopy8
Reply

#13
Posting this, in case it may useful for understanding and solving root cause.

I was curious to see whether I could fix the same reload NFS problem with 1.3 and Bookworm on Pi5.  And adding a "After=nmbd.service" fixed the problem.  And curiously, nmbd.service was relatively fast here compared with the NUC Ubuntu 24.04.  This is the systemd-analyze blame output on Pi5 Bookworm.
 
Code:
7.153s NetworkManager-wait-online.service
1.261s dev-mmcblk0p2.device
1.201s raspi-config.service
492ms [email protected]
449ms systemd-timesyncd.service
358ms ModemManager.service
349ms nmbd.service
310ms smbd.service
282ms NetworkManager.service
271ms lighttpd.service
266ms systemd-logind.service
263ms samba-ad-dc.service
252ms keyboard-setup.service
241ms bluetooth.service
Reply

#14
Fixing the network page will require changing to the API backend, which is not feasible as that is going to be one to be updated next. So will disable network configuration for now, but it will come back. After some thinking, I might go with Qt6 (i.e. still C++) instead of GoLang. But will experiment around and find the best option. 

With this out of the way I guess 1.4.0 will be ready to be released. Hopefully I can write up enough information in the post to make sure the transition is smooth....
Snakeoil Operating System - Music, your way!
[-] The following 1 user Likes agent_kith's post:
  • Snoopy8
Reply



Bookmarks

Possibly Related Threads…
Thread Author Replies Views Last Post
  1.4.0 Release Candidate 2 agent_kith 19 175 04-Jan-2025, 10:49 AM
Last Post: Snoopy8
  1.4.0 Release Candidate 1 agent_kith 16 123 31-Dec-2024, 07:23 PM
Last Post: agent_kith
  Snakeoil Firmware - 1.1.0 Release Candidate 1 agent_kith 1 1,247 22-Jul-2018, 04:20 PM
Last Post: agent_kith



Users browsing this thread:
1 Guest(s)

[-]
Our Sponsors

[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Latest Threads
new install issues
Last Post: Snoopy8
Yesterday 01:08 PM
» Replies: 7
» Views: 152
Work In Progress: 1.4.4
Last Post: Snoopy8
Yesterday 08:57 AM
» Replies: 3
» Views: 64
Playing music quickly after install
Last Post: Snoopy8
18-Apr-2025 04:12 PM
» Replies: 0
» Views: 22
Wiki update - need your help!
Last Post: Snoopy8
16-Apr-2025 01:59 PM
» Replies: 6
» Views: 139
Connecting Spotify to SnakeOil
Last Post: Snoopy8
16-Apr-2025 01:55 PM
» Replies: 10
» Views: 230
No audio devices on RPi5 with latests bu...
Last Post: hkphantomgtr
13-Apr-2025 05:29 PM
» Replies: 13
» Views: 326
Misc. sharing for building Raspberry Pi ...
Last Post: hkphantomgtr
13-Apr-2025 12:47 PM
» Replies: 2
» Views: 101
Snakeoil 1.4.3 (High End U3)
Last Post: hkphantomgtr
10-Apr-2025 10:57 PM
» Replies: 11
» Views: 754
[split] Snakeoil 1.4.3 (High End U3)
Last Post: agent_kith
09-Apr-2025 03:45 PM
» Replies: 1
» Views: 68
SQ difference - Raspberry Pi vs x86_64?
Last Post: agent_kith
09-Apr-2025 03:41 PM
» Replies: 15
» Views: 1051

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.


Powered By MyBB, © 2002-2025. Theme © Melroy van den Berg.