Re: Bricked NSA320S during 2017.07 flash May 31, 2020 05:41PM |
Admin Registered: 13 years ago Posts: 18,900 |
2nd SATA HDD not recognized Re: Bricked NSA320S during 2017.07 flash June 03, 2020 03:34PM |
Registered: 11 years ago Posts: 55 |
arting 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: Bus 0: OK Bus 1: not available Device 0: Model: WDC WD20EFRX-68AX9N0 Firm: 80.00A80 Ser#: WD-WMC301425233 Type: Hard Disk Supports 48-bit addressing Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512) Unknown command 'mmc' - try 'help'
12.429139] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB) [ 12.453444] sd 0:0:0:0: [sda] 4096-byte physical blocks [ 12.459674] sd 0:0:0:0: [sda] Write Protect is off [ 12.469877] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 [ 12.470060] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 12.504646] sda: sda1 [ 12.515667] sd 0:0:0:0: [sda] Attached SCSI disk
Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors Disk model: WDC WD20EFRX-68A 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: 0x987d4fe9 Device Boot Start End Sectors Size Id Type /dev/sda1 2048 3907029167 3907027120 1.8T 83 Linux
Re: 2nd SATA HDD not recognized Re: Bricked NSA320S during 2017.07 flash June 03, 2020 04:34PM |
Admin Registered: 13 years ago Posts: 18,900 |
Re: 2nd SATA HDD not recognized Re: Bricked NSA320S during 2017.07 flash June 03, 2020 04:41PM |
Registered: 11 years ago Posts: 55 |
Re: 2nd SATA HDD not recognized Re: Bricked NSA320S during 2017.07 flash June 03, 2020 05:16PM |
Admin Registered: 13 years ago Posts: 18,900 |
Quote
Reset IDE: Bus 0: OK Bus 1: OK
Device 0: Model: WDC WD10JFCX-68N6GN0 Firm: 82.00A82 Ser#: WD-WX91A157DLAR
Type: Hard Disk
Supports 48-bit addressing
Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512)
Device 1: Model: WDC WD10JFCX-68N6GN0 Firm: 82.00A82 Ser#: WD-WXJ1E6496Y59
Type: Hard Disk
Supports 48-bit addressing
Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512)
Re: 2nd SATA HDD not recognized Re: Bricked NSA320S during 2017.07 flash June 03, 2020 05:19PM |
Registered: 11 years ago Posts: 55 |
-----------------------------------
Updated 30 Aug 2015
I've uploaded the Zyxel NSA310S/320S u-boot-2014.07-tld-4 image.
The installation instruction is the same for the NSA310S/320S as for other boxes that have a different stock env location: iConnect, Pogo V4/Mobile, and Netgear Stora. In the instruction below (First Updated 21 Dec 2014), I’ve modified it to include this new release.
Caveat: the NSA320S currently has a problem with using 3.5" HDD in the 2nd HDD slot. This seems to be a power-related problem, since using a 2.5" HDD in the 2nd slot is working fine.
Re: 2nd SATA HDD not recognized Re: Bricked NSA320S during 2017.07 flash June 03, 2020 05:25PM |
Admin Registered: 13 years ago Posts: 18,900 |
Re: 2nd SATA HDD not recognized Re: Bricked NSA320S during 2017.07 flash June 03, 2020 05:28PM |
Registered: 11 years ago Posts: 55 |
Re: 2nd SATA HDD not recognized Re: Bricked NSA320S during 2017.07 flash June 04, 2020 12:01AM |
Admin Registered: 13 years ago Posts: 18,900 |
Re: 2nd SATA HDD not recognized Re: Bricked NSA320S during 2017.07 flash June 04, 2020 10:50PM |
Admin Registered: 13 years ago Posts: 18,900 |
cp -a /boot/dts/kirkwood-nsa320s.dtb /boot/dts/kirkwood-nsa320s.dtb.bak cp -a kirkwood-nsa320s.dtb /boot/dts/ sync
Re: 2nd SATA HDD not recognized Re: Bricked NSA320S during 2017.07 flash June 05, 2020 10:23AM |
Registered: 11 years ago Posts: 55 |
Re: Bricked NSA320S during 2017.07 flash June 05, 2020 07:27PM |
Registered: 11 years ago Posts: 55 |
Re: Bricked NSA320S during 2017.07 flash June 05, 2020 07:40PM |
Registered: 11 years ago Posts: 55 |
EHCI timed out on TD - token=0x80008d80
setenv devices usb bootto skip check on sata disks and boot using the rootfs usb in debian.
Re: Bricked NSA320S during 2017.07 flash June 05, 2020 07:56PM |
Registered: 11 years ago Posts: 55 |
Found bootable drive on usb 0
loading uImage ...
5409256 bytes read in 763 ms (6.8 MiB/s)
loading uInitrd ...
9963913 bytes read in 1137 ms (8.4 MiB/s)
loading DTB /boot/dts/kirkwood-nsa320s.dtb ...
13021 bytes read in 1646 ms (6.8 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-5.6.5-kirkwood-tld-1
Created: 2020-06-03 19:25:21 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 5409192 Bytes = 5.2 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
Image Name: initramfs-5.6.5-kirkwood-tld-1
Created: 2020-06-03 19:25:35 UTC
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 9963849 Bytes = 9.5 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 0f18b000, end 0fb0b949 ... OK
Loading Device Tree to 0f184000, end 0f18a2dc ... OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Re: Bricked NSA320S during 2017.07 flash June 05, 2020 09:56PM |
Admin Registered: 13 years ago Posts: 18,900 |
setenv devices usb bootLet it boot until finish. Login to Debian
fw_setenv devices usb
Re: Bricked NSA320S during 2017.07 flash June 06, 2020 03:23AM |
Registered: 11 years ago Posts: 55 |
Re: Bricked NSA320S during 2017.07 flash June 06, 2020 04:20AM |
Registered: 11 years ago Posts: 55 |
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300) [ 12.353512][ T134] ata1.00: ATA-9: WDC WD20EFRX-68AX9N0, 80.00A80, max UDMA/133 [ 12.361003][ T134] ata1.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32) [ 12.386790][ T134] ata1.00: configured for UDMA/133 [ 12.402412][ T7] scsi 0:0:0:0: Direct-Access ATA WDC WD20EFRX-68A 0A80 PQ: 0 ANSI: 5 [ 12.418715][ T7] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB) [ 12.443044][ T7] sd 0:0:0:0: [sda] 4096-byte physical blocks [ 12.449323][ T7] sd 0:0:0:0: [sda] Write Protect is off [ 12.459716][ T7] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 12.493656][ T7] sda: sda1 [ 12.505912][ T7] sd 0:0:0:0: [sda] Attached SCSI disk [ 12.530701][ T1] Key type big_key registered [ 12.544084][ T145] usb 1-1: new high-speed USB device number 2 using orion-ehci [ 12.586378][ T145] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=85.32 [ 12.604102][ T145] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 12.611911][ T145] usb 1-1: Product: USB2.0 Hub [ 12.617250][ T1] Key type encrypted registered [ 12.624972][ T145] hub 1-1:1.0: USB hub found [ 12.630067][ T145] hub 1-1:1.0: 4 ports detected [ 12.635754][ T1] ht1382 0-0068: setting system clock to 2020-06-06T08:16:38 UTC (1591431398) [ 12.756149][ T136] ata2: SATA link down (SStatus 0 SControl F300) [ 12.775607][ T1] Freeing unused kernel memory: 1024K
Re: Bricked NSA320S during 2017.07 flash June 06, 2020 04:28PM |
Admin Registered: 13 years ago Posts: 18,900 |
[ 14.139008][ T187] v5.0-sata1: supplied by pwr_en_sata1 [ 14.167847][ T187] v12.0-sata1: supplied by pwr_en_sata1
dmesg | grep -i ata
Re: Bricked NSA320S during 2017.07 flash June 06, 2020 04:45PM |
Registered: 11 years ago Posts: 55 |
setenv init_sata 'mw.l f1010104 c70e0ffd;ide reset'which I don't understand fully but anything you can think of give a shout. We need to fail this quick as we don't want to spend too much on it. 2.5inch disks work so we have a way out.
Re: Bricked NSA320S during 2017.07 flash June 06, 2020 05:53PM |
Admin Registered: 13 years ago Posts: 18,900 |
setenv init_sata 'mw.l f1010104 c70e0ffd; ide reset' run init_sata
Re: Bricked NSA320S during 2017.07 flash June 06, 2020 07:49PM |
Admin Registered: 13 years ago Posts: 18,900 |
Re: Bricked NSA320S during 2017.07 flash June 07, 2020 06:59AM |
Registered: 11 years ago Posts: 55 |
[ 8.841425] libata version 3.00 loaded. [ 12.078680] sata_mv f1080000.sata: version 1.28 [ 12.078963] sata_mv f1080000.sata: slots 32 ports 2 [ 12.087715] scsi host0: sata_mv [ 12.092177] scsi host1: sata_mv [ 12.096388] ata1: SATA max UDMA/133 irq 32 [ 12.101161] ata2: SATA max UDMA/133 irq 32 [ 12.166411] 0x000002500000-0x000008000000 : "data" [ 12.613736] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300) [ 12.623339] ata1.00: ATA-9: WDC WD20EFRX-68AX9N0, 80.00A80, max UDMA/133 [ 12.643730] ata1.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32) [ 12.654076] ata1.00: configured for UDMA/133 [ 13.193626] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl F300) [ 13.203062] ata2.00: ATA-9: WDC WD20EFRX-68AX9N0, 80.00A80, max UDMA/133 [ 13.210466] ata2.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32) [ 13.222605] ata2.00: configured for UDMA/133
setenv init_sata 'mw.l f1010104 c70e0ffd; ide reset' run init_sata
Re: Bricked NSA320S during 2017.07 flash June 07, 2020 04:50PM |
Admin Registered: 13 years ago Posts: 18,900 |
Re: Bricked NSA320S during 2017.07 flash June 07, 2020 05:02PM |
Registered: 11 years ago Posts: 55 |
setenv init_sata 'mw.l f1010104 c70e0ffd; ide reset' run init_sata
Re: Bricked NSA320S during 2017.07 flash June 07, 2020 05:31PM |
Admin Registered: 13 years ago Posts: 18,900 |
Re: Bricked NSA320S during 2017.07 flash June 07, 2020 05:42PM |
Admin Registered: 13 years ago Posts: 18,900 |
fw_printenv devices devices=usb
Re: Bricked NSA320S during 2017.07 flash June 07, 2020 06:13PM |
Registered: 11 years ago Posts: 55 |
Quote
Test 1. Insert the 3.5" HDD in the 1st slot, 2.5" HDD in the second slot. Boot and see if both SATA are spun up during kernel booting.
Re: Bricked NSA320S during 2017.07 flash June 07, 2020 06:34PM |
Registered: 11 years ago Posts: 55 |
Quote
Test 2. Insert the 2x 2.5" HDD in the both slots. Boot and see if both SATA are spun up during kernel booting.
U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:50:06 -0700) ZyXEL NSA310S/320S 1/2-Bay Power Media Server SoC: Kirkwood 88F6702_A1 DRAM: 256 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: 10 9 0 NSA3x0S> setenv init_sata 'mw.l f1010104 c70e0ffd; ide reset' NSA3x0S> run init_sata Reset IDE: Bus 0: OK Bus 1: .......OK (completes almost after 10seconds) Device 0: Model: WDC WD20EFRX-68AX9N0 Firm: 80.00A80 Ser#: WD-WMC300321381 Type: Hard Disk Supports 48-bit addressing Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512) Device 1: Model: WDC WD20EFRX-68AX9N0 Firm: 80.00A80 Ser#: WD-WMC301425233 Type: Hard Disk Supports 48-bit addressing Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
NSA3x0S> run init_sata withoutNSA3x0S> setenv init_sata 'mw.l f1010104 c70e0ffd; ide reset'set before then uboot gets hooked into sata bus innitializtion over and over and it is powered down/off.
Reset IDE: Bus 0: OK Bus 1: OK Device 0: Model: WDC WD10JFCX-68N6GN0 Firm: 82.00A82 Ser#: WD-WXJ1E6496Y59 Type: Hard Disk Supports 48-bit addressing Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512) Device 1: Model: WDC WD20EFRX-68AX9N0 Firm: 80.00A80 Ser#: WD-WMC300321381 Type: Hard Disk Supports 48-bit addressing Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512) Reset IDE: Bus 0: OK Bus 1: OK Device 0: Model: WDC WD10JFCX-68N6GN0 Firm: 82.00A82 Ser#: WD-WXJ1E6496Y59 Type: Hard Disk Supports 48-bit addressing Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512) Device 1: Model: WDC WD20EFRX-68AX9N0 Firm: 80.00A80 Ser#: WD-WMC300321381 Type: Hard Disk Supports 48-bit addressing Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512) Reset IDE: Bus 0: OK Bus 1: OK Device 0: Model: WDC WD10JFCX-68N6GN0 Firm: 82.00A82 Ser#: WD-WXJ1E6496Y59 Type: Hard Disk Supports 48-bit addressing Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512) Device 1: Model: WDC WD20EFRX-68AX9N0 Firm: 80.00A80 Ser#: WD-WMC300321381 Type: Hard Disk Supports 48-bit addressing Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512) Reset IDE: Bus 0:
E/
Edited 2 time(s). Last edit at 06/07/2020 06:46PM by enki.
Re: Bricked NSA320S during 2017.07 flash June 07, 2020 06:52PM |
Admin Registered: 13 years ago Posts: 18,900 |
Re: Bricked NSA320S during 2017.07 flash June 07, 2020 07:04PM |
Registered: 11 years ago Posts: 55 |