[Bug 208019] ALTQ does not work

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Mar 15 10:58:05 UTC 2016


            Bug ID: 208019
           Summary: ALTQ does not work
           Product: Base System
           Version: 9.3-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: acrocium at gmail.com

Hello colleagues,

I have a problem with enabling ALTQ.
If I add next options to GENERIC configuration file, I can not load pf module.
Options that I added

(13:51) root /usr/src> diff sys/amd64/conf/stable sys/amd64/conf/GENERIC
< #ALTQ support
< options         ALTQ
< options         ALTQ_CBQ        # Class Based Queueing
< options         ALTQ_RED        # Random Early Detection
< options         ALTQ_RIO        # RED In/Out
< options         ALTQ_HFSC       # Hierarchical Packet Scheduler
< options         ALTQ_PRIQ       # Priority Queueing
Exit 1

(13:52) root /usr/src> uname -a
FreeBSD srv 9.3-RELEASE FreeBSD 9.3-RELEASE #0 r268512: Thu Jul 10 23:44:39 UTC
2014     root at snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

When I try to load pf I get:
(13:53) root /usr/src> kldload pf
kldload: an error occurred while loading the module. Please check dmesg(8) for
more details.
Exit 1

(13:53) root /usr/src> dmesg | tail -n 4
KLD pf.ko: depends on kernel - not available or version mismatch
linker_load_file: Unsupported file type
KLD pf.ko: depends on kernel - not available or version mismatch
linker_load_file: Unsupported file type

If I try to add next options to GENERIC without ALTQ, PF does not work at all:
device pf
device pflog
device pfsync

(13:53) root /usr/src> svn info
Path: .
Working Copy Root Path: /usr/src
URL: svn://svn.freebsd.org/base/stable/9
Relative URL: ^/stable/9
Repository Root: svn://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 296893
Node Kind: directory
Schedule: normal
Last Changed Author: davidcs
Last Changed Rev: 296877
Last Changed Date: 2016-03-15 02:33:38 +0300 (Tue, 15 Mar 2016)

Can I add pf with altq to kernel?
Do you need a building and installing log?

Thank you!

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list