warn: failed to load ifb kernel module

Shaper related questions
Post Reply
mugur1
Posts: 15
Joined: 23 Jan 2015, 03:32

warn: failed to load ifb kernel module

Post by mugur1 » 21 Dec 2016, 07:29

Добрый день!

Собрал с таким конфигом

Code: Select all

 cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DKDIR=/usr/src/linux-headers-`uname -r` -DCMAKE_BUILD_TYPE=Debug -DMEMDEBUG=TRUE -DBUILD_IPOE_DRIVER=TRUE -DRADIUS=TRUE -DSHAPER=TRUE /opt/accel-ppp-code/
И в конфиге прописал шейпер так

Code: Select all

[shaper]
attr-down=2
attr-up=1
up-limiter=htb
down-limiter=htb
ifb=ifb0
r2q=10
quantum=1500
verbose=1
В логах получаю следующее

Code: Select all

[2016-12-21 13:35:45]:  warn: failed to load ifb kernel module
[2016-12-21 13:35:45]:   msg: accel-ppp version 44885639c470cec2d17bf4ee543ea7fc326d66e3
Хотя модуль загружен

Code: Select all

# lsmod |grep ifb
ifb                    12757  0

Code: Select all

# ip l
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN mode DEFAULT
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000
    link/ether 52:54:00:9d:cf:5f brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000
    link/ether 52:54:00:c6:2e:69 brd ff:ff:ff:ff:ff:ff
7: ifb0: <BROADCAST,DEBUG,UP,LOWER_UP> mtu 1500 qdisc htb state UNKNOWN mode DEFAULT qlen 32
    link/ether 1a:3b:bf:38:8b:79 brd ff:ff:ff:ff:ff:ff
8: ifb1: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 32
    link/ether e2:2f:47:64:f4:d1 brd ff:ff:ff:ff:ff:ff
9: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1480 qdisc pfifo_fast state UNKNOWN mode DEFAULT qlen 3
    link/ppp

# accel-cmd show sessions
 ifname | username  |       calling-sid      |     ip      | rate-limit | type  | comp | state  |  uptime
--------+-----------+------------------------+-------------+------------+-------+------+--------+----------
 ppp0   | pppoetest | eth1:00:1d:60:73:e7:23 | 10.55.55.10 |            | pppoe |      | active | 00:00:47

# tc qdisc show dev ppp0
qdisc pfifo_fast 0: root refcnt 2 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
cat /etc/issue
Debian GNU/Linux 7 \n \l

В чем я ошибся? Как исправить ошибку.

Dmitry
Администратор
Posts: 949
Joined: 09 Oct 2014, 10:06

Re: warn: failed to load ifb kernel module

Post by Dmitry » 28 Dec 2016, 09:35

не обращай внимание на это сообщение

mugur1
Posts: 15
Joined: 23 Jan 2015, 03:32

Re: warn: failed to load ifb kernel module

Post by mugur1 » 29 Dec 2016, 07:56

Добрый день!
Спасибо за помощь. Оказывается в модулях не закомментировал модуль pppd_compat. Убрал и теперь этой ошибки нет.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests