[GoFlexNet] shutdown -r -n

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

[GoFlexNet] shutdown -r -n

Postby eXitus01 » Fri Nov 11, 2011 12:16 pm

Hi zusammen,

ich habe es schon wieder geschafft, die Verbindung zu meiner frisch installiereten GoFlexNet zu verlieren.

Was habe ich gemacht:
pacman -Syu
shutdown -r -n

Danach habe ich keine Verbindung mehr gehabt. Habe schon probiert es vom Strom zu nehmen aber leider ohne Erfolg, es taucht auch nicht unter meinem DHCP-Server auf. Kann es an dem "shutdown -r -n" liegen, da ich vorher immer "reboot" genutzt habe.

Ich würde gerne die Netconsole ausführen, nur weis ich nicht recht viel damit anzufangen.
Muss ich mein Netzwerk auf 10.10.10.x abändern? Welche Subnetmask?
Oder verstehe ich das ganze falsch?

Folgendes habe ich schon auf meinem PC ausprobiert:
sudo ifconfig eth0:0 10.10.10.5
sudo ifconfig eth0:1 10.10.10.4
sudo ifconfig eth0:2 10.10.10.2

nc -lu 10.10.10.5 6666 oder
nc -lu 10.10.10.4 6666 oder
nc -lu 10.10.10.2 6666

Dann die GoFlexNet gestartet und als Ergebnis erhalte ich immer folgendes:
invalid connection to [10.10.10.139] (<- meine IP) from (UNKNOW) [10.10.10.6] 6666

Falls jemand lust haben sollte mir per Fernwartung zu helfen, wäre ich gerne dazu bereit.

[English]
Hi together,

i have a problem with my new GoFlexNet. After i have installed Arch on it it works fine, but after i do the following i cant get connect anymore to it.

Following i do:
pacman -Syu
shutdown -r -n

After that i cant connect to it anymore. i disconnect it from power and startet aigan but still the same problem.
I cant see it on my DHCP-Server so that means that it dont get an IP-Adress.

I want to try Netconsole but i dont know how.
Need i to change my full Network in 10.10.10.x? Which Subnetmask?
Or what i need to do?

The following i already tried on my PC:
sudo ifconfig eth0:0 10.10.10.5
sudo ifconfig eth0:1 10.10.10.4
sudo ifconfig eth0:2 10.10.10.2

nc -lu 10.10.10.5 6666 or
nc -lu 10.10.10.4 6666 or
nc -lu 10.10.10.2 6666

Then i startet GoFlexNet and get this:
invalid connection to [10.10.10.139] (<- my IP) from (UNKNOW) [10.10.10.6] 6666
eXitus01
 
Posts: 6
Joined: Thu Nov 10, 2011 1:35 pm

Re: [GoFlexNet] shutdown -r -n

Postby eXitus01 » Fri Nov 11, 2011 3:37 pm

I finished to use Netconsole, following i get:
$this->bbcode_second_pass_code('', '
it@it-Inspiron-1011:~$ sudo ifconfig eth1:0 10.10.10.5
it@it-Inspiron-1011:~$ sudo ifconfig eth1:1 10.10.10.4
it@it-Inspiron-1011:~$ sudo ifconfig eth1:2 10.10.10.2
it@it-Inspiron-1011:~$ nc -lu 10.10.10.5 6666

U-Boot 2010.09 (Feb 16 2011 - 18:42:02)
UBIT v0.6 by Jeff Doozan and Peter Carmichael
(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
Hit any key to stop autoboot: 0
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:fast", error -19
Error reading superblock on volume 'ubi:fast'!
UBIFS not mounted, use ubifs mount to mount volume first!
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
2767180 bytes read
Loading file "/uInitrd" from usb device 0:1 (usbda1)
** File not found /uInitrd
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
2640272 bytes read
## Booting kernel from Legacy Image at 00680000 ...
Image Name: Linux-3.1.0-4-ARCH
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2767116 Bytes = 2.6 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
Image Name: UBIT-2010.11-00125-ga21bcca
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 2640208 Bytes = 2.5 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...






it@it-Inspiron-1011:~$ nc -lu 10.10.10.4 6666
[ 17.851350] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
')


After i edit rc.conf back it to the standard configuration i get following message:
$this->bbcode_second_pass_code('', '
it@it-Inspiron-1011:~$ sudo nc -lu 10.10.10.4 6666
[ 16.110060] rtc-mv rtc-mv: internal RTC not ticking
[ 16.574866] sd 2:0:0:0: [sda] No Caching mode page present
[ 16.581025] sd 2:0:0:0: [sda] Assuming drive cache: write through
[ 16.590238] sd 2:0:0:0: [sda] No Caching mode page present
[ 16.595751] sd 2:0:0:0: [sda] Assuming drive cache: write through
[ 16.605856] sd 2:0:0:0: [sda] No Caching mode page present
[ 16.611410] sd 2:0:0:0: [sda] Assuming drive cache: write through
[ 17.760503] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
')
Last edited by WarheadsSE on Fri Mar 16, 2012 12:48 pm, edited 1 time in total.
Reason: adding code tags!
eXitus01
 
Posts: 6
Joined: Thu Nov 10, 2011 1:35 pm

Re: [GoFlexNet] shutdown -r -n

Postby eXitus01 » Fri Nov 11, 2011 3:39 pm

Here is my rc.conf maybe here is something wrong?
$this->bbcode_second_pass_code('', '
#
# /etc/rc.conf - Main Configuration for Arch Linux ARM
#

# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# DAEMON_LOCALE: If set to 'yes', use $LOCALE as the locale during daemon
# startup and during the boot process. If set to 'no', the C locale is used.
# HARDWARECLOCK: set to "", "UTC" or "localtime", any other value will result
# in the hardware clock being left untouched (useful for virtualization)
# Note: Using "localtime" is discouraged, using "" makes hwclock fall back
# to the value in /var/lib/hwclock/adjfile
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# Note: if unset, the value in /etc/localtime is used unchanged
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.UTF-8"
DAEMON_LOCALE="no"
HARDWARECLOCK="UTC"
TIMEZONE="America/Chicago"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MODULES: Modules to load at boot-up. Blacklisting is no longer supported.
# Replace every !module by an entry as on the following line in a file in
# /etc/modprobe.d:
# blacklist module
# See "man modprobe.conf" for details.
#
MODULES=()

# Udev settle timeout (default to 30)
UDEV_TIMEOUT=30

# Scan for FakeRAID (dmraid) Volumes at startup
USEDMRAID="no"

# Scan for BTRFS volumes at startup
USEBTRFS="no"

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="goflexnet"

# Use 'ip addr' or 'ls /sys/class/net/' to see all available interfaces.
#
# Wired network setup
# - interface: name of device (required)
# - address: IP address (leave blank for DHCP)
# - netmask: subnet mask (ignored for DHCP) (optional, defaults to 255.255.255.0)
# - broadcast: broadcast address (ignored for DHCP) (optional)
# - gateway: default route (ignored for DHCP)
#
# Static IP example
# interface=eth0
# address=192.168.0.2
# netmask=255.255.255.0
# broadcast=192.168.0.255
# gateway=192.168.0.1
#
# DHCP example
# interface=eth0
# address=
# netmask=
# gateway=

interface=eth0
address=
netmask=
broadcast=
gateway=

# Setting this to "yes" will skip network shutdown.
# This is required if your root device is on NFS.
NETWORK_PERSIST="no"

# Enable these netcfg profiles at boot-up. These are useful if you happen to
# need more advanced network features than the simple network service
# supports, such as multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
#
# If something other takes care of your hardware clock (ntpd, dual-boot...)
# you should disable 'hwclock' here.
#
DAEMONS=(hwclock syslog-ng network netfs crond sshd)
')
Last edited by WarheadsSE on Fri Mar 16, 2012 12:48 pm, edited 1 time in total.
Reason: adding code tags!
eXitus01
 
Posts: 6
Joined: Thu Nov 10, 2011 1:35 pm

Re: [GoFlexNet] shutdown -r -n

Postby hannes » Sat Feb 11, 2012 7:16 am

Hi eXitus01,

I have unfortunately run into the very same problem you described in your post. I am wondering whether you have been able to fix your problem in the meanwhile and could provide me (us) some guidance on how to resolve it.

I have followed the installation instructions found at http://archlinuxarm.org/platforms/armv5 ... goflex-net but
I must have made a mistake somewhere (no clue where). The debugging information looks like yours:
$this->bbcode_second_pass_code('', '
nc -luk 10.10.10.4 6666
[ 20.966471] rtc-mv rtc-mv: internal RTC not ticking
[ 21.430559] sd 2:0:0:0: [sda] Asking for cache data failed
[ 21.436072] sd 2:0:0:0: [sda] Assuming drive cache: write through
[ 21.446683] sd 2:0:0:0: [sda] Asking for cache data failed
[ 21.452196] sd 2:0:0:0: [sda] Assuming drive cache: write through
[ 21.643176] sd 2:0:0:0: [sda] Asking for cache data failed
[ 21.648722] sd 2:0:0:0: [sda] Assuming drive cache: write through
[ 22.696805] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
')
$this->bbcode_second_pass_code('', '
nc -luk 10.10.10.5 6666

U-Boot 2010.09 (Feb 16 2011 - 18:42:02)
UBIT v0.6 by Jeff Doozan and Peter Carmichael
(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
Hit any key to stop autoboot: 0
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:fast", error -19
Error reading superblock on volume 'ubi:fast'!
UBIFS not mounted, use ubifs mount to mount volume first!
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
2851432 bytes read
Loading file "/uInitrd" from usb device 0:1 (usbda1)
** File not found /uInitrd
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
2639966 bytes read
## Booting kernel from Legacy Image at 00680000 ...
Image Name: Linux-3.1.7-2-ARCH
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2851368 Bytes = 2.7 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
Image Name: UBIT-2010.11-00125-ga21bcca
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 2639902 Bytes = 2.5 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...
')
Hannes
hannes
 
Posts: 1
Joined: Sat Feb 11, 2012 6:58 am

Re: [GoFlexNet] shutdown -r -n

Postby audiocrush » Fri Mar 16, 2012 1:11 am

hello there,

I have the same problem over here... just another background :P

did you already find a solution?
audiocrush
 
Posts: 19
Joined: Tue Mar 06, 2012 3:29 pm

Re: [GoFlexNet] shutdown -r -n

Postby moonman » Fri Mar 16, 2012 4:56 am

Check rc.conf. Do you have $this->bbcode_second_pass_code('', 'MOD_AUTOLOAD="yes"') preceding MODULES=()

OP didn't have it.

I don't know if it would make any difference, but could be that it isn't loading kernel module for rtc?
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: [GoFlexNet] shutdown -r -n

Postby audiocrush » Sat Mar 17, 2012 7:09 pm

ahm.. there is no MOD_AUTOLOAD in rc.conf
grr okay.. when I paste this line preceding MODULES=()
there is no change in the outputs :(
still fails to open an RTC0 device :(
audiocrush
 
Posts: 19
Joined: Tue Mar 06, 2012 3:29 pm

Re: [GoFlexNet] shutdown -r -n

Postby moonman » Sun Mar 18, 2012 8:21 am

what if you try MODULES=(!rtc-mv) ?

Try a different rootfs: http://www.mediafire.com/?5mt9o1tbjan1mcf (This is a year old image that I used to install on my GoFlexHome)
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: [GoFlexNet] shutdown -r -n

Postby pepedog » Sun Mar 18, 2012 11:27 am

Know that is an old image, later on they moved module blacklist out of rc.conf and you would have
/etc/modprobe.d/blacklist.conf
blacklist rtc-mv
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: [GoFlexNet] shutdown -r -n

Postby moonman » Sun Mar 18, 2012 11:28 pm

What I meant was to try blacklisting the module with current installation and if that doesn't work try a different image without blacklisting anything.

Though I just took a look at the kernel config and rtc support is compiled in into the kernel and is not a module so you can't blacklist 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


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 8 guests