Closed GoogleCodeExporter closed 9 years ago
I saw a folder called final-patches so I tried renaming that to patches and I
got a little bit further however after the script ran the folders were created
with under the LINUX folder with the various drivers however the only file that
was in them was a Makefile. I did not see for example the ixgbe.ko file.
Original comment by rfede...@gmail.com
on 15 Aug 2014 at 5:28
I have pushed a workaround for this in the next branch. I you want to use the
master branch, instead, please apply the attached patch.
Please note, however, that you already correctly fixed this issue by creating
the patches->final-patches link. For the other issue you facing, please run a
'make clean' and then retry, since the previous error may have left the
directory in an inconsistent state.
Original comment by giuseppe.lettieri73
on 16 Aug 2014 at 10:24
Attachments:
Hi thanks for the update. I have not tried the patch just yet as I will be out
of the office for the next 2 weeks but just wanted to give you some feedback
since you mentioned that I was on the right track with my attempted fix.
I did the make clean commands and the tried to troubleshoot as well with make
-n.
WHen I ran the make after changing the directory name, it went a little farther
but I noticed the output was saying "nothing to compare" for each of different
NIC model types. (Sorry my test system is not connected to the network so I
cannot get screen shots)
One of the things I concluded is that the script is trying to copy the original
driver file from (/usr/src/.../ethernet/intel...) paths. When I went into those
paths I saw that the only file that was in each of the folders for the
different NIC models such as the ixgbe folder, was the Makefile. I did not see
any other files in the folder. As a test I created a text file called ROG.txt
in the ixgbe folder. I then ran the netmap makefile again to see what would
happen. Sure enough after the script ran it created the different subfolders
under the \LINUX folder and in the \LINUX\ixgbe folder was my Rog.txt file.
My next step was to try to find where the driver files were and I found them in
the /lib/modules.../ethernet/intel... paths and as a test I copied the ixgbe.ko
file from there to the ixgbe folder under /usr/src/.../ethernet/intel...
I ran the make clean for netmap and ran the make again however I still got the
messages saying that there was nothing to compare. The ixgbe.ko did make it
into the /LINUX/ixgbe folder but I assumed the file wasn't modified and simply
just copied.
That is where I am right now. As I mentioned I am using Ubuntu 14. Could you
recommend a version of Ubuntu that you have used?
Thanks!
Original comment by rfede...@gmail.com
on 16 Aug 2014 at 12:26
Hi, thank you for the additional details. Your conclusions about the file
copying are correct. It looks like you don't have the full kernel sources
installed, or at least they are not in the standard place. Please note that we
need the *source files* since we have to patch them: the compiled binary that
you have found in /lib/modules/... doesn't help.
Ubuntu 14 is fine, that is what I am using. You can get the sources for your
running kernel with
apt-get source linux-image-$(uname -r)
('apt-get source linux' may suffice)
Note that this will put the sources in the current directory, whatever that is.
Then, you can move to .../netmap/LINUX and issue:
make SRC=/path/to/your/kernel/sources
Original comment by giuseppe.lettieri73
on 16 Aug 2014 at 1:31
Thanks the apt-get source Linux worked and was able to get all the source code
and then use the make SRC=.../sources command and it created the directories
with the drivers in them.
However when I run my tcpreplay app with the --netmap option I am getting
--Fatal Error: --netmap feature was not compiled in. See INSTALL. I will post
to the tcpreplay list to see if I can find anything and post back here.
Original comment by rfede...@gmail.com
on 3 Sep 2014 at 2:43
Thanks for the update. The additional problem you mention mostly likely depends
on tcpreplay configuration and compilation and it should be unrelated to the
present issue. Therefore, I am closing it. Feel free to open another issue if
you find out that the problem is caused by netmap.
Original comment by giuseppe.lettieri73
on 3 Sep 2014 at 2:56
Original issue reported on code.google.com by
rfede...@gmail.com
on 14 Aug 2014 at 9:09