Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
GoogleCodeExporter opened this issue Mar 30, 2015 · 3 comments
Closed

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

GoogleCodeExporter opened this issue Mar 30, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Thanks!!! Netmap works fine now!

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

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

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

  • Changed state: Invalid
  • Added labels: ****
  • Removed labels: ****

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant