Experimental Physics and
| |||||||||||||||
|
Hi all, I'm struggling to setup a remote boot environment for my EPICS application on RTEMS. The log I get is: My ip address is 10 .128 .11 .1 Hostname is sbc1
bootpc: DHCP server len is 6Ignoring BOOTP/DHCP option code 28 Boot file is /tftpboot/rtems Command line is epics/sbc1/ Subnet mask is 255 .255 .0 .0 Server ip address is 10 .128 .11 .3
Gateway ip address is 0 .0 .0 .0 Log server ip address is 10 .128 .11 .3 bootpc_adjust_interface: add net route, error=114 ***** Initializing NFS ***** Mount (null):/tftpboot/epics <-- what was this "(null)" supposed to be?
RTEMS-RPCIOD $Release$, Till Straumann, Stanford/SLAC/SSRL 2002, See LICENSE file for licensing info. RTEMS-NFS $Release$, Till Straumann, Stanford/SLAC/SSRL 2002, See LICENSE file for licensing info.
mount failed: Invalid argument ***** Starting EPICS application ***** Can't set initial directory(/epics/sbc1/): No such file or directory fatal error, exiting I followed Norum's guide and got everything to compile. Then I created an example app.
makeBaseApp.pl -t example rtems makeBaseApp.pl -i -t example rtems After compiling, I set up the PC that will be acting as a server: Created a /tftpboot directory
Put both generated binaries in it: /tftpboot/rtems /tftpboot/rtems.boot My client is named "sbc1", so I put the st.cmd file, db and dbd directories in:
/tftpboot/epics/sbc1/ The client is a x86 computer running gPXE.
I tried passing different strings to the "command line" (option 129) epics/sbc1 <-- this one gets me to an ioc prompt, but with no databases loaded epics/ epics/sbc1/
/epics/sbc1/ 10.128.11.3:/tftpboot/epics/sbc1/ etc.. I tried defining OMIT_NFS_SUPPORT and using only TFTP, but got something like "Can't open /TFTP/BOOTP_HOST/epics/sbc1/st.cmd: No such file or directory"
I believe I'm missing some really simple configuration parameter... My configuration files: FILE /etc/default/tftpd-dha FILE /etc/exports /tftpboot *(rw,sync,no_root_squash) FILE /etc/default/dchpd.conf
ddns-update-style none; default-lease-time 600;
max-lease-time 7200; # Enable network boot allow booting; allow bootp; log-facility local7;
# Configure the network option subnet-mask 255.255.0.0; option broadcast-address 10.128.255.255; option T128 code 128 = string;
option T129 code 129 = string; subnet 10.128.0.0 netmask 255.255.0.0 { range 10.128.11.1 10.128.11.200; } group { next-server 10.128.11.3;
# DHCP send hostnames declared here use-host-decl-names on; option T128 e4:45:74:68:00:00; #EtherBoot # Single Board Computer 1 host sbc1
{ option host-name "sbc1"; hardware ethernet <MAC ADDRESS>; # ommited on purpose fixed-address 10.128.11.1; filename "/tftpboot/rtems"; # this works
option T129 "epics/sbc1/"; # this doesn't } } Thanks in advance, Bruno Seiva Martins
| ||||||||||||||
ANJ, 18 Nov 2013 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |