Welcome! Log In Create A New Profile

Advanced

Zyxel NSA3x0S u-boot-2014.07-tld-4 for testing

Posted by bodhi 
Re: Zyxel NSA3x0S u-boot-2014.07-tld-4 for testing
February 23, 2016 01:24PM
Manually doing a usb reset and then bootm, NetBSD boots but breaks on the USB too.
On the plus side - it can see both disks!!!

mvsata0 port 0: device present, speed: 3.0Gb/s
mvsata0 port 1: device present, speed: 3.0Gb/s
wd0 at atabus0 drive 0
wd0: <WDC WD20EZRX-00D8PB0>
wd0: 1863 GB, 3876021 cyl, 16 head, 63 sec, 512 bytes/sect x 3907029168 sectors
wd1 at atabus1 drive 0
wd1: <WDC WD20EZRX-00D8PB0>
wd1: 1863 GB, 3876021 cyl, 16 head, 63 sec, 512 bytes/sect x 3907029168 sectors
uhub1 at uhub0 port 1: Genesys Logic USB2.0 Hub, class 9/0, rev 2.00/85.32, addr 2
uhub1: single transaction translator
umass0 at uhub1 port 2 configuration 1 interface 0
umass0: Kingston DataTraveler 2.0, rev 2.00/2.00, addr 3
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <Kingston, DataTraveler 2.0, 0000> disk removable
sd0: fabricating a geometry
sd0: 14782 MB, 14782 cyl, 64 head, 32 sec, 512 bytes/sect x 30273600 sectors
sd0: fabricating a geometry
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
boot device: <unknown>
root on sd0a dumps on sd0b
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
vfs_mountroot: can't open root device
cannot mount root, error = 5
root device (default sd0a):
Re: Zyxel NSA3x0S u-boot-2014.07-tld-4 for testing
February 23, 2016 05:49PM
Micky Wicky Wrote:
-------------------------------------------------------
> No luck with the USB error. But it seems bodhi has
> done it again and cracked the big problem!
>
> I'm doing this:
>
> usb start; mw.l f1010104 c70e0ffd; ide reset;
> setenv bootargs rootdev=sd0a; setenv netbsd_en
> yes; fatload usb 0 0x800000 /netbsd.ub; bootm
> 0x800000
>
>
> The only difference with the previous (working
> with tld-1) boot macro is the addition of the
> poke.
> As it is it can boot neither Linux nor NetBSD:
>
>
> NSA3x0S> boot
> 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: Bus 0: OK Bus 1: .......OK
>   Device 0: Model: WDC WD20EZRX-00D8PB0 Firm:
> 80.00A80 Ser#:  WD-WCC4MHECYZUX
>             Type: Hard Disk
>             Supports 48-bit addressing
>             Capacity: 1907729.0 MB = 1863.0 GB
> (3907029168 x 512)
>   Device 1: Model: WDC WD20EZRX-00D8PB0 Firm:
> 80.00A80 Ser#:  WD-WCC4MCY6Y4AH
>             Type: Hard Disk
>             Supports 48-bit addressing
>             Capacity: 1907729.0 MB = 1863.0 GB
> (3907029168 x 512)
> EHCI timed out on TD - token=0x80008d80
> EHCI timed out on TD - token=0x80008d80
> EHCI timed out on TD - token=0x80008d80
> EHCI timed out on TD - token=0x80008d80
> EHCI timed out on TD - token=0x80008d80
> EHCI timed out on TD - token=0x80008d80
> ** Can't read partition table on 0:0 **
> ** Invalid partition 1 **
> Wrong Image Format for bootm command
> Error occured, error code = 112
> ERROR: can't get kernel image!
>

Cool :)

Could you try with a different USB thumb drive?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Zyxel NSA3x0S u-boot-2014.07-tld-4 for testing
February 23, 2016 05:55PM
I did a bit more digging, there's possibly a regression on the USB front.
By doing a usb reset manually I can read files with fatls and fatload, but something about the USB is not initialised correctly.
My Debian pen drive doesn't work either (both work with tld-1)

Once I've loaded the kernel both OSes fails to initialise the USB - since their roots are on USB, well.... you get the idea.
Re: Zyxel NSA3x0S u-boot-2014.07-tld-4 for testing
February 23, 2016 05:55PM
Steve1987 Wrote:
-------------------------------------------------------
> bodhi,
>
> correct me if I am wrong, but OS X and Linux are
> not binary-compatible. I tried running
> MickyWicky's binaries just in case though, and
> they don't run.
>
> MickyWicky, could you give me some pointers on
> compiling kwboot? I really want to do this :)

Sorry I thought you were running Linux VM on OSX. That should work.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Zyxel NSA3x0S u-boot-2014.07-tld-4 for testing
February 23, 2016 06:17PM
Micky Wicky Wrote:
-------------------------------------------------------
> I did a bit more digging, there's possibly a
> regression on the USB front.
> By doing a usb reset manually I can read files
> with fatls and fatload, but something about the
> USB is not initialised correctly.
> My Debian pen drive doesn't work either (both work
> with tld-1)
>
> Once I've loaded the kernel both OSes fails to
> initialise the USB - since their roots are on USB,
> well.... you get the idea.

Micky,

Do the poke, but dont do 'ide rest', and set the env

setenv devices usb

Boot into Debian. And check dmesg to see if both HDDs are there and you can mount them.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Zyxel NSA3x0S u-boot-2014.07-tld-4 for testing
February 23, 2016 06:34PM
same thing with Debian
I poked (and with this build, the 2nd HDD spins up immediately)
setenv devices usb
run scan_disk
run bootexec_cmd
check that no ide reset is contained in any of the macros that way

Debian boots like NetBSD, until it tries to find the root fs:

Unknown command 'scan_disk' - try 'help'
NSA3x0S> run scan_disk
running scan_disk ...
Scan device usb
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
device usb 0:1
1 bytes read in 242 ms (0 Bytes/s)
Found bootable drive on usb 0
NSA3x0S> run set_bootargs
NSA3x0S> run bootcmd_exec
loading uImage ...
3160651 bytes read in 380 ms (7.9 MiB/s)
loading uInitrd ...
6535284 bytes read in 453 ms (13.8 MiB/s)
loading DTB ...
** No boot file defined **
## Booting kernel from Legacy Image at 00800000 ...

(much further down)

[    2.069926] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.076715] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.083927] usb usb1: Product: EHCI Host Controller
[    2.088789] usb usb1: Manufacturer: Linux 4.2.0-kirkwood-tld-1 ehci_hcd
[    2.095392] usb usb1: SerialNumber: f1050000.ehci
[    2.100921] hub 1-0:1.0: USB hub found
[    2.104750] hub 1-0:1.0: 1 port detected
[    2.109676] mousedev: PS/2 mouse device common for all mice
[    2.115738] i2c /dev entries driver
[    2.121881] ht1382 0-0068: rtc core: registered ht1382 as rtc0
[    2.130423] hidraw: raw HID events driver (C) Jiri Kosina
[    2.136272] drop_monitor: Initializing network drop monitor service
[    2.142802] NET: Registered protocol family 17
[    2.147411] Key type dns_resolver registered
[    2.152568] Loading compiled-in X.509 certificates
[    2.157410] registered taskstats version 1
[    2.161561] zswap: loading zswap
[    2.164805] zswap: using zbud pool
[    2.168205] zswap: using lzo compressor
[    2.180814] Key type encrypted registered
[    2.186627] ht1382 0-0068: setting system clock to 2016-02-24 00:26:53 UTC (1456273613)
[    2.197139] Freeing unused kernel memory: 284K (c07db000 - c0822000)
Loading, please wait...
[    2.279073] systemd-udevd[83]: starting version 215
[    2.295708] random: systemd-udevd urandom read with 4 bits of entropy available
[    2.423754] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    2.585621] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[    2.592327] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.612266] usb 1-1: Product: USB2.0 Hub
[    2.621149] hub 1-1:1.0: USB hub found
[    2.630127] hub 1-1:1.0: 4 ports detected
[    2.913680] usb 1-1.3: new high-speed USB device number 3 using orion-ehci
[    3.024982] usb 1-1.3: New USB device found, idVendor=03f0, idProduct=5607
[    3.031844] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.039158] usb 1-1.3: Product: v210w
[    3.042810] usb 1-1.3: Manufacturer: HP
[    3.046649] usb 1-1.3: SerialNumber: 000000000000AA231A9106A6
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Waiting for root file system ... done.
Gave up waiting for root device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
   - Check root= (did the system wait for the right device?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  /dev/disk/by-label/rootfs does not exist.  Dropping to a shell!
modprobe: can't change directory to '4.2.0-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.2.0-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.2.0-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.2.0-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.2.0-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.2.0-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.2.0-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.2.0-kirkwood-tld-1': No such file or directory


BusyBox v1.22.1 (Debian 1:1.22.0-9+b1) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty; job control turned off
(initramfs) [  125.171771] random: nonblocking pool is initialized

Again, I've just booted this pen drive successfully using tld-1.
With tld-2 it doesn't get to the point where it looks for the ide drives. NetBSD checks for these earlier and does see them both correctly as per my previous post.
Re: Zyxel NSA3x0S u-boot-2014.07-tld-4 for testing
February 23, 2016 07:25PM
Ah! this is just typical booting problem. This should be solvable. Please post the entire serial log.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 02/23/2016 11:33PM by bodhi.
Re: Zyxel NSA3x0S u-boot-2014.07-tld-4 for testing
February 24, 2016 12:04AM
Please try this version with kwboot. Don't do the poke command, just "ide reset".

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Attachments:
open | download - uboot.2015.10-tld-2-rc2.nsa310s.mtd0.kwb (512 KB)
Re: Zyxel NSA3x0S u-boot-2014.07-tld-4 for testing
February 24, 2016 01:14AM
U-Boot 2015.10-tld-2-rc2 (Feb 23 2016 - 21:41:13 -0800)
ZyXEL NSA310S/320S 1/2-Bay Power Media Server

SoC:   Kirkwood 88F6702_A1
DRAM:  256 MiB (ECC not enabled)
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
NSA3x0S> ide info

IDE device 0: device type unknown
IDE device 1: device type unknown
NSA3x0S> ide reset

Reset IDE: Bus 0: OK Bus 1: not available
  Device 0: Model: WDC WD20EZRX-00D8PB0 Firm: 80.00A80 Ser#:  WD-WCC4MHECYZUX
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)

- Doing ide reset has no effect (like tld1)
- Doing the poke has no effect at all (like tld1)
- Trying to boot returns the USB errors "EHCI timed out on TD - token=0x80008d80" (like tld2)
Re: Zyxel NSA3x0S u-boot-2014.07-tld-4 for testing
February 24, 2016 02:47AM
Thanks Micky. I think we've proven that we had been on a wild goose chase with GPIO 33 :) I'm keeping the first version. So please use the tld-2 version for testing.

And please make sure that you always cold start and then run kwboot.

Regarding EHCI timeout on TD error. This is very typical with WD HDDs. I have them all the time, but it does not prevent booting with USB flash rootfs.

1. I think you should temporay disconnect them and boot with USB flash. You should not see these errors.

2. Put the HDDs back in, but set the usb_ready_retry env to something like 45.

3. What is your current envs? please post. This might be the mounting rootfs problem when there are multiple drives/partitions present.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 02/24/2016 03:22AM by bodhi.
Re: Zyxel NSA3x0S u-boot-2014.07-tld-4 for testing
February 24, 2016 08:52AM
I'll do this tonight (GMT).
My envs are as per your default env, with one change, I've set it to run a custom macro to boot NetBSD first thing in the boot order. If that fails run through the default boot sequence you've provided.
I'll bypass that when doing tests tonight.

So are the HDD on a EHCI bus, i.e. USB??

What did you change between tld-1 and tld-2 that made the poke work?



Edited 1 time(s). Last edit at 02/24/2016 09:02AM by Micky Wicky.
Re: Zyxel NSA3x0S u-boot-2014.07-tld-4 for testing
February 24, 2016 12:25PM
All of the below was done from a cold start.

1. As you expected, I can boot from USB with tld-2 as long as the 2 HDDs are physically disconnected.

2. setting usb_ready_try to 45 - no change:
NSA3x0S> setenv usb_ready_retry 45
NSA3x0S> boot
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: 45 second(s)
1 Storage Device(s) found

Reset IDE: Bus 0: OK Bus 1: .......OK
  Device 0: Model: WDC WD20EZRX-00D8PB0 Firm: 80.00A80 Ser#:  WD-WCC4MHECYZUX
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
  Device 1: Model: WDC WD20EZRX-00D8PB0 Firm: 80.00A80 Ser#:  WD-WCC4MCY6Y4AH
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
** Can't read partition table on 0:0 **
** Invalid partition 1 **
Wrong Image Format for bootm command
Error occured, error code = 112
ERROR: can't get kernel image!


3. printenv

NSA3x0S> printenv
arcNumber=4931
boot_zyxel=nand read.e 0x2000000 0xc80000 0xA00000; bootm 0x2000000          <---------- added when attempting to boot to NAND
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1M(u-boot),512K(uboot_env),512K(key_store),512K(info),10M(etc),10M(kernel_1),48896K(rootfs1),10M(kernel_2),-(rootfs2)
bootcmd=run netbsd_boot; run bootcmd_default      <------------ Boot NetBSD first, failing that, use the default boot sequence                        
bootcmd_default=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec
bootcmd_exec=mw 0x800000 0 1; run load_uimage; if run load_initrd; then if run load_dtb; then bootm 0x800000 0x1100000 0x1c00000; else bootm 0x800000 0x1100000; fi; else if run load_dtb; then bootm 0x800000 - 0x1c00000; else bootm 0x800000; fi; fi
bootcmd_nand=setenv bootargs bootargs_console $ {}} $ {bootargs_mtdpartitions root = / dev / nfs rw init = / init; nand read.e 0x2000000} $ {kernel_addr 0xa00000; Boot 0x2000000
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=5
bootdev=usb
device=0:1
devices=usb ide mmc
disks=0 1 2 3
ethact=egiga0
ethaddr=ab:cd:ef:01:23:45
if_netconsole=ping $serverip
init_ide=ide reset
init_mmc=mmc rescan
init_usb=usb start
ipaddr=192.168.XXX.XXX
led_error=orange blinking
led_exit=green off
led_init=green on
load_dtb=echo loading DTB $dtb_file ...; ext2load $bootdev $device 0x1c00000 $dtb_file
load_initrd=echo loading uInitrd ...; ext2load $bootdev $device 0x1100000 /boot/uInitrd
load_uimage=echo loading uImage ...; ext2load $bootdev $device 0x800000 /boot/uImage
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),512K(uboot_env),512K(key_store),512K(info),10M(etc),10M(kernel_1),48896K(rootfs1),10M(kernel_2),-(rootfs2)
nand_erasesize=20000
nand_oobsize=40
nand_writesize=800
nc_ready=1
ncip=192.168.XXX.XXX
netbsd_boot=usb start; mw.l f1010104 c70e0ffd; ide reset; setenv bootargs rootdev=sd0a; setenv netbsd_en yes; fatload usb 0 0x800000 /netbsd.ub; bootm 0x800000
netbsd_en=yes
preboot_nc=setenv nc_ready 0; for pingstat in 1 2 3 4 5; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fi
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 ext2load $dev $disknum:1 0x800000 /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
scan_ide=ide reset
scan_mmc=mmc rescan
scan_usb=usb start
serverip=192.168.1.81
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_import=echo importing envs ...; env import -t 0x810000
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_loaded=0
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 0x810000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi
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
usb_ready_retry=45

Environment size: 3746/131068 bytes
NSA3x0S>

Just to be sure, I removed the NetBSD pen drive, inserted the Debian pen drive, completely bypassed netbsd_boot, same result:
NSA3x0S> ide reset

Reset IDE: Bus 0: OK Bus 1: not available
  Device 0: Model: WDC WD20EZRX-00D8PB0 Firm: 80.00A80 Ser#:  WD-WCC4MHECYZUX
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
NSA3x0S> mw.l f1010104 c70e0ffd
NSA3x0S> ide reset

Reset IDE: Bus 0: OK Bus 1: ..OK
  Device 0: Model: WDC WD20EZRX-00D8PB0 Firm: 80.00A80 Ser#:  WD-WCC4MHECYZUX
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
  Device 1: Model: WDC WD20EZRX-00D8PB0 Firm: 80.00A80 Ser#:  WD-WCC4MCY6Y4AH
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
NSA3x0S> run bootcmd_default
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: 45 second(s)
1 Storage Device(s) found

Reset IDE: Bus 0: OK Bus 1: OK
  Device 0: Model: WDC WD20EZRX-00D8PB0 Firm: 80.00A80 Ser#:  WD-WCC4MHECYZUX
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
  Device 1: Model: WDC WD20EZRX-00D8PB0 Firm: 80.00A80 Ser#:  WD-WCC4MCY6Y4AH
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
Unknown command 'mmc' - try 'help'

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

Part	Start Sector	Num Sectors	UUID		Type
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
** Can't read partition table on 0:0 **
loading envs from usb 0 ...
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
** Can't read partition table on 0:0 **
** Invalid partition 1 **

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

Part	Start Sector	Num Sectors	UUID		Type
  1	2048      	-387940176	00000000-01	a9


Partition Map for IDE device 1  --   Partition Type: DOS

Part	Start Sector	Num Sectors	UUID		Type
  1	2048      	-387940176	d0299f2f-01	83
loading envs from ide 0 ...
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Unknown command 'mmc' - try 'help'
running scan_disk ...
Scan device usb
device usb 0:1
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
** Can't read partition table on 0:0 **
** Invalid partition 1 **
device usb 1:1
** Bad device usb 1 **
device usb 2:1
** Bad device usb 2 **
device usb 3:1
** Bad device usb 3 **
Scan device ide

Reset IDE: Bus 0: OK Bus 1: OK
  Device 0: Model: WDC WD20EZRX-00D8PB0 Firm: 80.00A80 Ser#:  WD-WCC4MHECYZUX
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
  Device 1: Model: WDC WD20EZRX-00D8PB0 Firm: 80.00A80 Ser#:  WD-WCC4MCY6Y4AH
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
device ide 0:1
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
device ide 1:1
** File not found /boot/uImage **
device ide 2:1
** Bad device ide 2 **
device ide 3:1
** Bad device ide 3 **
Scan device mmc
Unknown command 'mmc' - try 'help'
device mmc 0:1
** Bad device mmc 0 **
device mmc 1:1
** Bad device mmc 1 **
device mmc 2:1
** Bad device mmc 2 **
device mmc 3:1
** Bad device mmc 3 **
loading uImage ...
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
** Can't read partition table on 0:0 **
** Invalid partition 1 **
loading uInitrd ...
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
** Can't read partition table on 0:0 **
** Invalid partition 1 **
loading DTB ...
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
** Can't read partition table on 0:0 **
** Invalid partition 1 **
Wrong Image Format for bootm command
Error occured, error code = 112
ERROR: can't get kernel image!
NSA3x0S>
Re: Zyxel NSA3x0S u-boot-2014.07-tld-4 for testing
February 24, 2016 02:55PM
Micky,

1. I see, the HDDs spinup could have been the problem. U-Boot has a quirk that if we try bring up the HDDs too many times, the subsequence tries will cause problem.

- Plug in the Debian USB flash rootfs, and 2 HDDs.
- Cold start with kwboot, interrupt serial console and

setenv bootcmd_default 'run scan_disk; run set_bootargs; run bootcmd_exec'
run bootcmd_default

2. I'll explain what/why I did to make it work (I went back to read my notes when I brought up the NSA310S u-boot), it is a long description. But this is the key: The MPPs setting in NSA310S/320S u-boot needs
MPP20_SATA1_ACTn,
to make the second port active.

If it were not active, we can poke all we want but it won't get the power to the port! chrlee (madadm) did not have to do this in the kernel.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 02/24/2016 02:56PM by bodhi.
Re: Zyxel NSA3x0S u-boot-2014.07-tld-4 for testing
February 24, 2016 04:18PM
So, using tld-2...

- Pluged in the Debian USB flash rootfs, and 2 HDDs.
- Cold started with kwboot, interrupted serial console
- setenv bootcmd_default 'run scan_disk; run set_bootargs; run bootcmd_exec'
- run bootcmd_default

--> Debian starts but fails as earlier with
Gave up waiting for root device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
   - Check root= (did the system wait for the right device?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  /dev/disk/by-label/rootfs does not exist.  Dropping to a shell!
modprobe: can't change directory to '4.2.0-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.2.0-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.2.0-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.2.0-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.2.0-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.2.0-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.2.0-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.2.0-kirkwood-tld-1': No such file or directory


BusyBox v1.22.1 (Debian 1:1.22.0-9+b1) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty; job control turned off

Note that running scan_disk doesn't see Bus 1:
NSA3x0S> run scan_disk; run set_bootargs;
running scan_disk ...
Scan device usb
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: 45 second(s)
1 Storage Device(s) found
device usb 0:1
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
device usb 1:1
** Bad device usb 1 **
device usb 2:1
** Bad device usb 2 **
device usb 3:1
** Bad device usb 3 **
Scan device ide

Reset IDE: Bus 0: OK Bus 1: not available
  Device 0: Model: WDC WD20EZRX-00D8PB0 Firm: 80.00A80 Ser#:  WD-WCC4MHECYZUX
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
device ide 0:1
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
device ide 1:1
** Bad device ide 1 **
device ide 2:1
** Bad device ide 2 **
device ide 3:1
** Bad device ide 3 **
Scan device mmc
Unknown command 'mmc' - try 'help'
device mmc 0:1
** Bad device mmc 0 **
device mmc 1:1
** Bad device mmc 1 **
device mmc 2:1
** Bad device mmc 2 **
device mmc 3:1
** Bad device mmc 3 **
NSA3x0S>

I also tried doing the poke before entering the two commands just in case, same result (except it can see both disks, of course).
Re: Zyxel NSA3x0S u-boot-2014.07-tld-4 for testing
February 24, 2016 04:58PM
Sorry, it should include the poke, like you already tried:

setenv bootcmd_default 'mw.l f1010104 c70e0ffd; run scan_disk; run set_bootargs; run bootcmd_exec'

Were the disks formatted as Ext4? This error is typical of the rootfs can not be mounted. Is the USB Debian rootfs partition the only one? is it labeled as rootfs? is there any other rootfs on the HDDs?

Quote

Gave up waiting for root device. Common problems:
- Boot args (cat /proc/cmdline)
- Check rootdelay= (did the system wait long enough?)
- Check root= (did the system wait for the right device?)
- Missing modules (cat /proc/modules; ls /dev)

Let's do this again with poke executed before the scan_disk. And in this sequence:

mw.l f1010104 c70e0ffd
run scan_disk
run set_bootargs
usb part
run bootcmd_exec

And please post the whole serial console log.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Zyxel NSA3x0S u-boot-2014.07-tld-4 for testing
February 24, 2016 05:41PM
There you go, see full log below.
Worth noting that I have 3 USB drives that I've used to boot this NSA320s, all 3 (1 NetBSD, 2 Debian Jessie) from different manufacturers and sizes, all 3 have booted successfully from tld-1 in the last 48 hours. But with tld-2 all of them show the same issue (regardless of OS).
As a freebie I've run ext4ls - so u-boot can absolutely read from USB, but that goes away once a kernel (Linux or NetBSD) is booted for some reason.

U-Boot 2015.10tld-2 (Feb 23 2016 - 02:17:09 -0800)
ZyXEL NSA310S/320S 1/2-Bay Power Media Server

SoC:   Kirkwood 88F6702_A1
DRAM:  256 MiB (ECC not enabled)
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
NSA3x0S> mw.l f1010104 c70e0ffd
NSA3x0S> run scan_disk
running scan_disk ...
Scan device usb
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: 45 second(s)
1 Storage Device(s) found
device usb 0:1
1 bytes read in 241 ms (0 Bytes/s)
Found bootable drive on usb 0
NSA3x0S> run set_bootargs
NSA3x0S> usb part

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

Part	Start Sector	Num Sectors	UUID		Type
  1	2048      	31332352  	00000000-01	83
NSA3x0S> ext4ls usb 0
<DIR>       4096 .
<DIR>       4096 ..
<DIR>      16384 lost+found
<DIR>       4096 proc
<DIR>       4096 sbin
<DIR>       4096 dev
<DIR>       4096 root
<DIR>       4096 usr
<DIR>       4096 opt
<DIR>       4096 boot
<DIR>       4096 bin
<DIR>       4096 etc
<DIR>       4096 tmp
<DIR>       4096 mnt
<DIR>       4096 var
<DIR>       4096 home
<DIR>       4096 media
<DIR>       4096 sys
<DIR>       4096 run
<DIR>       4096 lib
<DIR>       4096 srv
NSA3x0S> run bootcmd_exec
loading uImage ...
3160651 bytes read in 379 ms (8 MiB/s)
loading uInitrd ...
6535284 bytes read in 452 ms (13.8 MiB/s)
loading DTB ...
** No boot file defined **
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.2.0-kirkwood-tld-1
   Created:      2016-01-20  12:55:23 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3160587 Bytes = 3 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-3.18.5-kirkwood-tld-1
   Created:      2015-02-19   1:49:36 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6535220 Bytes = 6.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... 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.2.0-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Mon Aug 31 23:12:00 PDT 2015
[    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 NSA320S
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1M(u-boot),512K(uboot_env),512K(key_store),512K(info),10M(etc),10M(kernel_1),48896K(rootfs1),10M(kernel_2),-(rootfs2)
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 244188K/262144K available (6019K kernel code, 571K rwdata, 1988K rodata, 284K init, 312K bss, 17956K 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 : 0xd0800000 - 0xff000000   ( 744 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc07da1b4   (8009 kB)
[    0.000000]       .init : 0xc07db000 - 0xc0822000   ( 284 kB)
[    0.000000]       .data : 0xc0822000 - 0xc08b0e24   ( 572 kB)
[    0.000000]        .bss : 0xc08b0e24 - 0xc08ff1a4   ( 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: 11467562657 ns
[    0.000010] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 12884901885ns
[    0.000508] Console: colour dummy device 80x30
[    0.000544] Calibrating delay loop... 990.41 BogoMIPS (lpj=4952064)
[    0.090103] pid_max: default: 32768 minimum: 301
[    0.090250] Security Framework initialized
[    0.090349] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090372] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091235] Initializing cgroup subsys blkio
[    0.091270] Initializing cgroup subsys devices
[    0.091297] Initializing cgroup subsys freezer
[    0.091335] Initializing cgroup subsys net_cls
[    0.091439] CPU: Testing write buffer coherency: ok
[    0.091926] Setting up static identity map for 0x8200 - 0x8258
[    0.092290] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.096563] devtmpfs: initialized
[    0.103383] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.103922] prandom: seed boundary self test passed
[    0.108431] prandom: 100 self tests passed
[    0.108456] pinctrl core: initialized pinctrl subsystem
[    0.110203] NET: Registered protocol family 16
[    0.110682] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.140117] cpuidle: using governor ladder
[    0.170117] cpuidle: using governor menu
[    0.170625] Feroceon L2: Enabling L2
[    0.170675] Feroceon L2: Cache support initialised.
[    0.171139] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.177433] No ATAGs?
[    0.211772] vgaarb: loaded
[    0.212205] usbcore: registered new interface driver usbfs
[    0.212298] usbcore: registered new interface driver hub
[    0.212381] usbcore: registered new device driver usb
[    0.213640] clocksource: Switched to clocksource orion_clocksource
[    0.278677] NET: Registered protocol family 2
[    0.279446] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.279492] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.279526] TCP: Hash tables configured (established 2048 bind 2048)
[    0.279596] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.279622] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.279851] NET: Registered protocol family 1
[    0.280301] RPC: Registered named UNIX socket transport module.
[    0.280316] RPC: Registered udp transport module.
[    0.280325] RPC: Registered tcp transport module.
[    0.280334] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.280648] Unpacking initramfs...
[    0.963898] Freeing initrd memory: 6384K (c1100000 - c173c000)
[    0.964049] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.965293] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.965329] Initialise system trusted keyring
[    0.965472] audit: initializing netlink subsys (disabled)
[    0.965530] audit: type=2000 audit(0.960:1): initialized
[    0.966268] zpool: loaded
[    0.966288] zbud: loaded
[    0.966639] VFS: Disk quotas dquot_6.6.0
[    0.966713] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.967392] NFS: Registering the id_resolver key type
[    0.967433] Key type id_resolver registered
[    0.967443] Key type id_legacy registered
[    0.967475] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.967493] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.967735] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.968332] Key type big_key registered
[    0.989995] Key type asymmetric registered
[    0.990023] Asymmetric key parser 'x509' registered
[    0.990131] bounce: pool size: 64 pages
[    0.990226] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.990246] io scheduler noop registered
[    0.990261] io scheduler deadline registered
[    0.990328] io scheduler cfq registered (default)
[    0.991864] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    0.992664] irq: Cannot allocate irq_descs @ IRQ33, assuming pre-allocated
[    0.993166] irq: Cannot allocate irq_descs @ IRQ65, assuming pre-allocated
[    0.994436] mvebu-pcie mbus:pcie-controller: PCI host bridge to bus 0000:00
[    0.994461] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    0.994477] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    0.994494] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.994916] PCI: bus0: Fast back to back transfers disabled
[    0.994947] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.995179] PCI: bus1: Fast back to back transfers enabled
[    0.995287] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.995634] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.034457] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy )
[    1.074426] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy )
[    1.074659] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.114436] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy )
[    1.154434] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy )
[    1.154945] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    1.156520] console [ttyS0] disabled
[    1.156592] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 10416666) is a 16550A
[    1.825904] console [ttyS0] enabled
[    1.830843] nand: device found, Manufacturer ID: 0x92, Chip ID: 0xf1
[    1.837209] nand: Eon NAND 128MiB 3,3V 8-bit
[    1.841460] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.849020] Scanning device for bad blocks
[    1.858237] Bad eraseblock 100 at 0x000000c80000
[    1.867924] Bad eraseblock 200 at 0x000001900000
[    1.914273] 9 cmdlinepart partitions found on MTD device orion_nand
[    1.920514] Creating 9 MTD partitions on "orion_nand":
[    1.925654] 0x000000000000-0x000000100000 : "u-boot"
[    1.931819] 0x000000100000-0x000000180000 : "uboot_env"
[    1.938208] 0x000000180000-0x000000200000 : "key_store"
[    1.944606] 0x000000200000-0x000000280000 : "info"
[    1.950554] 0x000000280000-0x000000c80000 : "etc"
[    1.956489] 0x000000c80000-0x000001680000 : "kernel_1"
[    1.962834] 0x000001680000-0x000004640000 : "rootfs1"
[    1.969087] 0x000004640000-0x000005040000 : "kernel_2"
[    1.975377] 0x000005040000-0x000008000000 : "rootfs2"
[    1.982785] libphy: Fixed MDIO Bus: probed
[    1.987285] libphy: orion_mdio_bus: probed
[    1.996336] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    2.003739] mv643xx_eth: Set the PHY to fix link down
[    2.009428] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 5c:f4:ab:df:0a:e0
[    2.018678] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.025296] ehci-pci: EHCI PCI platform driver
[    2.029805] ehci-orion: EHCI orion driver
[    2.034060] orion-ehci f1050000.ehci: EHCI Host Controller
[    2.039550] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    2.047474] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    2.063669] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    2.069916] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.076707] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.083920] usb usb1: Product: EHCI Host Controller
[    2.088781] usb usb1: Manufacturer: Linux 4.2.0-kirkwood-tld-1 ehci_hcd
[    2.095383] usb usb1: SerialNumber: f1050000.ehci
[    2.100906] hub 1-0:1.0: USB hub found
[    2.104735] hub 1-0:1.0: 1 port detected
[    2.109658] mousedev: PS/2 mouse device common for all mice
[    2.115718] i2c /dev entries driver
[    2.121858] ht1382 0-0068: rtc core: registered ht1382 as rtc0
[    2.130397] hidraw: raw HID events driver (C) Jiri Kosina
[    2.136238] drop_monitor: Initializing network drop monitor service
[    2.142770] NET: Registered protocol family 17
[    2.147366] Key type dns_resolver registered
[    2.152512] Loading compiled-in X.509 certificates
[    2.157350] registered taskstats version 1
[    2.161501] zswap: loading zswap
[    2.164746] zswap: using zbud pool
[    2.168144] zswap: using lzo compressor
[    2.180758] Key type encrypted registered
[    2.186568] ht1382 0-0068: setting system clock to 2016-02-24 15:35:34 UTC (1456328134)
[    2.197080] Freeing unused kernel memory: 284K (c07db000 - c0822000)
Loading, please wait...
[    2.278917] systemd-udevd[83]: starting version 215
[    2.295792] random: systemd-udevd urandom read with 4 bits of entropy available
[    2.423751] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    2.585622] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[    2.592327] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.611647] usb 1-1: Product: USB2.0 Hub
[    2.621513] hub 1-1:1.0: USB hub found
[    2.629632] hub 1-1:1.0: 4 ports detected
[    2.913678] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[    3.024982] usb 1-1.2: New USB device found, idVendor=03f0, idProduct=5607
[    3.031844] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.039160] usb 1-1.2: Product: v210w
[    3.042810] usb 1-1.2: Manufacturer: HP
[    3.046649] usb 1-1.2: SerialNumber: 000000000000AA231A9106A6
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Waiting for root file system ... done.
Gave up waiting for root device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
   - Check root= (did the system wait for the right device?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  /dev/disk/by-label/rootfs does not exist.  Dropping to a shell!
modprobe: can't change directory to '4.2.0-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.2.0-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.2.0-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.2.0-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.2.0-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.2.0-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.2.0-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.2.0-kirkwood-tld-1': No such file or directory


BusyBox v1.22.1 (Debian 1:1.22.0-9+b1) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty; job control turned off
(initramfs)
Re: Zyxel NSA3x0S u-boot-2014.07-tld-4 for testing
February 24, 2016 05:56PM
This is suspect:

loading DTB ...
** No boot file defined **
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.2.0-kirkwood-tld-1
   Created:      2016-01-20  12:55:23 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3160587 Bytes = 3 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-3.18.5-kirkwood-tld-1
   Created:      2015-02-19   1:49:36 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6535220 Bytes = 6.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Starting kernel ...

<snip>

modprobe: can't change directory to '4.2.0-kirkwood-tld-1': No such file or directory

1. your uImage was embedded with the DTB? if that's true then it's OK.

2. Is your rootfs partiton labeled rootfs?

3. You need to regenerate initramfs to be consistent with the kernel 4.2. This might or might not be the problem (sometime it is OK to use an older initrd).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 02/24/2016 06:20PM by bodhi.
Re: Zyxel NSA3x0S u-boot-2014.07-tld-4 for testing
February 24, 2016 06:12PM
The uImage had the DTB embedded, I followed your guide to do this.
Not sure about the initrd, I'll have to check tomorrow. Shouldn't be the issue though.
The partition is definitely labeled rootfs. Otherwise it wouldn't work on tld-1, right? The fstab refers to the root partition as rootfs. I'll post the detail tomorrow.
I'm really not convinced that the problem is OS-related if I can observe it on two instances of Debian and one of another OS altogether.
But I get that we need a known safe baseline.
Re: Zyxel NSA3x0S u-boot-2014.07-tld-4 for testing
February 24, 2016 06:27PM
Quote

But I get that we need a known safe baseline.

I think this is needed.

I forgot , the devices env needs to be put back (we set it to usb to eliminate problem, but it should be set to both types of disks)
setenv devices 'usb ide'

When you run scan_disk, the timeout error will come back. But normally it will be OK, since your rootfs disk is USB.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 02/24/2016 06:30PM by bodhi.
Re: Zyxel NSA3x0S u-boot-2014.07-tld-4 for testing
February 25, 2016 05:59AM
I mounted the USB on another ARM Linux device to read it:

odroid:/home/michael$ sudo e2label /dev/sda1                                                                                                     
rootfs
odroid:/home/michael$ sudo mount /dev/sda1 /mnt/                                                                                                 
odroid:/home/michael$ sudo chroot /mnt/ /bin/bash
root@odroid:/# cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
/dev/root      /               ext3    noatime,errors=remount-ro 0 1
tmpfs          /tmp            tmpfs   defaults          0       0
root@odroid:/# mount
/dev/sda1 on / type ext3 (rw,relatime,errors=continue,user_xattr,acl,barrier=1,data=ordered)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
root@odroid:/#

Regenerated the initrd... will post later
Re: Zyxel NSA3x0S u-boot-2014.07-tld-4 for testing
February 25, 2016 04:27PM
Steve1987 Wrote:
-------------------------------------------------------
> bodhi,
>
> correct me if I am wrong, but OS X and Linux are
> not binary-compatible. I tried running
> MickyWicky's binaries just in case though, and
> they don't run.
>
> MickyWicky, could you give me some pointers on
> compiling kwboot? I really want to do this :)

Steve,

Do you have another Kirkwood box? or any ARM box?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Zyxel NSA3x0S u-boot-2014.07-tld-4 for testing
February 26, 2016 12:26AM
Hi, not at this point, sorry. But if you need me to use kwboot I can try to do that on my linux VM.

What do you need me to do? I'll have some time later today, then I am off for the weekend.
Re: Zyxel NSA3x0S u-boot-2014.07-tld-4 for testing
February 26, 2016 02:20AM
Steve,

If you can run kwboot with my build tld-2 from this post:
http://forum.doozan.com/read.php?3,23331,26068#msg-26068

1. See if your 3.5" Toshiba HDD is initialized OK in the 2nd slot.

Interrupt serial console after kwboot has loaded. Do the poke, and ide reset
mw.l f1010104 c70e0ffd
ide reset

I expect there will be no timeout error. Let it boot into Debian

boot

2. Shut down, put the WD disk in 1st slot. And do the same test.

This time, wait for a while (like 5 seconds). Do a USB start

usb start

Again there should be no timeout error. If there is time out error, then do this test 2 again but increase the waiting period to something like 60 seconds.

Let it boot into Debian
boot

3. With USB rootfs plugged in, and both HDDs plugged in. Start kwboot, power up, interrupt. do the poke

mw.l f1010104 c70e0ffd
boot

Let it boot all the way into Debian.

If this time we have timeout error, then we'll need to put in some sleep period to help the disks settling down before "usb start"

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Zyxel NSA3x0S u-boot-2014.07-tld-4 for testing
February 26, 2016 03:42AM
It'll be a couple of days before I can test on my side, I'll let you know how it goes.
Re: Zyxel NSA3x0S u-boot-2014.07-tld-4 for testing
February 28, 2016 11:22AM
So test #3 fails (I can't try the other 2 as I only have the 2 WD disks)
The timeouts do not occur if there is no HDD present as we've seen earlier.

U-Boot 2015.10tld-2 (Feb 23 2016 - 02:17:09 -0800)
ZyXEL NSA310S/320S 1/2-Bay Power Media Server

SoC:   Kirkwood 88F6702_A1
DRAM:  256 MiB (ECC not enabled)
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
NSA3x0S> printenv
arcNumber=4931
boot_zyxel=nand read.e 0x2000000 0xc80000 0xA00000; bootm 0x2000000
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1M(u-boot),512K(uboot_env),512K(key_store),512K(info),10M(etc),10M(kernel_1),48896K(rootfs1),10M(kernel_2),-(rootfs2)
bootcmd=run netbsd_boot; run bootcmd_default
bootcmd_default=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec
bootcmd_exec=mw 0x800000 0 1; run load_uimage; if run load_initrd; then if run load_dtb; then bootm 0x800000 0x1100000 0x1c00000; else bootm 0x800000 0x1100000; fi; else if run load_dtb; then bootm 0x800000 - 0x1c00000; else bootm 0x800000; fi; fi
bootcmd_nand=setenv bootargs bootargs_console $ {}} $ {bootargs_mtdpartitions root = / dev / nfs rw init = / init; nand read.e 0x2000000} $ {kernel_addr 0xa00000; Boot 0x2000000
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=5
bootdev=usb
debian_boot=run bootcmd_default
device=0:1
devices=usb ide
disks=0 1 2 3
ethact=egiga0
ethaddr=5c:f4:ab:df:0a:e0
if_netconsole=ping $serverip
init_ide=ide reset
init_mmc=mmc rescan
init_usb=usb start
ipaddr=192.168.1.2
led_error=orange blinking
led_exit=green off
led_init=green on
load_dtb=echo loading DTB $dtb_file ...; ext2load $bootdev $device 0x1c00000 $dtb_file
load_initrd=echo loading uInitrd ...; ext2load $bootdev $device 0x1100000 /boot/uInitrd
load_uimage=echo loading uImage ...; ext2load $bootdev $device 0x800000 /boot/uImage
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),512K(uboot_env),512K(key_store),512K(info),10M(etc),10M(kernel_1),48896K(rootfs1),10M(kernel_2),-(rootfs2)
nand_erasesize=20000
nand_oobsize=40
nand_writesize=800
nc_ready=1
ncip=192.168.1.81
netbsd_boot=mw.l f1010104 c70e0ffd; setenv netbsd_en yes; run scan_disk; fatload usb 0 0x800000 /netbsd.ub; bootm 0x800000
netbsd_en=yes
preboot_nc=setenv nc_ready 0; for pingstat in 1 2 3 4 5; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fi
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 ext2load $dev $disknum:1 0x800000 /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
scan_ide=ide reset
scan_mmc=mmc rescan
scan_usb=usb start
serverip=192.168.1.81
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_import=echo importing envs ...; env import -t 0x810000
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_loaded=0
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 0x810000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi
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
usb_ready_retry=45

Environment size: 3722/131068 bytes
NSA3x0S> mw.l f1010104 c70e0ffd
NSA3x0S> run debian_boot
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 4 USB Device(s) found
       scanning usb for storage devices...
Use USB retry period from the environment: 45 second(s)

Use USB retry period from the environment: 45 second(s)
2 Storage Device(s) found

Reset IDE: Bus 0: OK Bus 1: OK
  Device 0: Model: WDC WD20EZRX-00D8PB0 Firm: 80.00A80 Ser#:  WD-WCC4MHECYZUX
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
  Device 1: Model: WDC WD20EZRX-00D8PB0 Firm: 80.00A80 Ser#:  WD-WCC4MCY6Y4AH
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)

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

Part	Start Sector	Num Sectors	UUID		Type
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
** Can't read partition table on 0:0 **


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

Part	Start Sector	Num Sectors	UUID		Type
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
** Can't read partition table on 1:0 **
loading envs from usb 0 ...
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
** Can't read partition table on 0:0 **
** Invalid partition 1 **

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

Part	Start Sector	Num Sectors	UUID		Type
  1	2048      	-387940176	00000000-01	a9


Partition Map for IDE device 1  --   Partition Type: DOS

Part	Start Sector	Num Sectors	UUID		Type
  1	2048      	-387940176	d0299f2f-01	83
loading envs from ide 0 ...
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
running scan_disk ...
Scan device usb
device usb 0:1
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
** Can't read partition table on 0:0 **
** Invalid partition 1 **
device usb 1:1
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
** Can't read partition table on 1:0 **
** Invalid partition 1 **
device usb 2:1
** Bad device usb 2 **
device usb 3:1
** Bad device usb 3 **
Scan device ide

Reset IDE: Bus 0: OK Bus 1: OK
  Device 0: Model: WDC WD20EZRX-00D8PB0 Firm: 80.00A80 Ser#:  WD-WCC4MHECYZUX
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
  Device 1: Model: WDC WD20EZRX-00D8PB0 Firm: 80.00A80 Ser#:  WD-WCC4MCY6Y4AH
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
device ide 0:1
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
device ide 1:1
** File not found /boot/uImage **
device ide 2:1
** Bad device ide 2 **
device ide 3:1
** Bad device ide 3 **
loading uImage ...
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
** Can't read partition table on 0:0 **
** Invalid partition 1 **
loading uInitrd ...
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
** Can't read partition table on 0:0 **
** Invalid partition 1 **
loading DTB ...
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
** Can't read partition table on 0:0 **
** Invalid partition 1 **
Wrong Image Format for bootm command
Error occured, error code = 112
ERROR: can't get kernel image!
NSA3x0S>
Re: Zyxel NSA3x0S u-boot-2014.07-tld-4 for testing
February 28, 2016 03:09PM
Micky Wicky,

> So test #3 fails (I can't try the other 2 as I
> only have the 2 WD disks)
> The timeouts do not occur if there is no HDD
> present as we've seen earlier.

Thanks Micky. You can do this test : use only 1 WD HDD in the 2nd slot and a USB rootfs.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Zyxel NSA3x0S u-boot-2014.07-tld-4 for testing
February 28, 2016 03:25PM
Let's improve the envs a bit. I meant to do this when I released new u-boot, but forgot all about it. This will eliminate some errors.

setenv load_dtb 'echo loading DTB $dtb_file ...; load $bootdev $device 0x1c00000 $dtb_file'
setenv load_initrd 'echo loading uInitrd ...; load $bootdev $device 0x1100000 /boot/uInitrd'
seyenv load_uimage 'echo loading uImage ...; load $bootdev $device 0x800000 /boot/uImage'

setenv 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 0x800000 /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'

and then do the poke and boot.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Zyxel NSA3x0S u-boot-2014.07-tld-4 for testing
February 28, 2016 04:28PM
So, having no disk in slot 1 and a disk in slot 2.
With your updated envs (saved)
poke and boot - Debian boots successfully

NSA3x0S> run debian_boot
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 4 USB Device(s) found
       scanning usb for storage devices...
Use USB retry period from the environment: 45 second(s)

Use USB retry period from the environment: 45 second(s)
2 Storage Device(s) found

Reset IDE: Bus 0: not available  Bus 1: OK
  Device 1: Model: WDC WD20EZRX-00D8PB0 Firm: 80.00A80 Ser#:  WD-WCC4MCY6Y4AH
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)

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

Part	Start Sector	Num Sectors	UUID		Type
  1	2048      	65536     	00000000-01	0e
  2	67584     	30206016  	00000000-02	a9 Boot


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

Part	Start Sector	Num Sectors	UUID		Type
  1	2048      	31332352  	00000000-01	83
loading envs from usb 0 ...
reading /boot/uEnv.txt
** Unable to read file /boot/uEnv.txt **


Partition Map for IDE device 1  --   Partition Type: DOS

Part	Start Sector	Num Sectors	UUID		Type
  1	2048      	-387940176	d0299f2f-01	83
loading envs from ide 0 ...
** Bad device ide 0 **
running scan_disk ...
Scan device usb
device usb 0:1
reading /boot/uImage
** Unable to read file /boot/uImage **
device usb 1:1
1 bytes read in 199 ms (0 Bytes/s)
Found bootable drive on usb 1
loading uImage ...
3160651 bytes read in 319 ms (9.4 MiB/s)
loading uInitrd ...
7148350 bytes read in 474 ms (14.4 MiB/s)
loading DTB ...
** No boot file defined **
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.2.0-kirkwood-tld1
   Created:      2016-02-25   8:46:15 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3160587 Bytes = 3 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-4.2.0-kirkwood-tld-1
   Created:      2016-02-25   9:07:12 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7148286 Bytes = 6.8 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... 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.2.0-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Mon Aug 31 23:12:00 PDT 2015
[    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 NSA320S
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1M(u-boot),512K(uboot_env),512K(key_store),512K(info),10M(etc),10M(kernel_1),48896K(rootfs1),10M(kernel_2),-(rootfs2)
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 243588K/262144K available (6019K kernel code, 571K rwdata, 1988K rodata, 284K init, 312K bss, 18556K 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 : 0xd0800000 - 0xff000000   ( 744 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc07da1b4   (8009 kB)
[    0.000000]       .init : 0xc07db000 - 0xc0822000   ( 284 kB)
[    0.000000]       .data : 0xc0822000 - 0xc08b0e24   ( 572 kB)
[    0.000000]        .bss : 0xc08b0e24 - 0xc08ff1a4   ( 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: 11467562657 ns
[    0.000011] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 12884901885ns
[    0.000508] Console: colour dummy device 80x30
[    0.000544] Calibrating delay loop... 990.41 BogoMIPS (lpj=4952064)
[    0.090104] pid_max: default: 32768 minimum: 301
[    0.090250] Security Framework initialized
[    0.090350] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090375] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091238] Initializing cgroup subsys blkio
[    0.091273] Initializing cgroup subsys devices
[    0.091300] Initializing cgroup subsys freezer
[    0.091338] Initializing cgroup subsys net_cls
[    0.091438] CPU: Testing write buffer coherency: ok
[    0.091926] Setting up static identity map for 0x8200 - 0x8258
[    0.092289] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.096570] devtmpfs: initialized
[    0.103389] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.103928] prandom: seed boundary self test passed
[    0.108437] prandom: 100 self tests passed
[    0.108463] pinctrl core: initialized pinctrl subsystem
[    0.110205] NET: Registered protocol family 16
[    0.110684] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.140118] cpuidle: using governor ladder
[    0.170116] cpuidle: using governor menu
[    0.170626] Feroceon L2: Enabling L2
[    0.170676] Feroceon L2: Cache support initialised.
[    0.171140] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.177431] No ATAGs?
[    0.211779] vgaarb: loaded
[    0.212214] usbcore: registered new interface driver usbfs
[    0.212307] usbcore: registered new interface driver hub
[    0.212391] usbcore: registered new device driver usb
[    0.213648] clocksource: Switched to clocksource orion_clocksource
[    0.278691] NET: Registered protocol family 2
[    0.279457] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.279504] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.279538] TCP: Hash tables configured (established 2048 bind 2048)
[    0.279608] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.279634] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.279861] NET: Registered protocol family 1
[    0.280317] RPC: Registered named UNIX socket transport module.
[    0.280332] RPC: Registered udp transport module.
[    0.280340] RPC: Registered tcp transport module.
[    0.280349] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.280664] Unpacking initramfs...
[    1.021146] Freeing initrd memory: 6984K (c1100000 - c17d2000)
[    1.021297] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.022549] futex hash table entries: 256 (order: -1, 3072 bytes)
[    1.022586] Initialise system trusted keyring
[    1.022714] audit: initializing netlink subsys (disabled)
[    1.022771] audit: type=2000 audit(1.010:1): initialized
[    1.023523] zpool: loaded
[    1.023543] zbud: loaded
[    1.023975] VFS: Disk quotas dquot_6.6.0
[    1.024048] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.024725] NFS: Registering the id_resolver key type
[    1.024771] Key type id_resolver registered
[    1.024782] Key type id_legacy registered
[    1.024813] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.024832] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.025072] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    1.025667] Key type big_key registered
[    1.048638] Key type asymmetric registered
[    1.048666] Asymmetric key parser 'x509' registered
[    1.048772] bounce: pool size: 64 pages
[    1.048868] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.048889] io scheduler noop registered
[    1.048903] io scheduler deadline registered
[    1.048972] io scheduler cfq registered (default)
[    1.050501] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    1.051300] irq: Cannot allocate irq_descs @ IRQ33, assuming pre-allocated
[    1.051798] irq: Cannot allocate irq_descs @ IRQ65, assuming pre-allocated
[    1.052767] mvebu-pcie mbus:pcie-controller: PCI host bridge to bus 0000:00
[    1.052791] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    1.052807] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    1.052824] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.053245] PCI: bus0: Fast back to back transfers disabled
[    1.053277] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.053510] PCI: bus1: Fast back to back transfers enabled
[    1.053617] pci 0000:00:01.0: PCI bridge to [bus 01]
[    1.054271] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.094462] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy )
[    1.134433] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy )
[    1.134667] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.174443] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy )
[    1.214442] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy )
[    1.214949] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    1.216516] console [ttyS0] disabled
[    1.216586] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 10416666) is a 16550A
[    1.885898] console [ttyS0] enabled
[    1.890834] nand: device found, Manufacturer ID: 0x92, Chip ID: 0xf1
[    1.897204] nand: Eon NAND 128MiB 3,3V 8-bit
[    1.901453] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.909013] Scanning device for bad blocks
[    1.918229] Bad eraseblock 100 at 0x000000c80000
[    1.927908] Bad eraseblock 200 at 0x000001900000
[    1.974242] 9 cmdlinepart partitions found on MTD device orion_nand
[    1.980480] Creating 9 MTD partitions on "orion_nand":
[    1.985622] 0x000000000000-0x000000100000 : "u-boot"
[    1.991788] 0x000000100000-0x000000180000 : "uboot_env"
[    1.998169] 0x000000180000-0x000000200000 : "key_store"
[    2.004593] 0x000000200000-0x000000280000 : "info"
[    2.010542] 0x000000280000-0x000000c80000 : "etc"
[    2.016486] 0x000000c80000-0x000001680000 : "kernel_1"
[    2.022798] 0x000001680000-0x000004640000 : "rootfs1"
[    2.029054] 0x000004640000-0x000005040000 : "kernel_2"
[    2.035347] 0x000005040000-0x000008000000 : "rootfs2"
[    2.042760] libphy: Fixed MDIO Bus: probed
[    2.047352] libphy: orion_mdio_bus: probed
[    2.056996] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    2.064491] mv643xx_eth: Set the PHY to fix link down
[    2.070151] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 5c:f4:ab:df:0a:e0
[    2.079407] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.086041] ehci-pci: EHCI PCI platform driver
[    2.090550] ehci-orion: EHCI orion driver
[    2.094804] orion-ehci f1050000.ehci: EHCI Host Controller
[    2.100295] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    2.108151] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    2.133685] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    2.139933] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.146720] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.153936] usb usb1: Product: EHCI Host Controller
[    2.158797] usb usb1: Manufacturer: Linux 4.2.0-kirkwood-tld-1 ehci_hcd
[    2.165399] usb usb1: SerialNumber: f1050000.ehci
[    2.170913] hub 1-0:1.0: USB hub found
[    2.174740] hub 1-0:1.0: 1 port detected
[    2.179670] mousedev: PS/2 mouse device common for all mice
[    2.185742] i2c /dev entries driver
[    2.191878] ht1382 0-0068: rtc core: registered ht1382 as rtc0
[    2.200432] hidraw: raw HID events driver (C) Jiri Kosina
[    2.206284] drop_monitor: Initializing network drop monitor service
[    2.212812] NET: Registered protocol family 17
[    2.217434] Key type dns_resolver registered
[    2.222577] Loading compiled-in X.509 certificates
[    2.227418] registered taskstats version 1
[    2.231576] zswap: loading zswap
[    2.234821] zswap: using zbud pool
[    2.238221] zswap: using lzo compressor
[    2.251722] Key type encrypted registered
[    2.257537] ht1382 0-0068: setting system clock to 2016-02-28 13:56:20 UTC (1456667780)
[    2.268052] Freeing unused kernel memory: 284K (c07db000 - c0822000)
Loading, please wait...
[    2.351237] systemd-udevd[84]: starting version 215
[    2.366101] random: systemd-udevd urandom read with 4 bits of entropy available
[    2.493752] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    2.551402] SCSI subsystem initialized
[    2.626636] sata_mv f1080000.sata: slots 32 ports 2
[    2.655675] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[    2.662378] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.681916] usb 1-1: Product: USB2.0 Hub
[    2.691843] hub 1-1:1.0: USB hub found
[    2.699624] scsi host0: sata_mv
[    2.702813] hub 1-1:1.0: 4 ports detected
[    2.723302] scsi host1: sata_mv
[    2.733320] ata1: SATA max UDMA/133 irq 32
[    2.752785] ata2: SATA max UDMA/133 irq 32
[    2.983685] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[    3.113689] ata1: SATA link down (SStatus 0 SControl F300)
[    3.205536] usb 1-1.2: New USB device found, idVendor=0951, idProduct=1665
[    3.212401] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.219714] usb 1-1.2: Product: DataTraveler 2.0
[    3.224334] usb 1-1.2: Manufacturer: Kingston
[    3.228671] usb 1-1.2: SerialNumber: 0017318974D91FC0693A4974
[    3.246299] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[    3.252963] scsi host2: usb-storage 1-1.2:1.0
[    3.259326] usbcore: registered new interface driver usb-storage
[    3.268950] usbcore: registered new interface driver uas
[    3.323692] usb 1-1.3: new high-speed USB device number 4 using orion-ehci
[    3.435030] usb 1-1.3: New USB device found, idVendor=03f0, idProduct=5607
[    3.441896] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.449229] usb 1-1.3: Product: v210w
[    3.452878] usb 1-1.3: Manufacturer: HP
[    3.456717] usb 1-1.3: SerialNumber: 000000000000AA231A9106A6
[    3.466205] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[    3.474532] scsi host3: usb-storage 1-1.3:1.0
[    3.643699] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    3.663930] ata2.00: ATA-9: WDC WD20EZRX-00D8PB0, 80.00A80, max UDMA/133
[    3.670608] ata2.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    3.693914] ata2.00: configured for UDMA/133
[    3.714047] scsi 1:0:0:0: Direct-Access     ATA      WDC WD20EZRX-00D 0A80 PQ: 0 ANSI: 5
[    3.736627] sd 1:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
[    3.747952] sd 1:0:0:0: [sda] 4096-byte physical blocks
[    3.753495] sd 1:0:0:0: [sda] Write Protect is off
[    3.758558] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    4.255889] scsi 2:0:0:0: Direct-Access     Kingston DataTraveler 2.0 0000 PQ: 0 ANSI: 4
[    4.271369] sd 2:0:0:0: [sdb] 30273600 512-byte logical blocks: (15.5 GB/14.4 GiB)
[    4.280745] sd 1:0:0:0: Attached scsi generic sg0 type 0
[    4.286797] sd 2:0:0:0: Attached scsi generic sg1 type 0
[    4.292341] sd 2:0:0:0: [sdb] Write Protect is off
[    4.303109] sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    4.324692]  sdb: sdb1 sdb2
[    4.324692]  sdb2: <netbsd: sdb5 sdb6bad subpartition - ignored
[    4.324692]  >
[    4.351708] sd 2:0:0:0: [sdb] Attached SCSI removable disk
[    4.405933]  sda: sda1
[    4.410811] sd 1:0:0:0: [sda] Attached SCSI disk
[    4.479014] scsi 3:0:0:0: Direct-Access     hp       v210w            1.00 PQ: 0 ANSI: 4
[    4.495106] sd 3:0:0:0: [sdc] 31334400 512-byte logical blocks: (16.0 GB/14.9 GiB)
[    4.503150] sd 3:0:0:0: Attached scsi generic sg2 type 0
[    4.515599] sd 3:0:0:0: [sdc] Write Protect is off
[    4.526963] sd 3:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    4.547931]  sdc: sdc1
[    4.562081] sd 3:0:0:0: [sdc] Attached SCSI removable disk
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.
Begin: Checking root file system ... fsck from util-linux 2.25.2
rootfs: clean, 17583/979200 files, 254714/3916544 blocks
done.
[   15.154248] EXT3-fs (sdc1): mounted filesystem with ordered data mode
done.
[   15.162203] kjournald starting.  Commit interval 5 seconds
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
Re: Zyxel NSA3x0S u-boot-2014.07-tld-4 for testing
February 29, 2016 01:59PM
Haven't figured out how to do tables in here....
So I tried different combinations of poke/no poke, and whether HDDs are connected, in Debian and NetBSD (both using USB rootfs):
this is doing no more than the poke and run bootcmd_default (for Debian) and usb start; fatload; bootm (for NetBSD)

Poke - HDD1 - HDD2 - Debian Result - NetBSD Result
No - yes - yes - FAIL - FAIL
No - yes - no - FAIL - FAIL <--- both previously working with tld-1
No - no - no - OK - OK
Yes - yes - yes - FAIL - FAIL <---- top prize
No - no - yes - OK - OK
Yes - no - yes - OK - OK
Yes - no - no - OK - OK
Yes - yes - no - OK - FAIL <--- NetBSD previously working with tld-1

Every FAIL is a EHCI error as above, except in the last case where NetBSD fails to init the USB mass storage while booting (also pasted above).



Edited 3 time(s). Last edit at 02/29/2016 02:27PM by Micky Wicky.
Re: Zyxel NSA3x0S u-boot-2014.07-tld-4 for testing
February 29, 2016 05:07PM
Micky Wicky Wrote:
-------------------------------------------------------
> Haven't figured out how to do tables in here....
> So I tried different combinations of poke/no poke,
> and whether HDDs are connected, in Debian and
> NetBSD (both using USB rootfs):
> this is doing no more than the poke and run
> bootcmd_default (for Debian) and usb start;
> fatload; bootm (for NetBSD)
>
> Poke - HDD1 - HDD2 - Debian Result - NetBSD
> Result
> No - yes - yes - FAIL - FAIL
> No - yes - no - FAIL - FAIL <--- both previously
> working with tld-1
> No - no - no - OK - OK
> Yes - yes - yes - FAIL - FAIL <---- top prize

> No - no - yes - OK - OK. ******* HDD2 was not initialized? But boot OK?

> Yes - no - yes - OK - OK. ****** HDD2 was initilized, and boot OK?

> Yes - no - no - OK - OK
> Yes - yes - no - OK - FAIL <--- NetBSD previously
> working with tld-1
>
> Every FAIL is a EHCI error as above, except in the
> last case where NetBSD fails to init the USB mass
> storage while booting (also pasted above).

Thanks Micky. 2 questions above.

-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: