Hi Luca,
I checked that ixgbe is installed.
[serkantul@napatest ~]$ uname -r
2.6.32-431.3.1.el6.x86_64
[serkantul@napatest ~]$ ls -al
/lib/modules/2.6.32-431.3.1.el6.x86_64/kernel/drivers/net/ixgbe/
total 8632
drwxr-xr-x. 2 root root 4096 Jan 15 18:34 .
drwxr-xr-x. 38 root root 4096 Jan 15 11:55 ..
-rw-r--r--. 1 root root 8829190 Jan 15 18:34 ixgbe.ko
And when I run lsmod I can see ixgbe and pf_ring
ixgbe 296395 0
pf_ring 407075 0
ifconfig -a still shows me only the old eth0 and eth1 interfaces, I can not see
dna0 and dna1. I have two NICs installed on the device and I can not see
anything about Intel X520DA2 NIC in ifconfig -a output. I believe I missed a
huge point :) I'm using CentOS 6.4 by the way.
lspci -vv output
60:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+
Network Connection (rev 01)
Subsystem: Intel Corporation Ethernet Server Adapter X520-2
Physical Slot: 7
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 54
Region 0: Memory at d6000000 (64-bit, prefetchable) [size=512K]
Region 2: I/O ports at e000 [size=32]
Region 4: Memory at d6100000 (64-bit, prefetchable) [size=16K]
Capabilities: <access denied>
Kernel modules: ixgbe
On Wednesday, January 15, 2014 10:04 PM, Luca Deri <[email protected]> wrote:
Serkant
if you have the “unknown symbol” issue it is likely because you have not
compiled the ixgbe module on the system you’re running it
Luca
On 15 Jan 2014, at 20:28, M. Serkant Uluderya <[email protected]> wrote:
Thanks for the answer Yuri. I unloaded the pf_ring and ixgbe by running rmmod.
After that starting load_dna_driver.sh gives me the following, as expected
>
>
>sudo ./load_dna_driver.sh
>ERROR: Module ixgbe does not exist in /proc/modules
>ERROR: Module pf_ring does not exist in /proc/modules
>insmod: error inserting './ixgbe.ko': -1 Unknown symbol in module
>irqbalance: no process killed
>Configuring dna0
>dna0: unknown interface: No such device
>Configuring dna1
>dna1: unknown interface: No such device
>Configuring dna2
>dna2: unknown interface: No such device
>Configuring dna3
>dna3: unknown interface: No such device
>
>
>However when I try to run the insmod, I'm getting unknown symbol error.
>[serkantul@napatest src]$ sudo insmod ixgbe.ko
>insmod: error inserting 'ixgbe.ko': -1 Unknown symbol in module
>[serkantul@napatest src]$ pwd
>/home/serkantul/PF_RING/drivers/DNA/ixgbe-3.18.7-DNA/src
>
>
>I checked dmesg output and see
>>sudo dmesg -c
>
>NET: Unregistered protocol family 27
>[PF_RING] Module unloaded
>[PF_RING] Welcome to PF_RING 5.6.2 ($Revision: 7186$)
>(C) 2004-13 ntop.org
>[PF_RING] registered /proc/net/pf_ring/
>NET: Registered protocol family 27
>[PF_RING] Min # ring slots 4096
>[PF_RING] Slot version 15
>[PF_RING] Capture TX Yes [RX+TX]
>[PF_RING] Transparent Mode 0
>[PF_RING] IP Defragment No
>[PF_RING] Initialized correctly
>ixgbe: Unknown symbol dca_remove_requester
>ixgbe: Unknown symbol dca_add_requester
>ixgbe: Unknown symbol dca_unregister_notify
>ixgbe: Unknown symbol dca_register_notify
>ixgbe: Unknown symbol dca3_get_tag
>
>
>
>On Wednesday, January 15, 2014 7:07 PM, Francalacci Yuri <[email protected]> wrote:
>
>I believe the module you are loading into the kernel is the default one and
>not the DNA driver.
>Instead of running modprobe, try to load the module using insmod <DNA driver>.
>Yuri
>
>
>Sent from Android
>
>"M. Serkant Uluderya" <[email protected]> ha scritto:
>
>
>Hi all,
>
>
>When I run the load_dna_driver.sh script I got the following message
>
>
>[serkantul@napatest src]$ sudo ./load_dna_driver.sh
>[sudo] password for serkantul:
>irqbalance: no process killed
>Configuring dna0
>dna0: unknown interface: No such device
>Configuring dna1
>dna1: unknown interface: No such device
>Configuring dna2
>dna2: unknown interface: No such device
>Configuring dna3
>dna3: unknown interface: No such device
>
>
>And there is no device under dev list
>
>
>[serkantul@napatest src]$ ls /proc/net/pf_ring/
>dev/ info plugins_info stats/
>[serkantul@napatest src]$ ls /proc/net/pf_ring/
>dev info plugins_info stats
>[serkantul@napatest src]$ ls /proc/net/pf_ring/dev/
>eth0 eth1 virbr0 virbr0-nic
>
>
>I think I was able to run the make install process successfully. The steps
>that I followed, I could not figure out what I missed
>svn co https://svn.ntop.org/svn/ntop/trunk/PF_RING/
>cd PF_RING/kernel
>
>make
>
>sudo insmod ./pf_ring.ko
>
>cd ../userland
>
>make
>
>cd /home/serkantul/PF_RING/drivers/DNA/ixgbe-3.18.7-DNA/src
>
>sudo make install
>modprobe -l ixgbe
>
><kernel/drivers/net/ixgbe/ixgbe.ko>
>
>
>
>On Wednesday, January 15, 2014 6:51 PM, M. Serkant Uluderya
><[email protected]> wrote:
>
>Hi all,
>
>
>When I run the load_dna_driver.sh script I got the following message
>
>
>[serkantul@napatest src]$ sudo ./load_dna_driver.sh
>[sudo] password for serkantul:
>irqbalance: no process killed
>Configuring dna0
>dna0: unknown interface: No such device
>Configuring dna1
>dna1: unknown interface: No such device
>Configuring dna2
>dna2: unknown interface: No such device
>Configuring dna3
>dna3: unknown interface: No such device
>
>
>And there is no device under dev list
>
>
>[serkantul@napatest src]$ ls /proc/net/pf_ring/
>dev/ info plugins_info stats/
>[serkantul@napatest src]$ ls /proc/net/pf_ring/
>dev info plugins_info stats
>[serkantul@napatest src]$ ls /proc/net/pf_ring/dev/
>eth0 eth1 virbr0 virbr0-nic
>
>
>I think I was able to run the make install process successfully. The steps
>that I followed, I could not figure out what I missed
>svn co https://svn.ntop.org/svn/ntop/trunk/PF_RING/
>cd PF_RING/kernel
>
>make
>
>sudo insmod ./pf_ring.ko
>
>cd ../userland
>
>make
>
>cd /home/serkantul/PF_RING/drivers/DNA/ixgbe-3.18.7-DNA/src
>
>sudo make install
>modprobe -l ixgbe
>
><kernel/drivers/net/ixgbe/ixgbe.ko>
>
>
>
>
>
>_______________________________________________
>Ntop-misc mailing list
>[email protected]
>http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc