Goflex Net installation instructions need updating

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

Re: Goflex Net installation instructions need updating

Postby irobot » Thu Nov 07, 2013 6:35 am

Thanks moonman. How about my enviroment?..does that look good?.

Checked my usb stick with e2fsck, forced the check. No issues found.
irobot
 
Posts: 32
Joined: Wed Oct 23, 2013 2:28 am

Re: Goflex Net installation instructions need updating

Postby moonman » Thu Nov 07, 2013 8:10 am

It actually looks messed up.
Interrupt u-boot again and issue these commands, line by line, not all at once:
$this->bbcode_second_pass_code('', 'setenv rootdelay
setenv sata_set_bootargs 'setenv bootargs console=$console root=$sata_root rootdelay=$sata_rootdelay rootfstype=$sata_rootfstype $mtdparts $sata_custom_params'
setenv usb_rootfstype ext3
saveenv
reset')
Though most (except for usb_rootfstype) are for sata booting so only that one should make the difference for you.
If it doesn't boot, post back the bootloglog and "printenv" from u-boot
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 » Thu Nov 07, 2013 3:10 pm

thanks, Ran the printenv commands. boots but still stuck at no IPV6 routers found and SSH connection is still refused.

Printenv output:
$this->bbcode_second_pass_code('', 'GoFlexNet> printenv
printenv
arcNumber=3089
baudrate=115200
bootcmd=run sata_bootcmd; usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset
bootdelay=3
console=ttyS0,115200
ethact=egiga0
ethaddr=00:10:75:26:12:A1
force_rescue=0
force_rescue_bootcmd=if test $force_rescue -eq 1 || ext2load usb 0:1 0x1700000 /rescueme 1 || fatload usb 0:1 0x1700000 /rescueme.txt 1; then run rescue_bootcmd; fi
ipaddr=10.10.10.6
led_error=orange blinking
led_exit=green off
led_init=green blinking
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
nc_start=setenv stdin nc; setenv stdout nc; setenv stderr nc; version
nc_test=ping $ncip
ncip=10.10.10.5
ncipk=10.10.10.4
partition=nand0,2
pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi
preboot=run nc_test nc_start
rescue_bootcmd=if test $rescue_installed -eq 1; then run rescue_set_bootargs; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000; else run pogo_bootcmd; fi
rescue_installed=0
rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params
sata_boot=ide reset; mw 0x800000 0 1; ext2load ide $sata_device 0x800000\
/boot/uImage; if ext2load ide $sata_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
sata_bootcmd=run sata_set_bootargs; run sata_boot
sata_device=0:1
sata_root=/dev/sda1
sata_rootdelay=10
sata_rootfstype=ext3
sata_set_bootargs=setenv bootargs console=$console root=$sata_root rootdelay=$sata_rootdelay rootfstype=$sata_rootfstype $mtdparts $sata_custom_params
serverip=10.10.10.3
stderr=nc
stdin=nc
stdout=nc
ubifs_bootcmd=run ubifs_set_bootargs; if ubi part data && ubifsmount rootfs && ubifsload 0x800000 /boot/uImage && ubifsload 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; fi
ubifs_mtd=3
ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params
usb_boot=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
usb_bootcmd=run usb_init; run usb_set_bootargs; run usb_boot
usb_custom_params=ignore_loglevel netconsole=6665@10.10.10.3/eth0,6666@10.10.10.4/
usb_device=0:1
usb_init=run usb_scan
usb_root=/dev/sda1
usb_rootdelay=10
usb_rootfstype=ext3
usb_scan=usb_scan_done=0;for scan in $usb_scan_list; do run usb_scan_$scan; if test $usb_scan_done -eq 0 && ext2load usb $usb 0x800000 /boot/uImage 1; then usb_scan_done=1; echo "Found bootable drive on usb $usb"; setenv usb_device $usb; setenv usb_root /dev/$dev; fi; done
usb_scan_1=usb=0:1 dev=sda1
usb_scan_2=usb=1:1 dev=sdb1
usb_scan_3=usb=2:1 dev=sdc1
usb_scan_4=usb=3:1 dev=sdd1
usb_scan_list=1 2 3 4
usb_set_bootargs=setenv bootargs console=$console root=/dev/disk/by-label/urootfs rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params

Environment size: 3140/131068 bytes
GoFlexNet>')

uBoot netconsole output:
$this->bbcode_second_pass_code('', '
U-Boot 2011.12 (Apr 18 2012 - 23:08:20)
Seagate GoFlexNet
arm-none-linux-gnueabi-gcc (Sourcery G++ Lite 2009q3-67) 4.4.1
GNU ld (Sourcery G++ Lite 2009q3-67) 2.19.51.20090709
Hit any key to stop autoboot: 0

Reset IDE: ide_preinit failed
** No boot file defined **
(Re)start USB...
USB: Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 2 USB Device(s) found
scanning bus for storage devices... 1 Storage Device(s) found
Loading file "/rescueme" from usb device 0:1 (usbda1)
** File not found /rescueme
reading /rescueme.txt

** Unable to read "/rescueme.txt" from usb 0:1 **
Creating 1 MTD partitions on "nand0":
0x000002500000-0x000010000000 : "mtd=3"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 129024 bytes
UBI: smallest flash I/O unit: 2048
UBI: sub-page size: 512
UBI: VID header offset: 512 (aligned 512)
UBI: data offset: 2048
UBI: attached mtd1 to ubi0
UBI: MTD device name: "mtd=3"
UBI: MTD device size: 219 MiB
UBI: number of good PEBs: 1752
UBI: number of bad PEBs: 0
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 0
UBI: available PEBs: 1731
UBI: total number of reserved PEBs: 21
UBI: number of PEBs reserved for bad PEB handling: 17
UBI: max/mean erase counter: 1/1
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:rootfs", error -19
Error reading superblock on volume 'ubi:rootfs'!
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
1 bytes read
Found bootable drive on usb 0:1
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
2889400 bytes read
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
2510970 bytes read
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-3.1.10-22-ARCH
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2889336 Bytes = 2.8 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
Image Name: initramfs
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 2510906 Bytes = 2.4 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...')

Kernel netconsole output:
$this->bbcode_second_pass_code('', '[ 19.528518] console [netcon0] enabled
[ 19.532215] netconsole: network logging started
[ 19.536845] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 19.543949] Freeing init memory: 172K
[ 19.595982] systemd-udevd[49]: starting version 195
[ 20.397357] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[ 20.669183] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[ 21.237491] systemd[1]: systemd 204 running in system mode. (+PAM -LIBWRAP -AUDIT -SELINUX -IMA -SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ)
[ 21.322536] systemd[1]: Inserted module 'autofs4'
[ 21.367641] NET: Registered protocol family 10
[ 21.375871] systemd[1]: Inserted module 'ipv6'
[ 21.381875] systemd[1]: Set hostname to <alarm>.
[ 21.570242] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory. See system logs and 'systemctl status display-manager.service' for details.
[ 21.593158] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[ 21.601308] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 21.609163] systemd[1]: Expecting device dev-ttyS0.device...
[ 21.637462] systemd[1]: Expecting device sys-subsystem-net-devices-eth0.device...
[ 21.667440] systemd[1]: Starting Remote File Systems.
[ 21.687426] systemd[1]: Reached target Remote File Systems.
[ 21.693130] systemd[1]: Starting Delayed Shutdown Socket.
[ 21.717432] systemd[1]: Listening on Delayed Shutdown Socket.
[ 21.723309] systemd[1]: Starting Device-mapper event daemon FIFOs.
[ 21.747428] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[ 21.754087] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[ 21.777426] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 21.784523] systemd[1]: Starting LVM2 metadata daemon socket.
[ 21.807429] systemd[1]: Listening on LVM2 metadata daemon socket.
[ 21.813647] systemd[1]: Starting Encrypted Volumes.
[ 21.837423] systemd[1]: Reached target Encrypted Volumes.
[ 21.842971] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
[ 21.851300] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 21.859376] systemd[1]: Starting Paths.
[ 21.877424] systemd[1]: Reached target Paths.
[ 21.882217] systemd[1]: Starting udev Kernel Socket.
[ 21.907433] systemd[1]: Listening on udev Kernel Socket.
[ 21.913140] systemd[1]: Starting udev Control Socket.
[ 21.937440] systemd[1]: Listening on udev Control Socket.
[ 21.942988] systemd[1]: Starting Journal Socket.
[ 21.967430] systemd[1]: Listening on Journal Socket.
[ 21.972604] systemd[1]: Mounting POSIX Message Queue File System...
[ 22.038617] systemd[1]: Starting udev Coldplug all Devices...
[ 22.108131] systemd[1]: Mounting Debug File System...
[ 22.221603] systemd[1]: Started Load Kernel Modules.
[ 22.226759] systemd[1]: Mounted FUSE Control File System.
[ 22.235221] systemd[1]: Starting Journal Service...
[ 22.317590] systemd[1]: Started Journal Service.
[ 22.399345] systemd[1]: Starting Apply Kernel Variables...
[ 22.468609] systemd[1]: Mounted Configuration File System.
[ 22.475116] systemd[1]: Mounted Huge Pages File System.
[ 22.480901] systemd[1]: Starting Create static device nodes in /dev...
[ 22.548009] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
[ 22.567555] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 22.581229] systemd[1]: Started Set Up Additional Binary Formats.
[ 22.587557] systemd[1]: Starting Setup Virtual Console...
[ 22.647944] systemd[1]: Starting Swap.
[ 22.669053] systemd[1]: Reached target Swap.
[ 22.673546] systemd[1]: Started File System Check on Root Device.
[ 22.684659] systemd[1]: Starting Remount Root and Kernel File Systems...
[ 22.748549] systemd[1]: Mounting Temporary Directory...
[ 22.837481] systemd[1]: Mounted POSIX Message Queue File System.
[ 22.907603] systemd[1]: Mounted Debug File System.
[ 22.967447] systemd[1]: Started Apply Kernel Variables.
[ 23.027466] systemd[1]: Started Create static device nodes in /dev.
[ 23.087445] systemd[1]: Started Setup Virtual Console.
[ 23.147445] systemd[1]: Started Remount Root and Kernel File Systems.
[ 23.177441] systemd[1]: Mounted Temporary Directory.
[ 23.237442] systemd[1]: Started udev Coldplug all Devices.
[ 23.243174] systemd[1]: Starting Load Random Seed...
[ 23.308885] systemd[1]: Starting udev Kernel Device Manager...
[ 23.360252] systemd[1]: systemd-random-seed-load.service: main process exited, code=exited, status=1/FAILURE
[ 23.391133] systemd-udevd[103]: starting version 204
[ 23.457541] systemd[1]: Failed to start Load Random Seed.
[ 23.463099] systemd[1]: Unit systemd-random-seed-load.service entered failed state.
[ 23.507564] systemd[1]: Started udev Kernel Device Manager.
[ 23.513417] systemd[1]: Starting Local File Systems (Pre).
[ 23.547542] systemd[1]: Reached target Local File Systems (Pre).
[ 23.553738] systemd[1]: Starting Local File Systems.
[ 23.587600] systemd[1]: Reached target Local File Systems.
[ 23.593264] systemd[1]: Starting Trigger Flushing of Journal to Persistent Storage...
[ 23.678449] systemd[1]: Starting Recreate Volatile Files and Directories...
[ 23.767574] systemd[1]: Found device /dev/ttyS0.
[ 23.937597] systemd[1]: Started Recreate Volatile Files and Directories.
[ 23.944614] systemd[1]: Starting Update UTMP about System Reboot/Shutdown...
[ 24.067554] systemd[1]: Found device /sys/subsystem/net/devices/eth0.
[ 24.297451] systemd[1]: Started Trigger Flushing of Journal to Persistent Storage.
[ 24.367446] systemd[1]: Started Update UTMP about System Reboot/Shutdown.
[ 24.374506] systemd[1]: Starting System Initialization.
[ 24.397433] systemd[1]: Reached target System Initialization.
[ 24.403330] systemd[1]: Starting Daily Cleanup of Temporary Directories.
[ 24.410232] systemd[1]: Started Daily Cleanup of Temporary Directories.
[ 24.416966] systemd[1]: Starting Timers.
[ 24.437439] systemd[1]: Reached target Timers.
[ 24.442019] systemd[1]: Starting D-Bus System Message Bus Socket.
[ 24.467432] systemd[1]: Listening on D-Bus System Message Bus Socket.
[ 24.474024] systemd[1]: Starting Sockets.
[ 24.497423] systemd[1]: Reached target Sockets.
[ 24.502077] systemd[1]: Starting Basic System.
[ 24.527419] systemd[1]: Reached target Basic System.
[ 24.532510] systemd[1]: Starting Automatic wired network connection using netctl profiles...
[ 24.627557] systemd[1]: Started Automatic wired network connection using netctl profiles.
[ 24.870115] systemd[1]: Starting SSH Key Generation...
[ 24.948062] systemd[1]: Starting Entropy Harvesting Daemon...
[ 25.017780] systemd[1]: Starting Login Service...
[ 25.078077] systemd[1]: Starting Permit User Sessions...
[ 25.148051] systemd[1]: Starting D-Bus System Message Bus...
[ 25.257605] systemd[1]: Started D-Bus System Message Bus.
[ 25.327536] systemd[1]: Started Permit User Sessions.
[ 25.332898] systemd[1]: Starting Getty on tty1...
[ 25.427575] systemd[1]: Started Getty on tty1.
[ 25.432281] systemd[1]: Starting Serial Getty on ttyS0...
[ 25.547527] systemd[1]: Started Serial Getty on ttyS0.
[ 25.552953] systemd[1]: Starting Login Prompts.
[ 25.587530] systemd[1]: Reached target Login Prompts.
[ 25.627506] systemd[1]: Started Login Service.
[ 31.627332] eth0: no IPv6 routers present
')
irobot
 
Posts: 32
Joined: Wed Oct 23, 2013 2:28 am

Re: Goflex Net installation instructions need updating

Postby WarheadsSE » Thu Nov 07, 2013 4:01 pm

Who's initrd is that loading?
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 » Thu Nov 07, 2013 4:25 pm

Moonman's (from one of the posts in his signature)
wget http://goo.gl/GFbtn -O uInitrd
irobot
 
Posts: 32
Joined: Wed Oct 23, 2013 2:28 am

Re: Goflex Net installation instructions need updating

Postby irobot » Fri Nov 08, 2013 12:48 am

YAY !!! success... got SSH working.
uname - a output:

Linux gizmo2 3.1.10-22-ARCH #1 PREEMPT Fri Jun 28 21:43:02 CDT 2013 armv5tel GNU/Linux

Downloaded uInitrd again and copied over to my usb stick, rebooted.. and bam... its working !!.

Thanks moonman for guiding me. Learned alot.
Now need to get NTP working, update using pacman and get NFS going for sata drives.
irobot
 
Posts: 32
Joined: Wed Oct 23, 2013 2:28 am

Re: Goflex Net installation instructions need updating

Postby moonman » Fri Nov 08, 2013 1:29 am

Glad it worked. Do a full update with pacman -Syu, rhen install a newer kernel pacman -Sy linux-kirkwood. GFlex has an rtc built in btw
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 » Fri Nov 08, 2013 2:42 am

do I also need to install linux-headers-kirkwood ?

and when I do pacman -Sy linux-kirkwood it says the linux-kirkwood and linux are in conflict.. remove linux? y/n

This is simply going to remove the older linux kernel .. correct?
irobot
 
Posts: 32
Joined: Wed Oct 23, 2013 2:28 am

Re: Goflex Net installation instructions need updating

Postby moonman » Fri Nov 08, 2013 5:25 am

if you are going to comile things like drivers then you will need headers, otherwise you don't need it. Yes, just replace it
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 » Fri Nov 08, 2013 8:06 pm

Done, updated kernel rebooted and uname -r shows: 3.11.7-1-ARCH.
irobot
 
Posts: 32
Joined: Wed Oct 23, 2013 2:28 am

Previous

Return to ARMv5

Who is online

Users browsing this forum: No registered users and 8 guests