Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Mar 2016 10:58:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 208019] ALTQ does not work
Message-ID:  <bug-208019-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208019

            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@FreeBSD.org
          Reporter: acrocium@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 modu=
le.
Options that I added
(https://www.freebsd.org/doc/en/books/handbook/firewalls-pf.html):

(13:51) root /usr/src> diff sys/amd64/conf/stable sys/amd64/conf/GENERIC
78,85d77
< #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

uname:
(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@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 a=
ll:
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!
Vladimir

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



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