Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Aug 2020 08:27:55 +0200
From:      Gary Jennejohn <gljennjohn@gmail.com>
To:        Alexey Prokopchuk <alexpro.ewr@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: module_register: cannot register pci/igb from if_igb.ko
Message-ID:  <20200827082755.01934c82@ernst.home>
In-Reply-To: <37a2f60c-fa01-e3f3-e215-d60a1e92f5fd@gmail.com>
References:  <37a2f60c-fa01-e3f3-e215-d60a1e92f5fd@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 26 Aug 2020 22:01:50 +0300
Alexey Prokopchuk <alexpro.ewr@gmail.com> wrote:

> Hi all.
> 
> My English is not very good, excuse me if I said something wrong
> 
> I have igb and em ethernet cards and kernel compiled with if_igb and if_em as modules. When both modules if_igb and if_em present in loader conf I see following message:
> 
> module_register: cannot register pci/em from if_igb.ko; already loaded from if_em.ko
> Module pci/em failed to register: 17
> module_register: cannot register pci/igb from if_igb.ko; already loaded from if_em.ko
> Module pci/igb failed to register: 17
> 
> I tried to leave only if_em in loader.conf and noticed that igb device working, but module if_igb.ko does not loaded in kernel. So, I have only if_em.ko loaded and both em and igb cards working.
> I'm confused and now I don't understand which driver should work with which device...
> 

Which version of FreeBSD are you using?

In HEAD (current) if_igb does not exist and the man pages for if_em and if_igb
are identical.

So, I suspect that you don't need if_igb and that if_em is the driver you want.

-- 
Gary Jennejohn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200827082755.01934c82>