Welcome! Log In Create A New Profile

Advanced

NSA325 uboot does not detect hdd

Posted by MoA 
MoA
NSA325 uboot does not detect hdd
May 17, 2018 11:50AM
hello,

I am trying to configure a NSA325 however it does not seem to be able to detect my sata drives (hdd).
I plugged a HDD in the left slot (but on the right slot it does not detect it either...)

any idea?

thanks in advance!

I can see this in the logs but no idea what it means...

[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ 243.892488] ata2: SRST failed (errno=-16)
[ 243.896546] ata2: reset failed, giving up
[ 243.900588] ata2: exception Emask 0x10 SAct 0x0 SErr 0x180000 action 0x6 frozen t1
[ 243.908518] ata2: edma_err_cause=00000020 pp_flags=00000000, SError=00180000
[ 243.915623] ata2: SError: { 10B8B Dispar }
[ 243.919745] ata2: hard resetting link
[....] Starting busybox' klogd implementation



U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:42:03 -0700)
ZyXEL NSA325 2-Bay Power Media Server

SoC:   Kirkwood 88F6282_A1
DRAM:  512 MiB
WARNING: Caches not enabled
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
MV88E1318 PHY initialized on egiga0
Hit any key to stop autoboot:  0
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices...
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found

Reset IDE: ide_preinit failed
Unknown command 'mmc' - try 'help'

Partition Map for USB device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            15630336        ae535dd1-01     83

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0
loading envs from usb 0 ...
** File not found /boot/uEnv.txt **

no IDE devices available
Unknown command 'mmc' - try 'help'
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 661 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
3154896 bytes read in 892 ms (3.4 MiB/s)
loading uInitrd ...
7179935 bytes read in 965 ms (7.1 MiB/s)
loading DTB /boot/dts/kirkwood-nsa325.dtb ...
14528 bytes read in 1476 ms (8.8 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.4.0-kirkwood-tld-1
   Created:      2016-02-19   5:55:25 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3154832 Bytes = 3 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-4.4.0-kirkwood-tld-1
   Created:      2016-02-19   7:33:04 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7179871 Bytes = 6.8 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01c00000
   Booting using the fdt blob at 0x1c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 1f434000, end 1fb0ce5f ... OK
   Loading Device Tree to 1f42d000, end 1f4338bf ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    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.4.0-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Mon Jan 25 20:35:24 PST 2016
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine model: ZyXEL NSA325
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 503452K/524288K available (6007K kernel code, 573K rwdata, 1992K rodata, 296K init, 312K bss, 20836K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc07d7ef4   (8000 kB)
[    0.000000]       .init : 0xc07d8000 - 0xc0822000   ( 296 kB)
[    0.000000]       .data : 0xc0822000 - 0xc08b169c   ( 574 kB)
[    0.000000]        .bss : 0xc08b169c - 0xc08ff9d0   ( 313 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000007] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000281] Console: colour dummy device 80x30
[    0.000307] Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816)
[    0.090070] pid_max: default: 32768 minimum: 301
[    0.090163] Security Framework initialized
[    0.090225] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090242] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090887] Initializing cgroup subsys io
[    0.090915] Initializing cgroup subsys devices
[    0.090935] Initializing cgroup subsys freezer
[    0.090963] Initializing cgroup subsys net_cls
[    0.091034] CPU: Testing write buffer coherency: ok
[    0.091428] Setting up static identity map for 0x8200 - 0x8258
[    0.091700] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.094744] devtmpfs: initialized
[    0.099561] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.099955] prandom: seed boundary self test passed
[    0.102806] prandom: 100 self tests passed
[    0.102836] pinctrl core: initialized pinctrl subsystem
[    0.103992] NET: Registered protocol family 16
[    0.104322] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.130090] cpuidle: using governor ladder
[    0.160088] cpuidle: using governor menu
[    0.160442] Feroceon L2: Enabling L2
[    0.160476] Feroceon L2: Cache support initialised.
[    0.160798] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.165062] No ATAGs?
[    0.191230] vgaarb: loaded
[    0.191514] usbcore: registered new interface driver usbfs
[    0.191574] usbcore: registered new interface driver hub
[    0.191621] usbcore: registered new device driver usb
[    0.192463] clocksource: Switched to clocksource orion_clocksource
[    0.234683] NET: Registered protocol family 2
[    0.235324] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.235380] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.235432] TCP: Hash tables configured (established 4096 bind 4096)
[    0.235482] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.235502] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.235661] NET: Registered protocol family 1
[    0.235975] RPC: Registered named UNIX socket transport module.
[    0.235984] RPC: Registered udp transport module.
[    0.235990] RPC: Registered tcp transport module.
[    0.235995] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.236211] Unpacking initramfs...
[    0.714110] Freeing initrd memory: 7012K (df434000 - dfb0d000)
[    0.714212] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.715090] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.715148] audit: initializing netlink subsys (disabled)
[    0.715194] audit: type=2000 audit(0.710:1): initialized
[    0.715468] Initialise system trusted keyring
[    0.715787] zbud: loaded
[    0.716014] VFS: Disk quotas dquot_6.6.0
[    0.716061] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.716478] NFS: Registering the id_resolver key type
[    0.716508] Key type id_resolver registered
[    0.716515] Key type id_legacy registered
[    0.716535] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.716545] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.716724] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.717124] Key type big_key registered
[    0.732181] Key type asymmetric registered
[    0.732199] Asymmetric key parser 'x509' registered
[    0.732280] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.732296] io scheduler noop registered
[    0.732307] io scheduler deadline registered
[    0.732356] io scheduler cfq registered (default)
[    0.733483] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    0.734012] irq: Cannot allocate irq_descs @ IRQ33, assuming pre-allocated
[    0.734324] irq: Cannot allocate irq_descs @ IRQ65, assuming pre-allocated
[    0.734924] mvebu-pcie mbus:pcie-controller: PCI host bridge to bus 0000:00
[    0.734939] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    0.734950] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    0.734960] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.735248] PCI: bus0: Fast back to back transfers disabled
[    0.735267] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.752532] PCI: bus1: Fast back to back transfers disabled
[    0.752673] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    0.752687] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe0001fff 64bit]
[    0.752707] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.752719] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    0.752785] pcieport 0000:00:01.0: enabling device (0140 -> 0142)
[    0.752868] pci 0000:01:00.0: enabling device (0140 -> 0142)
[    0.753106] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.792976] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    0.793163] mv_xor f1060900.xor: Marvell shared XOR driver
[    0.832974] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    0.833350] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.834432] console [ttyS0] disabled
[    0.834484] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    1.516296] console [ttyS0] enabled
[    1.520834] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[    1.527248] nand: Samsung NAND 128MiB 3,3V 8-bit
[    1.531887] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.539509] Scanning device for bad blocks
[    1.549021] Bad eraseblock 56 at 0x000000700000
[    1.584596] Bad eraseblock 382 at 0x000002fc0000
[    1.608149] Bad eraseblock 581 at 0x0000048a0000
[    1.654927] 4 cmdlinepart partitions found on MTD device orion_nand
[    1.661221] Creating 4 MTD partitions on "orion_nand":
[    1.666392] 0x000000000000-0x000000100000 : "u-boot"
[    1.672364] 0x000000100000-0x000000500000 : "uImage"
[    1.678319] 0x000000500000-0x000002500000 : "rootfs"
[    1.684280] 0x000002500000-0x000008000000 : "data"
[    1.690933] libphy: Fixed MDIO Bus: probed
[    1.695365] libphy: orion_mdio_bus: probed
[    1.703272] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    1.710547] mv643xx_eth: Set the PHY to fix link down
[    1.716039] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address XX:XX:XX:XX:XX:XX
[    1.725146] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.731725] ehci-pci: EHCI PCI platform driver
[    1.736276] ehci-orion: EHCI orion driver
[    1.740444] orion-ehci f1050000.ehci: EHCI Host Controller
[    1.746014] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    1.753845] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    1.772488] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    1.778690] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.785528] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.792794] usb usb1: Product: EHCI Host Controller
[    1.797691] usb usb1: Manufacturer: Linux 4.4.0-kirkwood-tld-1 ehci_hcd
[    1.804347] usb usb1: SerialNumber: f1050000.ehci
[    1.809618] hub 1-0:1.0: USB hub found
[    1.813447] hub 1-0:1.0: 1 port detected
[    1.817866] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    1.823171] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    1.830887] xhci_hcd 0000:01:00.0: hcc params 0x014042c3 hci version 0x96 quirks 0x00000004
[    1.839494] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    1.846332] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.853599] usb usb2: Product: xHCI Host Controller
[    1.858495] usb usb2: Manufacturer: Linux 4.4.0-kirkwood-tld-1 xhci-hcd
[    1.865151] usb usb2: SerialNumber: 0000:01:00.0
[    1.870312] hub 2-0:1.0: USB hub found
[    1.874140] hub 2-0:1.0: 2 ports detected
[    1.878559] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    1.883856] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 3
[    1.891353] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.899600] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003
[    1.906437] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.913771] usb usb3: Product: xHCI Host Controller
[    1.918672] usb usb3: Manufacturer: Linux 4.4.0-kirkwood-tld-1 xhci-hcd
[    1.925332] usb usb3: SerialNumber: 0000:01:00.0
[    1.930506] hub 3-0:1.0: USB hub found
[    1.934339] hub 3-0:1.0: 2 ports detected
[    1.939119] mousedev: PS/2 mouse device common for all mice
[    1.945047] i2c /dev entries driver
[    1.949187] rtc-pcf8563 0-0051: chip found, driver version 0.4.4
[    1.961047] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0
[    1.970379] hidraw: raw HID events driver (C) Jiri Kosina
[    1.976282] drop_monitor: Initializing network drop monitor service
[    1.982806] NET: Registered protocol family 17
[    1.987489] Key type dns_resolver registered
[    1.992419] registered taskstats version 1
[    1.996595] Loading compiled-in X.509 certificates
[    2.001455] zswap: loaded using pool lzo/zbud
[    2.012428] Key type encrypted registered
[    2.018350] rtc-pcf8563 0-0051: setting system clock to 2018-05-17 16:36:47 UTC (1526575007)
[    2.029388] Freeing unused kernel memory: 296K (c07d8000 - c0822000)
Loading, please wait...
[    2.093179] systemd-udevd[83]: starting version 215
[    2.099637] random: systemd-udevd urandom read with 4 bits of entropy available
[    2.132557] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    2.269743] SCSI subsystem initialized
[    2.314240] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[    2.320995] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.337814] sata_mv f1080000.sata: slots 32 ports 2
[    2.342831] usb 1-1: Product: USB2.0 Hub
[    2.349691] hub 1-1:1.0: USB hub found
[    2.357624] hub 1-1:1.0: 4 ports detected
[    2.385518] scsi host0: sata_mv
[    2.401648] scsi host1: sata_mv
[    2.412372] ata1: SATA max UDMA/133 irq 32
[    2.430224] ata2: SATA max UDMA/133 irq 32
[    2.642484] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[    2.753472] usb 1-1.2: New USB device found, idVendor=0781, idProduct=5567
[    2.760389] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.767770] usb 1-1.2: Product: Cruzer Blade
[    2.772054] usb 1-1.2: Manufacturer: SanDisk
[    2.776350] usb 1-1.2: SerialNumber: 200515362111244120BB
[    2.783851] ata1: SATA link down (SStatus 0 SControl F300)
[    2.795228] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[    2.801831] scsi host2: usb-storage 1-1.2:1.0
[    2.807779] usbcore: registered new interface driver usb-storage
[    2.816256] usbcore: registered new interface driver uas
[    3.803422] scsi 2:0:0:0: Direct-Access     SanDisk  Cruzer Blade     1.26 PQ: 0 ANSI: 5
[    3.818906] sd 2:0:0:0: [sda] 15633408 512-byte logical blocks: (8.00 GB/7.45 GiB)
[    3.828382] sd 2:0:0:0: [sda] Write Protect is off
[    3.833996] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    3.849203]  sda: sda1
[    3.854749] sd 2:0:0:0: [sda] Attached SCSI removable disk
[    8.412482] ata2: link is slow to respond, please be patient (ready=0)
[   12.852478] ata2: SRST failed (errno=-16)
[   23.372479] ata2: SRST failed (errno=-16)
[   40.072511] ata2: link is slow to respond, please be patient (ready=0)
[   58.432476] ata2: SRST failed (errno=-16)
[   58.436508] ata2: limiting SATA link speed to 1.5 Gbps
[   63.442478] ata2: SRST failed (errno=-16)
[   63.446525] ata2: reset failed, giving up
[   63.450560] ata2: exception Emask 0x10 SAct 0x0 SErr 0x180000 action 0x6 frozen t4
[   63.458179] ata2: edma_err_cause=00000020 pp_flags=00000000, SError=00180000
[   63.465274] ata2: SError: { 10B8B Dispar }
[   63.469393] ata2: hard resetting link
[   69.022478] ata2: link is slow to respond, please be patient (ready=0)
[   73.522478] ata2: SRST failed (errno=-16)
[   73.526511] ata2: hard resetting link
[   79.072479] ata2: link is slow to respond, please be patient (ready=0)
[   83.572478] ata2: SRST failed (errno=-16)
[   83.576502] ata2: hard resetting link
[   89.122478] ata2: link is slow to respond, please be patient (ready=0)
[  116.403497] random: nonblocking pool is initialized
[  118.582478] ata2: SRST failed (errno=-16)
[  118.586510] ata2: hard resetting link
[  123.592478] ata2: SRST failed (errno=-16)
[  123.596523] ata2: reset failed, giving up
[  123.600561] ata2: exception Emask 0x10 SAct 0x0 SErr 0x10180000 action 0x6 frozen t3
[  123.608353] ata2: edma_err_cause=00000020 pp_flags=00000000, SError=00180000
[  123.615440] ata2: SError: { 10B8B Dispar }
[  123.619559] ata2: hard resetting link
[  129.172478] ata2: link is slow to respond, please be patient (ready=0)
[  133.672478] ata2: SRST failed (errno=-16)
[  133.676512] ata2: hard resetting link
[  139.222479] ata2: link is slow to respond, please be patient (ready=0)
[  143.722479] ata2: SRST failed (errno=-16)
[  143.726503] ata2: hard resetting link
[  149.272477] ata2: link is slow to respond, please be patient (ready=0)
[  178.732478] ata2: SRST failed (errno=-16)
[  178.736512] ata2: hard resetting link
[  183.742478] ata2: SRST failed (errno=-16)
[  183.746523] ata2: reset failed, giving up
[  183.750561] ata2: exception Emask 0x10 SAct 0x0 SErr 0x180000 action 0x6 frozen t2
[  183.758180] ata2: edma_err_cause=00000020 pp_flags=00000000, SError=00180000
[  183.765269] ata2: SError: { 10B8B Dispar }
[  183.769386] ata2: hard resetting link
[  189.322487] ata2: link is slow to respond, please be patient (ready=0)
[  193.822480] ata2: SRST failed (errno=-16)
[  193.826516] ata2: hard resetting link
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
modprobe: module ext3 not found in modules.dep
Begin: Checking root file system ... fsck from util-linux 2.25.2
fsck: error 2 (No such file or directory) while executing fsck.ext3 for /dev/sda1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[  199.330914] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[  199.348661] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /[  199.372545] ata2: link is slow to respond, please be patient (ready=0)
scripts/init-bottom ... [  203.872483] ata2: SRST failed (errno=-16)
[  203.876518] ata2: hard resetting link
[  209.422480] ata2: link is slow to respond, please be patient (ready=0)
done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: udevd[  230.483254] systemd-udevd[297]: starting version 215
. ok
[....] Synthesizing the initial hotplug events...[  230.729430] input: gpio_keys as /devices/platform/gpio_keys/input/input0
[ ok                                             done.
[....] Waiting for /dev to be fully populated...[  231.005618] marvell-cesa: probe of f1030000.crypto failed with error -524
[  231.060239] orion_wdt: Initial timeout 21 sec
[  231.098075] sd 2:0:0:0: Attached scsi generic sg0 type 0
done.
[ ok ] Activating swap...done.
[  232.479646] EXT4-fs (sda1): re-mounted. Opts: (null)
[....] Checking root file system...fsck from util-linux 2.25.2
rootfs: clean, 14521/488640 files, 148676/1953792 blocks
done.
[  232.651307] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.25.2
done.
[ ok ] Loading kernel modules...done.
[ ok ] Cleaning up temporary files... /tmp.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables ...done.
[  234.708278] NET: Registered protocol family 10
[  234.801514] mv643xx_eth: Set the PHY back to auto-negotiation mode
[  234.807907] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/XX:XX:XX:XX:XX:XX
Sending on   LPF/eth0/XX:XX:XX:XX:XX:XX
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
[  238.523727] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[  238.533635] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  238.882480] ata2: SRST failed (errno=-16)
[  238.887138] ata2: hard resetting link
[  240.192492] INFO: task kworker/u2:1:43 blocked for more than 120 seconds.
[  240.199310]       Not tainted 4.4.0-kirkwood-tld-1 #1
[  240.204398] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  240.212257] kworker/u2:1    D c05b245c     0    43      2 0x00000000
[  240.218667] Workqueue: events_unbound async_run_entry_fn
[  240.224030] [<c05b245c>] (__schedule) from [<c05b2778>] (schedule+0xac/0xc4)
[  240.231183] [<c05b2778>] (schedule) from [<bf050088>] (ata_port_wait_eh+0xa4/0x110 [libata])
[  240.239836] [<bf050088>] (ata_port_wait_eh [libata]) from [<bf04af14>] (ata_port_probe+0x28/0x30 [libata])
[  240.249616] [<bf04af14>] (ata_port_probe [libata]) from [<bf04af60>] (async_port_probe+0x44/0x60 [libata])
[  240.259364] [<bf04af60>] (async_port_probe [libata]) from [<c003a9e0>] (async_run_entry_fn+0x8c/0x1d0)
[  240.268741] [<c003a9e0>] (async_run_entry_fn) from [<c00332f0>] (process_one_work+0x260/0x450)
[  240.277407] [<c00332f0>] (process_one_work) from [<c0034278>] (worker_thread+0x314/0x470)
[  240.285638] [<c0034278>] (worker_thread) from [<c003846c>] (kthread+0xc4/0xd8)
[  240.292928] [<c003846c>] (kthread) from [<c000f090>] (ret_from_fork+0x14/0x24)
[  240.300186] INFO: task systemd-udevd:85 blocked for more than 120 seconds.
[  240.307103]       Not tainted 4.4.0-kirkwood-tld-1 #1
[  240.312170] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  240.320091] systemd-udevd   D c05b245c     0    85      1 0x00000001
[  240.326508] [<c05b245c>] (__schedule) from [<c05b2778>] (schedule+0xac/0xc4)
[  240.333609] [<c05b2778>] (schedule) from [<c003ae84>] (async_synchronize_cookie_domain+0xc0/0x160)
[  240.342625] [<c003ae84>] (async_synchronize_cookie_domain) from [<c00c2740>] (do_init_module+0xc0/0x370)
[  240.352154] [<c00c2740>] (do_init_module) from [<c007f8c8>] (load_module+0x19d0/0x1e90)
[  240.360226] [<c007f8c8>] (load_module) from [<c007ff80>] (SyS_finit_module+0x88/0x9c)
[  240.368115] [<c007ff80>] (SyS_finit_module) from [<c000efe0>] (ret_fast_syscall+0x0/0x38)
[  240.376342] INFO: task systemd-udevd:86 blocked for more than 120 seconds.
[  240.383258]       Not tainted 4.4.0-kirkwood-tld-1 #1
[  240.388330] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  240.396886] systemd-udevd   D c05b245c     0    86      1 0x00000001
[  240.403346] [<c05b245c>] (__schedule) from [<c05b2778>] (schedule+0xac/0xc4)
[  240.410436] [<c05b2778>] (schedule) from [<c003ae84>] (async_synchronize_cookie_domain+0xc0/0x160)
[  240.419475] [<c003ae84>] (async_synchronize_cookie_domain) from [<c00c2740>] (do_init_module+0xc0/0x370)
[  240.429702] [<c00c2740>] (do_init_module) from [<c007f8c8>] (load_module+0x19d0/0x1e90)
[  240.438750] [<c007f8c8>] (load_module) from [<c007ff80>] (SyS_finit_module+0x88/0x9c)
[  240.452555] [<c007ff80>] (SyS_finit_module) from [<c000efe0>] (ret_fast_syscall+0x0/0x38)
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPOFFER from 192.168.178.1
DHCPACK from 192.168.178.1
bound to 192.168.178.24 -- renewal in 427291 seconds.
ifup: interface eth0 already configured
done.
[ ok ] Starting rpcbind daemon....
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1305 (syslogd)
. ok
[ ok ] Starting system message bus: dbus.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[  243.892488] ata2: SRST failed (errno=-16)
[  243.896546] ata2: reset failed, giving up
[  243.900588] ata2: exception Emask 0x10 SAct 0x0 SErr 0x180000 action 0x6 frozen t1
[  243.908518] ata2: edma_err_cause=00000020 pp_flags=00000000, SError=00180000
[  243.915623] ata2: SError: { 10B8B Dispar }
[  243.919745] ata2: hard resetting link
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1303 (klogd)
. ok
[ ok ] Starting NTP server: ntpd.
[ ok ] Starting OpenBSD Secure Shell server: sshd.

Debian GNU/Linux 8 debian ttyS0

debian login: [  249.472503] ata2: link is slow to respond, please be patient (ready=0)
[  253.972482] ata2: SRST failed (errno=-16)
[  253.976513] ata2: hard resetting link
[  259.522481] ata2: link is slow to respond, please be patient (ready=0)
[  264.022483] ata2: SRST failed (errno=-16)
[  264.026522] ata2: hard resetting link
[  269.572482] ata2: link is slow to respond, please be patient (ready=0)

Debian GNU/Linux 8 debian ttyS0

debian login: [  299.032484] ata2: SRST failed (errno=-16)
[  299.036521] ata2: hard resetting link
root
Password:
Last login: Thu May 17 09:34:52 PDT 2018 on ttyS0
Linux debian 4.4.0-kirkwood-tld-1 #1 PREEMPT Mon Jan 25 20:35:24 PST 2016 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.
root@debian:~# fdisk -l

Disk /dev/mtdblock0: 1 MiB, 1048576 bytes, 2048 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mtdblock1: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mtdblock2: 32 MiB,[  304.042488] ata2: SRST failed (errno=-16)
 33554432 bytes,[  304.046670] ata2: reset failed, giving up
 65536 sectors
[  304.052072] ata2: EH pending after 5 tries, giving up
Units: sectors o[  304.058859] ata2: EH complete
f 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mtdblock3: 91 MiB, 95420416 bytes, 186368 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sda: 7.5 GiB, 8004304896 bytes, 15633408 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xae535dd1

Device     Boot Start      End  Sectors  Size Id Type
/dev/sda1        2048 15632383 15630336  7.5G 83 Linux



root@debian:~# fw_printenv
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec
bootdelay=10
bootdev=usb
device=0:1
devices=usb ide mmc
disks=0 1 2 3
ethact=egiga0
ethaddr=XXXXXXXXXXXXXXXXXX
if_netconsole=ping $serverip
ipaddr=192.168.0.231
led_error=orange blinking
led_exit=green off
led_init=green blinking
load_dtb_addr=0x1c00000
load_initrd_addr=0x1100000
load_uimage_addr=0x800000
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file
load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd
load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
partition=nand0,2
preboot_nc=run if_netconsole start_netconsole
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start";  setenv scan_ide "ide reset";  setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done
serverip=192.168.0.220
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_addr=0x810000
uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize
uenv_init_devices=setenv init_usb "usb start";  setenv init_ide "ide reset";  setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices;  do for disknum in 0; do run uenv_read_disk; done; done;
uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read;  fi; else if $devtype part $disknum; then run uenv_read; fi;  fi
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; fi
usb_ready_retry=15
dtb_file=/boot/dts/kirkwood-nsa325.dtb
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi; sleep 3
arcNumber=4495
root@debian:~#

Re: NSA325 uboot does not detect hdd
May 17, 2018 01:52PM
MoA,

Have you tried plug the disk into a different box? this does not seem software related.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
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: