NFS mount

VxWorks

    Sponsored Links

    Next

  • 1. How to run RTP project
    How to run RTPs project in workbench. I am unable to spawn a RTPs task in work bench. Please find the following code. int main (void) { int rTP; printf("AA - Hai\n"); const char * argv[] = {"D:/Project/LLTD/workspace/RealTimeProcess/ SIMPENTIUMdiab_RTP_DEBUG/RealTimeProcess.vxe", NULL}; const char * envp[] = {"HEAP_INITIAL_SIZE=0x20000","HEAP_MAX_SIZE=0x100000",NULL}; rTP = (int) rtpSpawn (argv[0], argv, envp, 100, 0x10000, 0, 0); if (rTP == -1) { printf ("RTP task not Spawned \nAll the best for next trail\n"); } return 0; } RealTimeProcess.vxe is already created and stored "D:/Project/LLTD/ workspace/RealTimeProcess/SIMPENTIUMdiab_RTP_DEBUG". Please guide me in this. Thanks in advance. Regards, Meganathan.
  • 2. VxWorks TCB overwrite
    Hello, We are using VxWorks5.5.1 for our product and are facing a crash problem now. >From the crash-dump we can see that a function called selWakeupAll , and tries to switch to some task and it crashes. We have tried the following: 1. Protected the memory above the created tasks, so that the TCB+Stack for the task is pushed below and any access to the protected memory will show the funciton in the crash dump. 2. We have used the TaskSwitchHook function, to check for the Old and New task the stack pointers. If it exceeds the stack limit the corrosponding task is suspended. Could you please suggest some ways to debug such TCB overwrite kind of issues. Regards, Sunil
  • 3. L1/L2 Cache in X86 Processor
    Hi VxWorks experts, I want to port the BSP to X86 processor. The reference processor (BSP) has L1 cache. But in my processor, L1 and L2 cache is used.What I have to update in the BSP? Whether I have to update anything in romInit.s and sysALib.s like disable the L1/L2 cache or configure some processor registers. If we port the BSP to PowerPC Processor, then we can refer the U- Boot open source. For X86 processors, Which open source I could refer. -Regards, C.Premnath
  • 4. SD Card interface on vxworks
    Hello, I am developing a driver for SPI for SD Card interface on Vxworks. As SD Card supports FAT file system, i want to use the same. I have no idea how to go ahaid with the implementation. Can anyone please tell me how the architecture will be, means which are all the layers will come into picture and how each one of them is connected to the other. I am assuming there will be three layers, uppermost will be FAT file system layer, next will be SD Card driver layer and lower most will be the SPI driver layer, but am not sure about this. And even if it is correct i dont know how to go ahaid with it. Can anyway please guide me for the same. Thanks prasad
  • 5. Best way to implement periodic task using POSIX timers
    Hello eveyone, I'm quite a beginner with vxworks and I'd like to ask a basic question. I have to implement a set of three period tasks using POSIX timers. I was wondering which is the best way to do it. My actual implementation uses 3 tasks with different priorieties. Each task has its own entry function and its own timer. There are also 3 counting semaphores. Let me just write some code for explaining in a better way: I spawn task using taskSpawn and I associate to each task a function entryFunction. void entryFunction(SEM_ID sem) { .............. while(1) { semTake(sem); /* periodic stuff*/ } return; } Semaphores are initializated to a 0 count and in the way I wrote the code the first action on a semaphore is always the semTake. The semaphore is given inside timer handler function every tiem it expires. So this means the task does its periodic computation every X ticks. void handler(SEM_ID sem) { semGive(sem); return; } A given semaphore is taken always by the same task and given always by the same timer. Everything seems to work fine with this implementation. Do you think it is a good approach (safe, efficient, etc....)? What I'm not sure about is the use of semaphores for simulating task's idle time. Thank you in advance, Paolo

NFS mount

Postby rychao » Sun, 21 Sep 2003 05:45:28 GMT

We have successfully mounted a share volume on a VxWorks 2.0.2 machine 
on a Solaris 2.5.1 workstation. However, if the files on the VxWorks 
machine are changed through FTP method, the mounted volume will not show 
the files have been changed.

Is there something we can do on the VxWorks side or the Solaris side 
which can sync up the files right away?

Thanks for your help.


Similar Threads:

1.Maximum Mount points in fstab and maximum nfs mounts

Hello All:

I am trying to find out what is the maximum (theoritical or practical) limit 
on number mount points that one have in /etc/fstab. Also, what about mount 
points in /etc/mnttab (for fsys's that I mount while the system is up i.e. 
not during boot up and have no fstab entries).

Additionally, what is the limit for total nfs mounts?

RTFM on fstab has not shown much. Somewhere I found that nfs mounts limit is 
400!?

Has anyone looked into this before?

Thank you for your assistance everyone! 


2.vfstab nfs mounts not mounted automatic

Hello,

In my vfstab I have a couple of nfs mounts. But after a reboot they are
not mounted automatic ? I have to do : mount -a   and then they are there.

OS : Solaris 10 Sparc
--------------
# NFS
s1.domain.com:/export/server - /usr/local/folder1/server nfs - yes -
s1.domain.com:/export/content - /usr/local/folder2/content nfs - yes -
s1.domain.com:/export/docs/vi - /usr/local/folder3/docs/vi nfs - yes -
-------------
Why is this ? Is this a startup order problem with the nfs client ?

This is really getting to be a problem, so I hope someone can give me a
quick answer .....

Thank you for any help.

Greetings.... Richard

3.Multiple nfs mounts on same mount point ?

How is this possible ?

Two nfs mounts on  a same mount point ?

# df -k /mnt
Filesystem    1024-blocks      Free %Used    Iused %Iused Mounted on
apple:/home/data/media-server/DB2   384827392  27588984   93%
369128     6% /mnt
guava01-admin:/export/lpp_source/TSM   384827392  27588984   93%
369128     6% /mnt

4.NFS-mounting a mount-point

If I NFS-mount a directory A (on host X) to a mount point B (on host Y), can 
I then NFS-mount directory B to a mount point C (on Host Z)?

    Host X         Host Y             Host Z
    Dir A      Mount Point B      Mount Point C


The reason I ask is because Host Z does not have access to Host X. 


5.NFS: mount an already mounted disk

Hi all,
I have 3 computers say A,B and C
A is windows, B is a linux box and C is a Solaris.
B mount a disk from B with Samba
since samba is not supported for mount under solaris I thought to
export the disk from B and mount it on C via NFS.
(hope it is clear....)
What I get is "permission denied". All the configuration
are ok because when trying with different directories it works fine.
Any Idea? or workaround to solve the problem?
thanks
 Marco

6. can I chown(1) an NFS-mounted file to a user *not* on the NFS server

7. NFS: mounting nfs filesystem on boot time

8. Pb NFS Mount : cannot get NFS port from portmaper: program not registered



Return to VxWorks

 

Who is online

Users browsing this forum: No registered users and 45 guest