Hi,
the NSA320 won't boot ALARM from USB key.
My situation is as follows:
I can boot Debian both from USB key as well as from SATA (and even the rescue system). To that extent, I installed a new uBoot following this post in the Doozan forum. I then modified the uBoot-env to support a separate boot partition and for USB to take precedence over SATA. As mentioned, everything is ok for Debian Squeeze.
However, when trying to boot the latest ALARM uImage (downloaded on May 15th, 2013), this is what happens:
$this->bbcode_second_pass_code('', '
U-Boot 2011.12 (May 03 2012 - 17:04:23)
ZyXEL NSA320 2-Bay Power Media Server
arm-none-linux-gnueabi-gcc (Sourcery G++ Lite 2009q3-67) 4.4.1
GNU ld (Sourcery G++ Lite 2009q3-67) 2.19.51.20090709
Hit any key to stop autoboot: 0
(Re)start USB...
USB: Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 3 USB Device(s) found
scanning bus for storage devices... 1 Storage Device(s) found
stopping USB..
(Re)start USB...
USB: Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 3 USB Device(s) found
scanning bus for storage devices... 1 Storage Device(s) found
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
1 bytes read
Found bootable drive on usb 0:1
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
2869736 bytes read
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
** File not found /boot/uInitrd
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-3.1.10-16-ARCH
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2869672 Bytes = 2.7 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
')
So, as it should be. But then:
$this->bbcode_second_pass_code('', '
Uncompressing Linux... done, booting the kernel.
[ 22.351827] sd 2:0:0:0: [sda] Asking for cache data failed
[ 22.357343] sd 2:0:0:0: [sda] Assuming drive cache: write through
[ 22.365825] sd 2:0:0:0: [sda] Asking for cache data failed
[ 22.371509] sd 2:0:0:0: [sda] Assuming drive cache: write through
[ 22.515201] sd 2:0:0:0: [sda] Asking for cache data failed
[ 22.520737] sd 2:0:0:0: [sda] Assuming drive cache: write through
[ 30.499196] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 30.507530] [<c000d290>] (unwind_backtrace+0x0/0xe0) from [<c03cc914>] (panic+0x58/0x198)
[ 30.515787] [<c03cc914>] (panic+0x58/0x198) from [<c052fc2c>] (mount_block_root+0x230/0x280)
[ 30.524296] [<c052fc2c>] (mount_block_root+0x230/0x280) from [<c052ff3c>] (prepare_namespace+0x160/0x1c0)
[ 30.533935] [<c052ff3c>] (prepare_namespace+0x160/0x1c0) from [<c052f8c8>] (kernel_init+0x11c/0x14c)
[ 30.543134] [<c052f8c8>] (kernel_init+0x11c/0x14c) from [<c000945c>] (kernel_thread_exit+0x0/0x8)
')
This happens with various USB keys, even ones which have no problem booting Debian.
What could be the problem and how could this be resolved?