This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.
by Guest » Sat Aug 18, 2012 10:46 am
Works in progress


murphy's law

anyway so ..

In cold start (plugging / unplugging the power plug)
So after fresh installation of archlinux as you told me very good advice
moonman (many THANKS) on a USB key:
The USB light and made a pretense of startup, the green LED turns off in facade strange phenomenon then both LEDs will illuminate the network jack and then turn off the goflex feels like starting again but ultimately when viewing devices connected to the router no ip appears. So I was starting to write this, but:
I unplugged all the devices connected to my router and my computer except goflex, I unplugged the USB and the RJ45 and power socket and reconnected and I finally got a IP that appears . (note: no hard drive connected to the goflex, just USB)
He started on the USB!! The green LED on the front does not light$this->bbcode_second_pass_quote('xterm via ssh', '
')Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.0.32' (ECDSA) to the list of known hosts.
root@192.168.0.32's password:
$this->bbcode_second_pass_code('', '
[root@alarm ~]# pacman -Scc
')
$this->bbcode_second_pass_quote('xterm via ssh', '
')Cache directory: /var/cache/pacman/pkg/
Do you want to remove ALL files from cache? [y/N]
yremoving all files from cache...
Database directory: /var/lib/pacman/
Do you want to remove unused repositories? [Y/n]
yremoving unused sync repositories...
$this->bbcode_second_pass_code('', '
[root@alarm ~]# pacman -Syyuf
')
$this->bbcode_second_pass_quote('xterm via ssh', '
'):: Synchronizing package databases...
core 38.3 KiB 50.4K/s 00:01 [######################] 100%
extra 431.2 KiB 61.4K/s 00:07 [######################] 100%
community 414.5 KiB 63.1K/s 00:07 [######################] 100%
alarm 4.1 KiB 87.1K/s 00:00 [######################] 100%
aur 11.5 KiB 24.5K/s 00:00 [######################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
Targets (24): cronie-1.4.8-3 cryptsetup-1.5.0-2 dbus-core-1.6.4-1
device-mapper-2.02.97-1 dhcpcd-5.6.0-1 e2fsprogs-1.42.5-1
filesystem-2012.7-1 fuse-2.9.1-1 gcc-libs-4.7.1-6
hwids-20120730-1 iana-etc-2.30-3 initscripts-2012.07.5-1
krb5-1.10.3-1 libldap-2.4.32-1 libsystemd-188-2
linux-api-headers-3.5.1-1 logrotate-3.8.2-1 lvm2-2.02.97-1
mkinitcpio-0.10-1 net-tools-1.60.20120804git-2 perl-5.16.1-1
systemd-tools-188-2 tzdata-2012e-1 wget-1.14-1
Total Download Size: 17.94 MiB
Total Installed Size: 89.29 MiB
Net Upgrade Size: 2.99 MiB
Proceed with installation? [Y/n]
y:: Retrieving packages from core...
cronie-1.4.8-3-arm 53.5 KiB 47.5K/s 00:01 [######################] 100%
libsystemd-188-2-arm 51.6 KiB 34.6K/s 00:01 [######################] 100%
hwids-20120730-1-any 273.9 KiB 60.2K/s 00:05 [######################] 100%
systemd-tools-188-2-arm 377.3 KiB 63.1K/s 00:06 [######################] 100%
device-mapper-2.02.... 148.6 KiB 55.2K/s 00:03 [######################] 100%
cryptsetup-1.5.0-2-arm 147.4 KiB 51.7K/s 00:03 [######################] 100%
iana-etc-2.30-3-any 320.4 KiB 53.9K/s 00:06 [######################] 100%
filesystem-2012.7-1-any 3.7 KiB 92.1K/s 00:00 [######################] 100%
dbus-core-1.6.4-1-arm 354.3 KiB 62.6K/s 00:06 [######################] 100%
dhcpcd-5.6.0-1-arm 67.8 KiB 58.0K/s 00:01 [######################] 100%
e2fsprogs-1.42.5-1-arm 657.2 KiB 50.6K/s 00:13 [######################] 100%
gcc-libs-4.7.1-6-arm 519.1 KiB 63.1K/s 00:08 [######################] 100%
initscripts-2012.07... 21.8 KiB 66.4K/s 00:00 [######################] 100%
libldap-2.4.32-1-arm 318.5 KiB 53.9K/s 00:06 [######################] 100%
krb5-1.10.3-1-arm 929.0 KiB 59.9K/s 00:16 [######################] 100%
linux-api-headers-3... 587.5 KiB 62.7K/s 00:09 [######################] 100%
logrotate-3.8.2-1-arm 26.4 KiB 65.9K/s 00:00 [######################] 100%
lvm2-2.02.97-1-arm 572.3 KiB 39.3K/s 00:15 [######################] 100%
mkinitcpio-0.10-1-any 25.9 KiB 9.57K/s 00:03 [######################] 100%
net-tools-1.60.2012... 101.5 KiB 22.9K/s 00:04 [######################] 100%
perl-5.16.1-1-arm 11.8 MiB 50.2K/s 04:01 [######################] 100%
tzdata-2012e-1-any 135.3 KiB 59.2K/s 00:02 [######################] 100%
:: Retrieving packages from extra...
fuse-2.9.1-1-arm 120.0 KiB 54.5K/s 00:02 [######################] 100%
wget-1.14-1-arm 432.8 KiB 55.8K/s 00:08 [######################] 100%
(24/24) checking package integrity [######################] 100%
(24/24) loading package files [######################] 100%
(24/24) checking available disk space [######################] 100%
( 1/24) upgrading cronie [######################] 100%
New optional dependencies for cronie
pm-utils: defer anacron when on battery power
( 2/24) upgrading libsystemd [######################] 100%
( 3/24) upgrading hwids [######################] 100%
( 4/24) upgrading systemd-tools [######################] 100%
( 5/24) upgrading device-mapper [######################] 100%
( 6/24) upgrading cryptsetup [######################] 100%
( 7/24) upgrading iana-etc [######################] 100%
warning: /etc/protocols installed as /etc/protocols.pacnew
warning: /etc/services installed as /etc/services.pacnew
( 8/24) upgrading filesystem [######################] 100%
warning: directory permissions differ on sys/
filesystem: 755 package: 555
( 9/24) upgrading dbus-core [######################] 100%
(10/24) upgrading dhcpcd [######################] 100%
(11/24) upgrading e2fsprogs [######################] 100%
(12/24) upgrading fuse [######################] 100%
(13/24) upgrading gcc-libs [######################] 100%
(14/24) upgrading initscripts [######################] 100%
(15/24) upgrading libldap [######################] 100%
(16/24) upgrading krb5 [######################] 100%
(17/24) upgrading linux-api-headers [######################] 100%
(18/24) upgrading logrotate [######################] 100%
(19/24) upgrading lvm2 [######################] 100%
(20/24) upgrading mkinitcpio [######################] 100%
(21/24) upgrading net-tools [######################] 100%
(22/24) upgrading perl [######################] 100%
(23/24) upgrading tzdata [######################] 100%
(24/24) upgrading wget [######################] 100%
$this->bbcode_second_pass_code('', '
[root@alarm ~]# pacman -S uboot-env
')
$this->bbcode_second_pass_quote('xterm via ssh', '
')resolving dependencies...
looking for inter-conflicts...
Targets (1): uboot-env-2009.11-3
Total Download Size: 0.01 MiB
Total Installed Size: 0.04 MiB
Proceed with installation? [Y/n]
y:: Retrieving packages from alarm...
uboot-env-2009.11-3-arm 7.1 KiB 75.3K/s 00:00 [######################] 100%
(1/1) checking package integrity [######################] 100%
(1/1) loading package files [######################] 100%
(1/1) checking for file conflicts [######################] 100%
(1/1) checking available disk space [######################] 100%
(1/1) installing uboot-env [######################] 100%
>>> To print u-boot env please use fw_printenv
>> Configuration file located at /etc/fw_env.config
$this->bbcode_second_pass_code('', '
[root@alarm ~]# nano /etc/fw_env.config
')
Uncomment Dockstart values (del #)
$this->bbcode_second_pass_code('', '
[root@alarm ~]# fw_printenv
')
$this->bbcode_second_pass_quote('xterm via ssh', '
')ethact=egiga0
bootdelay=3
baudrate=115200
mainlineLinux=yes
console=ttyS0,115200
led_init=green blinking
led_exit=green off
led_error=orange blinking
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
mtdids=nand0=orion_nand
partition=nand0,2
stdin=serial
stdout=serial
stderr=serial
rescue_installed=0
rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params
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
pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi
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
ubifs_mtd=3
ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params
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
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_list=1 2 3 4
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_init=run usb_scan
usb_device=0:1
usb_root=/dev/sda1
arcNumber=2097
usb_rootfstype=ext3
usb_rootdelay=60
usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params
usb_bootcmd=run usb_init; run usb_set_bootargs; run usb_boot
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
bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset
[root@alarm ~]#
So, new problem : Where is my eSata Hard Drive ?$this->bbcode_second_pass_code('', '
[root@alarm dev]# ls -al sd*
brw-rw---- 1 root disk 8, 0 18 août 17:34 sda
brw-rw---- 1 root disk 8, 16 18 août 17:34 sdb
brw-rw---- 1 root disk 8, 17 18 août 17:34 sdb1
')
$this->bbcode_second_pass_code('', '
[root@alarm dev]# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 058f:6254 Alcor Micro Corp. USB Hub
Bus 001 Device 003: ID 058f:6366 Alcor Micro Corp. Multi Flash Reader
Bus 001 Device 004: ID 05dc:a701 Lexar Media, Inc. JumpDrive FireFly
')
$this->bbcode_second_pass_code('', '
[root@alarm dev]# df
Sys. fich. 1K-blocks Util. Disponible Uti% Monté sur
rootfs 3869392 689888 2982948 19% /
/dev/root 3869392 689888 2982948 19% /
devtmpfs 61448 0 61448 0% /dev
run 61532 232 61300 1% /run
shm 61532 0 61532 0% /dev/shm
tmpfs 61532 0 61532 0% /tmp
')
$this->bbcode_second_pass_code('', '
[root@alarm dev]# blkid
/dev/sdb1: LABEL="rootfs" UUID="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" TYPE="ext3"
')
$this->bbcode_second_pass_code('', '
[root@alarm dev]# dmesg
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.1.10-12-ARCH (nobody@platinum) (gcc version 4.7.1 (GCC) ) #1 PREEMPT Tue Jul 17 04:51:16 UTC 2012
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: Marvell SheevaPlug Reference Board
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 32768
[ 0.000000] free_area_init_node: node 0, pgdat c0589ae0, node_mem_map c065a000
[ 0.000000] Normal zone: 256 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32512 pages, LIFO batch:7
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sdb1 rootdelay=60 rootfstype=ext3 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] allocated 524288 bytes of page_cgroup
[ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[ 0.000000] Memory: 128MB = 128MB total
[ 0.000000] Memory: 122896k/122896k available, 8176k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
[ 0.000000] vmalloc : 0xc8800000 - 0xfe800000 ( 864 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0529b5c (5255 kB)
[ 0.000000] .init : 0xc052a000 - 0xc0554000 ( 168 kB)
[ 0.000000] .data : 0xc0554000 - 0xc058c2d0 ( 225 kB)
[ 0.000000] .bss : 0xc058c2f4 - 0xc0659e6c ( 823 kB)
[ 0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:114
[ 0.000000] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474ms
[ 0.000000] Console: colour dummy device 80x30
[ 3.355576] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[ 3.445506] pid_max: default: 32768 minimum: 301
[ 3.445629] Security Framework initialized
[ 3.445654] AppArmor: AppArmor disabled by boot time parameter
[ 3.445719] Mount-cache hash table entries: 512
[ 3.446114] Initializing cgroup subsys cpuacct
[ 3.446141] Initializing cgroup subsys memory
[ 3.446177] Initializing cgroup subsys devices
[ 3.446190] Initializing cgroup subsys freezer
[ 3.446200] Initializing cgroup subsys net_cls
[ 3.446209] Initializing cgroup subsys blkio
[ 3.446232] Initializing cgroup subsys perf_event
[ 3.446333] CPU: Testing write buffer coherency: ok
[ 3.447632] devtmpfs: initialized
[ 3.449430] NET: Registered protocol family 16
[ 3.450083] Kirkwood: MV88F6281-A1, TCLK=200000000.
[ 3.450098] Feroceon L2: Enabling L2
[ 3.450137] Feroceon L2: Cache support initialised.
[ 3.450659] initial MPP regs: 01111111 11113322 00001111 00100000 00000000 00000000 00000000
[ 3.450687] final MPP regs: 01111111 11113322 00001111 00000000 00000000 00000000 00000000
[ 3.455717] bio: create slab <bio-0> at 0
[ 3.456089] vgaarb: loaded
[ 3.456354] SCSI subsystem initialized
[ 3.456514] libata version 3.00 loaded.
[ 3.456726] usbcore: registered new interface driver usbfs
[ 3.456824] usbcore: registered new interface driver hub
[ 3.456929] usbcore: registered new device driver usb
[ 3.457492] Switching to clocksource orion_clocksource
[ 3.465506] Switched to NOHz mode on CPU #0
[ 3.466650] FS-Cache: Loaded
[ 3.476546] NET: Registered protocol family 2
[ 3.476792] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 3.477504] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 3.477645] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 3.477700] TCP: Hash tables configured (established 4096 bind 4096)
[ 3.477710] TCP reno registered
[ 3.477721] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 3.477744] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 3.477987] NET: Registered protocol family 1
[ 3.478023] PCI: CLS 0 bytes, default 32
[ 3.478612] audit: initializing netlink socket (disabled)
[ 3.478644] type=2000 audit(0.120:1): initialized
[ 3.562958] VFS: Disk quotas dquot_6.5.2
[ 3.563228] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 3.565483] JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 3.566796] aufs 3.1-20111107
[ 3.566818] msgmni has been set to 240
[ 3.568225] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 3.568241] io scheduler noop registered
[ 3.568250] io scheduler deadline registered
[ 3.568339] io scheduler cfq registered (default)
[ 3.568404] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
[ 3.568438] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
[ 3.607573] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[ 3.647585] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[ 3.687572] mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
[ 3.727571] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
[ 3.732669] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 3.753363] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[ 3.753466] console [ttyS0] enabled
[ 3.759615] brd: module loaded
[ 3.762639] loop: module loaded
[ 3.763605] ONFI flash detected
[ 3.763705] ONFI param page 0 valid
[ 3.763719] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08AAD)
[ 3.763740] Scanning device for bad blocks
[ 3.917028] 4 cmdlinepart partitions found on MTD device orion_nand
[ 3.917040] Creating 4 MTD partitions on "orion_nand":
[ 3.917055] 0x000000000000-0x000000100000 : "u-boot"
[ 3.918042] 0x000000100000-0x000000500000 : "uImage"
[ 3.918921] 0x000000500000-0x000002500000 : "rootfs"
[ 3.919826] 0x000002500000-0x000010000000 : "data"
[ 3.921602] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 3.921694] mv643xx_eth smi: probed
[ 3.923842] mv643xx_eth_port mv643xx_eth_port.0: eth0: port 0 with MAC address xx:xx:xx:xx:xx:xx
[ 3.923954] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.924004] orion-ehci orion-ehci.0: Marvell Orion EHCI
[ 3.924075] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[ 3.947548] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[ 3.967531] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[ 3.968118] hub 1-0:1.0: USB hub found
[ 3.968141] hub 1-0:1.0: 1 port detected
[ 3.968650] Initializing USB Mass Storage driver...
[ 3.968750] usbcore: registered new interface driver usb-storage
[ 3.968760] USB Mass Storage support registered.
[ 3.968847] usbcore: registered new interface driver libusual
[ 3.969166] mousedev: PS/2 mouse device common for all mice
[ 3.969425] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
[ 3.969558] sdhci: Secure Digital Host Controller Interface driver
[ 3.969568] sdhci: Copyright(c) Pierre Ossman
[ 3.969781] mmc0: mvsdio driver initialized, lacking card detect (fall back to polling)
[ 3.969823] sdhci-pltfm: SDHCI platform and OF driver helper
[ 3.969958] Registered led device: plug:red:misc
[ 3.970071] Registered led device: status:green:health
[ 3.970177] Registered led device: status:blue:health
[ 3.970379] usbcore: registered new interface driver r8712u
[ 3.971275] GRE over IPv4 demultiplexor driver
[ 3.971416] TCP cubic registered
[ 3.971427] NET: Registered protocol family 17
[ 3.971510] lib80211: common routines for IEEE802.11 drivers
[ 3.971521] lib80211_crypt: registered algorithm 'NULL'
[ 3.971529] Registering the dns_resolver key type
[ 3.971562] Gating clock of unused units
[ 3.971571] before: 0x00dfc3fd
[ 3.971579] after: 0x00c701d9
[ 3.972094] registered taskstats version 1
[ 3.972764] console [netcon0] enabled
[ 3.972773] netconsole: network logging started
[ 3.972858] rtc-mv rtc-mv: setting system clock to 2012-08-18 15:33:23 UTC (1345304003)
[ 3.973202] Waiting 60sec before mounting root device...
[ 4.287544] usb 1-1: new high speed USB device number 2 using orion-ehci
[ 4.438565] hub 1-1:1.0: USB hub found
[ 4.438664] hub 1-1:1.0: 4 ports detected
[ 4.717662] usb 1-1.1: new high speed USB device number 3 using orion-ehci
[ 4.829878] scsi0 : usb-storage 1-1.1:1.0
[ 4.927689] usb 1-1.4: new high speed USB device number 4 using orion-ehci
[ 5.041086] scsi1 : usb-storage 1-1.4:1.0
[ 5.828511] scsi 0:0:0:0: Direct-Access Multiple Card Reader 1.00 PQ: 0 ANSI: 0
[ 5.829177] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 5.832933] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 6.038865] scsi 1:0:0:0: Direct-Access LEXAR JD FIREFLY 1100 PQ: 0 ANSI: 0 CCS
[ 6.039534] sd 1:0:0:0: Attached scsi generic sg1 type 0
[ 6.041570] sd 1:0:0:0: [sdb] 7864320 512-byte logical blocks: (4.02 GB/3.75 GiB)
[ 6.042310] sd 1:0:0:0: [sdb] Write Protect is off
[ 6.042324] sd 1:0:0:0: [sdb] Mode Sense: 43 00 00 00
[ 6.043059] sd 1:0:0:0: [sdb] No Caching mode page present
[ 6.048604] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[ 6.058436] sd 1:0:0:0: [sdb] No Caching mode page present
[ 6.063949] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[ 6.070894] sdb: sdb1
[ 6.073685] sd 1:0:0:0: [sdb] No Caching mode page present
[ 6.079234] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[ 6.085357] sd 1:0:0:0: [sdb] Attached SCSI removable disk
[ 63.978839] EXT4-fs (sdb1): mounting ext3 file system using the ext4 subsystem
[ 65.844463] EXT4-fs (sdb1): recovery complete
[ 65.846338] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
[ 65.846384] VFS: Mounted root (ext3 filesystem) on device 8:17.
[ 65.849997] devtmpfs: mounted
[ 65.850555] Freeing init memory: 168K
[ 67.892453] EXT4-fs (sdb1): re-mounted. Opts: user_xattr,barrier=1,nodelalloc,data=ordered
[ 68.110851] systemd-udevd[89]: starting version 188
[ 69.204620] EXT4-fs (sdb1): re-mounted. Opts: user_xattr,barrier=1,nodelalloc,data=ordered
[ 72.410263] mv643xx_eth_port mv643xx_eth_port.0: eth0: link up, 100 Mb/s, full duplex, flow control disabled
[ 84.690824] NET: Registered protocol family 10
[ 95.427522] eth0: no IPv6 routers present
')
$this->bbcode_second_pass_quote('pacman -Sy linux-kirkwood linux-headers-kirkwood', '
')
:: Synchronisation des bases de données de paquets...
core est à jour ;
extra est à jour ;
community est à jour ;
alarm est à jour ;
aur est à jour ;
résolution des dépendances...
recherche des conflits entre paquets...
:: linux-kirkwood et linux sont en conflit. Supprimer linux ? [o/N] o
:: linux-headers-kirkwood et linux-headers sont en conflit (kernel26-headers). Supprimer linux-headers ? [o/N] o
Cibles (4) : linux-3.1.10-12 [removal] linux-headers-3.1.10-12 [removal]
linux-headers-kirkwood-3.5.2-1 linux-kirkwood-3.5.2-1
Taille totale de téléchargement : 18,21 MiB
Taille totale installé : 61,49 MiB
Taille de mise à jour nette : 3,13 MiB
Procéder à l'installation ? [O/n] o
:: Récupération des paquets du dépôt core...
q linux-kirkwood-3.5.... 12,2 MiB 70,3K/s 00:19 [###################---] 90 linux-kirkwood-3.5.... 13,5 MiB 60,4K/s 03:50 [######################] 100%
linux-headers-kirkw... 4,7 MiB 60,3K/s 01:19 [######################] 100%
(2/2) vérification de l'intégrité des paquets [######################] 100%
(2/2) chargement des fichiers des paquets [######################] 100%
(2/2) analyse des conflits entre fichiers [######################] 100%
(4/4) vérification de l'espace disque disponible [######################] 100%
(1/2) désinstallation de linux [######################] 100%
(2/2) désinstallation de linux-headers [######################] 100%
(1/2) installation de linux-kirkwood [######################] 100%
>>> Updating module dependencies. Please wait ...
**********************************************************************
WARNING! This kernel requires a newer U-Boot than many devices such as
the Dockstar and Pogoplug v2 originally came with. If you do
not have an updated version, your system WILL NOT BOOT.
**********************************************************************
Dépendances optionnelles pour linux-kirkwood
crda: to set the correct wireless channels of your country
(2/2) installation de linux-headers-kirkwood [######################] 100%
[root@alarm ~]#
by Guest » Mon Aug 20, 2012 12:57 pm
Well ...
On Ubuntu Live-CD 12.04 :
$this->bbcode_second_pass_code('', '
sudo ifconfig eth0:0 10.10.10.5
sudo ifconfig eth0:1 10.10.10.4
sudo ifconfig eth0:2 10.10.10.3
')

$this->bbcode_second_pass_code('', '
nc -l -u -p 6666
')
$this->bbcode_second_pass_quote('', '
')GoFlexNet>
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
GoFlexNet>
usb startusb start
(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
GoFlexNet>
run force_rescue_bootcmdrun force_rescue_bootcmd
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 **
GoFlexNet>
run ubifs_bootcmdrun ubifs_bootcmd
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 error: validate_ec_hdr: bad VID header offset 2048, expected 512
UBI error: validate_ec_hdr: bad EC header
UBI error: ubi_io_read_ec_hdr: validation failed for PEB 0
UBI error: ubi_init: cannot attach mtd1
UBI error: ubi_init: UBI error: cannot initialize UBI, error -22
UBI init error 22
GoFlexNet>
run usb_bootcmdrun usb_bootcmd
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)
3131512 bytes read
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
** File not found /boot/uInitrd
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-3.5.2-1-ARCH
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3131448 Bytes = 3 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
$this->bbcode_second_pass_code('', '
ssh root@ip_local_goflex_home
')
$this->bbcode_second_pass_quote('nano /root/fw_env.sh', '
')fw_printenv | awk -F "=" '{ print $1 }' | xargs -n1 fw_setenv
fw_setenv arcNumber '3338'
fw_setenv ethact 'egiga0'
fw_setenv bootdelay '3'
fw_setenv baudrate '115200'
fw_setenv mainlineLinux 'yes'
fw_setenv console 'ttyS0,115200'
fw_setenv ipaddr '10.0.10.6'
fw_setenv ncip '10.10.10.5'
fw_setenv ncipk '10.10.10.4'
fw_setenv serverip '10.10.10.3'
fw_setenv preboot 'run nc_test nc_start'
fw_setenv nc_test 'ping $ncip'
fw_setenv nc_start 'setenv stdin nc; setenv stdout nc; setenv stderr nc; version'
fw_setenv led_init 'green blinking'
fw_setenv led_exit 'green off'
fw_setenv led_error 'orange blinking'
fw_setenv mtdparts 'mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)'
fw_setenv mtdids 'nand0=orion_nand'
fw_setenv partition 'nand0,2'
fw_setenv stdin 'serial'
fw_setenv stdout 'serial'
fw_setenv stderr 'serial'
fw_setenv rescue_installed '0'
fw_setenv rescue_set_bootargs 'setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params'
fw_setenv 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'
fw_setenv pogo_bootcmd 'if fsload uboot-original-mtd0.kwb; then go 0x800200; fi'
fw_setenv force_rescue '0'
fw_setenv 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'
fw_setenv ubifs_mtd '3'
fw_setenv ubifs_set_bootargs 'setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params'
fw_setenv 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'
fw_setenv 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'
fw_setenv usb_scan_list '1 2 3 4'
fw_setenv usb_scan_1 'usb=0:1 dev=sda1'
fw_setenv usb_scan_2 'usb=1:1 dev=sdb1'
fw_setenv usb_scan_3 'usb=2:1 dev=sdc1'
fw_setenv usb_scan_4 'usb=3:1 dev=sdd1'
fw_setenv usb_init 'run usb_scan'
fw_setenv usb_device '0:1'
fw_setenv usb_root '/dev/sda1'
fw_setenv usb_rootfstype 'ext3'
fw_setenv usb_rootdelay '60'
fw_setenv usb_set_bootargs 'setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params'
fw_setenv usb_bootcmd 'run usb_init; run usb_set_bootargs; run usb_boot'
fw_setenv 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'
fw_setenv sata_device '0:1'
fw_setenv sata_root '/dev/sda1'
fw_setenv sata_rootfstype 'ext3'
fw_setenv sata_rootdelay '10'
fw_setenv sata_set_bootargs 'setenv bootargs console=$console root=$sata_root rootdelay=$sata_rootdelay rootfstype=$sata_rootfstype $mtdparts $sata_custom_params'
fw_setenv 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'
fw_setenv sata_bootcmd 'run sata_set_bootargs; run sata_boot'
fw_setenv bootcmd 'usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run sata_bootcmd; run rescue_bootcmd; run pogo_bootcmd; reset'
sh /root/fw_env.sh
reboot
Ok, all done.
Now :
With only USB Key$this->bbcode_second_pass_code('', '
reboot
')
$this->bbcode_second_pass_quote('', '
')
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
(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 error: validate_ec_hdr: bad VID header offset 2048, expected 512
UBI error: validate_ec_hdr: bad EC header
UBI error: ubi_io_read_ec_hdr: validation failed for PEB 0
UBI error: ubi_init: cannot attach mtd1
UBI error: ubi_init: UBI error: cannot initialize UBI, error -22
UBI init error 22
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)
3131512 bytes read
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
** File not found /boot/uInitrd
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-3.5.2-1-ARCH
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3131448 Bytes = 3 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
IP OK in router SSH Access OKWith USB Key and eSata Hard Drive$this->bbcode_second_pass_quote('', '
')
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
(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 error: validate_ec_hdr: bad VID header offset 2048, expected 512
UBI error: validate_ec_hdr: bad EC header
UBI error: ubi_io_read_ec_hdr: validation failed for PEB 0
UBI error: ubi_init: cannot attach mtd1
UBI error: ubi_init: UBI error: cannot initialize UBI, error -22
UBI init error 22
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)
3131512 bytes read
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
** File not found /boot/uInitrd
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-3.5.2-1-ARCH
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3131448 Bytes = 3 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...