OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • OPNsense does not boot with more than 7 nics
« previous next »
  • Print
Pages: [1]

Author Topic: OPNsense does not boot with more than 7 nics  (Read 3388 times)

vupibi

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
OPNsense does not boot with more than 7 nics
« on: April 08, 2017, 06:29:27 pm »
Hey there!

System: OPNsense 17.1.4 installed from CD on XENserver 7 with xenTools.

Booting with 7 or less nics is working properly, adding additional nics results in the following error and the system will stop booting:

Code: [Select]
xn7: failed to allocate tx grant refs
run_inerrupt_driven_hooks: still waiting (...)



It worked with OPNsense 16.x. Any Ideas?

Thanks for your support!
« Last Edit: April 08, 2017, 06:49:51 pm by vupibi »
Logged

bartjsmit

  • Hero Member
  • *****
  • Posts: 1538
  • Karma: 166
    • View Profile
Re: OPNsense does not boot with more than 7 nics
« Reply #1 on: April 08, 2017, 09:18:49 pm »
Can you give some details on your use case? Do you require eight separate security zones, or are you merely finding the limits of the OS?

Bart...
Logged

vupibi

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
Re: OPNsense does not boot with more than 7 nics
« Reply #2 on: April 09, 2017, 02:34:29 am »
Hey,

we have four different internet connections, a DMZ and different other LANs for different jobs like printing, VOIP and so on. The security zones are important to us and its a real production network :)

At the moment we have on our XENserver 7 a VM with OPNSense 16.x which has 14 nics attached and it runs like a charm. I just wanted to upgrade it to OPNsense 17.x but it does not even boot from CD. If if I remove the nics, it works.

Could it be a limit of the new FreeBSD 11.0?

Thanks for your help!
Logged

bartjsmit

  • Hero Member
  • *****
  • Posts: 1538
  • Karma: 166
    • View Profile
Re: OPNsense does not boot with more than 7 nics
« Reply #3 on: April 09, 2017, 10:03:18 am »
Actually, the problem seems to be with Xen. I was able to boot up a OPNsense 17.1 VM with eight vNIC's quite happily on ESXi 6.0U2.

Bart...
Logged

vupibi

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
Re: OPNsense does not boot with more than 7 nics
« Reply #4 on: April 09, 2017, 06:13:02 pm »
Okay, thats a good information, thanks!

Does anyone knows what the error "failed to allocate tx grant refs" is telling me? I could not find anything about it.

Tanks for your help!
Logged

vupibi

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
Re: OPNsense does not boot with more than 7 nics
« Reply #5 on: April 09, 2017, 06:38:46 pm »
Okay, after some testing I noticed that even a clean FreeBSD 11 does not boot on XEN with more than 7 nics attached. It will stuck at the same error message.

Seems really to be a problem with XEN.

Tanks for your support!
Logged

Nnyan

  • Jr. Member
  • **
  • Posts: 91
  • Karma: 8
    • View Profile
Re: OPNsense does not boot with more than 7 nics
« Reply #6 on: April 09, 2017, 06:41:46 pm »
Found some references (but not sure how helpful they will be to you) that mention that error in one way or another:

https://xenbits.xen.org/docs/4.5-testing/misc/grant-tables.txt

https://github.com/freebsd/freebsd/blob/master/sys/dev/xen/netfront/netfront.c

http://old-list-archives.xenproject.org/xen-users/2005-11/msg00161.html

Logged

aos1

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: OPNsense does not boot with more than 7 nics
« Reply #7 on: April 12, 2017, 01:09:17 am »
I believe we're getting this same problem under KVM/qemu.  That would make it not a XEN issue.

17.1 boots, but we never get the console.  Updating to the latest makes the firewall rules and GUI never actually come up.

the 16.x series also worked fine.

We have 9 interfaces.
« Last Edit: April 12, 2017, 01:15:58 am by aos1 »
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • OPNsense does not boot with more than 7 nics
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2