Project

General

Profile

Feature #26803

Add netmap kernel module

Added by Jose Roman about 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Nice to have
Assignee:
Alexander Motin
Category:
OS
Target version:
Estimated time:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:

Description

Netmap is required by the ixv drivers. I am attempting to use ESXi with a FreeNAS VM. The systemboard I am using is a Supermicro X10SDV-7TP4F. Which has two of Intel's x552 SFP+ interfaces. When enabling SR-IOV to pass-through the interface FreeNAS does not load the driver due to the lack of Netmap within the kernel.

Associated revisions

Revision 030f4e34 (diff)
Added by Alexander Motin about 1 year ago

Add netmap kernel module to the build.

FreeNAS itself does not need it to include into the kernel, but some NIC
drivers built separately against GERNERIC kernel (like ixv) depend on it,
so allowing it as kernel module may help in some cases.

Ticket: #26803

Revision ce61ffa2 (diff)
Added by Alexander Motin about 1 year ago

Add netmap kernel module to the build.

FreeNAS itself does not need it to include into the kernel, but some NIC
drivers built separately against GERNERIC kernel (like ixv) depend on it,
so allowing it as kernel module may help in some cases.

Ticket: #26803
(cherry picked from commit 030f4e3473ff1333369d6be5648d0b990ef470ce)

Revision ad9ce25b (diff)
Added by Dru Lavigne about 1 year ago

Mention netmap(4).
Ticket: #26803

History

#1 Updated by Dru Lavigne about 1 year ago

  • Assignee changed from Release Council to Alexander Motin
  • Target version deleted (11.0-U1)

#2 Updated by Alexander Motin about 1 year ago

  • Status changed from Unscreened to 15

Could you specify how exactly the problem looks? As I see, FreeNAS kernel already includes ixlv driver for almost two years. I've never used it, but once I builds, I suppose it should work. Do you see some error messages?

Also you may try FreeNAS 11.1-RC1 build to see whether driver update there change anything.

#3 Updated by Philip Nunn about 1 year ago

Alexander Motin wrote:

Could you specify how exactly the problem looks? As I see, FreeNAS kernel already includes ixlv driver for almost two years. I've never used it, but once I builds, I suppose it should work. Do you see some error messages?

Also you may try FreeNAS 11.1-RC1 build to see whether driver update there change anything.

I was testing this out with the latest Intel drivers. It doesn't seem that the ixlv driver has a dependency issue on netmap as it loads just fine (tested with version 1.5.2). Its the ixv driver that seems to be an issue. This is the same error on 11.0-U4 and 11.1-RC1: "KLD if_ixv_1515.ko: depends on netmap - not available or version mismatch." Also..."sysctl kern.conftxt | grep netmap" returns nothing so it seems that the netmap dependency is not in the kernel.

#4 Updated by Alexander Motin about 1 year ago

  • Target version set to 11.1

FreeNAS itself does not need netmap, that is why it is not included into the kernel, but probably the driver you are loading was built with netmap-enabled kernel and so has it as dependency. I've added netmap kernel module to the build in nightly train, that hopefully should help in your case. Please try tomorrow nightly and report how will it go.

#5 Updated by Philip Nunn about 1 year ago

Ok, thanks, Alexander...I'll try the next nightly and report back.

#6 Updated by Philip Nunn about 1 year ago

Ok, tested the latest nightly and it seems to have worked. Loader tunabled is needed to load netmap support and then the Intel ixv driver:

netmap_load
if_ixv_1515_load (or whatever the name of your kernel module file is)

#7 Updated by Alexander Motin about 1 year ago

  • Subject changed from Add Netmap to kernel to Add netmap kernel module to the build
  • Status changed from 15 to Ready For Release

#8 Updated by Dru Lavigne about 1 year ago

  • Target version changed from 11.1 to 11.1-RC2

#9 Updated by Dru Lavigne about 1 year ago

  • Subject changed from Add netmap kernel module to the build to Add netmap kernel module

#10 Updated by Nick Wolff about 1 year ago

  • Needs QA changed from Yes to No
  • QA Status Test Passes FreeNAS added
  • QA Status deleted (Not Tested)

#11 Updated by Dru Lavigne about 1 year ago

  • Target version changed from 11.1-RC2 to 11.1-RC3

#12 Updated by Dru Lavigne about 1 year ago

  • Status changed from Ready For Release to Resolved

Also available in: Atom PDF