02.03.2014 Views

Tornado

Tornado

Tornado

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Tornado</strong> 2.0<br />

User’s Guide<br />

If the target Internet address is not in /etc/hosts (or the NIS equivalent), then the<br />

host does not know about your target. The VxWorks boot program receives an<br />

error message from the host:<br />

host name for your address unknown<br />

Error loading file: status = 0x320001.<br />

0x32 is the VxWorks module number for hostLib 50 (decimal). The digit “1”<br />

corresponds to S_hostLib_UNKNOWN_HOST. See the errnoLib reference manual<br />

entry for a discussion of VxWorks error status values.<br />

■<br />

Verify host file permissions.<br />

The target name must be listed in either of the files userHomeDir/.rhosts or<br />

/etc/hosts.equiv. The target user name can be any user on the host, but do not use<br />

the user name root —special rules often apply to it, and circumventing them<br />

creates security problems on your host.<br />

Make sure that the user name you are using on the target has access to the host<br />

files. To verify that the user name has permission to read the vxWorks file, try<br />

logging in on the host with the target user name and accessing the file (for instance,<br />

with the UNIX size command). This is essentially what the target does when it<br />

boots.<br />

If you have trouble with access permissions, you might try using FTP (File Transfer<br />

Protocol) instead of relying on RSH (remote shell). Normally, if no password is<br />

specified in the boot parameters, the VxWorks object module is loaded using the<br />

RSH service. However, if a password is specified, FTP is used. Sometimes FTP is<br />

easier because you specify the password explicitly, instead of relying on the<br />

configuration files on the host. Also, some non-UNIX systems do not support RSH,<br />

in which case you must use FTP. Another possibility is to try booting using BOOTP<br />

and TFTP; see VxWorks Network Programmer’s Guide: File Access Applications.<br />

■<br />

Check host account .cshrc file.<br />

Unless you specify an FTP password in your boot parameters, or include NFSclient<br />

support in your VxWorks image, the default VxWorks access to host-system<br />

files is based on capturing file contents through the rcmd( ) interface to the UNIX<br />

host. For user accounts whose default shell is the C shell, this makes it imperative<br />

to avoid issuing any output from .cshrc. If any of the commands in .cshrc generates<br />

output, that output can interfere with downloading host files accurately through<br />

rcmd( ). This problem most often shows up while downloading the VxWorks boot<br />

image.<br />

60

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!