Pogoplug V2 - REBOOT and SHUTDOWN -r DOESNT WORK

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

Pogoplug V2 - REBOOT and SHUTDOWN -r DOESNT WORK

Postby metalshark » Sat Sep 13, 2014 5:42 pm

Hi Guys,
Ever since I hacked my Pogoplug and installed ARM in it, I noticed that my "reboot" and "shutdown -r " commands do not work. What happens is that it looks like it just shuts down. This is somewhat a nuisance because i needed to reboot my plug very often. Is there anybody having the same problems now and before..? Sorry if this has been tackled before.. Kinda new at this. Thanks guys!
metalshark
 
Posts: 21
Joined: Tue Sep 02, 2014 12:17 am

Re: Pogoplug V2 - REBOOT and SHUTDOWN -r DOESNT WORK

Postby WarheadsSE » Sat Sep 13, 2014 6:59 pm

LET ME HAVE AN IMMEDIATE LOOK AT YOUR POST BECAUSE IT TITLE IS IN ALL CAPS.

Oh wait.

Perhaps you should realize that you should be ensuring that said commands are actually applicable via the systemd-sysvinit-compat, or jsut call systemctl reboot / systemctl poweroff.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Pogoplug V2 - REBOOT and SHUTDOWN -r DOESNT WORK

Postby metalshark » Sat Sep 13, 2014 8:59 pm

Thanks for the reply and apologies for the CAPS. Yes WarHeadsSE, i've checked if it's the right command. I'm a Newbie not dumb. But anyway, any other suggestions? BTW, I'm a guy coming from a windows environment. This is pretty much my first take on using Linux. I guess I have to start somewhere.
metalshark
 
Posts: 21
Joined: Tue Sep 02, 2014 12:17 am

Re: Pogoplug V2 - REBOOT and SHUTDOWN -r DOESNT WORK

Postby Socaltom » Sun Sep 14, 2014 12:59 pm

Have you tried " systemctl reboot " and "systemctl poweroff" ?
What type of drive are you using? Why do you need to reboot often?
Tom
used to be owned by me
Pink Pogo V2, Black Pogo V3, Zyxel NAS 325 v1,
used to be Adminstrator for
Goflex net, Black V3, Black V2
Now I have a couple of raspberry pi ( 3+ and 4)
Socaltom
 
Posts: 571
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side

Re: Pogoplug V2 - REBOOT and SHUTDOWN -r DOESNT WORK

Postby metalshark » Sun Sep 14, 2014 10:27 pm

Hi Socaltom,

Yeah, I tried all of those. For some reason nothing worked. I've used USB sticks and USB Hard Drives.
To be honest, I'm just trying to figure out a way to setup a Samba Server and a Web Server without any fuss. I have looked at the internet and noticed that there are so many people saying how to do this. But it seems that Arch Linux ARM for POGOPLUG is so unstable that so many people are asking the same questions.

Case in point, last night I took another USB stick and reformatted the same way i did the other 2. For some reason, the REBOOT and SHUTDOWN commands are working with this one!

I'm still doing a lot of test why this happened. I would keep formatting HDDs till I find out what I did wrong and will share with everybody. Hopefully I can find out how to setup web server which is less painful! Thanks for the reply buddy.
metalshark
 
Posts: 21
Joined: Tue Sep 02, 2014 12:17 am

Re: Pogoplug V2 - REBOOT and SHUTDOWN -r DOESNT WORK

Postby metalshark » Sun Sep 14, 2014 11:09 pm

Ugghhh... Tried replicating it and still it didn't work! is there anybody else having the same problem?
metalshark
 
Posts: 21
Joined: Tue Sep 02, 2014 12:17 am

Re: Pogoplug V2 - REBOOT and SHUTDOWN -r DOESNT WORK

Postby pepedog » Sun Sep 14, 2014 11:47 pm

You have been advised not to use bsdtar, gonna quote a pm, adjust for your rootfs, not imx6
$this->bbcode_second_pass_code('', 'I have just a little feedback on the installation process, which I tried for the purpose of determining whether there was anything I needed to modify on my working rootfs. You're right to recommend bsdtar rather than tar. However, I had to change the command a bit, because (1) bsdtar complaied if LANG wasn't set to something of UTF8 flavour, and (2) we want uid/gid to match the user/group mappings of the installation, not of the host.

LANG=en_US.UTF8 bsdtar -xpf ArchLinuxARM-imx6-cubox-latest.tar.gz --numeric-owner -C root

Even after this, I found that bsdtar on Ubuntu 12.04 didn't handle ACLs properly, so var/log/journal and var/log/journal/remote didn't get their proper ACLs. Just as a heads-up, I notice that you have etc/resolv.conf as a symlink, and that a reinstall/upgrade of the filesystem package replaces this symlink with an ordinary file.')
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Pogoplug V2 - REBOOT and SHUTDOWN -r DOESNT WORK

Postby metalshark » Mon Sep 15, 2014 12:29 am

Hi PepeDog,

Thanks for the info. I didn't see this one. BTW, I used tar -xzvf instead. Still have the same problems. Could you be more specific when you said "adjust for your rootfs, not imx6"? I'm a total Noob with Linux System. :( I appreciate all the help you guys are giving.
metalshark
 
Posts: 21
Joined: Tue Sep 02, 2014 12:17 am

Re: Pogoplug V2 - REBOOT and SHUTDOWN -r DOESNT WORK

Postby Geoff » Mon Sep 15, 2014 2:17 am

The tar command also has a "--numeric-owner" flag to set file ownership by uid/gid instead of user/group. However, I noticed the same issue with tar as mentioned in another thread:

$this->bbcode_second_pass_quote('metalshark', 'I') too have the same problem and I also tried using Tar but i got this error:

$this->bbcode_second_pass_code('', 'tar: Ignoring unknown extended header keyword 'SCHILY.fflags'')

I noticed that bsdtar doesn't complain about these "extended attribute" keywords. At this point, I'm not sure whether/why tar is a better or worse tool than bsdtar.
Geoff
 
Posts: 231
Joined: Wed Mar 09, 2011 5:14 pm

Re: Pogoplug V2 - REBOOT and SHUTDOWN -r DOESNT WORK

Postby Socaltom » Mon Sep 15, 2014 6:11 pm

$this->bbcode_second_pass_quote('metalshark', 'H')i Socaltom,

Yeah, I tried all of those. For some reason nothing worked. I've used USB sticks and USB Hard Drives.
To be honest, I'm just trying to figure out a way to setup a Samba Server and a Web Server without any fuss. I have looked at the internet and noticed that there are so many people saying how to do this. But it seems that Arch Linux ARM for POGOPLUG is so unstable that so many people are asking the same questions.

Case in point, last night I took another USB stick and reformatted the same way i did the other 2. For some reason, the REBOOT and SHUTDOWN commands are working with this one!

I'm still doing a lot of test why this happened. I would keep formatting HDDs till I find out what I did wrong and will share with everybody. Hopefully I can find out how to setup web server which is less painful! Thanks for the reply buddy.

I've been using Arch linux on plugs for ~ 3 years now. I currently have 5 plug type computers under my control. I've reistalled several times ( usually because I decided to try something fancy or tried to "optimize" something). As far as I'm concerned its a very stable platform. The install problems I've seen were usually a case of operator error, or some odd hardware issue. USB thumb drives are often problematic. It doesn't surprise me that one works and one doesn't. A spinning disk has been the best for me.
My recommendation is to use a spinning disk for your boot drive. Install webmin, it makes configuring samba much easier.
ext3 and 4 filesystems are faster and handle power outages much better than other options. Transfer speeds are also much better with those filesystems. NTFS works ( with the ntfs-3g package), and it can be almost as fast as the others. When I first got started I had a V3 running samba and pyTivo running basically unattended for pretty much a year.
Tom
used to be owned by me
Pink Pogo V2, Black Pogo V3, Zyxel NAS 325 v1,
used to be Adminstrator for
Goflex net, Black V3, Black V2
Now I have a couple of raspberry pi ( 3+ and 4)
Socaltom
 
Posts: 571
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side

Next

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 42 guests