Skip to content

Instantly share code, notes, and snippets.

@pklaus
Created April 28, 2011 11:55
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pklaus/946214 to your computer and use it in GitHub Desktop.
Save pklaus/946214 to your computer and use it in GitHub Desktop.
# This is the log from the GoFlex Home after a failed installation
# (I did reboot after ubit installation but before installing OS on USB disk or HDD)
# See <http://archlinuxarm.org/platforms/armv5/seagate-goflex-home> → Advanced → Netconsole
# create an alias for the interface:
philipp@lion:~$ sudo ifconfig br0:0 10.10.10.5 netmask 255.255.255.0 up
# And listen for incoming data:
philipp@lion:~$ nc.traditional -luks 10.10.10.5 -p 6666
U-Boot 2010.09 (Feb 16 2011 - 18:44:23)
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: 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: OK Bus 1: not available
Device 0: Model: ST1000DM000-9TS15E Firm: CC92 Ser#: 5YA0DHLM
Type: Hard Disk
Supports 48-bit addressing
Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512)
Loading file "/boot/uImage" from ide device 0:1 (hda1)
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - ide 0:1 **
Loading file "/uInitrd" from ide device 0:1 (hda1)
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - ide 0:1 **
reading /boot/uImage
** Unable to read "/boot/uImage" from ide 0:1 **
reading /uInitrd
** Unable to read "/uInitrd" from ide 0:1 **
** 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>>
# I installed Plugbox Linux on the HDD by connecting it to a different Linux machine.
root@PlugApps:~# cat /proc/cpuinfo
Processor : Feroceon 88FR131 rev 1 (v5l)
BogoMIPS : 1191.11
Features : swp half thumb fastmult edsp
CPU implementer : 0x56
CPU architecture: 5TE
CPU variant : 0x2
CPU part : 0x131
CPU revision : 1
Hardware : Seagate GoFlex Home
Revision : 0000
Serial : 0000000000000000
root@PlugApps:~# cat /proc/interrupts
CPU0
1: 821769 orion_irq orion_tick
5: 2 orion_irq mv_xor.0
6: 2 orion_irq mv_xor.1
7: 2 orion_irq mv_xor.2
8: 2 orion_irq mv_xor.3
11: 19759927 orion_irq eth0
19: 0 orion_irq ehci_hcd:usb1
21: 704418 orion_irq sata_mv
22: 22293 orion_irq mv_crypto
33: 196 orion_irq serial
46: 37 orion_irq mv643xx_eth
53: 2 orion_irq rtc-mv
Err: 0
root@PlugApps:~# cat /proc/meminfo
MemTotal: 123532 kB
MemFree: 1500 kB
Buffers: 7636 kB
Cached: 93084 kB
SwapCached: 0 kB
Active: 53020 kB
Inactive: 53492 kB
Active(anon): 2992 kB
Inactive(anon): 2964 kB
Active(file): 50028 kB
Inactive(file): 50528 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 8876 kB
Writeback: 7012 kB
AnonPages: 5796 kB
Mapped: 2204 kB
Shmem: 164 kB
Slab: 12828 kB
SReclaimable: 8808 kB
SUnreclaim: 4020 kB
KernelStack: 432 kB
PageTables: 460 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 61764 kB
Committed_AS: 16164 kB
VmallocTotal: 884736 kB
VmallocUsed: 644 kB
VmallocChunk: 883992 kB
root@PlugApps:~# cat /proc/mtd
dev: size erasesize name
mtd0: 00100000 00020000 "u-boot"
mtd1: 00600000 00020000 "uImage"
mtd2: 0f900000 00020000 "root"
root@PlugApps:/NASdata# cat /proc/partitions
major minor #blocks name
31 0 1024 mtdblock0
31 1 6144 mtdblock1
31 2 254976 mtdblock2
8 0 976762584 sda
8 1 30720000 sda1
8 2 1 sda2
8 5 1992704 sda5
8 6 859574272 sda6
bash-3.2# cd /tmp
bash-3.2# wget http://jeff.doozan.com/debian/goflex/v0.6/uInitrd
--13:43:38-- http://jeff.doozan.com/debian/goflex/v0.6/uInitrd
Resolving jeff.doozan.com... 69.163.187.226
Connecting to jeff.doozan.com|69.163.187.226|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4005544 (3.8M) [text/plain]
Saving to: `uInitrd'
100%[==========================================================================================================================================>] 4,005,544 1.04M/s in 4.5s
13:43:43 (860 KB/s) - `uInitrd' saved [4005544/4005544]
bash-3.2# wget http://jeff.doozan.com/debian/goflex/v0.6/ubit_start
--13:43:46-- http://jeff.doozan.com/debian/goflex/v0.6/ubit_start
Resolving jeff.doozan.com... 69.163.187.226
Connecting to jeff.doozan.com|69.163.187.226|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2238 (2.2K) [text/plain]
Saving to: `ubit_start'
100%[==========================================================================================================================================>] 2,238 --.-K/s in 0s
13:43:47 (63.0 MB/s) - `ubit_start' saved [2238/2238]
bash-3.2# chmod +x ubit_start
bash-3.2# ./ubit_start
Entering UBIT environment
No valid U-Boot environment exists.
You need to reboot once to let U-Boot set its default environment
before the ethaddr setting can be updated, either directly or
with a cached value.
To cache a value, run:
ethaddr uu:vv:ww:xx:yy:zz
UBIT v0.6 by peaslaker 2010.11-00125-ga21bcca
ubit0-6:~# uboot_uptodate
Existing firmware identified as matching: /usr/share/ubit/original/goflexhome.kwb.md5
UBIT:bl: u-boot checksum did not match.
Writing latest goflexhome firmware to /dev/mtd0
0+1 records in
1+0 records out
UBIT:bl: /usr/share/ubit/firmware/goflexhome.kwb checksum 24a6be4b581bffb170062f3b6f99e703 -
Erase Total 4 Units
Performing Flash Erase of length 131072 at offset 0x60000 done
Writing data to block 0 at offset 0x0
Writing data to block 1 at offset 0x20000
Writing data to block 2 at offset 0x40000
Writing data to block 3 at offset 0x60000
0+1 records in
1+0 records out
Writing data to block 4 at offset 0x80000
UBIT:bl: u-boot checksum match OK.
ubit0-6:~# chain_install goflexhome
UBIT.CHAIN:goflexhome
UBIT.CHAIN:/usr/share/ubit/original/goflexhome.kwb writing to 0x380000 of /dev/mtd1
1+0 records in
1+0 records out
UBIT:bl: /usr/share/ubit/original/goflexhome.kwb checksum 9b940e0b3b5a523f8b50ef0fa50af97f -
Erase Total 4 Units
Performing Flash Erase of length 131072 at offset 0x3e0000 done
Writing data to block 28 at offset 0x380000
Writing data to block 29 at offset 0x3a0000
Writing data to block 30 at offset 0x3c0000
Writing data to block 31 at offset 0x3e0000
1+0 records in
1+0 records out
Writing data to block 32 at offset 0x400000
UBIT:bl: u-boot checksum match OK.
root@PlugApps:~# uname -a
Linux PlugApps 3.1.10-4-ARCH #1 PREEMPT Wed Feb 29 04:02:24 UTC 2012 armv5tel Feroceon 88FR131 rev 1 (v5l) Seagate GoFlex Home GNU/Linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment