Project

General

Profile

Actions

Bug #9647

closed

hn0: driver does not support altq

Added by Greg M almost 5 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Traffic Shaper (ALTQ)
Target version:
Start date:
07/24/2019
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.5.0
Affected Architecture:

Description

As subject says, hn0 on 2.5.0 does not support ALTQ.
You get error after traffic shaper wizard starts to reload rules.

Output of: sysctl -a | grep use_if_start
Is: hw.hn.use_if_start: 0

Actions #1

Updated by Jim Pingle over 4 years ago

  • Category set to Traffic Shaper (ALTQ)

See previous issue #8954 where this was fixed for 2.4.4

Actions #2

Updated by Greg M over 4 years ago

Hi,
are there any plans to correct this behaviour?
Is this possibly resolved in next freebsd release?

Thanks!

Actions #3

Updated by Greg M over 4 years ago

Actions #4

Updated by Dee D about 4 years ago

still an issue on the latest builds...

Actions #5

Updated by Greg M almost 4 years ago

Hello.

Can someone please take a look at this one?
It seems trivial to fix or am I wrong?

Actions #7

Updated by Jim Pingle almost 4 years ago

  • Status changed from New to Pull Request Review
Actions #8

Updated by Renato Botelho almost 4 years ago

  • Assignee set to Luiz Souza
  • Target version set to 2.5.0

Luiz, can you check this one please?

Actions #9

Updated by Luiz Souza almost 4 years ago

  • Status changed from Pull Request Review to Resolved
  • % Done changed from 0 to 100

Committed.

Actions #10

Updated by Greg M almost 4 years ago

So I tried with: pfSense-CE-2.5.0-DEVELOPMENT-amd64-20200618-1024

Still same message about ALTQ support. Is this change baked into version I`ve tested?

Thanks!

Actions #11

Updated by Jim Pingle almost 4 years ago

  • Status changed from Resolved to New

It should be. I also tested the most recent snapshot from this morning and altq did not work there, either.

Actions #12

Updated by Greg M almost 4 years ago

I tried with todays snapshot and have the same issue.
What can we do next?

Actions #13

Updated by Greg M almost 4 years ago

Hi!

Is there anything else to try?

Actions #14

Updated by Greg M almost 4 years ago

So I did some more digging...

Added /boot/loader.conf.local with contents:

hw.hn.vf_transparent="0" 
hw.hn.use_if_start="1" 

And now shaper works just like on 2.4.5

Actions #15

Updated by Luiz Souza almost 4 years ago

  • Status changed from New to Feedback
Actions #16

Updated by Greg M almost 4 years ago

It works.
But did few reboots and there are MANY same settings added to loader.conf

Additional syntax error occurs, created redmine for that too.

Actions #17

Updated by Greg M almost 4 years ago

And some more info...

This does NOT work:

kern.cam.boot_delay=10000
kern.ipc.nmbclusters="1000000"
kern.ipc.nmbjumbop="524288"
kern.ipc.nmbjumbo9="524288"
kern.geom.label.disk_ident.enable="0"
kern.geom.label.gptid.enable="0"
opensolaris_load="YES"
zfs_load="YES"
autoboot_delay="3"
hw.usb.no_pf="1"
vm.pmap.pti="0"
net.pf.request_maxcount="400000"
hw.hn.vf_transparent=0
hw.hn.use_if_start=1

But this DOES work:

kern.cam.boot_delay=10000
kern.ipc.nmbclusters="1000000"
kern.ipc.nmbjumbop="524288"
kern.ipc.nmbjumbo9="524288"
kern.geom.label.disk_ident.enable="0"
kern.geom.label.gptid.enable="0"
opensolaris_load="YES"
zfs_load="YES"
hw.hn.vf_transparent=0
hw.hn.use_if_start=1
autoboot_delay="3"
hw.usb.no_pf="1"
vm.pmap.pti="0"
net.pf.request_maxcount="400000"

So order matters I guess.

Actions #18

Updated by Greg M almost 4 years ago

After 2 reboots file looks like this:

kern.cam.boot_delay=10000
kern.ipc.nmbclusters="1000000" 
kern.ipc.nmbjumbop="524288" 
kern.ipc.nmbjumbo9="524288" 
kern.geom.label.disk_ident.enable="0" 
kern.geom.label.gptid.enable="0" 
opensolaris_load="YES" 
zfs_load="YES" 
hw.hn.vf_transparent=0
hw.hn.use_if_start=1
hw.hn.vf_transparent=0
hw.hn.use_if_start=1
hw.hn.vf_transparent=0
hw.hn.use_if_start=1
autoboot_delay="3" 
hw.usb.no_pf="1" 
vm.pmap.pti="0" 
net.pf.request_maxcount="400000" 
hw.hn.vf_transparent=0
hw.hn.use_if_start=1

I guess it keeps adding those 2 lines.

Actions #19

Updated by Luiz Souza almost 4 years ago

Sorry for the breakage, should be fixed now.

I couldn't reproduce the order issue, please let me know if this is still an issue.

Actions #20

Updated by Greg M almost 4 years ago

Gitsynced, deleted all entries rebooted twice and it works.

Thanks.

Actions #21

Updated by Luiz Souza almost 4 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF