Hi Cristiano, sorry for the very late reply, I was buried in various other stuff.
Cristiano Mantovani wrote: > Hi Jan, > > I have an embedded board with Atmel AT91SAM9260 and external MAC SMC91c111. > I'm using Linux 2.6.25 with Xenomai 2.4.4 and now I'm testing RTnet version > 0.9.10. > I compiled Linux and RTnet on my PC for ARM target and I downloaded kernel > image and RTnet modules with FTP. > To configure the stack, I inserted these modules: > > insmod rtnet.koinsmod rtipv4.koinsmod rtpacket.koinsmod rt_loopback.ko > # Parameters are for my hardwareinsmod rt_smc91111.ko io=0x30020300 irq=29 > nowait=0insmod rtcap.koinsmod rtmac.koinsmod tdma.ko > rtifconfig rteth0 up 202.0.0.1 netmask 255.255.255.0 hw ether 0:1:2:3:4:6 > -promiscrtroute add 202.0.0.2 0:1:2:3:4:8 dev rteth0 > > # For using tcpdump > ifconfig rteth0 up > # TDMA setup > tdmacfg rteth0 master 2000 > tdmacfg rteth0 slot 0 0 > tdmacfg rteth0 slot 1 1000 > > At this point the command "ifconfig vnic0 up" doesn't work. The output is: > > ifconfig: SIOCGIFFLAGS: No such device That's indeed unusual. What does "ifconfig -a" report? Or is there anything on the kernel console? > > I use slot 0 for real-time data with socket UDP-IP. > I want to use slot 1 for no real-time data with standard linux TCP-IP stack > and I need vnic0 > device. > Is there another way to transfer no real-time data on slot 1? > If I define slot with ID=2, How can I use this slot for my data? Any slot != 1 is for RT (except there is only slot 0, then it is shared with non-RT). But if you want to extend the non-RT slot, you can add additional ones and join them with slot 1, see documentation. That said, the above issue need to be resolved first so that you can actually use the vnics. Maybe udevd renamed it, dunno yet... Jan
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users