Solved: Can not reboot after shutdown ppv4

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

Solved: Can not reboot after shutdown ppv4

Postby jhaveri » Sun Dec 30, 2012 10:34 am

I have searched for hours and still no answers. I can not cleanly shutdown ppv4. The green light stays on. I have rootfs on a flash drive on top, and media files on a usb hd plugged in the back. I issue the command "shutdown -h now" from a ssh session on windows to ppv4. The green light is on, but the ssh stops working. I wait for a few hours. When I want to reboot, I just unplug and plug the ppv4 again to the power strip. Then the green light keeps flashing and no reboot.

Only way to boot, is put the flash drive in linux computer, run "fsck -fy /dev/sdb1" followed by "tune2fs -j /dev/sdb1" and plug the usb drive back in ppv4, and power it up. It boots then.

There must be some way to clean shut down the Pogoplug Series 4 with Arch Linux ARM. I just installed it yesterday. I would hate to revert to the original firmware.

Please help.

Regards,

jhaveri
Last edited by jhaveri on Tue Jan 15, 2013 7:10 pm, edited 2 times in total.
jhaveri
 
Posts: 16
Joined: Sun Dec 30, 2012 10:24 am

Re: Can not reboot after shutdown ppv4

Postby pepedog » Sun Dec 30, 2012 10:38 am

Does poweroff work ok?
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Can not reboot after shutdown ppv4

Postby jhaveri » Sun Dec 30, 2012 10:44 am

I just issued the command poweroff. The green light is still on. No ssh. So I have power cycled. Too bad. It is flashing. Well, I have to boot in linux and do the fsck and tune2fs.

Well, it is clean, and I have booted again in ppv4. I do not plan to shutdown, until I get some suggestions for a powerdown the device here.

Any more suggestions?
Last edited by jhaveri on Sun Dec 30, 2012 10:59 am, edited 1 time in total.
jhaveri
 
Posts: 16
Joined: Sun Dec 30, 2012 10:24 am

Re: Can not reboot after shutdown ppv4

Postby pepedog » Sun Dec 30, 2012 10:58 am

Some suggestions from https://bbs.archlinux.org/viewtopic.php?id=151487
Is systemd-sysvcompat installed? If not then install.
Uninstall cronie and install dcron instead
Always sync before reboot or poweroff
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Can not reboot after shutdown ppv4

Postby jhaveri » Sun Dec 30, 2012 11:30 am

Installed systemd-sysvcompat
Uninstalled cronie and installd cron
sync
poweroff

I still have solid green light, so it seems not halted. I have waited about 5 minutes. Should i wait longer?

OK waited for half an hour, and fixed file system and booted again. Now doing full upgrade using pacman -Syu . Found conflict of ntp with opennntpd. Wonder if that caused problem . It is downloading a lot of update packages. Let me see, if it fixes the issue.

I am not the only one with this issue, am I? Are others with ppv4 able to shutdown with arch linux?
jhaveri
 
Posts: 16
Joined: Sun Dec 30, 2012 10:24 am

Re: Can not reboot after shutdown ppv4

Postby UberSlackr » Sun Dec 30, 2012 5:28 pm

You are not $this->bbcode_second_pass_quote('jhaveri', '
')I am not the only one with this issue, am I? Are others with ppv4 able to shutdown with arch linux?


Nope, you are not the only one with this problem. Even when I issues the reboot command, green light remains solid, SSH is Disconnect though. No signs from the PP that its rebooting. SATA Drive even continues to spin long after the reboot command is issued.

I had troubles rebooting after a power cycle; until I learned that fstab is basically useless. If I make an entry to Auto-mount the STATA drive then boot fails(alARM is installed on USB Flash Drive). I must plug the USB drive into my Linux Server box, then remove the entry from fstab... then PP will boot just fine.
UberSlackr
 
Posts: 39
Joined: Mon Dec 24, 2012 6:29 am

Re: Can not reboot after shutdown ppv4

Postby jhaveri » Sun Dec 30, 2012 9:44 pm

OK, I have a temporary working solution. I transferred the flash drive partition to an external usb 2.0 drive to partion /dev/sda1. I also created a data partition /dev/sda2 on this drive as sda2. I plugged it in the top of ppv4 instead of flash drive. I can now boot, and to shutdown, I use
"systemctl poweroff" command.

Once again, the ssh connection from my pc is gone, but the green light stays study. For some reason, arch linux on pogoplug series 4 can not completely shut the power. Anyway, I pull the powercord out. Good news is that when I am ready to boot again, I plug the power cord back in, and the system just boots up fine.

I am still puzzled. Just because the system is booting up, is my partition /dev/sda1 on usb external drive OK or got corrupted?

In some sense, completely powering off pogoplug is not necessary if the system is actually cleanly shut down, since there is no way to boot the device except by unplugging and plugging the power cord. There is no power button on pogoplug like nslu2. Am I missing something?
jhaveri
 
Posts: 16
Joined: Sun Dec 30, 2012 10:24 am

Re: Can not reboot after shutdown ppv4

Postby pepedog » Sun Dec 30, 2012 9:48 pm

Some devices completly shut down, some don't
/sbin/poweroff is symlinked to systemctl so poweroff is the same as systemctl poweroff
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Can not reboot after shutdown ppv4

Postby jhaveri » Sun Dec 30, 2012 9:54 pm

$this->bbcode_second_pass_quote('pepedog', 'S')ome devices completly shut down, some don't
/sbin/poweroff is symlinked to systemctl so poweroff is the same as systemctl poweroff


pepedog: do you know if the pogoplug series 4 powers off with poweroff command? thanks also for all the help yesterday. Happy New Year.

i
jhaveri
 
Posts: 16
Joined: Sun Dec 30, 2012 10:24 am

Re: Can not reboot after shutdown ppv4

Postby pepedog » Sun Dec 30, 2012 10:01 pm

Buy me one and I will tell you
My V2 doesn't but drives do unmount fine
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Next

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 228 guests