I have a GoFlex Home that I installed Arch on. It was working great until I came home yesterday and noticed apache was down. When I tried to connect with ssh I got a warning that the server fingerprint changed and I wasn't able to log in with my public key or with my password. I turned it off to try to connect it to my laptop, but the connector on the SATA->USB board I have wasn't long enough, so I put the hard drive back on the dock. I don't have a desktop computer I to connect it to. Then I set up netcat to listen on the addresses/ports that the GoFlex sends kernel and bootloader messages and noticed some errors:
$this->bbcode_second_pass_code('', '[ 221.537030] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
[ 221.543519] ata1.00: edma_err_cause=00000084 pp_flags=00000001, dev error, EDMA self-disable
[ 221.552030] ata1.00: failed command: READ DMA
[ 221.556453] ata1.00: cmd c8/00:28:df:b0:25/00:00:00:00:00/e1 tag 0 dma 20480 in
[ 221.556460] res 51/40:00:f0:b0:25/00:00:00:00:00/01 Emask 0x9 (media error)
[ 221.571602] ata1.00: status: { DRDY ERR }
[ 221.575655] ata1.00: error: { UNC }
[ 222.185838] end_request: I/O error, dev sda, sector 19247344
[ 222.191548] JBD: Failed to read block at offset 13321
[ 222.196881] EXT4-fs (sda1): error loading journal')
That's the kernel log, and those ata errors would repeat ~10 times (I didn't count), then the 3 lines at the bottom, and then it starts over again. Here's the bootloader log:
$this->bbcode_second_pass_code('', 'U-Boot 2010.09 (Feb 16 2011 - 18:44:23)
UBIT v0.6 by Jeff Doozan and Peter Carmichael
(Re)start USB...
USB: Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 1 USB Device(s) found
scanning bus for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:fast", error -19
Error reading superblock on volume 'ubi:fast'!
UBIFS not mounted, use ubifs mount to mount volume first!
** Block device usb 0 not supported
** Block device usb 0 not supported
** Invalid boot device **
** Invalid boot device **
** Block device usb 1 not supported
** Block device usb 1 not supported
** Invalid boot device **
** Invalid boot device **
** Block device usb 2 not supported
** Block device usb 2 not supported
** Invalid boot device **
** Invalid boot device **
** Block device usb 3 not supported
** Block device usb 3 not supported
** Invalid boot device **
** Invalid boot device **
Reset IDE: Bus 0: OK Bus 1: not available
Device 0: Model: ST2000DL003-9VT166 Firm: CC98 Ser#: 5YD2SHSL
Type: Hard Disk
Supports 48-bit addressing
Capacity: 1907729.0 MB = 1863.0 GB (-387938128 x 512)
Loading file "/boot/uImage" from ide device 0:1 (hda1)
2855240 bytes read
Loading file "/uInitrd" from ide device 0:1 (hda1)
** File not found /uInitrd
Loading file "/boot/uInitrd" from ide device 0:1 (hda1)
2643606 bytes read
## Booting kernel from Legacy Image at 00680000 ...
Image Name: Linux-3.1.10-14-ARCH
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2855176 Bytes = 2.7 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
Image Name: UBIT-2010.11-00125-ga21bcca
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 2643542 Bytes = 2.5 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
')
I tried unzipping the Arch OS tarball onto an ext3 partition with the boot flag set, but that didn't work. UBOOT detects the drive, but the kernel files it looks for weren't in the tarball (the only file in /boot is uImage):
$this->bbcode_second_pass_code('', 'U-Boot 2010.09 (Feb 16 2011 - 18:44:23)
UBIT v0.6 by Jeff Doozan and Peter Carmichael
(Re)start USB...
USB: Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 2 USB Device(s) found
scanning bus for storage devices... 1 Storage Device(s) found
Hit any key to stop autoboot: 0
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:fast", error -19
Error reading superblock on volume 'ubi:fast'!
UBIFS not mounted, use ubifs mount to mount volume first!
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
2856016 bytes read
Loading file "/uInitrd" from usb device 0:1 (usbda1)
** File not found /uInitrd
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
** File not found /boot/uInitrd
## Booting kernel from Legacy Image at 00680000 ...
Image Name: Linux-3.1.10-13-ARCH
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2855952 Bytes = 2.7 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
')
Can I download these files from somewhere? Is there any reason the root partition would suddenly become unmountable?