Embedded Connectivity
Intel network controllers, Firmware, and drivers support systems
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
913 Discussions

setup ethernet i225-it driver error on CentOS 8, With kernel Ver 4.18.0-348

yang_cheng_yu
Beginner
1,965 Views

Hi:

I  have a  computer with  3  intel ethernet interface  , The  model  is i225-it.   Linux version is         'CentOS 8   4.18.0.348.el8.x86_64

1 、I  have got  igc driver files  from  https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/5.8.7

2、  i  compile  the driver under  dir  inux-5.8.7/drivers/net/ethernet/intel/igc  successfully。

2、  type:  insmod  igc.ko

3、 check status:   dmesg | grep igc  ,  shows  bellow error message:

      igc:probe of 0000:02:00.0 failed with error -2

       igc:probe of 0000:03:00.0 failed with error -2

       igc:probe of 0000:05:00.0 failed with error -2

4、 the makefile context bellow:

    -----------------------------------------------------------------------------------------------

obj-$(CONFIG_IGC) += igc.o
 
igc-objs := igc_main.o igc_mac.o igc_i225.o igc_base.o igc_nvm.o igc_phy.o \
igc_diag.o igc_ethtool.o igc_ptp.o igc_dump.o igc_tsn.o
 
KERNEL_SRC :=/lib/modules/$(shell uname -r)/build
 
all:
$(MAKE) -C $(KERNEL_SRC) M=$(PWD) modules
clean:
$(MAKE) -C $(KERNEL_SRC) M=$(PWD) clean
 
.PHONY: clean  all 
--------------------------------------------------------------------------------------
 
       Thanks!
0 Kudos
1 Reply
Reply