EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: Re: vxworks boot problem
From: Andrew Johnson via Tech-talk <tech-talk at aps.anl.gov>
To: whitetiger1123 <holyeongbaeg at gmail.com>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Fri, 11 Nov 2022 11:49:42 -0600
Hi,

On 11/11/22 9:16 AM, whitetiger1123 via Tech-talk wrote:
Now I want to use TFTP to load the vxWorks image at MVME6100

When I am trying to boot and load vxWorks image file but its not loading image and throwing error.

Following is the log of error on boot:

 

CPU: Motorola MVME6100-0173 – MPC 7457

Version : VxWorks5.5.1

BSP  version : 1.2/5

Creation data : Nov 4 2008, 16:13:29

 

Press any key to stop auto-boot…

6

[VxWorks Boot]: @

Boot device : geisc0

Unit number : 0

Processor number : 0

Host name : host

File name : /tftpboot/vxWorks

Inet on etherenet : 10.4.49.69:ffffff00

Host inet : 10.4.49.170

Gateway inet : 10.4.49.99

User : test

ftp password : test

flags : 0x0

 

Attached TCP/IP interface to geisc0.

Attaching network interface lo0… done.

Loading..

Error loading file : errno = 0x3d.

 

“User: test” is my ubuntu server’s user name and ftp password is ubuntu server’s password.

Is it wrong?

That looks correct, except that the VxWorks bootrom is using FTP to try to download that file, not TFTP. Have you checked that the File name: path you have set can be fetched from your FTP server? I usually check that using a command-line ftp program on another workstation to login to the ftp server using the same username and password that VxWorks is using, and do a "get" with the same filename. If that succeeds you will know the problem is not with the boot parameters you have set.

There is one other issue that I'm aware of which might be causing this: We have found that in recent years we have to use the FTP server called "vsftpd" (https://security.appspot.com/vsftpd.html) for VxWorks to properly boot from it; the other FTP servers we have tried expect the FTP client to perform some of the protocol steps in a slightly different order, and as a result the VxWorks client times out when connecting to them. There might be other FTP servers that can also work, but vsftpd should be available for many Linux distributions (it is on RHEL at least).

Do I have to check ~/WindRiver/vxworks-6.9/target/config/all/configAll.h file?

No, those settings are the default values that are compiled into the OS and/or bootrom images, but they are replaced by the settings in the boot parameters that get stored in NVRAM that you showed above.

I hope you understand Iam new to the world of RTOS. Casual I’ve been trying to understand them for a week. From there to before he knew nothing of them.

I hope you can help.

Welcome! The EPICS tech-talk list is a good place to ask these kinds of questions as some of us have experience with VxWorks, although there are many fewer sites using it now and future support for EPICS on VxWorks will depend on there being at least one site left that is willing to maintain it.

- Andrew
-- 
Complexity comes for free, Simplicity you have to work for.

References:
vxworks boot problem whitetiger1123 via Tech-talk

Navigate by Date:
Prev: Linear regression record support Peregrine McGehee via Tech-talk
Next: caQtDM .ui to CSS/Phoebus converter Laurenz Rettig via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
Navigate by Thread:
Prev: vxworks boot problem whitetiger1123 via Tech-talk
Next: Re: vxworks boot problem Wang, Lin via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
ANJ, 12 Nov 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·