A Dimarts 06 Novembre 2007, M. Koehrer va escriure: > Hi Leo, > > this could be an interrupt issue. Probably one of your standard linux > devices is using IRQ5 or IRQ10. Check this (before calling rtifconfig) by > getting the contents of /proc/interrupts. cat /proc/interrupts. > If you have an entry for IRQ 5 or IRQ 10 you have fount the reason for the > issue. You must not share an interrupt between Xenomai and standard Linux.
Ok, but how I can avoid it? > Thus, try to plugin PCI boards into different slots, try the APIC interrupt > controller in kernel, etc... I can try to assign a irq in the bios to an specific slot. Also, I'm running the xenomai kernel with noapic in the kernel because if not I got a hang when booting. Regards, Leo > Regards > > Mathias > > > I have executed the steps and I got: > > > > insmod modules/rtnet.ko > > insmod modules/rtipv4.ko > > insmod modules/rtpacket.ko > > insmod modules/rt_loopback.ko > > insmod modules/rt_eepro100.ko > > > > and after that dmesg show this: > > > > *** RTnet 0.9.10 - built on Oct 30 2007 19:09:21 *** > > > > RTnet: initialising real-time networking > > initializing loopback... > > RTnet: registered rtlo > > rteth0: 0000:01:06.0, 00:A0:C9:1D:52:B9, IRQ 5. > > *** Receiver lock-up bug detected *** > > Your device may not work reliably! > > RTnet: registered rteth0 > > rteth1: 0000:01:07.0, 00:90:27:13:A5:19, IRQ 10. > > *** Receiver lock-up bug detected *** > > Your device may not work reliably! > > RTnet: registered rteth1 > > > > > > but then, > > > > when I make the rtifconfig, the second (rteth1) in some seconds the box > > is hanged :-( > > > > I'm using xenomai-rc5, linux-2.6.22 and rtnet from svn. > > > > Any ideas? > > > > Regards, > > > > Leo > > > > A Dimarts 06 Novembre 2007, M. Koehrer va escriure: > > > Hi Leo, > > > > > > Jan is right. Just do something like the following steps: > > > cd /usr/local/rtnet/modules > > > insmod rtnet.ko > > > insmod rtipv4.ko > > > insmod rt_eepro100.ko # No need to pass the "cards" parameter if you > > > want the driver # to use all available eepro100 devices... # call dmesg > > > > to > > > > > see the registered devices > > > cd /usr/local/rtnet/sbin > > > ./rtifconfig rteth0 up 10.0.0.1 netmask 255.255.255.0 > > > ./rtifconfig rteth1 up 10.0.1.1 netmask 255.255.255.0 > > > ./rtrtoute solicit 10.0.0.100 dev rteth0 > > > ./rtrtoute solicit 10.0.1.100 dev rteth1 > > > # Call rtroute again to see the routing table > > > ./rtroute > > > > > > Regards > > > > > > Mathias > > > ----- Original Nachricht ---- > > > Von: Jan Kiszka <[EMAIL PROTECTED]> > > > An: Leopold Palomo-Avellaneda <[EMAIL PROTECTED]> > > > Datum: 05.11.2007 21:03 > > > Betreff: Re: [RTnet-users] One box and three interfaces > > > > > > > Leopold Palomo-Avellaneda wrote: > > > > > Hi Mathias, > > > > > > > > > > I'm having a terrific problem. I don't know how to configure rtnet > > > > > to use > > > > > > > > more > > > > > > > > > devices than one. In the rtnet.conf file I have the parameters: > > > > > > > > > > RT_DRIVER="rt_eepro100" > > > > > RT_DRIVER_OPTIONS="cards=1,0,0,0" > > > > > > > > > > # IP address and netmask of this station > > > > > # The TDMA_CONFIG file overrides these parameters for masters and > > > > > > > > backup > > > > > > > > > # masters. Leave blank if you do not use IP addresses or if this > > > > > station > > > > > > > > is > > > > > > > > > # intended to retrieve its IP from the master based on its MAC > > > > > address. IPADDR="10.0.0.1" > > > > > NETMASK="" > > > > > > > > > > so, what do I have to write to configure two interfaces (two > > > > > network > > > > > > > > cards)? > > > > > > > > Write your own boot script like Mathias did. It's fairly simple for > > > > the non-TDMA case, see README, just add more rtifconfig calls for the > > > > additional interface. > > > > > > > > Jan ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users