Intel ethernet Controller I225-V not supported yet

Hi !
I tried installing BSD on my Z490 MB but it uses an Intel i225V ethernet card which doesn't seem to be supported by BSD systems, but maybe someone was able to use a generic that is compatible?
(sorry for my english i'm french)
 

Attachments

  • 202519253_886960795191931_8608078806936417169_n.jpg
    202519253_886960795191931_8608078806936417169_n.jpg
    47.3 KB · Views: 677
  • 202617411_3009885309285326_3215358308033355387_n.jpg
    202617411_3009885309285326_3215358308033355387_n.jpg
    67.5 KB · Views: 487
There is no "generic" ethernet driver. There's work being done to port the driver for the I225 to FreeBSD, I believe some things have already been committed to -CURRENT.
 
many thanks Sir ;) Any idea when we will can download the stable 13 ISO ?
I am a bit in a hurry to be able to use this OS on my PC o_O
 
Note that stable/13 is a development version. And you should build and update it from source (which you can always do).

I am a bit in a hurry to be able to use this OS on my PC
Stick a cheap Intel PRO/1000 card in it in the mean time. I suspect you don't have a 2.5G capable switch either so you're not going to be able to use the additional bandwidth anyway.
 
It seems that many new MBs have fantastic fast new ethernet interfaces that are not yet or never will be supported.

Have got a nice new supermicro with aquantia that may never be supported.
 
No i will wait for this update, no matter ;) Any idea of when it could be done ?
Maybe in a few weeks or a month. According to the differential revision SirDice linked to, the revision was "accepted and ready to land", meaning it will be integrated to CURRENT (main) first (it's not mentioned when this will be, maybe soon, maybe later), then Merged from CURRENT to STABLE, usually after two weeks, and to RELEASE with a next minor RELEASE upgrade, which has not yet been announced.

But if you see this time as to long
I am a bit in a hurry to be able to use this OS on my PC o_O
and are willing to build system components from source (kernel or kernel module) you can have the driver right now.

The linked revision comes with a patch which can be applied to the system source to build the igc(4) driver. I've tested the patch, kernel or kernel module alone builds fine on 13.0-RELEASE, but I can't test the functionality, no hardware. Try the kernel module.
 
Last edited:
i boot on my 13.0-RELEASE i have on my USB but what should i do ?
i dont have any IPV4 or 6 possibility
>> just tried the FreeBSD 14.0-CURRENT too and no network too
 

Attachments

  • 202708697_614871456570964_106420561359453537_n.jpg
    202708697_614871456570964_106420561359453537_n.jpg
    53.3 KB · Views: 371
and are willing to build system components from source (kernel or kernel module) you can have the driver right now.

The linked revision comes with a patch which can be applied to the system source to build the igc(4) driver. I've tested the patch, kernel or kernel module alone builds fine on 13.0-RELEASE, but I can't test the functionality, no hardware. Try the kernel module.
can someone could explain me what and how doing this ?
i'm not a super user but i have some linux and general skills...
 
can someone could explain me what and how doing this ?
i'm not a super user ...
Neither am I, and you don't have to be a super user. If you read the systems manuals and documentation you will do fine. Building a kernel or a kernel module on FreeBSD is very simple.

Instead of pointing you to documentation to figure it out yourself how to do things I give a short guide but I strongly advice to read or at least to glance trough the handbook and documentation afterward [1] .

Assuming you have 13.0-RELEASE installed:

1 - Install the source code from the 13.0-RELEASE installer image or from downloaded file on USB stick

1.1 Installer image, assuming it's mounted on /mnt
Code:
# tar xf /mnt/usr/freebsd-dist/src.txz -C  /

1.2 USB stick, assuming it's mounted on /mnt
Code:
# tar xf /mnt/src.txz -C  /

2 - Apply the patch from USB stick
Code:
# cd /usr/src
# patch -p0 < /mnt/D30668.diff

3 - Build, install igc(4) kernel module
Code:
# cd sys/modules/igc
# make install

4 - Set driver kernel module to load when system boots up

/boot/loader.conf
Code:
if_igc_load="YES"

5 - Load driver kernel module immediate
Code:
# kldload if_igc

Check dmesg(8), the I225 device interface should appear most likely as igc0.

6 - Continue with 12.5. Setting Up Network Interface Cards

If you have problems or further questions please ask.

[1]
24.5. Updating FreeBSD from Source, 24.5.4.4. Building a Custom Kernel

tar(1), patch(1), loader.conf(5), kldload(8)
 
I did not manage to do anything, I do not understand anything about what to do and how to do it ... too bad I will wait for the release of this version with the integrated driver. thanks anyway !
 
In case you have problems to carry over the files to FreeBSD on the USB stick follow instructions bellow.

- Take a MS-DOS FAT formatted USB stick
- Copy the files, patch and src.txz, on the stick
- From FreeBSD execute dmesg(8), look for daN device nodes (N = 0,1,2, etc)
- To mount the device execute
Code:
mount_msdosfs /dev/da0s1 /mnt  # replace device node number '0' if necessary
- Continue with instructions beginning from 1.2 in post #16

If you have further questions or problems please ask.
 
This was my first attempt to building a driver and it was quite easy, just downloaded the sources from this link, un-tared it, then went to src-main/sys/modules/igc and make, done!, the driver went to /usr/obj/root/13/src-main/amd64.amd64/sys/modules/igc/.

Now I would like this to be backported to 12, to let me try it on the latest TrueNAS!.
 
I wrote to Peter Grehan and he pointed me to the pfSense source tree, where there is an igc driver, I downloaded, went to sys/modules/igc and did a make, initially it didn't work:

Code:
In file included from /root/FreeBSD-src-devel-12/sys/dev/igc/if_igc.c:31:
/root/FreeBSD-src-devel-12/sys/dev/igc/if_igc.h:31:10: fatal error: 'opt_ddb.h'
      file not found
#include "opt_ddb.h"
         ^~~~~~~~~~~
1 error generated.
*** Error code 1

After that I looked into other Makefiles, for example the one for the e1000 driver and found the igc version lacks the opt_ddb.h reference here:

Code:
SRCS    = device_if.h bus_if.h pci_if.h opt_ddb.h ifdi_if.h

So, I added it and it compiled!, now I have an if_igc.ko ready to test.
 
No luck so far

Code:
KLD if_igc.ko: depends on kernel - not available or version mismatch
linker_load_file: /boot/modules/if_igc.ko - unsupported file type

It looks like the 12.2 sources I used to build the driver differs from the 12.2-release-p6 where I want to use it. Does anyone know where can I download the 12.2-release-p6 sources?.
 
It looks like the 12.2 sources I used to build the driver differs from the 12.2-release-p6 where I want to use it.
You downloaded the sources for 14.0-CURRENT (src-main.tar.gz, the main branch is -CURRENT).

If your machine has access to the internet simply use git(1): git clone -b releng/12.2 https://git.freebsd.org/src.git /usr/src
Or install net/gitup and use that to download the correct sources (don't forget the edit gitup.conf).

Branches: releng/13.0 = 13.0-RELEASE plus errata and security patches. releng/12.2 = 12.2-RELEASE plus errata and security patches.
 
Back
Top