GFN will not show up on network - DHCP or STATIC IP

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

GFN will not show up on network - DHCP or STATIC IP

Postby irobot » Mon Feb 09, 2015 7:11 pm

Hi, I have a GFN with usb flash as main archlinux drive. One Sata drive with my data. Its been running non stop for over a year as I only use it to backup data to it from other devices via samba.

Yesterday, I did a full update using Pacman -Syu and everything went fine. upon a issuing a reboot command, I saw the GFN go through the reboot process as the led on it and usb flash drive blinked as they normally do on a boot. however, now, I don't have it connect to the network anymore.

Net console output shows it booting and loading kernel and I can see kernel output until mounting my sata drive and swap img. but after that it sits. I don't have network access to it. can't ssh etc.

What should I be looking into? I have verified that USB flash ext3 partition is clean.

appreciate some help.
irobot
 
Posts: 32
Joined: Wed Oct 23, 2013 2:28 am

Re: GFN will not show up on network - DHCP or STATIC IP

Postby WarheadsSE » Tue Feb 10, 2015 4:09 pm

Check the cmdline options from the kernel boot process. Make sure that RO is not present. You might need to add 'rw' to the bootargs (minus the quotes)
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: GFN will not show up on network - DHCP or STATIC IP

Postby irobot » Tue Feb 10, 2015 8:12 pm

$this->bbcode_second_pass_quote('', 'C')heck the cmdline options from the kernel boot process. Make sure that RO is not present. You might need to add 'rw' to the bootargs (minus the quotes)


How do I do this?
irobot
 
Posts: 32
Joined: Wed Oct 23, 2013 2:28 am

Re: GFN will not show up on network - DHCP or STATIC IP

Postby irobot » Sun Feb 15, 2015 8:50 pm

I reinstalled arch linux arm on a new usb stick using the instructions from moonman's link:
http://archlinuxarm.org/forum/viewtopic.php?f=18&t=3312&p=19207#p19207

Now GFN shows up on my net as host alarm picksup a dhcp assigned ip, but SSH connection is refused.
What am I missing? appreciate any help.

Here's my GFN 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> ')

Here is the uBoot 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)
4037088 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.18.5-1-ARCH
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4037024 Bytes = 3.9 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 ...
')

Finally here is the kernel output:

$this->bbcode_second_pass_code('', '[ 13.279212] libphy: orion_mdio_bus: probed
[ 13.283522] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 13.342664] ata1: SATA link down (SStatus 0 SControl F300)
[ 13.712645] ata2: SATA link down (SStatus 0 SControl F300)
[ 14.369482] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:10:75:26:12:a1
[ 14.378464] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 14.385050] ehci-pci: EHCI PCI platform driver
[ 14.389582] ehci-orion: EHCI orion driver
[ 14.393705] orion-ehci orion-ehci.0: EHCI Host Controller
[ 14.399153] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[ 14.406927] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[ 14.432654] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[ 14.439563] hub 1-0:1.0: USB hub found
[ 14.443420] hub 1-0:1.0: 1 port detected
[ 14.447965] usbcore: registered new interface driver uas
[ 14.453492] usbcore: registered new interface driver usb-storage
[ 14.459587] usbcore: registered new interface driver ums-alauda
[ 14.465634] usbcore: registered new interface driver ums-cypress
[ 14.471730] usbcore: registered new interface driver ums-datafab
[ 14.477843] usbcore: registered new interface driver ums_eneub6250
[ 14.484125] usbcore: registered new interface driver ums-freecom
[ 14.490208] usbcore: registered new interface driver ums-isd200
[ 14.496229] usbcore: registered new interface driver ums-jumpshot
[ 14.502398] usbcore: registered new interface driver ums-karma
[ 14.508333] usbcore: registered new interface driver ums-onetouch
[ 14.514546] usbcore: registered new interface driver ums-realtek
[ 14.520632] usbcore: registered new interface driver ums-sddr09
[ 14.526653] usbcore: registered new interface driver ums-sddr55
[ 14.532669] usbcore: registered new interface driver ums-usbat
[ 14.538957] mousedev: PS/2 mouse device common for all mice
[ 14.762683] usb 1-1: new high-speed USB device number 2 using orion-ehci
[ 14.915724] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 14.922163] scsi host2: usb-storage 1-1:1.0
[ 15.552652] rtc-mv rtc-mv: internal RTC not ticking
[ 15.557705] i2c /dev entries driver
[ 15.561828] sdhci: Secure Digital Host Controller Interface driver
[ 15.568062] sdhci: Copyright(c) Pierre Ossman
[ 15.572503] sdhci-pltfm: SDHCI platform and OF driver helper
[ 15.579800] ledtrig-cpu: registered to indicate activity on CPUs
[ 15.586012] usbcore: registered new interface driver r8712u
[ 15.591809] gre: GRE over IPv4 demultiplexor driver
[ 15.596760] TCP: cubic registered
[ 15.600109] NET: Registered protocol family 17
[ 15.604721] Key type dns_resolver registered
[ 15.610046] registered taskstats version 1
[ 15.615466] netpoll: netconsole: local port 6665
[ 15.620111] netpoll: netconsole: local IPv4 address 10.10.10.3
[ 15.626044] netpoll: netconsole: interface 'eth0'
[ 15.630766] netpoll: netconsole: remote port 6666
[ 15.635533] netpoll: netconsole: remote IPv4 address 10.10.10.4
[ 15.641482] netpoll: netconsole: remote ethernet address ff:ff:ff:ff:ff:ff
[ 15.648426] netpoll: netconsole: device eth0 not up yet, forcing it
[ 16.408037] scsi 2:0:0:0: Direct-Access PNY USB 2.0 FD 1100 PQ: 0 ANSI: 4
[ 16.424004] sd 2:0:0:0: Attached scsi generic sg0 type 0
[ 16.429416] sd 2:0:0:0: [sda] 15950592 512-byte logical blocks: (8.16 GB/7.60 GiB)
[ 16.443254] sd 2:0:0:0: [sda] Write Protect is off
[ 16.448083] sd 2:0:0:0: [sda] Mode Sense: 43 00 00 00
[ 16.463216] sd 2:0:0:0: [sda] No Caching mode page found
[ 16.468560] sd 2:0:0:0: [sda] Assuming drive cache: write through
[ 16.496781] sda: sda1
[ 16.501841] sd 2:0:0:0: [sda] Attached SCSI removable disk
[ 19.229644] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[ 19.245492] console [netcon0] enabled
[ 19.249189] netconsole: network logging started
[ 19.253897] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 19.262143] Freeing unused kernel memory: 264K (c0738000 - c077a000)
[ 19.319627] systemd-udevd[61]: starting version 195
[ 20.263867] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[ 20.282169] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[ 20.819283] NET: Registered protocol family 10
[ 20.825117] systemd[1]: Inserted module 'ipv6'
[ 20.836833] random: systemd urandom read with 72 bits of entropy available
[ 20.859215] systemd[1]: systemd 218 running in system mode. (+PAM -AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID -ELFUTILS +KMOD +IDN)
[ 20.877714] systemd[1]: Detected architecture 'arm'.
[ 20.903852] systemd[1]: Set hostname to <alarm>.
[ 21.428597] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
[ 21.451917] systemd[1]: Expecting device dev-ttyS0.device...
[ 21.472903] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[ 21.480962] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 21.488828] systemd[1]: Starting Encrypted Volumes.
[ 21.512772] systemd[1]: Reached target Encrypted Volumes.
[ 21.518414] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
[ 21.526844] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 21.535026] systemd[1]: Starting Paths.
[ 21.552779] systemd[1]: Reached target Paths.
[ 21.557484] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
[ 21.592790] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 21.602441] systemd[1]: Starting Swap.
[ 21.622774] systemd[1]: Reached target Swap.
[ 21.627235] systemd[1]: Starting Remote File Systems.
[ 21.652772] systemd[1]: Reached target Remote File Systems.
[ 21.658558] systemd[1]: Starting Root Slice.
[ 21.682791] systemd[1]: Created slice Root Slice.
[ 21.687777] systemd[1]: Starting Journal Socket.
[ 21.712786] systemd[1]: Listening on Journal Socket.
[ 21.718094] systemd[1]: Starting User and Session Slice.
[ 21.742796] systemd[1]: Created slice User and Session Slice.
[ 21.748765] systemd[1]: Starting Journal Socket (/dev/log).
[ 21.772790] systemd[1]: Listening on Journal Socket (/dev/log).
[ 21.778924] systemd[1]: Starting LVM2 metadata daemon socket.
[ 21.802783] systemd[1]: Listening on LVM2 metadata daemon socket.
[ 21.809142] systemd[1]: Starting System Slice.
[ 21.832793] systemd[1]: Created slice System Slice.
[ 21.841123] systemd[1]: Started Load Kernel Modules.
[ 21.846426] systemd[1]: Starting Apply Kernel Variables...
[ 21.876712] systemd[1]: Mounting POSIX Message Queue File System...
[ 21.906570] systemd[1]: Starting system-serial\x2dgetty.slice.
[ 21.942971] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 21.949604] systemd[1]: Starting Setup Virtual Console...
[ 21.978788] systemd[1]: Starting Remount Root and Kernel File Systems...
[ 22.017254] systemd[1]: Mounting Debug File System...
[ 22.046867] systemd[1]: Mounting FUSE Control File System...
[ 22.086926] systemd[1]: Mounted Configuration File System.
[ 22.103605] systemd[1]: Started Set Up Additional Binary Formats.
[ 22.120543] systemd[1]: Mounting Temporary Directory...
[ 22.147273] systemd[1]: Starting system-getty.slice.
[ 22.182838] systemd[1]: Created slice system-getty.slice.
[ 22.188983] systemd[1]: Mounted Huge Pages File System.
[ 22.194515] systemd[1]: Starting Slices.
[ 22.212821] systemd[1]: Reached target Slices.
[ 22.217938] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[ 22.268531] systemd[1]: Listening on Journal Audit Socket.
[ 22.276075] systemd[1]: Starting Journal Service...
[ 22.306864] systemd[1]: Starting udev Kernel Socket.
[ 22.332872] systemd[1]: Listening on udev Kernel Socket.
[ 22.338734] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[ 22.362930] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 22.372601] systemd[1]: Starting Device-mapper event daemon FIFOs.
[ 22.402862] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[ 22.409683] systemd[1]: Starting Delayed Shutdown Socket.
[ 22.442848] systemd[1]: Listening on Delayed Shutdown Socket.
[ 22.448927] systemd[1]: Starting udev Control Socket.
[ 22.472845] systemd[1]: Listening on udev Control Socket.
[ 22.478565] systemd[1]: Starting udev Coldplug all Devices...
[ 22.536681] systemd[1]: Mounted Debug File System.
[ 22.572865] systemd[1]: Mounted FUSE Control File System.
[ 22.602885] systemd[1]: Mounted POSIX Message Queue File System.
[ 22.622842] systemd[1]: Mounted Temporary Directory.
[ 22.637053] systemd[1]: Started Apply Kernel Variables.
[ 22.672846] systemd[1]: Started Setup Virtual Console.
[ 22.692865] systemd[1]: Started Remount Root and Kernel File Systems.
[ 22.732826] systemd[1]: Started Create list of required static device nodes for the current kernel.
[ 22.802887] systemd[1]: Started Journal Service.
[ 23.255246] random: nonblocking pool is initialized
[ 23.488665] systemd-journald[134]: Received request to flush runtime journal from PID 1
')
irobot
 
Posts: 32
Joined: Wed Oct 23, 2013 2:28 am


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 13 guests