I don't think our conversation made it to the list so I thought I would
re-cap.
I got Hidde's rt_r8169.c from the link he posted and I dropped the
rt_r8169.c file into the /rtnet-0.9.13/drivers directory. I get an
error when I do a
make clean
make
/home/empire/rtnet-0.9.13/drivers/rt_r8169.c:32:24: fatal error:
asm/system.h: No such file or directory
compilation terminated.
make[4]: *** [/home/empire/rtnet-0.9.13/drivers/rt_r8169.o] Error 1
make[3]: *** [_module_/home/empire/rtnet-0.9.13/drivers] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-3.5.7-xenomai-2.6.2.1'
make[2]: *** [all-local.ko] Error 2
make[2]: Leaving directory `/home/empire/rtnet-0.9.13/drivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/empire/rtnet-0.9.13/drivers'
make: *** [all-recursive] Error 1
I also sent this
empire@empire-K55A:~/rtnet-0.9.13$ uname -a
Linux empire-K55A 3.5.7-xenomai-2.6.2.1 #1 SMP Sat Feb 9 15:03:06 CST 2013
x86_64 x86_64 x86_64 GNU/Linux
Hidde suggested
Hello,
I use kernel 3.2.21 with xenomai 2.6.2.1. The latest RTNet release
only supports kernels up to 3.2 according to the news:
http://sourceforge.net/p/rtnet/news/.
well - I went into the rt_r8169.c file and just remarked out
#include <asm/system.h>
make clean and then a make seemed to work then.
and it seemed to build - I was able to up the rteth0 and also solicit a route.
The reason I am playing with RTnet is Linuxcnc (a machine control software) is
starting to support realtime ethernet devices. I have a mesa 7i80 that I can
not use with my laptop for testing. (interface device for machine control) I
just tested it and it also seems to work so - SUCCESS!!
http://www.electronicsam.com/images/KandT/testing/LaptopRTnet.jpg
Thanks much!!
sam
On 10/3/2013 4:16 AM, Hidde Verstoep (E2M) wrote:
Hello Sam,
I recently posted a version of the driver I ported from a more recent
Linux driver. You can just drop it over the old file and it should
work. http://sourceforge.net/mailarchive/message.php?msg_id=31389885.
I see now that it was an HTML message, which is why you might not have
found it. This mail should be in plain text now.
Kind regards,
Hidde Verstoep
E2M Technologies B.V.
On Wed, Oct 2, 2013 at 9:47 PM, sam sokolik <sa...@empirescreen.com> wrote:
I meant the subject to say
RTL8168 using the rt_r8169.ko driver
Also - I did try the rt_8139too.ko driver the same way.. Got this
similar error
[16716.482616] rt_8139too: 0000:03:00.2: region #1 not an MMIO resource,
aborting
[16716.482621] Trying to free nonexistent resource
<000000000000e000-000000000000e0ff>
[16716.482624] Trying to free nonexistent resource
<00000000f0004000-00000000f0004fff>
[16716.482626] Trying to free nonexistent resource
<00000000f0000000-00000000f0003fff>
thanks
sam
On 10/2/2013 11:59 AM, sam sokolik wrote:
I am getting this exact error (RTnet 0.9.13)
http://www.mail-archive.com/rtnet-users@lists.sourceforge.net/msg03371.html
This is what I did.
lspci -nnk
gets me
03:00.2 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd.
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168]
(rev 0a)
Subsystem: ASUSTeK Computer Inc. Device [1043:1457]
Kernel modules: r8169
Next
sudo echo "10ec 8168" > /sys/bus/pci/drivers/rt_r8169/new_id
and get in dmesg
[ 951.112877] rt_r8169: region #1 not an MMIO resource, aborting
Is there any work around? My google foo is failing me.
sam
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users