[GeoflexNet] does not boot anymore

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

[GeoflexNet] does not boot anymore

Postby stelu » Wed Nov 16, 2011 8:06 am

Hi,

I successfully install archlinux on my goflex-net.

After a few days running I did a "halt" and unplugged the usb stick,
mounted it on another linux box.

Now my goflex cannot boot.
Neither with usb stick connected nor without it.

netcat (nc) as descirbed in the advanced section does not work.
It will produce the following messages:
$this->bbcode_second_pass_code('', 'bodega2 tcpdu # nc -lu 10.10.10.5 6666
UDP listen needs -p arg

bodega2 tcpdu # nc -lu -p 6666 10.10.10.5 6666
invalid connection to [10.10.10.5] from (UNKNOWN) [10.10.10.6] 6666

bodega2 tcpdu # nc -lu -p 6666 -n 10.10.10.5 6666
invalid connection to [10.10.10.5] from (UNKNOWN) [10.10.10.6] 6666

bodega2 tcpdu # nc -lu -p 6666 -n 10.10.10.5
invalid connection to [10.10.10.5] from (UNKNOWN) [10.10.10.6] 6666')


So I tried to capture something with tcpdump. Extracted text sections
with usb-stick connected are:
$this->bbcode_second_pass_code('', '
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... ')

And without usb stick:
$this->bbcode_second_pass_code('', '
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... 1 USB Device(s) found
scanning bus for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 3 2 1 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!
** Block device usb 0 not supported
** Block device usb 0 not supported

** Invalid boot device **

** Invalid boot device **
** Block device usb 1 not supported
** Block device usb 1 not supported

** Invalid boot device **

** Invalid boot device **
** Block device usb 2 not supported
** Block device usb 2 not supported

** Invalid boot device **

** Invalid boot device **
** Block device usb 3 not supported
** Block device usb 3 not supported

** Invalid boot device **

** Invalid boot device **

Reset IDE: Bus 0: not available Bus 1: not available
** Bad partition 1 **
** Bad partition 1 **
No Powersaving mode 7F
Error (no IRQ) dev 0 blk 0: status 0x7f
** Can't read from device 0 **

** Unable to use ide 0:1 for fatload **
No Powersaving mode 7F
Error (no IRQ) dev 0 blk 0: status 0x7f
** Can't read from device 0 **

** Unable to use ide 0:1 for fatload **
** Bad partition 1 **
** Bad partition 1 **
No Powersaving mode 7F
Error (no IRQ) dev 1 blk 0: status 0x7f
** Can't read from device 1 **

** Unable to use ide 1:1 for fatload **
No Powersaving mode 7F
Error (no IRQ) dev 1 blk 0: status 0x7f
** Can't read from device 1 **

** Unable to use ide 1:1 for fatload **
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:ramdisk", error -19
Error reading superblock on volume 'ubi:ramdisk'!
UBIFS not mounted, use ubifs mount to mount volume first!
Marvell>> ')

Can someone give me some advice how to get it booting again?


Stefan
stelu
 
Posts: 4
Joined: Sun Nov 13, 2011 5:45 pm

Re: [GeoflexNet] does not boot anymore

Postby WarheadsSE » Wed Nov 16, 2011 12:54 pm

Re-use, or use new:
1) fdisk /dev/sdX
- make at least 1 partition, probably 2
2) mke2fs -c -L "rootfs" /dev/sdX1
3) extract the rootfs contents onto /dev/sdX1 as root and not sudo.

Plug in, power cycle.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [GeoflexNet] does not boot anymore

Postby stelu » Wed Nov 16, 2011 7:27 pm

Thanks for your advice. Just taking a different usb disk (1"hard disk) helped.

The nc subject is now a bit more clear: upon every second boot or netcat call
"nc -lu -p 6666" works even with interactive mode at "Marvell>>" prompt ;-) .

With the failing usb stick (in between I set the first partition via fdisk to "bootable")
I get now:
$this->bbcode_second_pass_code('', '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... Device NOT ready
Request Sense returned 00 00 00
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!
** Bad partition 1 **
** Bad partition 1 **
Device NOT ready
Request Sense returned 00 00 00
** Can't read from device 0 **
..')

As I could reboot after installation it's perhaps a could/warm boot issue
with uboot (just a guess).

Next remaining thing for me is to fix the mac address as it is now
at 02:50:43:c4:89:43 and not the one I entered at installation time
with "ethaddr uu:vv:ww:xx:yy:zz" .

Thanks.
stelu
 
Posts: 4
Joined: Sun Nov 13, 2011 5:45 pm

Re: [GeoflexNet] does not boot anymore

Postby punxsutawneyphil » Wed Nov 30, 2011 4:43 am

You can set it with$this->bbcode_second_pass_code('', 'fw_setenv ethaddr uu:vv:ww:xx:yy:zz')on your box trough ssh.

Maybe, you'd like to see, what the output of$this->bbcode_second_pass_code('', 'fw_printenv')will say, before you do this.

I had the same issue. The installation guide (section 'First reboot') tells you it will reboot with it's permanent MAC, but it will not. Mine also started with 02:50:... altough I gave the correct MAC (00:10:75:...) in the UBIT-environment to cache (and the output said it was cached) ... :?

I think in another attempt (I did more than one installation attempts) I logged in over ssh, started UBIT $this->bbcode_second_pass_code('', 'ubit_start')and set the cached ethaddr again, then rebooted.
I can't remember whether that really worked out in having the right MAC after reboot or not.

phil
punxsutawneyphil
 
Posts: 3
Joined: Wed Nov 30, 2011 3:05 am


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 4 guests