On Thu, 24 Feb 2005 12:30:09 +0100, Jan Kiszka <[EMAIL PROTECTED]> wrote:
Qeltaras wrote:
I use debian 2.2r3 with kernel linux 2.4.23 from kernel.org. I've installed rtai-3.0r4 without error or warning, and the examples run. I've installed rtnet-0.8, 2 cards 3COM 3C905c
For using the rtnet system: Firsr I shutdown the traditional network device, and I load the rtai modules, but when I load the rtnet with the command "./rtnet/sbin/rtnet start" the ouput is:
3c59x For RTnet www.scyld.com/network/vortex.html 00:0b.0: 3Com PCI 3c905c Tornado at 0xd400. Vers LK1.1.1.16 3c59x: vortex_probe1 fails. Returns -22 00:0c.0: 3Com PCI 3c905c Tornado at 0xd800. Vers LK1.1.1.16 3c59x: vortex_probe1 fails. Returns -22 /usr/local/rtnet/modules/rt_3c59x.o: init_module: No such device can you help me?
I'm no specialist on 3com products, but maybe "3c905c" vs. "3c59x" makes the difference. Did you try the original linux version of the 3c59x driver for your card as well? Does it work?
Besides this, please note that the 3com is not officially supported in RTnet due to unsolved indeterminism in critical code paths.
Jan
Yes, I use the drive 3c59x for my card in the standard linux, and I
haven't any problem.
the driver 3c59x is designed for the 3com's cards 3c590/3c592/3c595/3c597, 3c900 and 3c905.
Ok. But I'm not sure if this driver has ever been tested with your device. Maybe Mathias Koehrer, who ported the driver, did not use your type of hardware for testing and there are still some hidden bugs (besides the fundamental issues I was talking about).
I 've another question: What is the error -22 who returned the system? this error is made after the function: " rtskb_pool_init(&vp->skb_pool, RX_RING_SIZE*2) < RX_RING_SIZE*2 " (file source 3c59x.c line 1403)
-22 (EINVAL) or -12 (ENOMEM)? The latter is returned if the code above fails, i.e. when it is not able to allocate 8 * ~2kB of buffer memory in this case. If it is actually -22, something else must went wrong.
Don't you have a man page for this function and the other rtnet functions? thank for your help.
The best man page is the source code ;). Nope, it's an internal function we did not document explicitely. But you may track down how it works e.g. by browsing the cross reference:
http://www.rts.uni-hannover.de/rtnet/lxr/ident?i=rtskb_pool_init
General information about rtskb handling can be found at the top of rtskb.h:
http://www.rts.uni-hannover.de/rtnet/lxr/source/stack/include/rtskb.h
Jan
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ RTnet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rtnet-users

