Goflex Net installation instructions need updating

This forum is for topics dealing with problems with software specifically in the ARMv5 repo.

Goflex Net installation instructions need updating

Postby irobot » Wed Oct 23, 2013 4:08 am

Hi, today I used the installation instructions on this this page http://archlinuxarm.org/platforms/armv5/seagate-goflex-net to setup archlinux arm on my brand new Goflex net.

the following command needs to be revised:
$this->bbcode_second_pass_quote('', 'S')et your local timezone:
nano /etc/rc.conf
# Change the TIMEZONE to any of the zones listed in /usr/share/zoneinfo unless you live in Chicago.


I did not have rc.conf in my /etc folder and rc.d is also missing.
Isn't archlinux arm now using systemctl

OR did I botch the installation and that is why rc.conf is missing on my GFN?
irobot
 
Posts: 32
Joined: Wed Oct 23, 2013 2:28 am

Re: Goflex Net installation instructions need updating

Postby WarheadsSE » Wed Oct 23, 2013 1:47 pm

No, it's not there.

See the Beginners Guide @ Arch wiki.

This really does need revised, and truthfully, moved to non-ubit.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Goflex Net installation instructions need updating

Postby irobot » Fri Oct 25, 2013 1:13 am

Ok, so I got archlinux arm working on my GFN, then I shut it down and powered if off to hook it up in my wiring closet. Now when I power it on it I get a rapidly flashing green center LED, it seeks the usb flash drive once and then keeps blinking. Does not get on the network as I don't see it in my router's device list.

I had successfully rebooted it multiple times after installation by using the reboot command.

Why does it refuse to boot archlinux and what can I do to resolve this problem?
thanks in advance.
irobot
 
Posts: 32
Joined: Wed Oct 23, 2013 2:28 am

Re: Goflex Net installation instructions need updating

Postby moonman » Sat Oct 26, 2013 2:18 am

We would need netconsole output. It would be a lot better if you installed it on the sata drive
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Goflex Net installation instructions need updating

Postby irobot » Mon Oct 28, 2013 12:02 am

I will have to read up on how to use netconsole. but while frustrated with the non-booting situation, I pressed the reset button, and to my surprise, it booted off of the USB flash drive and I could ssh into archlinux installation, and subsequent reboots work. but the minute I recycle the power.. I have to use the reset button again for it to boot from USB flash drive.

I wanted to use USB Flash drive as boot drive so I can swap out Sata drives as needed.
But now I am facing another problem. Sata drive has to be hooked up after boot is completed. If I leave sata drive connected and reboot .. I can't get to ssh.

Is there a way to force GFN to boot from USB with or without Sata drive hookup.
irobot
 
Posts: 32
Joined: Wed Oct 23, 2013 2:28 am

Re: Goflex Net installation instructions need updating

Postby moonman » Mon Oct 28, 2013 1:22 am

With the flash drive... it probably isn't initialised in time so try a different one. There was a post about one trick in the forum, but you would have to modify a u-boot variable to start stop and start usb subsystem.

Do you have the sata drive mounted automatically in fstab? If so you need to delete the entry from fstab to make it boot without the drive
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Goflex Net installation instructions need updating

Postby irobot » Mon Oct 28, 2013 3:32 pm

I do not have sata drives in my fstab. that was next step but it never booted with it.
Did not find the u-boot trick about starting usb subsystem.

Will be trying different usb stick soon.
irobot
 
Posts: 32
Joined: Wed Oct 23, 2013 2:28 am

Re: Goflex Net installation instructions need updating

Postby grayman4hire » Mon Oct 28, 2013 4:27 pm

Here's the uboot usb stop/start trick moonman was referring to.

$this->bbcode_second_pass_code('', '#credit - http://archlinuxarm.org/forum/viewtopic.php?f=18&t=1717&p=9527#p9527
#print default bootcmd value
fw_printenv bootcmd

#default bootcmd
#[root@pogoplug ~]# fw_printenv bootcmd

#bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; #run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; #reset

#update bootcmd value to start, stop and start usb again
#all one line
fw_setenv bootcmd "usb start; usb stop; usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset"


#confirm update
fw_printenv bootcmd')
grayman4hire
 
Posts: 350
Joined: Sat Sep 29, 2012 12:03 am
Location: SF, CA

Re: Goflex Net installation instructions need updating

Postby irobot » Thu Oct 31, 2013 5:22 am

thanks for the details. I followed the URL you posted but /usr/sbin/fw_printenv was not available.
Then I found this thread: http://archlinuxarm.org/forum/viewtopic.php?f=18&t=3355
and followed the Goflex net commands up to "/usr/sbin/fw_setenv arcNumber 3089"

after that I followed this guide to resolve the usb boot with sata issue:
http://archlinuxarm.org/forum/viewtopic.php?f=18&t=5306

Then I went back to the first guide again and enabled netconsole.

After that used the reboot command and GFN came back up to a uBit prompt and asked to use ethaddr command to input mac address, I did that, then rebooted again. now the mac address is cached.

now my GFN is booting from usb after cold boot but I am stuck at a uBit prompt when I ssh into it:

$this->bbcode_second_pass_code('', 'root@192.168.1.134's password:
/etc/ubit/images:
/etc/ubit/ubimounts:
/etc/ubit/extramounts:

Current cached ethaddr value: 00:10:XX:26:XX:XX (changed for posting)
You need to reboot once to let U-Boot set its default environment
before you update the ethaddr setting with this cached value.
UBIT v0.6 by peaslaker 2010.11-00125-ga21bcca
ubit0-6:~#')

How do I boot into archlinux? did I over wrote my previous installation?

Newbie drowning in archlinux appreciate your help.
Update: So found similar issue reported earlier. Looks like my GFN is booting into ram drive. Tonight, I will be attempting the solution posted my moonman here: http://archlinuxarm.org/forum/viewtopic.php?f=53&t=3355&start=120#p32449
irobot
 
Posts: 32
Joined: Wed Oct 23, 2013 2:28 am

Re: Goflex Net installation instructions need updating

Postby irobot » Thu Oct 31, 2013 11:41 pm

ok so removing uInitrd from /boot didn't work. GFN booted but I could not find it on my network.

So how do I get out of:
$this->bbcode_second_pass_code('', 'root@192.168.1.134's password:
/etc/ubit/images:
/etc/ubit/ubimounts:
/etc/ubit/extramounts:

Current cached ethaddr value: 00:10:XX:26:XX:XX (changed for posting)
You need to reboot once to let U-Boot set its default environment
before you update the ethaddr setting with this cached value.
UBIT v0.6 by peaslaker 2010.11-00125-ga21bcca
ubit0-6:~#')

is it better to simply start over.
irobot
 
Posts: 32
Joined: Wed Oct 23, 2013 2:28 am

Next

Return to ARMv5

Who is online

Users browsing this forum: No registered users and 2 guests