[Solved] Can't SSH anymore to GoFlexHome

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

[Solved] Can't SSH anymore to GoFlexHome

Postby jcha93 » Tue Jul 02, 2013 9:29 am

Hi,

I upgraded my system this morning and hit the below error:
$this->bbcode_second_pass_code('', '[root@goflex ~]# pacman -Syu
...
(76/76) checking for file conflicts [###########################################################################] 100%
error: failed to commit transaction (conflicting files)
filesystem: /bin exists in filesystem
filesystem: /sbin exists in filesystem
filesystem: /usr/sbin exists in filesystem
Errors occurred, no packages were upgraded.')

I tentatively fixed with what I found on forum:
$this->bbcode_second_pass_code('', '
[root@goflex ~]# pacman -Syu --ignore filesystem,bash
...
(75/75) upgrading wpa_supplicant [###########################################################################] 100%
[root@goflex ~]# pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
alarm is up to date
aur is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...

Packages (2): bash-4.2.045-4 filesystem-2013.05-2

Total Installed Size: 3.63 MiB
Net Upgrade Size: -0.17 MiB

:: Proceed with installation? [Y/n] Y
(2/2) checking keys in keyring [###########################################################################] 100%
(2/2) checking package integrity [###########################################################################] 100%
(2/2) loading package files [###########################################################################] 100%
(2/2) checking for file conflicts [###########################################################################] 100%
error: failed to commit transaction (conflicting files)
filesystem: /bin exists in filesystem
filesystem: /sbin exists in filesystem
filesystem: /usr/sbin exists in filesystem
Errors occurred, no packages were upgraded.
[root@goflex ~]# pacman -S bash
resolving dependencies...
looking for inter-conflicts...

Packages (1): bash-4.2.045-4

Total Installed Size: 3.39 MiB
Net Upgrade Size: -0.10 MiB

:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring [###########################################################################] 100%
(1/1) checking package integrity [###########################################################################] 100%
(1/1) loading package files [###########################################################################] 100%
(1/1) checking for file conflicts [###########################################################################] 100%
(1/1) checking available disk space [###########################################################################] 100%
(1/1) upgrading bash
[root@goflex ~]# pacman -Su
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...

Packages (1): filesystem-2013.05-2

Total Installed Size: 0.24 MiB
Net Upgrade Size: -0.07 MiB

:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring [###########################################################################] 100%
(1/1) checking package integrity [###########################################################################] 100%
(1/1) loading package files [###########################################################################] 100%
(1/1) checking for file conflicts [###########################################################################] 100%
error: failed to commit transaction (conflicting files)
filesystem: /sbin exists in filesystem
filesystem: /usr/sbin exists in filesystem
Errors occurred, no packages were upgraded.
')

I then restart with "shutdown - r now"
Since then I'm not able to SSH anymore on my GoFlex.

Is there any way I can see what is occuring and how I can fix without SSH connection ?

Regards,
Jérôme
Last edited by jcha93 on Tue Jul 02, 2013 7:55 pm, edited 1 time in total.
jcha93
 
Posts: 17
Joined: Thu Nov 29, 2012 1:19 pm

Re: Can't SSH anymore to GoFlexHome

Postby jcha93 » Tue Jul 02, 2013 2:12 pm

Hi,

I haven't tested anything yet but it sounds that I would have either to turn back to original Seagate firmware (http://support.goflexhome.hipserv.com/en/reflash/) or create a USB "rescue" key.

For "rescue" key, I found different approach:
*** 1 ***
format it as ext3
name the formatted partition "rootfs"
extract the latest 1rmv5te rootfs (http://archlinuxarm.org/os/ArchLinuxARM ... est.tar.gz) to it
*** 2 ***
put http://jeff.doozan.com/debian/goflex/v0.6/uInitrd on USB key
extract http://jeff.doozan.com/debian/goflex/v0 ... oot.tar.gz on USB key

Any idea on the best solution ?

Then I should be able to get SSH back but I don't know yet how I would be able to fix as I don't know what could be broken :(

Regards,
Jérôme
jcha93
 
Posts: 17
Joined: Thu Nov 29, 2012 1:19 pm

Re: Can't SSH anymore to GoFlexHome

Postby WarheadsSE » Tue Jul 02, 2013 2:41 pm

Damn it.

People.

Stop thinking "COMPLETE REVERT!!! ZOMG I BARELY SCREWED SOMETHING!"

http://archlinuxarm.org/support/reinstallation

Next time don't shut down mid farking upgrade.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Can't SSH anymore to GoFlexHome

Postby jcha93 » Tue Jul 02, 2013 3:01 pm

Hi,

Thanks for the re-installation link. I would have to work on it tonigth.

$this->bbcode_second_pass_code('', 'Next time don't shut down mid farking upgrade')
Are you suggesting that system is still acting on upgrade after pacman command has given hands (shell prompt) back ?

Regards,
Jérôme
jcha93
 
Posts: 17
Joined: Thu Nov 29, 2012 1:19 pm

Re: Can't SSH anymore to GoFlexHome

Postby WarheadsSE » Tue Jul 02, 2013 4:17 pm

No, I am suggesting that you stopped before completing the steps necessary for a properly up to date and functioning system.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Can't SSH anymore to GoFlexHome

Postby jcha93 » Tue Jul 02, 2013 7:54 pm

Hi,

Issue is solved. I now have to re-do my own setup that I have backed up.

For info, I went through below steps:
***
I formatted a 512 MB USB key in ext3 fs and named rootfs. I extracted http://archlinuxarm.org/os/ArchLinuxARM ... est.tar.gz at root of the key as user root.
I power unplugged the GoFlexHome and switched it ON while unplugged (I found that step at some location).
I connected the USB key and hard drive in and powered on.
I was able to SSH.
I mounted the primary partition of the Hard Drive. I moved everything to a "_unused_" folder inside the partition. I extracted http://archlinuxarm.org/os/ArchLinuxARM ... est.tar.gz at root of the hard drive primary partition as user root.
I umounted the partition.
I powered down the system, removed the USB key and I'm now on a fresh working ArchLinuxARM install.
***

Thanks very much for the re-install link.

Regards,
Jérôme
jcha93
 
Posts: 17
Joined: Thu Nov 29, 2012 1:19 pm


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 13 guests