Re: [RTnet-developers] ETH_P_ALL feature
Brought to you by:
bet-frogger,
kiszka
|
From: Jan K. <jan...@we...> - 2006-09-28 18:25:21
|
Jorge Almeida wrote:
> Jan
>=20
> With the changes in the stack managersomething happen to the trask that=
distribute the several messages.
> It is not started when i load rtnet.
>=20
> 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_s=
hm,rtai_sem,rtai_lxrt
> sis900 19840 0
>=20
> and the /proc/rtai/names file has the following:
>=20
> RTAI LXRT Information.
>=20
> MAX_SLOTS =3D 150
>=20
> 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 # =20
>=20
> 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 se=
nding part the file has
> tester1:/home/nfs_share/rtnet # cat /proc/rtai/names
>=20
> RTAI LXRT Information.
>=20
> MAX_SLOTS =3D 150
>=20
> 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 # =20
>=20
> only my task appears.=20
> The receive part of the example blocks, and never return.
> I've already use some printk and the task manager code never run.
>=20
> Maybe is something related with the RTAI task. I'm using RTAI-3.4 stabl=
e release.
>=20
> Any clues????
Nope, specifically as I haven't changed anything related. I would
suggest to either vary the versions (older RTnet SVN that used to work,
older RTAI) or step into the rtdm_task creation of the stack manager.
Actually, that service should return some error code if anything went wro=
ng.
Jan
|