Re: [RTnet-developers] ETH_P_ALL feature
Brought to you by:
bet-frogger,
kiszka
|
From: Jorge A. <j-a...@cr...> - 2006-09-28 18:14:49
|
Jan
With the changes in the stack managersomething happen to the trask that distribute the several messages.
It is not started when i load rtnet.
Me test machine has the following modules inserted:
Module Size Used by
rtpacket 5120 0
rtipv4 21664 0
rtcap 16384 0
rt_8139too 11904 6
rtnet 30092 4 rtpacket,rtipv4,rtcap,rt_8139too
rtai_rtdm 22176 4 rtpacket,rtipv4,rt_8139too,rtnet
rtai_shm 8832 0
rtai_sem 17664 2 rtnet,rtai_rtdm
rtai_lxrt 74904 7 rtipv4,rtcap,rt_8139too,rtnet,rtai_rtdm,rtai_shm,rtai_sem
rtai_hal 69840 8 rtcap,rt_8139too,rtnet,rtai_rtdm,rtai_shm,rtai_sem,rtai_lxrt
sis900 19840 0
and the /proc/rtai/names file has the following:
RTAI LXRT Information.
MAX_SLOTS = 150
Linux_Owner Parent PID
Slot Name ID Type RT_Handle Pointer Tsk_PID MEM_Sz USG Cnt
-------------------------------------------------------------------------------
190 RTGLBF 0x9ac6d9e5 SHMEM 0xe09f1000 0x00000000 0 2097152 1
tester1:/home/nfs_share/rtnet #
it should have several semaphores and at least a task for rtnet.
When i run the example that i send to you several days ago, just the sending part the file has
tester1:/home/nfs_share/rtnet # cat /proc/rtai/names
RTAI LXRT Information.
MAX_SLOTS = 150
Linux_Owner Parent PID
Slot Name ID Type RT_Handle Pointer Tsk_PID MEM_Sz USG Cnt
-------------------------------------------------------------------------------
142 TASK1 0x042da6bf TASK 0xe09f2220 0x00000000 0 20179 1
190 RTGLBF 0x9ac6d9e5 SHMEM 0xe09f1000 0x00000000 0 2097152 1
tester1:/home/nfs_share/rtnet #
only my task appears.
The receive part of the example blocks, and never return.
I've already use some printk and the task manager code never run.
Maybe is something related with the RTAI task. I'm using RTAI-3.4 stable release.
Any clues????
Jorge
Em Quinta, 28 de Setembro de 2006 18:24, o Jan Kiszka escreveu:
> Jorge Almeida wrote:
> > Did you do any test on that?
>
> Yes, see examples/xenomai/posix.
>
> > I try to run some of the old tests and the receive using SOCKET RAW and ETH_P_ALL does not work.
> > I will try to check waths going on.
>
> Ok.
>
> Jan
>
>
--
Jorge Almeida
j-a...@cr...
DISCLAIMER: This message may contain confidential information or privileged material and is intended only for the individual(s) named. If you are not a named addressee and mistakenly received this message you should not copy or otherwise disseminate it: please delete this e-mail from your system and notify the sender immediately. E-mail transmissions are not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete or contain viruses. Therefore, the sender does not accept liability for any errors or omissions in the contents of this message that arise as a result of e-mail transmissions. Please request a hard copy version if verification is required. Critical Software, SA.
|