Welcome! Log In Create A New Profile

Advanced

Goflex Home doesn't boot from sata

Posted by handy1 
Goflex Home doesn't boot from sata
June 08, 2020 03:28PM
I'm not sure what the problem is, but my GFH never boots from sata normally. I can interrupt uboot and boot into recovery with the net console. When I issue a "reboot now" command from rescue, sometimes it will sometimes boot from the sata and all will be normal. It has been a few years since I really did anything with this, so I don't remember all the details of what I did when setting it up originally, but I didn't do anything unusual. I also don't remember if I made some change before it stopped working consistently. How do I get my system to consistently boot up from sata again? The led does settle on solid green, but I have no SSH and the device is not connected to the network.

I am not sure if this is a uBoot issue or something else. The fact that it works at least rarely means that it is not completely wrong.

I have the 3TB version: 16GB ext3 root partition and 2.7TB ext4 data partition. It is a MBR/GPT hybrid. I have net console and recovery. I am using U-Boot 2011.12 (Apr 18 2012 - 23:08:20)

Here are the outputs I am able to get. If you think of others I will post them right away.

Thanks in advance for any help you can give. I would love to have this nice little system working again.

fw_printenv:
arcNumber=3338
baudrate=115200
bootdelay=10
console=ttyS0,115200
ethact=egiga0
ethaddr=00:10:75:2d:0e:a2
led_error=orange blinking
led_exit=green off
led_init=green blinking
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
partition=nand0,2
stderr=serial
stdin=serial
stdout=serial
ipaddr=192.168.x.x
serverip=192.168.y.y
if_netconsole=ping $serverip
preboot=run if_netconsole start_netconsole
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
set_bootargs_rescue=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts
bootcmd_rescue=run set_bootargs_rescue; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000
bootcmd_pogo=run bootcmd_rescue
rescue_installed=1
bootcmd_sata=run sata_init; run sata_load_uimage; run set_bootargs_sata; run sata_boot;
sata_init=ide reset
sata_load_uimage=mw 0x800000 0 1; ext2load ide $sata_device 0x800000 /boot/uImage
set_bootargs_sata=setenv bootargs console=$console root=$sata_root rootdelay=$sata_rootdelay rootfstype=$sata_rootfstype $mtdparts
sata_boot=if ext2load ide $sata_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000;else bootm 0x800000;fi;
sata_device=0:1
sata_root=/dev/sda1
sata_rootdelay=8
sata_rootfstype=ext2
bootcmd_usb=run usb_init; run usb_load_uimage; run set_bootargs_usb; run usb_boot;
usb_init=usb start; setenv usb_root LABEL=rootfs
usb_load_uimage=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage
set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts
usb_boot=if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000;else bootm 0x800000;fi;
usb_device=0:1
usb_root=/dev/sda1
usb_rootdelay=10
usb_rootfstype=ext2
bootcmd=run bootcmd_usb; usb stop; run bootcmd_sata; run bootcmd_pogo; reset

net console output for the boot using recovery:
GoFlexNet> run bootcmd_pogo

NAND read: device 0 offset 0x100000, size 0x400000
 4194304 bytes read: OK
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-3.3.2-kirkwide
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3627768 Bytes = 3.5 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

net console output for the successful reboot from sata:

U-Boot 2011.12 (Apr 18 2012 - 23:08:20)
Seagate GoFlexNet
arm-none-linux-gnueabi-gcc (Sourcery G++ Lite 2009q3-67) 4.4.1
GNU ld (Sourcery G++ Lite 2009q3-67) 2.19.51.20090709
Hit any key to stop autoboot:  0 

Reset IDE: Bus 0: OK Bus 1: not available  
  Device 0: Model: ST3000DM001-9YN166 Firm: CC9D Ser#: S1F06WKW
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 764436.4 MB = 746.5 GB (1565565872 x 512)
Loading file "/boot/uImage" from ide device 0:1 (hda1)
4120184 bytes read
Loading file "/boot/uInitrd" from ide device 0:1 (hda1)
** File not found /boot/uInitrd
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.1.3-1-ARCH
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4120120 Bytes = 3.9 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

dmesg output from the always successful boot to recovery
rescue:~# 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-kirkwide (davygravy@bitbaker64) (gcc version 4.3.5 (Buildroot 2010.08) ) #1 Mon Oct 29 17:52:07 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 c0730944, node_mem_map c07a5000
[    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 ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs 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] Memory: 128MB = 128MB total
[    0.000000] Memory: 122080k/122080k available, 8992k 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 - 0xc06c06c8   (6882 kB)
[    0.000000]       .init : 0xc06c1000 - 0xc06eb000   ( 168 kB)
[    0.000000]       .data : 0xc06ec000 - 0xc0734c38   ( 292 kB)
[    0.000000]        .bss : 0xc0734c5c - 0xc07a4294   ( 446 kB)
[    0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    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
[    1.450648] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    1.540574] pid_max: default: 32768 minimum: 301
[    1.540705] Security Framework initialized
[    1.540724] SELinux:  Disabled at boot.
[    1.540787] Mount-cache hash table entries: 512
[    1.541155] Initializing cgroup subsys cpuacct
[    1.541171] Initializing cgroup subsys devices
[    1.541182] Initializing cgroup subsys freezer
[    1.541191] Initializing cgroup subsys net_cls
[    1.541262] CPU: Testing write buffer coherency: ok
[    1.541540] Setting up static identity map for 0x511040 - 0x51107c
[    1.542548] devtmpfs: initialized
[    1.544425] NET: Registered protocol family 16
[    1.545161] Kirkwood: MV88F6281-A1, TCLK=200000000.
[    1.545178] Feroceon L2: Enabling L2
[    1.545214] Feroceon L2: Cache support initialised.
[    1.545696] initial MPP regs: 01111111 11113322 00001111 00100000 00000000 00000000 00000000
[    1.545720]   final MPP regs: 01111111 11113322 00001111 00000000 00000000 00000000 00000000
[    1.549574] bio: create slab <bio-0> at 0
[    1.549931] vgaarb: loaded
[    1.550199] SCSI subsystem initialized
[    1.550339] libata version 3.00 loaded.
[    1.550569] usbcore: registered new interface driver usbfs
[    1.550642] usbcore: registered new interface driver hub
[    1.550738] usbcore: registered new device driver usb
[    1.551310] Switching to clocksource orion_clocksource
[    1.576479] NET: Registered protocol family 2
[    1.576713] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    1.577291] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    1.577392] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    1.577446] TCP: Hash tables configured (established 4096 bind 4096)
[    1.577456] TCP reno registered
[    1.577467] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    1.577489] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    1.577718] NET: Registered protocol family 1
[    1.578033] RPC: Registered named UNIX socket transport module.
[    1.578044] RPC: Registered udp transport module.
[    1.578052] RPC: Registered tcp transport module.
[    1.578059] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.578073] PCI: CLS 0 bytes, default 32
[    1.578124] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.578664] audit: initializing netlink socket (disabled)
[    1.578697] type=2000 audit(0.120:1): initialized
[    1.587247] VFS: Disk quotas dquot_6.5.2
[    1.587478] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.590152] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.591272] JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    1.591850] fuse init (API version 7.18)
[    1.592320] SGI XFS with security attributes, large block/inode numbers, no debug enabled
[    1.593699] msgmni has been set to 238
[    1.594980] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    1.594994] io scheduler noop registered
[    1.595002] io scheduler deadline registered
[    1.595038] io scheduler cfq registered (default)
[    1.595096] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
[    1.595132] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
[    1.631414] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[    1.671391] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[    1.711382] mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
[    1.751381] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
[    1.751721] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    1.772248] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[    2.265401] console [ttyS0] enabled
[    2.269417] sata_mv sata_mv.0: version 1.28
[    2.269506] sata_mv sata_mv.0: slots 32 ports 1
[    2.274907] scsi0 : sata_mv
[    2.277963] ata1: SATA max UDMA/133 irq 21
[    2.283009] NAND device: Manufacturer ID: 0x98, Chip ID: 0xda (Toshiba NAND 256MiB 3,3V 8-bit)
[    2.291691] Scanning device for bad blocks
[    2.509950] 4 cmdlinepart partitions found on MTD device orion_nand
[    2.516256] Creating 4 MTD partitions on "orion_nand":
[    2.521431] 0x000000000000-0x000000100000 : "u-boot"
[    2.527273] 0x000000100000-0x000000500000 : "uImage"
[    2.532998] 0x000000500000-0x000002500000 : "rootfs"
[    2.538713] 0x000002500000-0x000010000000 : "data"
[    2.544614] UBI: attaching mtd2 to ubi0
[    2.548469] UBI: physical eraseblock size:   131072 bytes (128 KiB)
[    2.554781] UBI: logical eraseblock size:    129024 bytes
[    2.560200] UBI: smallest flash I/O unit:    2048
[    2.564937] UBI: sub-page size:              512
[    2.569575] UBI: VID header offset:          512 (aligned 512)
[    2.575444] UBI: data offset:                2048
[    2.637596] UBI: max. sequence number:       7
[    2.652657] UBI: attached mtd2 to ubi0
[    2.656426] UBI: MTD device name:            "rootfs"
[    2.661520] UBI: MTD device size:            32 MiB
[    2.666419] UBI: number of good PEBs:        256
[    2.671056] UBI: number of bad PEBs:         0
[    2.675524] UBI: number of corrupted PEBs:   0
[    2.679987] UBI: max. allowed volumes:       128
[    2.684634] UBI: wear-leveling threshold:    4096
[    2.689351] UBI: number of internal volumes: 1
[    2.693816] UBI: number of user volumes:     1
[    2.698272] UBI: available PEBs:             0
[    2.702736] UBI: total number of reserved PEBs: 256
[    2.707630] UBI: number of PEBs reserved for bad PEB handling: 2
[    2.713676] UBI: max/mean erase counter: 1/0
[    2.717963] UBI: image sequence number:  1230342828
[    2.722880] UBI: background thread "ubi_bgt0d" started, PID 43
[    2.728922] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    2.735855] mv643xx_eth smi: probed
[    2.741492] mv643xx_eth_port mv643xx_eth_port.0: eth0: port 0 with MAC address 00:10:75:2d:0e:a2
[    2.750357] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.756988] orion-ehci orion-ehci.0: Marvell Orion EHCI
[    2.762330] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[    2.791369] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[    2.811356] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[    2.817375] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.824208] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.831477] usb usb1: Product: Marvell Orion EHCI
[    2.836198] usb usb1: Manufacturer: Linux 3.3.2-kirkwide ehci_hcd
[    2.842330] usb usb1: SerialNumber: orion-ehci.0
[    2.847470] hub 1-0:1.0: USB hub found
[    2.851242] hub 1-0:1.0: 1 port detected
[    2.855487] Initializing USB Mass Storage driver...
[    2.860476] usbcore: registered new interface driver usb-storage
[    2.866524] USB Mass Storage support registered.
[    2.871437] mousedev: PS/2 mouse device common for all mice
[    2.877086] i2c /dev entries driver
[    2.881076] device-mapper: uevent: version 1.0.3
[    2.886073] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
[    2.894638] cpuidle: using governor ladder
[    2.898823] cpuidle: using governor menu
[    2.902911] Registered led device: status:green:health
[    2.902999] Registered led device: status:orange:fault
[    2.903093] Registered led device: status:white:misc
[    2.904103] TCP cubic registered
[    2.907348] NET: Registered protocol family 17
[    2.911870] Registering the dns_resolver key type
[    2.916623] Gating clock of unused units
[    2.916631] before: 0x00dfc3fd
[    2.916639]  after: 0x00c741c9
[    2.917046] registered taskstats version 1
[    2.921856] console [netcon0] enabled
[    2.925533] netconsole: network logging started
[    2.930079] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    2.936446] Initializing network drop monitor service
[    3.001374] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    3.041395] ata1.00: ATA-8: ST3000DM001-9YN166, CC9D, max UDMA/133
[    3.047609] ata1.00: 5860533168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    3.311395] ata1.00: configured for UDMA/133
[    3.316015] scsi 0:0:0:0: Direct-Access     ATA      ST3000DM001-9YN1 CC9D PQ: 0 ANSI: 5
[    3.324681] sd 0:0:0:0: [sda] 5860533168 512-byte logical blocks: (3.00 TB/2.72 TiB)
[    3.332484] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    3.338255] sd 0:0:0:0: [sda] Write Protect is off
[    3.343088] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    3.343187] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    3.391881]  sda: sda1 sda2
[    3.395801] sd 0:0:0:0: [sda] Attached SCSI disk
[    3.400488] md: Waiting for all devices to be available before autodetect
[    3.407334] md: If you don't use raid, use raid=noautodetect
[    3.413551] md: Autodetecting RAID arrays.
[    3.417665] md: Scanned 0 and added 0 devices.
[    3.422147] md: autorun ...
[    3.424954] md: ... autorun DONE.
[    3.584251] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[    3.590286] UBIFS: mounted read-only
[    3.593896] UBIFS: file system size:   30836736 bytes (30114 KiB, 29 MiB, 239 LEBs)
[    3.601599] UBIFS: journal size:       9033728 bytes (8822 KiB, 8 MiB, 71 LEBs)
[    3.608939] UBIFS: media format:       w4/r0 (latest is w4/r0)
[    3.614807] UBIFS: default compressor: lzo
[    3.618922] UBIFS: reserved for root:  0 bytes (0 KiB)
[    3.624967] VFS: Mounted root (ubifs filesystem) readonly on device 0:15.
[    3.632190] devtmpfs: mounted
[    3.635669] Freeing init memory: 168K
[    3.911765] udevd (70): /proc/70/oom_adj is deprecated, please use /proc/70/oom_score_adj instead.
[    5.712228] mv643xx_eth_port mv643xx_eth_port.0: eth0: link up, 100 Mb/s, full duplex, flow control disabled

dmesg output from the rarely successful boot from sata
[root@alarm ~]# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.1.3-1-ARCH (builduser@leming) (gcc version 5.1.0 (GCC) ) #1 PREEMPT Wed Jul 22 02:14:56 MDT 2015
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Seagate GoFlex Home
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 32768
[    0.000000] free_area_init_node: node 0, pgdat c080f4d4, node_mem_map c7eda000
[    0.000000]   Normal zone: 288 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 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: 32480
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda1 rootdelay=8 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] Memory: 120792K/131072K available (5861K kernel code, 422K rwdata, 1700K rodata, 268K init, 699K bss, 10280K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xc8800000 - 0xff000000   ( 872 MB)
                   lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
                   modules : 0xbf000000 - 0xc0000000   (  16 MB)
                     .text : 0xc0008000 - 0xc076a760   (7562 kB)
                     .init : 0xc076b000 - 0xc07ae000   ( 268 kB)
                     .data : 0xc07ae000 - 0xc08178ac   ( 423 kB)
                      .bss : 0xc08178ac - 0xc08c6550   ( 700 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:114
[    0.000013] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.315117] clocksource orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.315307] Console: colour dummy device 80x30
[    0.315335] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    0.405207] pid_max: default: 32768 minimum: 301
[    0.405301] Security Framework initialized
[    0.405387] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.405408] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.406102] Initializing cgroup subsys blkio
[    0.406133] Initializing cgroup subsys memory
[    0.406195] Initializing cgroup subsys devices
[    0.406224] Initializing cgroup subsys freezer
[    0.406248] Initializing cgroup subsys net_cls
[    0.406269] Initializing cgroup subsys bfqio
[    0.406288] Initializing cgroup subsys perf_event
[    0.406312] Initializing cgroup subsys net_prio
[    0.406391] CPU: Testing write buffer coherency: ok
[    0.406833] Setting up static identity map for 0x81e0 - 0x8238
[    0.408743] devtmpfs: initialized
[    0.411103] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.411667] pinctrl core: initialized pinctrl subsystem
[    0.412396] NET: Registered protocol family 16
[    0.412877] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.435209] cpuidle: using governor ladder
[    0.465206] cpuidle: using governor menu
[    0.465368] Kirkwood: MV88F6281-A1, TCLK=200000000.
[    0.465394] Feroceon L2: Enabling L2
[    0.465434] Feroceon L2: Cache support initialised.
[    0.466177] initial MPP regs: 01111111 11113322 00001111 00100000 00000000 00000000 00000000
[    0.466206]   final MPP regs: 01111111 11113322 00001111 00000000 00000000 00000000 00000000
[    0.496699] vgaarb: loaded
[    0.497017] SCSI subsystem initialized
[    0.497195] libata version 3.00 loaded.
[    0.497537] usbcore: registered new interface driver usbfs
[    0.497615] usbcore: registered new interface driver hub
[    0.497675] usbcore: registered new device driver usb
[    0.497837] pps_core: LinuxPPS API ver. 1 registered
[    0.497846] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.497880] PTP clock support registered
[    0.498942] Switched to clocksource orion_clocksource
[    0.529126] FS-Cache: Loaded
[    0.542128] NET: Registered protocol family 2
[    0.543017] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.543043] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.543063] TCP: Hash tables configured (established 1024 bind 1024)
[    0.543134] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.543157] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.543341] NET: Registered protocol family 1
[    0.543398] PCI: CLS 0 bytes, default 32
[    0.545293] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.557990] VFS: Disk quotas dquot_6.6.0
[    0.558254] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.560169] jffs2: version 2.2. (NAND) \xffffffc2\xffffffa9 2001-2006 Red Hat, Inc.
[    0.561219] fuse init (API version 7.23)
[    0.563484] aufs 4.1-20150629
[    0.565877] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.565901] io scheduler noop registered
[    0.565916] io scheduler deadline registered
[    0.566199] io scheduler cfq registered
[    0.566684] io scheduler bfq registered (default)
[    0.566693] BFQ I/O-scheduler: v7r8
[    0.566896] mv_xor mv_xor.0: Marvell shared XOR driver
[    0.599032] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[    0.639019] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[    0.639200] mv_xor mv_xor.1: Marvell shared XOR driver
[    0.679016] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[    0.719016] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[    0.724492] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.725577] console [ttyS0] disabled
[    0.745688] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33, base_baud = 12500000) is a 16550A
[    1.265874] console [ttyS0] enabled
[    1.282819] brd: module loaded
[    1.292170] loop: module loaded
[    1.295644] sata_mv sata_mv.0: version 1.28
[    1.295696] sata_mv sata_mv.0: cannot get optional clkdev
[    1.301282] sata_mv sata_mv.0: slots 32 ports 1
[    1.307608] scsi host0: sata_mv
[    1.311216] ata1: SATA max UDMA/133 irq 21
[    1.316061] nand: device found, Manufacturer ID: 0x98, Chip ID: 0xda
[    1.322590] nand: Toshiba NAND 256MiB 3,3V 8-bit
[    1.327231] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.334865] Scanning device for bad blocks
[    1.556907] 4 cmdlinepart partitions found on MTD device orion_nand
[    1.563219] Creating 4 MTD partitions on "orion_nand":
[    1.568386] 0x000000000000-0x000000100000 : "u-boot"
[    1.573905] 0x000000100000-0x000000500000 : "uImage"
[    1.579370] 0x000000500000-0x000002500000 : "rootfs"
[    1.584843] 0x000002500000-0x000010000000 : "data"
[    1.597271] libphy: orion_mdio_bus: probed
[    1.601537] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    1.828972] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    1.869003] ata1.00: ATA-8: ST3000DM001-9YN166, CC9D, max UDMA/133
[    1.875215] ata1.00: 5860533168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    1.959007] ata1.00: configured for UDMA/133
[    1.979283] scsi 0:0:0:0: Direct-Access     ATA      ST3000DM001-9YN1 CC9D PQ: 0 ANSI: 5
[    1.999822] sd 0:0:0:0: [sda] 5860533168 512-byte logical blocks: (3.00 TB/2.72 TiB)
[    2.007602] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    2.013250] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    2.029295] sd 0:0:0:0: [sda] Write Protect is off
[    2.034113] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    2.034232] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.095840]  sda: sda1 sda2
[    2.110263] sd 0:0:0:0: [sda] Attached SCSI disk
[    2.759146] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:10:75:2d:0e:a2
[    2.768111] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.774703] ehci-pci: EHCI PCI platform driver
[    2.779254] ehci-orion: EHCI orion driver
[    2.783363] orion-ehci orion-ehci.0: EHCI Host Controller
[    2.788813] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[    2.796586] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[    2.818974] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[    2.825875] hub 1-0:1.0: USB hub found
[    2.829726] hub 1-0:1.0: 1 port detected
[    2.834289] usbcore: registered new interface driver uas
[    2.839812] usbcore: registered new interface driver usb-storage
[    2.845898] usbcore: registered new interface driver ums-alauda
[    2.851942] usbcore: registered new interface driver ums-cypress
[    2.858026] usbcore: registered new interface driver ums-datafab
[    2.864136] usbcore: registered new interface driver ums_eneub6250
[    2.870420] usbcore: registered new interface driver ums-freecom
[    2.876502] usbcore: registered new interface driver ums-isd200
[    2.882526] usbcore: registered new interface driver ums-jumpshot
[    2.888715] usbcore: registered new interface driver ums-karma
[    2.894646] usbcore: registered new interface driver ums-onetouch
[    2.900865] usbcore: registered new interface driver ums-realtek
[    2.906954] usbcore: registered new interface driver ums-sddr09
[    2.912976] usbcore: registered new interface driver ums-sddr55
[    2.919000] usbcore: registered new interface driver ums-usbat
[    2.925301] mousedev: PS/2 mouse device common for all mice
[    2.931905] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
[    2.937877] i2c /dev entries driver
[    2.942060] sdhci: Secure Digital Host Controller Interface driver
[    2.948266] sdhci: Copyright(c) Pierre Ossman
[    2.952752] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.959179] ledtrig-cpu: registered to indicate activity on CPUs
[    2.965351] usbcore: registered new interface driver r8712u
[    2.971175] gre: GRE over IPv4 demultiplexor driver
[    2.976121] NET: Registered protocol family 17
[    2.980664] Key type dns_resolver registered
[    2.985983] registered taskstats version 1
[    2.992211] Key type encrypted registered
[    2.996819] console [netcon0] enabled
[    3.000580] netconsole: network logging started
[    3.005241] rtc-mv rtc-mv: setting system clock to 2015-09-15 02:49:57 UTC (1442285397)
[    3.014407] Waiting 8 sec before mounting root device...
[   11.043992] EXT4-fs (sda1): mounting ext2 file system using the ext4 subsystem
[   11.078594] EXT4-fs (sda1): warning: maximal mount count reached, running e2fsck is recommended
[   11.088358] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[   11.096123] VFS: Mounted root (ext2 filesystem) on device 8:1.
[   11.133738] devtmpfs: mounted
[   11.137506] Freeing unused kernel memory: 268K (c076b000 - c07ae000)
[   11.637498] NET: Registered protocol family 10
[   11.643138] systemd[1]: Inserted module 'ipv6'
[   11.661549] ip_tables: (C) 2000-2006 Netfilter Core Team
[   11.666948] systemd[1]: Inserted module 'ip_tables'
[   11.685499] random: systemd urandom read with 41 bits of entropy available
[   11.709095] systemd[1]: systemd 224 running in system mode. (+PAM -AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID -ELFUTILS +KMOD +IDN)
[   11.727536] systemd[1]: Detected architecture arm.
[   11.759646] systemd[1]: Set hostname to <alarm>.
[   12.515273] systemd[1]: display-manager.service: Cannot add dependency job, ignoring: Unit display-manager.service failed to load: No such file or directory.
[   12.537016] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[   12.569551] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[   12.599299] systemd[1]: Reached target Paths.
[   12.620120] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[   12.650837] systemd[1]: Created slice Root Slice.
[   12.677576] systemd[1]: Listening on udev Kernel Socket.
[   12.700248] systemd[1]: Created slice System Slice.
[   12.720377] systemd[1]: Created slice system-serial\x2dgetty.slice.
[   12.750495] systemd[1]: Created slice system-getty.slice.
[   12.780204] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[   12.809490] systemd[1]: Listening on udev Control Socket.
[   12.839715] systemd[1]: Listening on networkd rtnetlink socket.
[   12.869544] systemd[1]: Listening on Journal Socket.
[   12.902641] systemd[1]: Starting Apply Kernel Variables...
[   12.949398] systemd[1]: Mounting Temporary Directory...
[   12.966516] systemd[1]: Mounting FUSE Control File System...
[   13.021317] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[   13.073151] systemd[1]: Starting Setup Virtual Console...
[   13.092904] systemd[1]: Listening on Journal Socket (/dev/log).
[   13.111237] systemd[1]: Starting Journal Service...
[   13.129437] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[   13.159392] systemd[1]: Reached target Encrypted Volumes.
[   13.193411] systemd[1]: Starting Remount Root and Kernel File Systems...
[   13.239974] systemd[1]: Listening on LVM2 metadata daemon socket.
[   13.254276] EXT4-fs (sda1): re-mounted. Opts: (null)
[   13.281130] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[   13.312888] systemd[1]: Mounting POSIX Message Queue File System...
[   13.350127] systemd[1]: Created slice User and Session Slice.
[   13.379384] systemd[1]: Reached target Slices.
[   13.404209] systemd[1]: Mounting Debug File System...
[   13.439303] systemd[1]: Reached target Remote File Systems.
[   13.475445] systemd[1]: Mounted Debug File System.
[   13.499624] systemd-journald[95]: File /var/log/journal/7f8e3ae20b1b45a189fb69f91badb983/system.journal corrupted or uncleanly shut down, renaming and replacing.
[   13.514609] systemd[1]: Mounted POSIX Message Queue File System.
[   13.539366] systemd[1]: Mounted FUSE Control File System.
[   13.569461] systemd[1]: Mounted Temporary Directory.
[   13.591668] systemd[1]: Started Apply Kernel Variables.
[   13.622361] systemd[1]: Started Create list of required static device nodes for the current kernel.
[   13.651610] systemd[1]: Started Setup Virtual Console.
[   13.681322] systemd[1]: Started Remount Root and Kernel File Systems.
[   14.284214] systemd[1]: Started Journal Service.
[   14.922195] systemd-journald[95]: Received request to flush runtime journal from PID 1
[   15.809127] random: nonblocking pool is initialized
[   16.582687] Adding 524284k swap on /swapfile.img.  Priority:-1 extents:12 across:9327796k
[   18.925260] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
[   23.619455] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   25.292470] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled
[   25.302336] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

fdisk partition information:
Disk /dev/sda: 2.7 TiB, 3000592982016 bytes, 5860533168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device     Boot Start      End  Sectors    Size Id Type
/dev/sda1  *     2048 33556479 33554432     16G 83 Linux
/dev/sda4           1     2047     2047 1023.5K ee GPT

Partition 4 does not start on physical sector boundary.

gdisk partition information:
GPT fdisk (gdisk) version 0.8.5

Type device filename, or press <Enter> to exit: /dev/sda
Partition table scan:
  MBR: hybrid
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with hybrid MBR; using GPT.

Disk /dev/sda: 5860533168 sectors, 2.7 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): E6D0FDC0-0A69-47A9-B3DF-672B315FAB76
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 5860533134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048        33556479   16.0 GiB    8300  Linux filesystem
   2        33556480      5860533134   2.7 TiB     8300  Linux filesystem

Detailed information on the partitions from gdisk:
Partition number (1-2): 1
Partition GUID code: 0FC63DAF-8483-4772-8E79-3D69D8477DE4 (Linux filesystem)
Partition unique GUID: 3C0E4B12-3F36-4A7A-9BF9-77339F129B4F
First sector: 2048 (at 1024.0 KiB)
Last sector: 33556479 (at 16.0 GiB)
Partition size: 33554432 sectors (16.0 GiB)
Attribute flags: 0000000000000000
Partition name: 'Linux filesystem'

Partition number (1-2): 2
Partition GUID code: 0FC63DAF-8483-4772-8E79-3D69D8477DE4 (Linux filesystem)
Partition unique GUID: 286CD015-48D9-436C-97A8-9821D9824830
First sector: 33556480 (at 16.0 GiB)
Last sector: 5860533134 (at 2.7 TiB)
Partition size: 5826976655 sectors (2.7 TiB)
Attribute flags: 0000000000000000
Partition name: 'Linux filesystem'



Edited 1 time(s). Last edit at 06/08/2020 03:29PM by handy1.
Re: Goflex Home doesn't boot from sata
June 08, 2020 05:19PM
handy1,

Hybrid MBR/GPT is always problemmatic. Not a very good setup. And you also running a very old U-Boot 2011.12 (Apr 18 2012 - 23:08:20) Seagate GoFlexNet.

The real solution is to:

- Upgrade to my u-boot to 2017.07-tld-1 (or the latest Arch u-boot). See release thread:

https://forum.doozan.com/read.php?3,12381

- Reformat the HDD to use GPT only. You will need to backup your partitions and restore it after ward.

=======

A. The intermediate step is get it booting. Keep trying until you can get it to boot successfully into Arch rootfs on SATA. Or If you don't care which distro then you can use my release Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2. But it will not boot right away, some envs need to be adjusted in netconsole.

The bottom line is you need to upgrade u-boot. You can install my released u-boot in rescue system, or you can install Arch u-boot after a successful boot into the SATA rootfs.

B. Then upgrade u-boot. And with the new u-boot, you can boot the latest Arch rootfs on a pure GPT partition setup, or with my rootfs Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2.

Whether with latest Arch u-boot release, or my u-boot release, it would solve your intermittenly booting problem. Because both versions can handle GPT partitions.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Goflex Home doesn't boot from sata
June 08, 2020 05:51PM
I am currently booted from sata. I do not wish to change to debian (I have Arch). I also would prefer not to have to backup and reformat the HDD right now. That will be in a few weeks when I overhaul the whole setup. Right now, I just want consistent access.

Would updating the uboot be enough?
Are there pros and cons to the choice of which uboot?

Thank you for helping
Re: Goflex Home doesn't boot from sata
June 08, 2020 11:29PM
handy1,

> I am currently booted from sata. I do not wish to
> change to debian (I have Arch). I also would
> prefer not to have to backup and reformat the HDD
> right now. That will be in a few weeks when I
> overhaul the whole setup. Right now, I just want
> consistent access.
>
> Would updating the uboot be enough?
> Are there pros and cons to the choice of which
> uboot?
>

The new u-boot should give you more consistent booting. But I think the quirks with the hybrid MBR/GPT will not go away completely.

Either uboot is fine. Both provide pretty much the same capabilities. However, if you are going to boot Arch, then it is better to run Arch u-boot to make it simpler. And you can get help from the Arch forum should anything goes wrong. They might be slower to respond than I do here, but eventually you will get an answer or helps because you use Arch u-boot and Arch Linux rootfs.

-bodhi
===========================
Forum Wiki
bodhi's corner
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: