Hi, I am able to load drivers after modifying the code little bit. dmesg was
showing the problem
PF_RING] Initialized correctly
Intel(R) 10 Gigabit PCI Express Network Driver - version 3.18.7-DNA
Copyright (c) 1999-2013 Intel Corporation.
ixgbe 0000:60:00.0: PCI INT A -> GSI 54 (level, low) -> IRQ 54
ixgbe 0000:60:00.0: setting latency timer to 64
ixgbe: Receive-Side Scaling (RSS) set to 1
ixgbe: 0000:60:00.0: ixgbe_check_options: FCoE Offload feature enabled
ixgbe 0000:60:00.0: The EEPROM Checksum Is Not Valid
ixgbe 0000:60:00.0: PCI INT A disabled
ixgbe: probe of 0000:60:00.0 failed with error -5
ixgbe 0000:60:00.1: PCI INT B -> GSI 61 (level, low) -> IRQ 61
ixgbe 0000:60:00.1: setting latency timer to 64
ixgbe: Receive-Side Scaling (RSS) set to 1
ixgbe: 0000:60:00.1: ixgbe_check_options: FCoE Offload feature enabled
ixgbe 0000:60:00.1: The EEPROM Checksum Is Not Valid
ixgbe 0000:60:00.1: PCI INT B disabled
ixgbe: probe of 0000:60:00.1 failed with error -5
NET: Unregistered protocol family 27
I removed the checksum validation in ixgbe_main.c and recompile the code. Then
the drivers are loaded.
[serkantul@napatest src]$ grep 'The EEPROM Checksum Is Not Valid' *
ixgbe_main.c: e_dev_err("The EEPROM Checksum Is Not Valid\n");
Thanks,
Serkant
On Thursday, January 16, 2014 12:19 PM, M. Serkant Uluderya <[email protected]>
wrote:
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_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc