NEW ARMv5te RootFS with Systemd (Please Test)

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Re: NEW ARMv5te RootFS with Systemd (Please Test)

Postby Kurlon » Mon Nov 05, 2012 3:25 pm

If ntpd is bailing out due to a large difference between reality and what your hardware thinks there are a couple options:

1) Adjust the ntpd start script to include -g as part of the start arguments. This tells ntpd that it's ok to have to make one massive adjustment, just roll with it instead of freaking. Problem is, you have to wait awhile (potentially 4 minutes or more) before ntpd will make that correction as it waits for multiple good polls to remote servers before settling on what the one true chimer status is, so option 2 is:

2) Do a quick adjust first, call ntpd -g -q and wait till that returns, or call ntpdate pool.ntp.org to get your clock quickly in the right ballpark, wait for it to finish, then call ntpd as normal.
Kurlon
 
Posts: 132
Joined: Fri Jan 06, 2012 10:05 pm

Re: NEW ARMv5te RootFS with Systemd (Please Test)

Postby pepedog » Mon Nov 05, 2012 3:33 pm

I don't have a problem with ntp myself, but this fakeclock adjusts time to when system was last shut down, so it should help ntpd, plus there may be model A raspberry pi's without network in the future. Also no ntp is installed by default, just because arch x86 doesn't, well they all (probably) have RTC's
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: NEW ARMv5te RootFS with Systemd (Please Test)

Postby pennguin » Thu Nov 08, 2012 10:47 pm

Finally I had time to test new RootFS on GoFlexNet with new uboot, I don't see any issues all seems to be working. :)
pennguin
 
Posts: 9
Joined: Tue Nov 08, 2011 1:33 pm

Re: NEW ARMv5te RootFS with Systemd (Please Test)

Postby pepedog » Thu Nov 08, 2012 11:46 pm

One thing with your rootfs, halt or reboot doesn't shut down an sash session for quite awhile even though it's powered down, the rootfs I made its almost instant
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: NEW ARMv5te RootFS with Systemd (Please Test)

Postby Kurlon » Fri Nov 09, 2012 12:01 am

$this->bbcode_second_pass_quote('pepedog', 'O')ne thing with your rootfs, halt or reboot doesn't shut down an sash session for quite awhile even though it's powered down, the rootfs I made its almost instant


I've had that issue on my GFN ever since upgrading to systemd, something about how it halts ssh isn't as 'graceful' as the old powerdown method.
Kurlon
 
Posts: 132
Joined: Fri Jan 06, 2012 10:05 pm

Re: NEW ARMv5te RootFS with Systemd (Please Test)

Postby pepedog » Fri Nov 09, 2012 1:46 am

With systemd, this is first time for me, all other devices I have, inc my own rootfs on dockstar is quick to discon
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: NEW ARMv5te RootFS with Systemd (Please Test)

Postby WarheadsSE » Fri Nov 09, 2012 2:37 am

I've seen this same behavior. It essentially isn't nicely informing the sessions that it is closing the socket & ending the session.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: NEW ARMv5te RootFS with Systemd (Please Test)

Postby sputnik » Mon Nov 12, 2012 9:21 am

Thank you xenoxaos. It works absolutely great on my Dockstar, no muss no fuss.
Oh, I didn't mean getting all the daemons converted over, but they were 99% easy too. That 1% though, it'll get ya.
Rtorrent w/Dtach -n. Dtach creates a session then exits, wonderful that's what it's supposed to do, call it up when you want. But systemd thinks everything has quit. Gotta read them manuals some more :?
Anyhow, plenty of time to fix that, otherwise 100% pure systemd here, no issues in 2 days.
Using LVM, samba, openssh-cryptodev, openvpn, openntpd, asterisk, fail2ban, iptables and of course, rtorrent.
sputnik
 
Posts: 14
Joined: Mon Jan 16, 2012 6:50 pm

Re: NEW ARMv5te RootFS with Systemd (Please Test)

Postby WarheadsSE » Mon Nov 12, 2012 3:13 pm

make sure the Rtorrent .service file is set to Type=forking
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: NEW ARMv5te RootFS with Systemd (Please Test)

Postby sputnik » Mon Nov 12, 2012 8:27 pm

Thank you WarheadsSE, as usual, you're always right on top of it.
I did that, and all others, but mostly forking.
RemainAfterExit=yes, all sorts of things.
But don't waste thought on it, I'll find the answer & post it.
Kinda special, this dtach thing, nothing quite like it, have perused many, many examples on the web.
There are examples others have had success with using screen & tmux, but I suspect they are actually opening a terminal instance, here I don't want to open at all, just have rtorrent run, open when I feel like it, as I have done in the past.
sputnik
 
Posts: 14
Joined: Mon Jan 16, 2012 6:50 pm

PreviousNext

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 3 guests