Friday, June 7, 2013

BIOS settings for CF mounted to PATA port on SS4200-E

I am trying to install NAS4Free to a compact flash card mounted to the PATA port on my SS4200-E.

Here is what I have tried.
  • Using another computer to write the embedded image to a 2GB Sandisk Ultra II CF card using a card reader.  It booted fine on the other computer, but the SS4200-E  had problems finding the config file.
  • Using another computer to write the embedded image to a 1GB Sandisk Ultra II CF card using a card reader.  It booted fine on the other computer, but the SS4200-E  had problems finding the config file.
  • Using the SS4200-E to install the embedded image from the usb live image to a 256MB Viking CF card.  This didn't work either, and it did not boot on another computer.
Now the USB image seems to be corrupt.  I installed nas4free/NAS4Free-x64-LiveUSB-9.1.0.1.724.img to usb using Win32 Disk Imager to the Viking 256MB CF card.  It boots fine on the computer.

I move the card to the SS4200-E using the IDE-to-CF adapter.  It boots to the welcome screen (seen using a serial connection at 9600 baud) and then goes to the normal boot (option 1 of 6).  It freezes shortly after that.

I booted it back on on the laptop and connected it to the network via ethernet.  I went to the login page (192.168.1.250) and logged in with the default username/password of root/nas4free.

Then I enabled serial output under the System|Advanced menu, put it back in the SS4200-E, and booted up.  This time I got to see the output after nas4free started to boot up, right until the FATAL ERROR:
FATAL ERROR!
The device that contains the configuration file (config.xml) could not be found. NAS4Free cannot continue booting.

This is perplexing, because clearly the CF card is being read and booted from.  On the laptop, the config.xml file is easily found.  So somehow, the partition that has config.xml is not being found.

I need to find out how the embedded image is configured, then see how the SS4200-E is mounting it.


There is an option for verbose logging, so I'll do that next.



Device configuration finished.
procfs registered
ZFS WARNING: Recommended minimum kmem_size is 512MB; expect unstable behavior.
             Consider tuning vm.kmem_size and vm.kmem_size_max
             in /boot/loader.conf.
ZFS filesystem version 5
ZFS storage pool version 28
lapic: Divisor 2, Frequency 100002226 Hz
Timecounters tick every 1.000 msec
crypto: <crypto device>
vlan: initialized, using hash tables with chaining
ipfw2 (+ipv6) initialized, divert loadable, nat loadable, rule-based forwarding disabled, default to accept, logging disabled
ipfw0: bpf attached
lo0: bpf attached
iSCSI boot driver version 0.2.6
hptrr: no controller detected.
md0: Preloaded image </mfsroot> 232783872 bytes at 0xffffffff819a3c58
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
ugen0.1: <Intel> at usbus0
uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <Intel> at usbus1
uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 12Mbps Full Speed USB v1.0
ugen2.1: <Intel> at usbus2
uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen3.1: <Intel> at usbus3
uhub3: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
usbus4: 480Mbps High Speed USB v2.0
siisch0: SIIS reset...
ugen4.1: <Intel> at usbus4
uhub4: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus4
siisch0: SATA connect timeout time=10000us status=00000000
siisch0: SIIS reset done: phy reset found no device
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
siisch1: SIIS reset...
uhub2: 2 ports with 2 removable, self powered
siisch1: SATA connect timeout time=10000us status=00000000
uhub3: 2 ports with 2 removable, self powered
siisch1: SIIS reset done: phy reset found no device
ahcich0: AHCI reset...
ahcich0: SATA connect time=100us status=00000123
ahcich0: AHCI reset: device found
ahcich0: AHCI reset: device ready after 0ms
ahcich1: AHCI reset...
ahcich1: SATA connect time=100us status=00000123
ahcich1: AHCI reset: device found
ahcich1: AHCI reset: device ready after 0ms
ahcich2: AHCI reset...
ahcich2: SATA connect timeout time=10000us status=00000000
ahcich2: AHCI reset: device not found
ahcich3: AHCI reset...
ahcich3: SATA connect timeout time=10000us status=00000000
ahcich3: AHCI reset: device not found
uhub4: 8 ports with 8 removable, self powered
pass0 at ahcich0 bus 0 scbus2 target 0 lun 0
pass0: <SAMSUNG HD103SJ 1AJ100E4> ATA-8 SATA 2.x device
pass0: Serial Number S246J90Z199190
pass0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
pass0: Command Queueing enabled
pass1 at ahcich1 bus 0 scbus3 target 0 lun 0
pass1: <SAMSUNG HD103SJ 1AJ100E4> ATA-8 SATA 2.x device
pass1: Serial Number S246J90Z199188
pass1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
pass1: Command Queueing enabled
ada0 at ahcich0 bus 0 scbus2 target 0 lun 0
GEOM: new disk ada0
ada0: <SAMSUNG HD103SJ 1AJ100E4> ATA-8 SATA 2.x device
ada0: Serial Number S246J90Z199190
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad8
ada1 at ahcich1 bus 0 scbus3 target 0 lun 0
ada1: <SAMSUNG HD103SJ 1AJ100E4> ATA-8 SATA 2.x device
ada1: Serial Number S246J90Z199188
ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C)
ada1: Previously was known as ad10
Timecounter "TSC" frequency 1600035328 Hz quality 1000
GEOM: new disk ada1
Trying to mount root from ufs:/dev/md0 []...
start_init: trying /sbin/init
Loading configuration files.
Booting platform: embedded
Looking for configuration file: ada1 ada0 ada1 ada0

*******************************************************************************
FATAL ERROR!
The device that contains the configuration file (config.xml) could not be
found. NAS4Free cannot continue booting.
*******************************************************************************
Waiting (max 60 seconds) for system process `vnlru' to stop...done
Waiting (max 60 seconds) for system process `bufdaemon' to stop...done
Waiting (max 60 seconds) for system process `syncer' to stop...
Syncing disks, vnodes remaining...0 done
All buffers synced.
Uptime: 18s
(ada0:ahcich0:0:0:0): spin-down
(ada1:ahcich1:0:0:0): spin-down
usbus0: Controller shutdown
uhub0: at usbus0, port 1, addr 1 (disconnected)
usbus0: Controller shutdown complete
usbus1: Controller shutdown
uhub1: at usbus1, port 1, addr 1 (disconnected)
usbus1: Controller shutdown complete
usbus2: Controller shutdown
uhub2: at usbus2, port 1, addr 1 (disconnected)
usbus2: Controller shutdown complete
usbus3: Controller shutdown
uhub3: at usbus3, port 1, addr 1 (disconnected)
usbus3: Controller shutdown complete
usbus4: Controller shutdown
uhub4: at usbus4, port 1, addr 1 (disconnected)
usbus4: Controller shutdown complete
unknown: wake_prep disabled wake for \_SB_.PCI0.P0P2 (S5)
pcib3: wake_prep disabled wake for \_SB_.PCI0.P0P1 (S5)
unknown: wake_prep disabled wake for \_SB_.PCI0.SBRG.PS2K (S5)
unknown: wake_prep disabled wake for \_SB_.PCI0.SBRG.PS2M (S5)
unknown: wake_prep disabled wake for \_SB_.PCI0.MC97 (S5)
pcib1: wake_prep disabled wake for \_SB_.PCI0.P0P4 (S5)
unknown: wake_prep disabled wake for \_SB_.PCI0.P0P5 (S5)
pcib2: wake_prep disabled wake for \_SB_.PCI0.P0P6 (S5)
unknown: wake_prep disabled wake for \_SB_.PCI0.P0P7 (S5)
unknown: wake_prep disabled wake for \_SB_.PCI0.P0P8 (S5)
unknown: wake_prep disabled wake for \_SB_.PCI0.P0P9 (S5)
uhci0: wake_prep disabled wake for \_SB_.PCI0.USB0 (S5)
uhci1: wake_prep disabled wake for \_SB_.PCI0.USB1 (S5)
uhci2: wake_prep disabled wake for \_SB_.PCI0.USB2 (S5)
uhci3: wake_prep disabled wake for \_SB_.PCI0.USB3 (S5)
ehci0: wake_prep disabled wake for \_SB_.PCI0.EUSB (S5)

The operating system has halted.
Please press any key to reboot.







I'm downloading a FreeBSD image now to mount the CF card in.

No comments:

Post a Comment