azunite / netmap

Automatically exported from code.google.com/p/netmap
0 stars 0 forks source link

Can't build ixgbe driver for Debian 7 Wheezy #47

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello, folks!

I trying to use netmap but can't build it on my system.

Build netmap on Debian 7 Wheezy with ixgbe 10GE NIC (82599):

Get kernel sources:
cd /usr/src
apt-get source  linux-image-3.2.0-4-amd64
cd /usr/src/linux-3.2.65

cd /usr/src
git clone https://code.google.com/p/netmap/ 
cd netmap/LINUX/

./configure --kernel-sources=/usr/src/linux-3.2.65 --drivers=ixgbe
make
make install

Load modules:
insmod ./netmap.ko 
insmod ixgbe/ixgbe.ko

And we got error in dmesg:
[  903.973212] ixgbe: Unknown symbol mdio_mii_ioctl (err 0)
[  903.973564] ixgbe: Unknown symbol mdio45_probe (err 0)

Could you help me?

Original issue reported on code.google.com by pavel.odintsov on 2 Mar 2015 at 3:37

GoogleCodeExporter commented 9 years ago
It is not a build problem: the ixgbe module depends on other modules, which you 
can find with 'modinfo ixgbe/ixgbe.ko | grep ^depends:'. Since we are using 
insmod, we need to load the dependencies by ourselves:

modprobe mdio
modprobe ptp
modprobe dca
insmod ./netmap.ko
insmod ./ixgbe/ixgbe.ko

Original comment by giuseppe.lettieri73 on 2 Mar 2015 at 4:58

GoogleCodeExporter commented 9 years ago
Thanks!!! Netmap works fine now!

Original comment by pavel.odintsov on 2 Mar 2015 at 7:53

GoogleCodeExporter commented 9 years ago

Original comment by giuseppe.lettieri73 on 2 Mar 2015 at 10:37