Welcome! Log In Create A New Profile

Advanced

Bricked GoFlex Home? :(

Posted by dave.opc 
Bricked GoFlex Home? :(
June 04, 2013 10:56AM
Hello

I used the tutorial http://projects.doozan.com/debian/ to install Debian on my 2TB GoFlex Home.
I disconnected the SATA drive from cradle, inserted ext3 formated usb flash into usb and booted the device.
Logged in with my account, did sudo.
Then did steps from tutorial:

cd /tmp
wget http://projects.doozan.com/debian/kirkwood.debian-wheezy.sh
chmod +x kirkwood.debian-wheezy.sh
export PATH=$PATH:/usr/sbin:/sbin
./kirkwood.debian-wheezy.sh

At the end i got error that bootstrap couldn't execute or something like that. All i could do after is reboot the device.
But i didn't start. First 2-3 seconds green light flashes, then Red light is flashing for maybe 20 seconds, then it repeats again. i can't login and i dont see the IP assigned on my router LAN page :(
Re: Bricked GoFlex Home? :(
June 04, 2013 03:10PM
dave.opc Wrote:
-------------------------------------------------------
> Hello
>
> I used the tutorial
> http://projects.doozan.com/debian/ to install
> Debian on my 2TB GoFlex Home.
> I disconnected the SATA drive from cradle,
> inserted ext3 formated usb flash into usb and
> booted the device.
> Logged in with my account, did sudo.
> Then did steps from tutorial:
>
>
> cd /tmp
> wget
> http://projects.doozan.com/debian/kirkwood.debian-
> wheezy.sh
> chmod +x kirkwood.debian-wheezy.sh
> export PATH=$PATH:/usr/sbin:/sbin
> ./kirkwood.debian-wheezy.sh
>
>
> At the end i got error that bootstrap couldn't
> execute or something like that. All i could do
> after is reboot the device.
> But i didn't start. First 2-3 seconds green light
> flashes, then Red light is flashing for maybe 20
> seconds, then it repeats again. i can't login and
> i dont see the IP assigned on my router LAN page
> :(

Try to boot without the USB see if you can get back to Pogo OS, and then install Squeeze instead of Wheezy:

wget http://projects.doozan.com/debian/dockstar.debian-squeeze.sh

Once you can boot with Squeeze, upgrade to Wheezy.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Bricked GoFlex Home? :(
June 04, 2013 03:15PM
I try to load without USB stick, the light just goes blinking red and nothing happens as i guess, at least no IP address seen in myrouter just to try to ssh.
This happens with SATA drive and without too.
I tried to make a bootable usb stick with this:

wget http://jeff.doozan.com/debian/goflex/v0.6/v2.6.37/boot.tar.gz
wget http://jeff.doozan.com/debian/goflex/v0.6/uInitrd
tar -xzvf boot.ta.gz
it seems that the device is loading, at least the lighter is blinking green, and i see usb stick lighter flashing, so it reads it for about 10 seconds and then stop... nothing appears.



Edited 1 time(s). Last edit at 06/04/2013 03:25PM by dave.opc.
Re: Bricked GoFlex Home? :(
June 04, 2013 03:19PM
Did you keep the log of what going on when you installed wheezy?
Re: Bricked GoFlex Home? :(
June 04, 2013 03:29PM
Yes i did, but i didn't check the debootstrap.log for more info.
Here is the log of installing:

-bash-3.2# fdisk -l

Disk /dev/sda: 8056 MB, 8056209408 bytes
255 heads, 63 sectors/track, 979 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         941     7558551   83  Linux
/dev/sda2             942         979      305235   82  Linux swap / Solaris
-bash-3.2# cd /tmp
-bash-3.2# wget http://projects.doozan.com/debian/kirkwood.debian-wheezy.sh
--17:22:13--  http://projects.doozan.com/debian/kirkwood.debian-wheezy.sh
Resolving projects.doozan.com... 50.116.34.13                                                                                                                                                   
Connecting to projects.doozan.com|50.116.34.13|:80... connected.                                                                                                                                
HTTP request sent, awaiting response... 200 OK                                                                                                                                                  
Length: 11159 (11K) [text/x-sh]                                                                                                                                                                 
Saving to: `kirkwood.debian-wheezy.sh'

100%[=======================================================================================================================================================>] 11,159      --.-K/s   in 0.1s   

17:22:14 (73.2 KB/s) - `kirkwood.debian-wheezy.sh' saved [11159/11159]

-bash-3.2# chmod +x kirkwood.debian-wheezy.sh
-bash-3.2# export PATH=$PATH:/usr/sbin:/sbin
-bash-3.2# ./kirkwood.debian-wheezy.sh


!!!!!!  DANGER DANGER DANGER DANGER DANGER DANGER  !!!!!!

This script will replace the bootloader on /dev/mtd0.

If you lose power while the bootloader is being flashed,
your device could be left in an unusable state.


This script will configure your Dockstar to boot Debian
from a USB device.  Before running this script, you should have
used fdisk to create the following partitions:

/dev/sda1 (Linux ext2, at least 400MB)
/dev/sda2 (Linux swap, recommended 256MB)


This script will DESTROY ALL EXISTING DATA on /dev/sda1
Please double check that the device on /dev/sda1 is the correct device.

By typing ok, you agree to assume all liabilities and risks
associated with running this installer.

If everything looks good, type 'ok' to continue: ok
--17:22:32--  http://projects.doozan.com/uboot/install_uboot_mtd0.sh
Resolving projects.doozan.com... 50.116.34.13
Connecting to projects.doozan.com|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18406 (18K) [text/x-sh]
Saving to: `/tmp/install_uboot_mtd0.sh'

100%[=======================================================================================================================================================>] 18,406      61.2K/s   in 0.3s   

17:22:33 (61.2 KB/s) - `/tmp/install_uboot_mtd0.sh' saved [18406/18406]

Installing Bootloader
# checking for /usr/sbin/nandwrite...
# checking for /usr/sbin/nanddump...

# Installing /usr/sbin/nanddump...
--17:22:33--  http://download.doozan.com/uboot/nanddump.md5
Resolving download.doozan.com... 50.116.34.13
Connecting to download.doozan.com|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `/usr/sbin/nanddump.md5'

    [ <=>                                                                                                                                                    ] 32          --.-K/s   in 0s     

17:22:33 (1.29 MB/s) - `/usr/sbin/nanddump.md5' saved [32]

--17:22:33--  http://download.doozan.com/uboot/nanddump
Resolving download.doozan.com... 50.116.34.13
Connecting to download.doozan.com|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 21286 (21K) []
Saving to: `/usr/sbin/nanddump'

100%[=======================================================================================================================================================>] 21,286      71.3K/s   in 0.3s   

17:22:34 (71.3 KB/s) - `/usr/sbin/nanddump' saved [21286/21286]

# Successfully installed /usr/sbin/nanddump.
# checking for /usr/sbin/flash_erase...

# Installing /usr/sbin/flash_erase...
--17:22:34--  http://download.doozan.com/uboot/flash_erase.md5
Resolving download.doozan.com... 50.116.34.13
Connecting to download.doozan.com|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `/usr/sbin/flash_erase.md5'

    [ <=>                                                                                                                                                    ] 32          --.-K/s   in 0s     

17:22:35 (1.37 MB/s) - `/usr/sbin/flash_erase.md5' saved [32]

--17:22:35--  http://download.doozan.com/uboot/flash_erase
Resolving download.doozan.com... 50.116.34.13
Connecting to download.doozan.com|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12819 (13K) []
Saving to: `/usr/sbin/flash_erase'

100%[=======================================================================================================================================================>] 12,819      --.-K/s   in 0.1s   

17:22:35 (87.5 KB/s) - `/usr/sbin/flash_erase' saved [12819/12819]

# Successfully installed /usr/sbin/flash_erase.
# checking for /usr/sbin/fw_printenv...

# Installing /usr/sbin/fw_printenv...
--17:22:35--  http://download.doozan.com/uboot/fw_printenv.md5
Resolving download.doozan.com... 50.116.34.13
Connecting to download.doozan.com|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `/usr/sbin/fw_printenv.md5'

    [ <=>                                                                                                                                                    ] 32          --.-K/s   in 0s     

17:22:36 (1.36 MB/s) - `/usr/sbin/fw_printenv.md5' saved [32]

--17:22:36--  http://download.doozan.com/uboot/fw_printenv
Resolving download.doozan.com... 50.116.34.13
Connecting to download.doozan.com|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 668497 (653K) []
Saving to: `/usr/sbin/fw_printenv'

100%[=======================================================================================================================================================>] 668,497      228K/s   in 2.9s   

17:22:39 (228 KB/s) - `/usr/sbin/fw_printenv' saved [668497/668497]

# Successfully installed /usr/sbin/fw_printenv.
# checking for /etc/fw_env.config...

# Installing /etc/fw_env.config...
--17:22:39--  http://download.doozan.com/uboot/fw_env.config.md5
Resolving download.doozan.com... 50.116.34.13
Connecting to download.doozan.com|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `/etc/fw_env.config.md5'

    [ <=>                                                                                                                                                    ] 32          --.-K/s   in 0s     

17:22:39 (1.41 MB/s) - `/etc/fw_env.config.md5' saved [32]

--17:22:39--  http://download.doozan.com/uboot/fw_env.config
Resolving download.doozan.com... 50.116.34.13
Connecting to download.doozan.com|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 329 []
Saving to: `/etc/fw_env.config'

100%[=======================================================================================================================================================>] 329         --.-K/s   in 0s     

17:22:40 (14.2 MB/s) - `/etc/fw_env.config' saved [329/329]

# Successfully installed /etc/fw_env.config.

# Validating existing uBoot...
Block size 131072, page size 2048, OOB size 64
Dumping data starting at 0x00000000 and ending at 0x00080000...
--17:22:40--  http://jeff.doozan.com/uboot/valid-uboot.md5
Resolving jeff.doozan.com... 50.116.34.13
Connecting to jeff.doozan.com|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://projects.doozan.com/uboot/valid-uboot.md5 [following]
--17:22:40--  http://projects.doozan.com/uboot/valid-uboot.md5
Resolving projects.doozan.com... 50.116.34.13
Connecting to projects.doozan.com|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1133 (1.1K) [text/plain]
Saving to: `/tmp/valid-uboot.md5'

100%[=======================================================================================================================================================>] 1,133       --.-K/s   in 0s     

17:22:41 (41.7 MB/s) - `/tmp/valid-uboot.md5' saved [1133/1133]

## Valid uBoot detected: [dockstar original]

# Installing uBoot
## Installing dockstar davygravy-2012-02-12
--17:22:41--  http://download.doozan.com/uboot/files/uboot/uboot.mtd0.dockstar.davygravy-2012-02-12.kwb.md5
Resolving download.doozan.com... 50.116.34.13
Connecting to download.doozan.com|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `/tmp/uboot.mtd0.kwb.md5'

    [ <=>                                                                                                                                                    ] 32          --.-K/s   in 0s     

17:22:41 (1.36 MB/s) - `/tmp/uboot.mtd0.kwb.md5' saved [32]

--17:22:41--  http://download.doozan.com/uboot/files/uboot/uboot.mtd0.dockstar.davygravy-2012-02-12.kwb
Resolving download.doozan.com... 50.116.34.13
Connecting to download.doozan.com|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 524288 (512K) []
Saving to: `/tmp/uboot.mtd0.kwb'

100%[=======================================================================================================================================================>] 524,288      201K/s   in 2.5s   

17:22:44 (201 KB/s) - `/tmp/uboot.mtd0.kwb' saved [524288/524288]

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
Block size 131072, page size 2048, OOB size 64
Dumping data starting at 0x00000000 and ending at 0x00080000...
## Verifying new uBoot...
--17:22:44--  http://download.doozan.com/uboot/files/uboot/uboot.mtd0.dockstar.davygravy-2012-02-12.kwb.md5
Resolving download.doozan.com... 50.116.34.13
Connecting to download.doozan.com|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `/tmp/uboot.mtd0.kwb.md5'

    [ <=>                                                                                                                                                    ] 32          --.-K/s   in 0s     

17:22:45 (1.42 MB/s) - `/tmp/uboot.mtd0.kwb.md5' saved [32]

# Verified successfully!

# Installing uBoot environment
--17:22:45--  http://download.doozan.com/uboot/files/environment/uboot.environment.md5
Resolving download.doozan.com... 50.116.34.13
Connecting to download.doozan.com|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `/tmp/uboot.environment.md5'

    [ <=>                                                                                                                                                    ] 32          --.-K/s   in 0s     

17:22:46 (1.35 MB/s) - `/tmp/uboot.environment.md5' saved [32]

--17:22:46--  http://download.doozan.com/uboot/files/environment/uboot.environment
Resolving download.doozan.com... 50.116.34.13
Connecting to download.doozan.com|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 131072 (128K) []
Saving to: `/tmp/uboot.environment'

100%[=======================================================================================================================================================>] 131,072      117K/s   in 1.1s   

17:22:47 (117 KB/s) - `/tmp/uboot.environment' saved [131072/131072]

Erase Total 1 Units
Performing Flash Erase of length 131072 at offset 0xc0000 done
Writing data to block 6 at offset 0xc0000

# Verifying uBoot environment
Block size 131072, page size 2048, OOB size 64
Dumping data starting at 0x000c0000 and ending at 0x000e0000...
--17:22:47--  http://download.doozan.com/uboot/files/environment/uboot.environment.md5
Resolving download.doozan.com... 50.116.34.13
Connecting to download.doozan.com|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `/tmp/uboot.environment.md5'

    [ <=>                                                                                                                                                    ] 32          --.-K/s   in 0s     

17:22:48 (1.47 MB/s) - `/tmp/uboot.environment.md5' saved [32]



# Setting arcNumber to 2097 (SheevaPlug)
# Note: if you have a kernel that supports your platform, you should use the proper arcNumber.
# You can set the correct arcNumber by running the following command:
/usr/sbin/fw_setenv arcNumber 2998

# uBoot installation has completed successfully.
mke2fs 1.39 (29-May-2006)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
946560 inodes, 1889637 blocks
94481 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=1937768448
58 block groups
32768 blocks per group, 32768 fragments per group
16320 inodes per group
Superblock backups stored on blocks: 
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632

Writing inode tables: done                            
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 33 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
Setting up swapspace version 1, size = 312553 kB
--17:24:41--  http://cdn.debian.net/debian/pool/main/d/debootstrap/debootstrap_1.0.26%2bsqueeze1_all.deb
Resolving cdn.debian.net... 93.158.155.193
Connecting to cdn.debian.net|93.158.155.193|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 57492 (56K) [application/octet-stream]
Saving to: `debootstrap.deb'

100%[=======================================================================================================================================================>] 57,492      --.-K/s   in 0.01s  

17:24:42 (4.10 MB/s) - `debootstrap.deb' saved [57492/57492]

x - debian-binary
x - control.tar.gz
x - data.tar.gz
./
./usr/
./usr/sbin/
./usr/sbin/debootstrap
./usr/share/
./usr/share/man/
./usr/share/man/man8/
./usr/share/man/man8/debootstrap.8.gz
./usr/share/doc/
./usr/share/doc/debootstrap/
./usr/share/doc/debootstrap/README
./usr/share/doc/debootstrap/copyright
./usr/share/doc/debootstrap/changelog.gz
./usr/share/debootstrap/
./usr/share/debootstrap/functions
./usr/share/debootstrap/scripts/
./usr/share/debootstrap/scripts/feisty
./usr/share/debootstrap/scripts/sarge.buildd
./usr/share/debootstrap/scripts/gutsy
./usr/share/debootstrap/scripts/woody.buildd
./usr/share/debootstrap/scripts/breezy
./usr/share/debootstrap/scripts/warty
./usr/share/debootstrap/scripts/sarge.fakechroot
./usr/share/debootstrap/scripts/hoary
./usr/share/debootstrap/scripts/warty.buildd
./usr/share/debootstrap/scripts/sid
./usr/share/debootstrap/scripts/potato
./usr/share/debootstrap/scripts/edgy
./usr/share/debootstrap/scripts/sarge
./usr/share/debootstrap/scripts/dapper
./usr/share/debootstrap/scripts/woody
./usr/share/debootstrap/scripts/hoary.buildd
./usr/share/debootstrap/devices.tar.gz
./usr/share/debootstrap/scripts/wheezy
./usr/share/debootstrap/scripts/karmic
./usr/share/debootstrap/scripts/testing
./usr/share/debootstrap/scripts/stable
./usr/share/debootstrap/scripts/lucid
./usr/share/debootstrap/scripts/maverick
./usr/share/debootstrap/scripts/unstable
./usr/share/debootstrap/scripts/squeeze
./usr/share/debootstrap/scripts/etch
./usr/share/debootstrap/scripts/jaunty
./usr/share/debootstrap/scripts/hardy
./usr/share/debootstrap/scripts/etch-m68k
./usr/share/debootstrap/scripts/natty
./usr/share/debootstrap/scripts/lenny
./usr/share/debootstrap/scripts/intrepid
# checking for /usr/share/debootstrap/pkgdetails...

# Installing /usr/share/debootstrap/pkgdetails...
--17:24:42--  http://download.doozan.com/debian/pkgdetails.md5
Resolving download.doozan.com... 50.116.34.13
Connecting to download.doozan.com|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `/usr/share/debootstrap/pkgdetails.md5'

    [ <=>                                                                                                                                                    ] 32          --.-K/s   in 0s     

17:24:42 (1.33 MB/s) - `/usr/share/debootstrap/pkgdetails.md5' saved [32]

--17:24:42--  http://download.doozan.com/debian/pkgdetails
Resolving download.doozan.com... 50.116.34.13
Connecting to download.doozan.com|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 572767 (559K) []
Saving to: `/usr/share/debootstrap/pkgdetails'

100%[=======================================================================================================================================================>] 572,767      153K/s   in 3.7s   

17:24:46 (153 KB/s) - `/usr/share/debootstrap/pkgdetails' saved [572767/572767]

# Successfully installed /usr/share/debootstrap/pkgdetails.


# Starting debootstrap installation
E: unrecognized or invalid option --no-check-gpg
debootstrap failed.
See /tmp/debian/debootstrap/debootstrap.log for more information.
-bash-3.2# reboot

Broadcast message from root (pts/0) (Tue Jun  4 17:25:07 2013):

The system is going down for reboot NOW!

Re: Bricked GoFlex Home? :(
June 04, 2013 03:57PM
Looks like uBoot was installed OK. You can use Davy's NSA320 rootfs to to boot the box. After you can boot into Debian, you can either keep using that rootfs, or attempt the Debian squeeze installation again on a new USB thumb. See here for NSA320 rootfs:

http://forum.doozan.com/read.php?2,7806

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Bricked GoFlex Home? :(
June 05, 2013 07:09AM
bodhi, thanx alot for your help
So i managed these steps:

Following your link i downloaded the package. Used instructions to transfer kirkwood_something.img file to usb stick. Inserted this stick into GoFlexHome and waited till it boots up. It did :) I found new ip in my router so i was able to connect to GoFlex via ssh

My SATA drive was connected, so i decided to see fdisk:

root@debian-kirkwood-wide:~# fdisk -l

Disk /dev/mtdblock0: 1 MB, 1048576 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mtdblock0 doesn't contain a valid partition table

Disk /dev/mtdblock1: 4 MB, 4194304 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xee020f10

Disk /dev/mtdblock1 doesn't contain a valid partition table

Disk /dev/mtdblock2: 33 MB, 33554432 bytes
255 heads, 63 sectors/track, 4 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xffffffff

Disk /dev/mtdblock2 doesn't contain a valid partition table

Disk /dev/mtdblock3: 229 MB, 229638144 bytes
255 heads, 63 sectors/track, 27 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xffffffff

Disk /dev/mtdblock3 doesn't contain a valid partition table

Disk /dev/sda: 4051 MB, 4051697664 bytes
255 heads, 63 sectors/track, 492 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000c2c22

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *         294         460     1341427+  83  Linux
/dev/sda2             461         492      257040   82  Linux swap / Solaris
root@debian-kirkwood-wide:~#

Seems like sda is my usb stick, and i don't see SATA drive...
Does this look ok? What should i try to do next, just start installation of squeze using these commands?

cd /tmp
wget http://projects.doozan.com/debian/dockstar.debian-squeeze.sh
chmod +x dockstar.debian-squeeze.sh
export PATH=$PATH:/usr/sbin:/sbin
./dockstar.debian-squeeze.sh



Edited 1 time(s). Last edit at 06/05/2013 07:20AM by dave.opc.
Re: Bricked GoFlex Home? :(
June 05, 2013 03:24PM
Dave.opc,

You can post output of your dmesg and envs, and we'll take a look:
dmesg
fw_printenv

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Bricked GoFlex Home? :(
June 05, 2013 03:50PM
ok, here:

dmesg

root@debian-kirkwood-wide:~# dmesg
[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.3.2-kirkwood-dg (davygravy@bitbaker64) (gcc version 4.6.1 (Sourcery CodeBench Lite 2011.09-70) ) #1 Mon Apr 23 17:09:27 CDT 2012
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Seagate FreeAgent DockStar
[    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 c043cd24, node_mem_map c04a4000
[    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/sda1 rootdelay=10 rootfstype=ext2 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 262144 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: 118056k/118056k available, 13016k 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]     vmalloc : 0xc8800000 - 0xff000000   ( 872 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc03e07fc   (3938 kB)
[    0.000000]       .init : 0xc03e1000 - 0xc0404000   ( 140 kB)
[    0.000000]       .data : 0xc0404000 - 0xc043f1a0   ( 237 kB)
[    0.000000]        .bss : 0xc043f1c4 - 0xc04a3228   ( 401 kB)
[    0.000000] NR_IRQS:114
[    0.000000] gpiochip_add: registered GPIOs 0 to 31 on device: orion_gpio0
[    0.000000] gpiochip_add: registered GPIOs 32 to 49 on device: orion_gpio1
[    0.000000] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474ms
[    0.000000] Console: colour dummy device 80x30
[   11.091493] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[   11.181381] pid_max: default: 32768 minimum: 301
[   11.181506] Security Framework initialized
[   11.181583] Mount-cache hash table entries: 512
[   11.181933] Initializing cgroup subsys cpuacct
[   11.181949] Initializing cgroup subsys memory
[   11.181987] Initializing cgroup subsys devices
[   11.182000] Initializing cgroup subsys freezer
[   11.182009] Initializing cgroup subsys net_cls
[   11.182018] Initializing cgroup subsys blkio
[   11.182044] Initializing cgroup subsys perf_event
[   11.182132] CPU: Testing write buffer coherency: ok
[   11.182413] Setting up static identity map for 0x2c9590 - 0x2c95cc
[   11.183529] devtmpfs: initialized
[   11.185312] print_constraints: dummy: 
[   11.185565] NET: Registered protocol family 16
[   11.186232] Kirkwood: MV88F6281-A1, TCLK=200000000.
[   11.186247] Feroceon L2: Enabling L2
[   11.186283] Feroceon L2: Cache support initialised.
[   11.186811] initial MPP regs: 01111111 11113322 00001111 00100000 00000000 00000000 00000000
[   11.186834]   final MPP regs: 01111111 11113322 00001111 00000000 00000000 00000000 00000000
[   11.188802] bio: create slab <bio-0> at 0
[   11.189172] vgaarb: loaded
[   11.189659] Switching to clocksource orion_clocksource
[   11.203690] NET: Registered protocol family 2
[   11.203922] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[   11.204601] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[   11.204702] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[   11.204761] TCP: Hash tables configured (established 4096 bind 4096)
[   11.204771] TCP reno registered
[   11.204781] UDP hash table entries: 256 (order: 0, 4096 bytes)
[   11.204803] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[   11.205020] NET: Registered protocol family 1
[   11.205054] PCI: CLS 0 bytes, default 32
[   11.205211] Unpacking initramfs...
[   11.771027] Freeing initrd memory: 6840K
[   11.771041] NetWinder Floating Point Emulator V0.97 (double precision)
[   11.771725] audit: initializing netlink socket (disabled)
[   11.771766] type=2000 audit(0.670:1): initialized
[   11.773177] VFS: Disk quotas dquot_6.5.2
[   11.773275] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   11.773380] JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[   11.773725] msgmni has been set to 243
[   11.775276] alg: No test for stdrng (krng)
[   11.775378] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[   11.775392] io scheduler noop registered
[   11.775400] io scheduler deadline registered
[   11.775449] io scheduler cfq registered (default)
[   11.775533] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
[   11.775567] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
[   11.809731] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[   11.849727] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[   11.889726] mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
[   11.929725] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
[   11.930089] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   11.950596] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[   12.415637] console [ttyS0] enabled
[   12.420053] NAND device: Manufacturer ID: 0x98, Chip ID: 0xda (Toshiba NAND 256MiB 3,3V 8-bit)
[   12.428707] Scanning device for bad blocks
[   12.584978] 4 cmdlinepart partitions found on MTD device orion_nand
[   12.591288] Creating 4 MTD partitions on "orion_nand":
[   12.596454] 0x000000000000-0x000000100000 : "u-boot"
[   12.602233] 0x000000100000-0x000000500000 : "uImage"
[   12.607975] 0x000000500000-0x000002500000 : "rootfs"
[   12.613784] 0x000002500000-0x000010000000 : "data"
[   12.620223] mousedev: PS/2 mouse device common for all mice
[   12.626199] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
[   12.632149] i2c /dev entries driver
[   12.635778] cpuidle: using governor ladder
[   12.639979] cpuidle: using governor menu
[   12.644054] Registered led device: dockstar:green:health
[   12.644150] Registered led device: dockstar:orange:misc
[   12.645046] TCP cubic registered
[   12.648289] NET: Registered protocol family 17
[   12.652785] Registering the dns_resolver key type
[   12.657588] Gating clock of unused units
[   12.657597] before: 0x00dfc3fd
[   12.657604]  after: 0x00c701c9
[   12.658020] registered taskstats version 1
[   12.662610] rtc-mv rtc-mv: setting system clock to 2013-06-05 20:48:10 UTC (1370465290)
[   12.670704] Initializing network drop monitor service
[   12.676361] Freeing init memory: 140K
[   12.730066] udev[47]: starting version 164
[   12.788426] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   12.902572] usbcore: registered new interface driver usbfs
[   12.915214] mv643xx_eth smi: probed
[   12.948375] usbcore: registered new interface driver hub
[   12.958689] usbcore: registered new device driver usb
[   12.966243] mv643xx_eth_port mv643xx_eth_port.0: eth0: port 0 with MAC address 02:50:43:d5:72:7b
[   12.977699] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   12.986777] orion-ehci orion-ehci.0: Marvell Orion EHCI
[   12.993432] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[   13.029743] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[   13.049702] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[   13.055721] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   13.062560] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   13.069829] usb usb1: Product: Marvell Orion EHCI
[   13.074558] usb usb1: Manufacturer: Linux 3.3.2-kirkwood-dg ehci_hcd
[   13.080949] usb usb1: SerialNumber: orion-ehci.0
[   13.086865] hub 1-0:1.0: USB hub found
[   13.090666] hub 1-0:1.0: 1 port detected
[   13.409707] usb 1-1: new high-speed USB device number 2 using orion-ehci
[   13.592144] usb 1-1: New USB device found, idVendor=8564, idProduct=1000
[   13.598876] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   13.606053] usb 1-1: Product: Mass Storage Device
[   13.610790] usb 1-1: Manufacturer: JetFlash
[   13.614988] usb 1-1: SerialNumber: 74V1W014QCS7GK6Q
[   13.641145] SCSI subsystem initialized
[   13.647526] usbcore: registered new interface driver uas
[   13.657421] Initializing USB Mass Storage driver...
[   13.662644] scsi0 : usb-storage 1-1:1.0
[   13.667843] usbcore: registered new interface driver usb-storage
[   13.673908] USB Mass Storage support registered.
[   15.157238] scsi 0:0:0:0: Direct-Access     JetFlash Transcend 4GB    1100 PQ: 0 ANSI: 0 CCS
[   15.179201] sd 0:0:0:0: [sda] 7913472 512-byte logical blocks: (4.05 GB/3.77 GiB)
[   15.187798] sd 0:0:0:0: [sda] Write Protect is off
[   15.192640] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[   15.193418] sd 0:0:0:0: [sda] No Caching mode page present
[   15.198933] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   15.209166] sd 0:0:0:0: [sda] No Caching mode page present
[   15.214701] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   15.223049]  sda: sda1 sda2
[   15.229412] sd 0:0:0:0: [sda] No Caching mode page present
[   15.234950] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   15.241084] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   23.865430] udev[142]: starting version 164
[   28.109808] mv643xx_eth_port mv643xx_eth_port.0: eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   45.523228] NET: Registered protocol family 10
[   45.650544] sshd (503): /proc/503/oom_adj is deprecated, please use /proc/503/oom_score_adj instead.
[   56.469840] eth0: no IPv6 routers present
root@debian-kirkwood-wide:~#

fw_printenv

root@debian-kirkwood-wide:~# fw_printenv
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
usb_rootfstype=ext2
usb_rootdelay=10
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
arcNumber=2097

Re: Bricked GoFlex Home? :(
June 05, 2013 04:34PM
Looks like when you ran the installation script, you've chosen Dockstar as the machine, not GoFlex Home? it is set to be a Dockstar now, that's why you can't see the SATA drive. You should remove the SATA drive, boot with the USB stick before doing the following:

1 .First, set up netconsole so you can recover from problem if any goes wrong later. Make sure you can see the netconsole log, and also can interrupt uBoot with netconsole before changing any thing:
http://forum.doozan.com/read.php?3,14

2. After verifying that you can interrupt netconsole and boot normally (this is important because without netconsole, you will need serial console if anything went wrong in changing uBoot envs), boot up into Debian, and then change arcNumber to the GoFlex Home
#fw_setenv arcNumber 3338

and then reboot
#shutdown -r now

3. Log in again, your dmesg should show SATA port now. If it shows SATA, you can plug the drive in while the system is running.

4. To boot with both drives attached, you will need to change some uBoot envs. But worry about that later after you got the SATA drive working.
Re: Bricked GoFlex Home? :(
June 05, 2013 05:40PM
ok here is what i did:
1. switched off and removed SATA drive from dockstation
2. started up with usb stick in. it loaded with IP 192.168.11.22 and some MAC address.
3. i connected via ssh to that IP with root/root
4. entered into ssh prompt following
fw_setenv serverip 192.168.11.12
fw_setenv ipaddr 192.168.11.22
fw_setenv if_netconsole 'ping $serverip'
fw_setenv start_netconsole 'setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;'
fw_setenv preboot 'run if_netconsole start_netconsole'
11.12 is my notebook ip address
11.22 assigned to goflex

5. then i opened another terminal window and entered into prompt:
nc -l -u -p 6666 &
nc -u 192.168.11.22 6666

6. switched goflex off and then on again. in nc section i see this

root@dave:~# nc -l -u -p 6666 &
[2] 17749
root@dave:~# nc -u 192.168.11.22 6666

U-Boot 2011.12 (Feb 12 2012 - 21:33:07)
Seagate FreeAgent DockStar
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:  1 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)
2279256 bytes read
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
7004538 bytes read
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-3.3.2
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2279192 Bytes = 2.2 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-3.3.2-kirkwood-dg
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7004474 Bytes = 6.7 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

IP address has changed by DHCP to 192.168.11.23 and MAC address changed.
Did i do the right steps? Or should i boot without usb stick (just the dockstation)?
my next step (7) is #fw_setenv arcNumber 3338 and then reboot #shutdown -r now ?



Edited 1 time(s). Last edit at 06/05/2013 05:54PM by dave.opc.
Re: Bricked GoFlex Home? :(
June 05, 2013 06:11PM
Did you try to stop uBoot during countdown (type ctrl-j repeatedly)? Make sure you can do that before changing arcNumber.

If you can't interrupt uBoot, try this for second nc command
nc -up 6666 192.168.11.22 6666

After stoping uBoot. At the prompt, to continue booting run the boot command
boot


Once you can boot it this way,then change arcNumber and reboot.

Your IP is set to dynamic. After reboot successfully,you can change it to static IP 192.168.11.22 in /etc/network/interfaces.
Re: Bricked GoFlex Home? :(
June 05, 2013 06:46PM
at the nc when it began the countdown i pressed CTRL+J 3-4 time.
The countdown stoped as we can see here
root@dave:~# nc -u 192.168.11.22 6666

U-Boot 2011.12 (Feb 12 2012 - 21:33:07)
Seagate FreeAgent DockStar
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:  7

ok my usb stick stopped responding, then i just typed "boot" (on blank screen without prompt) an usb stick continued loading. Does it mean i can go on with changing arcnumb?

p.s. second command
nc -up 6666 192.168.11.22 6666
dosn't work, it says
root@dave:~# nc -up 6666 192.168.11.22 6666
nc: bind failed: Address already in use



Edited 1 time(s). Last edit at 06/05/2013 07:28PM by dave.opc.
Re: Bricked GoFlex Home? :(
June 05, 2013 08:14PM
_Ok so i checked that i can interrupt console.
I booted from USB stick, logged in root/root, entered fw_setenv arcNumber 3338, then shutdown -r now
goflex rebooted i logged in
Here is dmesg

root@debian-kirkwood-wide:~# dmesg
[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.3.2-kirkwood-dg (davygravy@bitbaker64) (gcc version 4.6.1 (Sourcery CodeBench Lite 2011.09-70) ) #1 Mon Apr 23 17:09:27 CDT 2012
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Seagate FreeAgent DockStar
[    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 c043cd24, node_mem_map c04a4000
[    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/sda1 rootdelay=10 rootfstype=ext2 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 262144 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: 118056k/118056k available, 13016k 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]     vmalloc : 0xc8800000 - 0xff000000   ( 872 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc03e07fc   (3938 kB)
[    0.000000]       .init : 0xc03e1000 - 0xc0404000   ( 140 kB)
[    0.000000]       .data : 0xc0404000 - 0xc043f1a0   ( 237 kB)
[    0.000000]        .bss : 0xc043f1c4 - 0xc04a3228   ( 401 kB)
[    0.000000] NR_IRQS:114
[    0.000000] gpiochip_add: registered GPIOs 0 to 31 on device: orion_gpio0
[    0.000000] gpiochip_add: registered GPIOs 32 to 49 on device: orion_gpio1
[    0.000000] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474ms
[    0.000000] Console: colour dummy device 80x30
[   18.995405] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[   19.085291] pid_max: default: 32768 minimum: 301
[   19.085417] Security Framework initialized
[   19.085494] Mount-cache hash table entries: 512
[   19.085844] Initializing cgroup subsys cpuacct
[   19.085859] Initializing cgroup subsys memory
[   19.085896] Initializing cgroup subsys devices
[   19.085908] Initializing cgroup subsys freezer
[   19.085917] Initializing cgroup subsys net_cls
[   19.085926] Initializing cgroup subsys blkio
[   19.085951] Initializing cgroup subsys perf_event
[   19.086038] CPU: Testing write buffer coherency: ok
[   19.086318] Setting up static identity map for 0x2c9590 - 0x2c95cc
[   19.087436] devtmpfs: initialized
[   19.089219] print_constraints: dummy: 
[   19.089467] NET: Registered protocol family 16
[   19.090132] Kirkwood: MV88F6281-A1, TCLK=200000000.
[   19.090147] Feroceon L2: Enabling L2
[   19.090182] Feroceon L2: Cache support initialised.
[   19.090712] initial MPP regs: 01111111 11113322 00001111 00100000 00000000 00000000 00000000
[   19.090735]   final MPP regs: 01111111 11113322 00001111 00000000 00000000 00000000 00000000
[   19.092705] bio: create slab <bio-0> at 0
[   19.093076] vgaarb: loaded
[   19.093562] Switching to clocksource orion_clocksource
[   19.107587] NET: Registered protocol family 2
[   19.107818] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[   19.108495] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[   19.108595] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[   19.108654] TCP: Hash tables configured (established 4096 bind 4096)
[   19.108664] TCP reno registered
[   19.108674] UDP hash table entries: 256 (order: 0, 4096 bytes)
[   19.108696] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[   19.108914] NET: Registered protocol family 1
[   19.108947] PCI: CLS 0 bytes, default 32
[   19.109105] Unpacking initramfs...
[   19.674972] Freeing initrd memory: 6840K
[   19.674986] NetWinder Floating Point Emulator V0.97 (double precision)
[   19.675668] audit: initializing netlink socket (disabled)
[   19.675709] type=2000 audit(0.670:1): initialized
[   19.677119] VFS: Disk quotas dquot_6.5.2
[   19.677215] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   19.677321] JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[   19.677667] msgmni has been set to 243
[   19.679217] alg: No test for stdrng (krng)
[   19.679320] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[   19.679334] io scheduler noop registered
[   19.679342] io scheduler deadline registered
[   19.679392] io scheduler cfq registered (default)
[   19.679476] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
[   19.679511] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
[   19.713634] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[   19.753631] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[   19.793629] mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
[   19.833629] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
[   19.833991] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   19.854495] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[   20.319540] console [ttyS0] enabled
[   20.323951] NAND device: Manufacturer ID: 0x98, Chip ID: 0xda (Toshiba NAND 256MiB 3,3V 8-bit)
[   20.332609] Scanning device for bad blocks
[   20.488825] 4 cmdlinepart partitions found on MTD device orion_nand
[   20.495129] Creating 4 MTD partitions on "orion_nand":
[   20.500295] 0x000000000000-0x000000100000 : "u-boot"
[   20.506076] 0x000000100000-0x000000500000 : "uImage"
[   20.511827] 0x000000500000-0x000002500000 : "rootfs"
[   20.517634] 0x000002500000-0x000010000000 : "data"
[   20.524071] mousedev: PS/2 mouse device common for all mice
[   20.530044] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
[   20.535991] i2c /dev entries driver
[   20.539619] cpuidle: using governor ladder
[   20.543820] cpuidle: using governor menu
[   20.547896] Registered led device: dockstar:green:health
[   20.547992] Registered led device: dockstar:orange:misc
[   20.548886] TCP cubic registered
[   20.552131] NET: Registered protocol family 17
[   20.556627] Registering the dns_resolver key type
[   20.561428] Gating clock of unused units
[   20.561437] before: 0x00dfc3fd
[   20.561445]  after: 0x00c701c9
[   20.561861] registered taskstats version 1
[   20.566448] rtc-mv rtc-mv: setting system clock to 2013-06-06 01:08:26 UTC (1370480906)
[   20.574546] Initializing network drop monitor service
[   20.580204] Freeing init memory: 140K
[   20.633967] udev[47]: starting version 164
[   20.690978] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   20.741298] usbcore: registered new interface driver usbfs
[   20.816218] mv643xx_eth smi: probed
[   20.851860] usbcore: registered new interface driver hub
[   20.861694] usbcore: registered new device driver usb
[   20.869664] mv643xx_eth_port mv643xx_eth_port.0: eth0: port 0 with MAC address 02:50:43:ce:2f:95
[   20.881160] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   20.890605] orion-ehci orion-ehci.0: Marvell Orion EHCI
[   20.895948] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[   20.933651] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[   20.953606] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[   20.959633] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   20.966476] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   20.973744] usb usb1: Product: Marvell Orion EHCI
[   20.978469] usb usb1: Manufacturer: Linux 3.3.2-kirkwood-dg ehci_hcd
[   20.984862] usb usb1: SerialNumber: orion-ehci.0
[   20.990808] hub 1-0:1.0: USB hub found
[   20.994614] hub 1-0:1.0: 1 port detected
[   21.313611] usb 1-1: new high-speed USB device number 2 using orion-ehci
[   21.496111] usb 1-1: New USB device found, idVendor=8564, idProduct=1000
[   21.502849] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   21.510027] usb 1-1: Product: Mass Storage Device
[   21.514762] usb 1-1: Manufacturer: JetFlash
[   21.518961] usb 1-1: SerialNumber: 74V1W014QCS7GK6Q
[   21.545105] SCSI subsystem initialized
[   21.551482] usbcore: registered new interface driver uas
[   21.561379] Initializing USB Mass Storage driver...
[   21.566599] scsi0 : usb-storage 1-1:1.0
[   21.571803] usbcore: registered new interface driver usb-storage
[   21.577862] USB Mass Storage support registered.
[   23.035079] scsi 0:0:0:0: Direct-Access     JetFlash Transcend 4GB    1100 PQ: 0 ANSI: 0 CCS
[   23.056913] sd 0:0:0:0: [sda] 7913472 512-byte logical blocks: (4.05 GB/3.77 GiB)
[   23.065641] sd 0:0:0:0: [sda] Write Protect is off
[   23.070462] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[   23.071133] sd 0:0:0:0: [sda] No Caching mode page present
[   23.076659] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   23.086882] sd 0:0:0:0: [sda] No Caching mode page present
[   23.092398] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   23.100768]  sda: sda1 sda2
[   23.107007] sd 0:0:0:0: [sda] No Caching mode page present
[   23.112524] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   23.118664] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   31.765061] udev[142]: starting version 164
[   35.959317] mv643xx_eth_port mv643xx_eth_port.0: eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   52.466528] NET: Registered protocol family 10
[   52.602841] sshd (497): /proc/497/oom_adj is deprecated, please use /proc/497/oom_score_adj instead.
[   62.643735] eth0: no IPv6 routers present
root@debian-kirkwood-wide:~#

I dont' see SATA :(
Re: Bricked GoFlex Home? :(
June 05, 2013 09:15PM
I believe while in UBoot you need to use setenv and saveenv in order for the environment varialbes to set and save properly (type help to get the commands).

fw_setenv is for within debian.

Its been a while though so I could be wrong.
Re: Bricked GoFlex Home? :(
June 05, 2013 10:58PM
@dave.opc,

You are still running as Dockstar. The fw_setenv in Debian does work (optim is correct that in uBoot it is setenv and saveenv). In Debian prompt

fw_printenv arcNumber
will show if it is 3338.

If is 3338, then you also need to set machid env:
fw_setenv machid D0A

Then reboot. I hope this will work.

If not then you will need to reinstall uBoot. I asked above if during installation you have chosen Dockstar instead of GoFlex Home/GoFlex Net, do you remember or have a log to look at?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 2 time(s). Last edit at 06/05/2013 11:04PM by bodhi.
Re: Bricked GoFlex Home? :(
June 06, 2013 03:42AM
bodhi Wrote:
-------------------------------------------------------
> @dave.opc,
>
> You are still running as Dockstar. The fw_setenv
> in Debian does work (optim is correct that in
> uBoot it is setenv and saveenv). In Debian prompt
>
>
> fw_printenv arcNumber
> will show if it is 3338.
>
> If is 3338, then you also need to set machid env:
>
> fw_setenv machid D0A
>
> Then reboot. I hope this will work.
>
> If not then you will need to reinstall uBoot. I
> asked above if during installation you have chosen
> Dockstar instead of GoFlex Home/GoFlex Net, do you
> remember or have a log to look at?


Sorry if i look like a noob, i am total :)
During installing the debian kirkwood i didn't get any prompt about selection goflex or dockstar. it just stopped executing with bootstrap error. i placed a log above (if you mean this during installation)
I just removed the SATA drive, inserted usb stick, and wanted to install system onto usb stick drive so i could use it as bootable device. The thing i did this, because in the tutorial i saw installation onto /dev/sda and the only way i could get /dev/sda for usb was to load without sata drive installed in the cradle...

Now. I logged in and executed command fw_setenv arcNumber 3338
daveopc@dave:~$ ssh root@192.168.11.28
root@192.168.11.28's password: 
Linux debian-kirkwood-wide 3.3.2-kirkwood-dg #1 Mon Apr 23 17:09:27 CDT 2012 armv5tel

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Jun  6 01:00:41 2013 from 192.168.11.10
root@debian-kirkwood-wide:~# fw_setenv arcNumber 3338
root@debian-kirkwood-wide:~# shutdown -r now

after this

root@debian-kirkwood-wide:~# fw_printenv arcNumber
arcNumber=3338

the i did
root@debian-kirkwood-wide:~# fw_setenv machid D0A
root@debian-kirkwood-wide:~# reboot

dmesg showed up SATA i guess

root@debian-kirkwood-wide:~# dmesg
[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.3.2-kirkwood-dg (davygravy@bitbaker64) (gcc version 4.6.1 (Sourcery CodeBench Lite 2011.09-70) ) #1 Mon Apr 23 17:09:27 CDT 2012
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Seagate GoFlex Home
[    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 c043cd24, node_mem_map c04a4000
[    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/sda1 rootdelay=10 rootfstype=ext2 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 262144 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: 118056k/118056k available, 13016k 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]     vmalloc : 0xc8800000 - 0xff000000   ( 872 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc03e07fc   (3938 kB)
[    0.000000]       .init : 0xc03e1000 - 0xc0404000   ( 140 kB)
[    0.000000]       .data : 0xc0404000 - 0xc043f1a0   ( 237 kB)
[    0.000000]        .bss : 0xc043f1c4 - 0xc04a3228   ( 401 kB)
[    0.000000] NR_IRQS:114
[    0.000000] gpiochip_add: registered GPIOs 0 to 31 on device: orion_gpio0
[    0.000000] gpiochip_add: registered GPIOs 32 to 49 on device: orion_gpio1
[    0.000000] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474ms
[    0.000000] Console: colour dummy device 80x30
[   19.001673] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[   19.091557] pid_max: default: 32768 minimum: 301
[   19.091684] Security Framework initialized
[   19.091763] Mount-cache hash table entries: 512
[   19.092113] Initializing cgroup subsys cpuacct
[   19.092128] Initializing cgroup subsys memory
[   19.092166] Initializing cgroup subsys devices
[   19.092178] Initializing cgroup subsys freezer
[   19.092186] Initializing cgroup subsys net_cls
[   19.092194] Initializing cgroup subsys blkio
[   19.092218] Initializing cgroup subsys perf_event
[   19.092306] CPU: Testing write buffer coherency: ok
[   19.092586] Setting up static identity map for 0x2c9590 - 0x2c95cc
[   19.093695] devtmpfs: initialized
[   19.095478] print_constraints: dummy: 
[   19.095732] NET: Registered protocol family 16
[   19.096397] Kirkwood: MV88F6281-A1, TCLK=200000000.
[   19.096412] Feroceon L2: Enabling L2
[   19.096448] Feroceon L2: Cache support initialised.
[   19.096978] initial MPP regs: 01111111 11113322 00001111 00100000 00000000 00000000 00000000
[   19.097001]   final MPP regs: 01111111 11113322 00001111 00000000 00000000 00000000 00000000
[   19.099034] bio: create slab <bio-0> at 0
[   19.099398] vgaarb: loaded
[   19.099894] Switching to clocksource orion_clocksource
[   19.113922] NET: Registered protocol family 2
[   19.114154] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[   19.114834] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[   19.114934] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[   19.114993] TCP: Hash tables configured (established 4096 bind 4096)
[   19.115003] TCP reno registered
[   19.115013] UDP hash table entries: 256 (order: 0, 4096 bytes)
[   19.115035] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[   19.115253] NET: Registered protocol family 1
[   19.115287] PCI: CLS 0 bytes, default 32
[   19.115445] Unpacking initramfs...
[   19.681279] Freeing initrd memory: 6840K
[   19.681293] NetWinder Floating Point Emulator V0.97 (double precision)
[   19.681977] audit: initializing netlink socket (disabled)
[   19.682019] type=2000 audit(0.670:1): initialized
[   19.683438] VFS: Disk quotas dquot_6.5.2
[   19.683536] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   19.683640] JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[   19.683984] msgmni has been set to 243
[   19.685533] alg: No test for stdrng (krng)
[   19.685638] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[   19.685651] io scheduler noop registered
[   19.685659] io scheduler deadline registered
[   19.685708] io scheduler cfq registered (default)
[   19.685793] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
[   19.685827] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
[   19.719965] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[   19.759961] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[   19.799961] mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
[   19.839961] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
[   19.840315] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   19.860812] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[   20.325249] console [ttyS0] enabled
[   20.329711] NAND device: Manufacturer ID: 0x98, Chip ID: 0xda (Toshiba NAND 256MiB 3,3V 8-bit)
[   20.338392] Scanning device for bad blocks
[   20.556407] 4 cmdlinepart partitions found on MTD device orion_nand
[   20.562716] Creating 4 MTD partitions on "orion_nand":
[   20.567882] 0x000000000000-0x000000100000 : "u-boot"
[   20.573678] 0x000000100000-0x000000500000 : "uImage"
[   20.579414] 0x000000500000-0x000002500000 : "rootfs"
[   20.585224] 0x000002500000-0x000010000000 : "data"
[   20.591666] mousedev: PS/2 mouse device common for all mice
[   20.597631] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
[   20.603582] i2c /dev entries driver
[   20.607211] cpuidle: using governor ladder
[   20.611416] cpuidle: using governor menu
[   20.615485] Registered led device: status:green:health
[   20.615580] Registered led device: status:orange:fault
[   20.615685] Registered led device: status:white:misc
[   20.616581] TCP cubic registered
[   20.619823] NET: Registered protocol family 17
[   20.624320] Registering the dns_resolver key type
[   20.629076] Gating clock of unused units
[   20.629085] before: 0x00dfc3fd
[   20.629092]  after: 0x00c741c9
[   20.629518] registered taskstats version 1
[   20.634109] rtc-mv rtc-mv: setting system clock to 2013-06-06 08:24:52 UTC (1370507092)
[   20.642210] Initializing network drop monitor service
[   20.647862] Freeing init memory: 140K
[   20.700301] udev[47]: starting version 164
[   20.747205] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   20.846254] usbcore: registered new interface driver usbfs
[   20.856945] SCSI subsystem initialized
[   20.896306] mv643xx_eth smi: probed
[   20.930912] usbcore: registered new interface driver hub
[   20.956580] mv643xx_eth_port mv643xx_eth_port.0: eth0: port 0 with MAC address 02:50:43:88:10:1a
[   20.975172] usbcore: registered new device driver usb
[   20.982709] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   20.993836] libata version 3.00 loaded.
[   20.995642] sata_mv sata_mv.0: version 1.28
[   20.995733] sata_mv sata_mv.0: slots 32 ports 1
[   21.004562] scsi0 : sata_mv
[   21.007983] ata1: SATA max UDMA/133 irq 21
[   21.012288] orion-ehci orion-ehci.0: Marvell Orion EHCI
[   21.018850] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[   21.050011] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[   21.069962] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[   21.075984] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   21.082824] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   21.090093] usb usb1: Product: Marvell Orion EHCI
[   21.094818] usb usb1: Manufacturer: Linux 3.3.2-kirkwood-dg ehci_hcd
[   21.101210] usb usb1: SerialNumber: orion-ehci.0
[   21.106728] hub 1-0:1.0: USB hub found
[   21.110531] hub 1-0:1.0: 1 port detected
[   21.359948] ata1: SATA link down (SStatus 0 SControl F300)
[   21.429964] usb 1-1: new high-speed USB device number 2 using orion-ehci
[   21.612400] usb 1-1: New USB device found, idVendor=8564, idProduct=1000
[   21.619136] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   21.626318] usb 1-1: Product: Mass Storage Device
[   21.631061] usb 1-1: Manufacturer: JetFlash
[   21.635266] usb 1-1: SerialNumber: 74V1W014QCS7GK6Q
[   21.663476] usbcore: registered new interface driver uas
[   21.673492] Initializing USB Mass Storage driver...
[   21.678689] scsi1 : usb-storage 1-1:1.0
[   21.683836] usbcore: registered new interface driver usb-storage
[   21.689870] USB Mass Storage support registered.
[   23.183620] scsi 1:0:0:0: Direct-Access     JetFlash Transcend 4GB    1100 PQ: 0 ANSI: 0 CCS
[   23.205702] sd 1:0:0:0: [sda] 7913472 512-byte logical blocks: (4.05 GB/3.77 GiB)
[   23.214177] sd 1:0:0:0: [sda] Write Protect is off
[   23.218995] sd 1:0:0:0: [sda] Mode Sense: 43 00 00 00
[   23.219670] sd 1:0:0:0: [sda] No Caching mode page present
[   23.225200] sd 1:0:0:0: [sda] Assuming drive cache: write through
[   23.235420] sd 1:0:0:0: [sda] No Caching mode page present
[   23.240953] sd 1:0:0:0: [sda] Assuming drive cache: write through
[   23.249427]  sda: sda1 sda2
[   23.255670] sd 1:0:0:0: [sda] No Caching mode page present
[   23.261200] sd 1:0:0:0: [sda] Assuming drive cache: write through
[   23.267320] sd 1:0:0:0: [sda] Attached SCSI removable disk
[   32.494586] udev[155]: starting version 164
[   36.687843] mv643xx_eth_port mv643xx_eth_port.0: eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   54.042805] NET: Registered protocol family 10
[   54.203151] sshd (511): /proc/511/oom_adj is deprecated, please use /proc/511/oom_score_adj instead.
[   64.840078] eth0: no IPv6 routers present

i connected sata drive into bay

root@debian-kirkwood-wide:~# fdisk -l

Disk /dev/mtdblock0: 1 MB, 1048576 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mtdblock0 doesn't contain a valid partition table

Disk /dev/mtdblock1: 4 MB, 4194304 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xee020f10

Disk /dev/mtdblock1 doesn't contain a valid partition table

Disk /dev/mtdblock2: 33 MB, 33554432 bytes
255 heads, 63 sectors/track, 4 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xffffffff

Disk /dev/mtdblock2 doesn't contain a valid partition table

Disk /dev/mtdblock3: 229 MB, 229638144 bytes
255 heads, 63 sectors/track, 27 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xffffffff

Disk /dev/mtdblock3 doesn't contain a valid partition table

Disk /dev/sda: 4051 MB, 4051697664 bytes
255 heads, 63 sectors/track, 492 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000c2c22

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *         294         460     1341427+  83  Linux
/dev/sda2             461         492      257040   82  Linux swap / Solaris
root@debian-kirkwood-wide:~# fdisk -l

Disk /dev/mtdblock0: 1 MB, 1048576 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mtdblock0 doesn't contain a valid partition table

Disk /dev/mtdblock1: 4 MB, 4194304 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xee020f10

Disk /dev/mtdblock1 doesn't contain a valid partition table

Disk /dev/mtdblock2: 33 MB, 33554432 bytes
255 heads, 63 sectors/track, 4 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xffffffff

Disk /dev/mtdblock2 doesn't contain a valid partition table

Disk /dev/mtdblock3: 229 MB, 229638144 bytes
255 heads, 63 sectors/track, 27 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xffffffff

Disk /dev/mtdblock3 doesn't contain a valid partition table

Disk /dev/sda: 4051 MB, 4051697664 bytes
255 heads, 63 sectors/track, 492 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000c2c22

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *         294         460     1341427+  83  Linux
/dev/sda2             461         492      257040   82  Linux swap / Solaris

Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        2433    19543041   83  Linux
Partition 1 does not start on physical sector boundary.
/dev/sdb2            2434      243201  1933968960   83  Linux
Partition 2 does not start on physical sector boundary.

Is this right? (sorry again that i am noob)



Edited 1 time(s). Last edit at 06/06/2013 03:45AM by dave.opc.
Re: Bricked GoFlex Home? :(
June 06, 2013 05:07AM
dave.opc, you got it working :) (just what I've suspected, the machid was needed). The installation script must have detected your machine type. But current uBoot version still needs machid to work properly.

dmesg
> [   20.993836] libata version 3.00 loaded.
> [   20.995642] sata_mv sata_mv.0: version 1.28
> [   20.995733] sata_mv sata_mv.0: slots 32 ports
> 1
> [   21.004562] scsi0 : sata_mv
> [   21.007983] ata1: SATA max UDMA/133 irq 21
>

fdisk
> Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
> 255 heads, 63 sectors/track, 243201 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Sector size (logical/physical): 512 bytes / 4096
> bytes
> I/O size (minimum/optimal): 4096 bytes / 4096
> bytes
> Disk identifier: 0x00000000
> 
>    Device Boot      Start         End      Blocks 
>  Id  System
> /dev/sdb1               1        2433    19543041 
>  83  Linux
> Partition 1 does not start on physical sector
> boundary.
> /dev/sdb2            2434      243201  1933968960 
>  83  Linux
> Partition 2 does not start on physical sector
> boundary.

If the disk has been formatted and has data then mount it. Or you can try to format it (if it's OK to erase) as Ext3, ntfs, .... and mount it on a directory such as /media/SATAHDD.
Re: Bricked GoFlex Home? :(
June 06, 2013 05:56AM
ok, good
i have to do these:
fdisk /dev/sdb
delete all partitions
make sdb1 linux (about 20gb)
sdb2 swap (about 1gb)
sdb3 linux ext3 (for files)

after exiting i got this:

root@debian-kirkwood-wide:~# fdisk -l

Disk /dev/mtdblock0: 1 MB, 1048576 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mtdblock0 doesn't contain a valid partition table

Disk /dev/mtdblock1: 4 MB, 4194304 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xee020f10

Disk /dev/mtdblock1 doesn't contain a valid partition table

Disk /dev/mtdblock2: 33 MB, 33554432 bytes
255 heads, 63 sectors/track, 4 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xffffffff

Disk /dev/mtdblock2 doesn't contain a valid partition table

Disk /dev/mtdblock3: 229 MB, 229638144 bytes
255 heads, 63 sectors/track, 27 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xffffffff

Disk /dev/mtdblock3 doesn't contain a valid partition table

Disk /dev/sda: 4051 MB, 4051697664 bytes
255 heads, 63 sectors/track, 492 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000c2c22

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *         294         460     1341427+  83  Linux
/dev/sda2             461         492      257040   82  Linux swap / Solaris

Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xddd4e074

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1        2612    20980856+  83  Linux
Partition 1 does not start on physical sector boundary.
/dev/sdb2            2612        2744     1052260   82  Linux swap / Solaris
/dev/sdb3            2744      243201  1931478884+  83  Linux
root@debian-kirkwood-wide:~#

still it writes Partition 1 has some error...



Edited 1 time(s). Last edit at 06/06/2013 06:39AM by dave.opc.
Re: Bricked GoFlex Home? :(
June 06, 2013 06:48PM
Did you reboot after delete/create partitions?
Re: Bricked GoFlex Home? :(
June 07, 2013 02:07AM
yes, several times.
even if i create 1 partition it still says that error.

but there is a problem

if i start goflex with SATA in i got error in nc log

U-Boot 2011.12 (Feb 12 2012 - 21:33:07)
Seagate FreeAgent DockStar
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)
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
 ** ext2fs_devread read error - block
** Unable to read "/boot/uImage" from usb 0:1 **
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
Device NOT ready
   Request Sense returned 00 00 00
** Can't read partition table on 0:0 **
** Bad partition 1 **
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-3.3.2
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2279192 Bytes = 2.2 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image!
stopping USB..
### JFFS2 loading 'uboot-original-mtd0.kwb' to 0x800000
Scanning JFFS2 FS:  done.
find_inode failed for name=uboot-original-mtd0.kwb
load: Failed to find inode
### JFFS2 LOAD ERROR<0> for uboot-original-mtd0.kwb!
### JFFS2 loading 'uboot-original-mtd0.kwb' to 0x800000
Scanning JFFS2 FS:  done.
find_inode failed for name=uboot-original-mtd0.kwb
load: Failed to find inode
### JFFS2 LOAD ERROR<0> for uboot-original-mtd0.kwb!
resetting ...

U-Boot 2011.12 (Feb 12 2012 - 21:33:07)
Seagate FreeAgent DockStar
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)
2279256 bytes read
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
7004538 bytes read
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-3.3.2
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2279192 Bytes = 2.2 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-3.3.2-kirkwood-dg
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7004474 Bytes = 6.7 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK
Using machid 0xd0a from environment

Starting kernel ...

and ssh dosn't start.... i dont see any IP in my router.
without SATA in it starts as before.



Edited 1 time(s). Last edit at 06/07/2013 02:22AM by dave.opc.
Re: Bricked GoFlex Home? :(
June 07, 2013 03:25AM
hmmm... one more try and it loaded with SATA installed. Seems it has that error above, when it can't read from USB stick sometimes, removing and installing usb stick again, solves this.
But still with SATA installed it loads without that error, but ssh dosnt start, i see that on my usb stick, it stops flashing after nc writes "Starting kernel". Without SATA after "Starting kernel" i see usb stick flashing for like 15 more seconds and ssh starts.
Re: Bricked GoFlex Home? :(
June 07, 2013 03:55AM
dave.opc,

Look back what I wrote above:
-------------------------------------------------------

> 4. To boot with both drives attached, you will
> need to change some uBoot envs. But worry about
> that later after you got the SATA drive working.
-------------------------------------------------------

First step is to format the SATA HDD, and then set some uBoot envs. You can look at my envs here. Basically, there are 5 new/modified items to do. Ignore 4 and 5 if you never boot a SATA rootfs.

1. usb_rootfstype env (match this with yours,you are using ext2)
2. set usb partition sda1 label to rootfs (use command tune2fs -L rootfs /dev/sda1)
3. usb_root env set to "rootfs"
4. sata boot envs setup
5. boot command envs setup


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

usb_rootfstype=ext3
usb_init=run usb_scan ; setenv usb_root LABEL=rootfs

sata_boot=ide reset; mw 0x800000 0 1; ext2load ide 0:1 0x800000 /boot/uImage; if ext2load ide 0:1 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
sata_bootcmd=run usb_set_bootargs; run sata_boot

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



Edited 1 time(s). Last edit at 06/07/2013 03:57AM by bodhi.
Re: Bricked GoFlex Home? :(
June 07, 2013 04:12AM
Sorry but i am stuck on this step.
I did make 1 partition on sata drive using fdisk, used "w" to write changes. then rebooted the device.
now to set those envs i should start loading goflex and when the countdown appears i should interrupt with CTRL+J and enter those commands you set in code?


2. set usb partition sda1 label to rootfs (use command tune2fs -L rootfs /dev/sda1)
This command is for debian, should i execute it before reboot and entering envs in ub loader?



Edited 2 time(s). Last edit at 06/07/2013 09:12AM by dave.opc.
Re: Bricked GoFlex Home? :(
June 07, 2013 12:54PM
With only the USB stick plugged in, boot into Debian, and

1. Use fw_setenv to set uBoot envs the same way you set arcNumber before (put the value in quote if there is space)

fw_setenv usb_rootfstype ext2
fw_setenv usb_init 'run usb_scan ; setenv usb_root LABEL=rootfs'


2. Use tune2fs command to set label
tune2fs -L rootfs /dev/sda1

3. Reboot to verify that it boots successfully.
4. Shutdown, unplug the power, plug in the SATA disk.
5. Power up again. After it booted into Debian, verify the disks are mounted correctly:
mount

The USB stick should show:
/dev/disk/by-label/rootfs on / type ext2 (rw,noatime,errors=remount-ro)

And the HDD should show /dev/sda1 and other info.



Edited 1 time(s). Last edit at 06/07/2013 12:55PM by bodhi.
Re: Bricked GoFlex Home? :(
June 07, 2013 03:09PM
Before i deleted all partiotions on SATA drive and made 1 partition. Then used
mount /dev/sda1 /media/SATAHDD

After reboot it was not mounted there (mount dosn't show it)

After setting your envs (from last post) it boots from USB with SATA installed, but i have to manually mount SATA drive to /media/SATAHDD, because after reboot it shows this:

root@debian-kirkwood-wide:~# mount
/dev/sdb1 on / type ext3 (rw,noatime,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
tmpfs on /tmp type tmpfs (rw)

after using mount /dev/sda1 /media/SATAHDD it appears:

root@debian-kirkwood-wide:~# mount
/dev/sdb1 on / type ext3 (rw,noatime,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
tmpfs on /tmp type tmpfs (rw)
/dev/sda1 on /media/SATAHDD type ext3 (rw)

a bit weird why sdb1 shown as ext3... should be ext2. when i open this usb on Partition Editor in Kubuntu it shows its ext2.
Re: Bricked GoFlex Home? :(
June 07, 2013 03:56PM
Ah! I forgot that our minimal Debian rootfs usually does not have automount enable. So I guess Davy's rootfs does not have udev rules defined for that. You could either change udev rules to automount the HDD, or add fstab entry to mount it when the kernel starts, or add a mount command to /etc/rc.local to mount it at the end of kernel startup.

udev rules grammar is a little hard to get it right the first time. fstab has drawback because you can't remove and plug it in later when the system is running. So to keep it flexible, the easiest way is to add that mount command to the end of /etc/rc.local just before the statement "exit 0".

Yeah, it's weird that it was ext2 in Kubuntu. You could run this to see what fs type as udev sees this partition. I'd bet it is ext3.
udevadm info --query=all --name=/dev/sda1 | grep -i id_fs_type
Re: Bricked GoFlex Home? :(
June 07, 2013 04:45PM
yeah
root@debian-kirkwood-wide:~# udevadm info --query=all --name=/dev/sda1 | grep -i id_fs_type
E: ID_FS_TYPE=ext3

So for now, how do i install debian onto goflex, so i will be able to boot from the SATA device itself without usb stick?
Do i have to try debian squeeze installation?
Re: Bricked GoFlex Home? :(
June 07, 2013 06:35PM
dave.opc,

You can clone the USB stick to the HDD.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Bricked GoFlex Home? :(
June 07, 2013 06:51PM
can you tell how?
and just for my knowledge how can i return to original FW ?
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: