If I did not mention it before, there were NO errors updating any of these units.
The unit that hangs was NOT running UBIT before installing the new u-Boot. The previous version was
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
The 3 units updated are running: U-Boot 2013.10 (Feb 21 2014 - 19:48:46)-tld-2.
For the unit that hangs, this is all that gets logged before I power down:
GoFlexHome> saveenv
s a v e e n v
Saving Environment to NAND...
Erasing NAND...
Erasing at 0xc0000 -- 100% complete.
Writing to NAND... OK
GoFlexHome> reset
r e s e t
resetting ...
The following is what gets logged with network cable attached BEFORE modifying any u-Boot parameters:
U-Boot 2013.10 (Feb 21 2014 - 19:48:46)-tld-2
Seagate GoFlex Home
SoC: Kirkwood 88F6281_A1
DRAM: 128 MiB
WARNING: Caches not enabled
NAND: 256 MiB
In: nc
Out: nc
Err: nc
Flashes green for a few minutes then flashes orange for a few minutes then goes solid green. At which point the recovery system comes up. Attached are the last few lines of dmesg.
[ 19.574318] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[ 19.580355] UBIFS: mounted read-only
[ 19.583949] UBIFS: file system size: 30836736 bytes (30114 KiB, 29 MiB, 239 LEBs)
[ 19.591657] UBIFS: journal size: 9033728 bytes (8822 KiB, 8 MiB, 71 LEBs)
[ 19.599010] UBIFS: media format: w4/r0 (latest is w4/r0)
[ 19.604875] UBIFS: default compressor: lzo
[ 19.608982] UBIFS: reserved for root: 0 bytes (0 KiB)
[ 19.615025] VFS: Mounted root (ubifs filesystem) readonly on device 0:15.
[ 19.622240] devtmpfs: mounted
[ 19.625740] Freeing init memory: 168K
[ 19.904437] udevd (70): /proc/70/oom_adj is deprecated, please use /proc/70/oom_score_adj instead.
[ 321.147626] mv643xx_eth_port mv643xx_eth_port.0: eth0: link up, 1000 Mb/s, full duplex, flow control disabled
From this you can see where I reconnect the network cable.
At this point I modify u-Boot with the following:
/usr/sbin/fw_setenv stderr 'serial'
/usr/sbin/fw_setenv stdin 'serial'
/usr/sbin/fw_setenv stdout 'serial'
The modified u-Boot is as follows:
arcNumber=3338
baudrate=115200
bootcmd=run sata_bootcmd; run usb_bootcmd; run rescue_bootcmd; reset
bootdelay=5
console=ttyS0,115200
ethact=egiga0
ethaddr=00:10:75:2A:B7:E6
ipaddr=10.10.10.6
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)
nc_start=setenv stdin nc; setenv stdout nc; setenv stderr nc; version
nc_test=ping $ncip
ncip=10.10.10.5
ncipk=10.10.10.4
partition=nand0,2
preboot=run nc_test nc_start
rescue_bootcmd=run rescue_set_bootargs; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000
rescue_installed=1
rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts
sata_boot=ide reset; mw 0x800000 0 1; ext2load ide $sata_device 0x800000 /boot/uImage; if ext2load ide $sata_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
sata_bootcmd=run sata_set_bootargs; run sata_boot
sata_custom_params=ignore_loglevel netconsole=6665@10.10.10.3/eth0,6666@10.10.10.4/ elevator=bfq
sata_device=0:1
sata_root=/dev/sda1
sata_rootdelay=10
sata_rootfstype=ext4
sata_set_bootargs=setenv bootargs console=$console root=$sata_root rootdelay=$sata_rootdelay rootfstype=$sata_rootfstype $mtdparts $sata_custom_params
serverip=10.10.10.3
usb_boot=usb start; 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_bootcmd=run usb_set_bootargs; run usb_boot
usb_custom_params=ignore_loglevel netconsole=6665@10.10.10.3/eth0,6666@10.10.10.4/ elevator=bfq
usb_device=0:1
usb_root=/dev/sda1
usb_rootdelay=10
usb_rootfstype=ext3
usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params
stderr=serial
stdin=serial
stdout=serial
reboot
Everything starts up normally. What I did not see is:
egiga0
Using egiga0 device
host 10.10.10.5 is alive
which gets logged on reset on the other units.
Let me know what else you need log wise.
Thank you in advance.
The unit that hangs was NOT running UBIT before installing the new u-Boot. The previous version was
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
The 3 units updated are running: U-Boot 2013.10 (Feb 21 2014 - 19:48:46)-tld-2.
For the unit that hangs, this is all that gets logged before I power down:
GoFlexHome> saveenv
s a v e e n v
Saving Environment to NAND...
Erasing NAND...
Erasing at 0xc0000 -- 100% complete.
Writing to NAND... OK
GoFlexHome> reset
r e s e t
resetting ...
The following is what gets logged with network cable attached BEFORE modifying any u-Boot parameters:
U-Boot 2013.10 (Feb 21 2014 - 19:48:46)-tld-2
Seagate GoFlex Home
SoC: Kirkwood 88F6281_A1
DRAM: 128 MiB
WARNING: Caches not enabled
NAND: 256 MiB
In: nc
Out: nc
Err: nc
Flashes green for a few minutes then flashes orange for a few minutes then goes solid green. At which point the recovery system comes up. Attached are the last few lines of dmesg.
[ 19.574318] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[ 19.580355] UBIFS: mounted read-only
[ 19.583949] UBIFS: file system size: 30836736 bytes (30114 KiB, 29 MiB, 239 LEBs)
[ 19.591657] UBIFS: journal size: 9033728 bytes (8822 KiB, 8 MiB, 71 LEBs)
[ 19.599010] UBIFS: media format: w4/r0 (latest is w4/r0)
[ 19.604875] UBIFS: default compressor: lzo
[ 19.608982] UBIFS: reserved for root: 0 bytes (0 KiB)
[ 19.615025] VFS: Mounted root (ubifs filesystem) readonly on device 0:15.
[ 19.622240] devtmpfs: mounted
[ 19.625740] Freeing init memory: 168K
[ 19.904437] udevd (70): /proc/70/oom_adj is deprecated, please use /proc/70/oom_score_adj instead.
[ 321.147626] mv643xx_eth_port mv643xx_eth_port.0: eth0: link up, 1000 Mb/s, full duplex, flow control disabled
From this you can see where I reconnect the network cable.
At this point I modify u-Boot with the following:
/usr/sbin/fw_setenv stderr 'serial'
/usr/sbin/fw_setenv stdin 'serial'
/usr/sbin/fw_setenv stdout 'serial'
The modified u-Boot is as follows:
arcNumber=3338
baudrate=115200
bootcmd=run sata_bootcmd; run usb_bootcmd; run rescue_bootcmd; reset
bootdelay=5
console=ttyS0,115200
ethact=egiga0
ethaddr=00:10:75:2A:B7:E6
ipaddr=10.10.10.6
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)
nc_start=setenv stdin nc; setenv stdout nc; setenv stderr nc; version
nc_test=ping $ncip
ncip=10.10.10.5
ncipk=10.10.10.4
partition=nand0,2
preboot=run nc_test nc_start
rescue_bootcmd=run rescue_set_bootargs; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000
rescue_installed=1
rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts
sata_boot=ide reset; mw 0x800000 0 1; ext2load ide $sata_device 0x800000 /boot/uImage; if ext2load ide $sata_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
sata_bootcmd=run sata_set_bootargs; run sata_boot
sata_custom_params=ignore_loglevel netconsole=6665@10.10.10.3/eth0,6666@10.10.10.4/ elevator=bfq
sata_device=0:1
sata_root=/dev/sda1
sata_rootdelay=10
sata_rootfstype=ext4
sata_set_bootargs=setenv bootargs console=$console root=$sata_root rootdelay=$sata_rootdelay rootfstype=$sata_rootfstype $mtdparts $sata_custom_params
serverip=10.10.10.3
usb_boot=usb start; 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_bootcmd=run usb_set_bootargs; run usb_boot
usb_custom_params=ignore_loglevel netconsole=6665@10.10.10.3/eth0,6666@10.10.10.4/ elevator=bfq
usb_device=0:1
usb_root=/dev/sda1
usb_rootdelay=10
usb_rootfstype=ext3
usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params
stderr=serial
stdin=serial
stdout=serial
reboot
Everything starts up normally. What I did not see is:
egiga0
Using egiga0 device
host 10.10.10.5 is alive
which gets logged on reset on the other units.
Let me know what else you need log wise.
Thank you in advance.