Modify

Opened 5 years ago

Closed 3 years ago

#13102 closed defect (worksforme)

RTNETLINK answers: File exists RTNETLINK answers: Invalid argument We have an error talking to the kernel

Reported by: trekker92@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: kernel Version: Attitude Adjustment 12.09 Beta
Keywords: openwrt bandwidth shaping traffic control iptables kernel Cc:

Description

Get this error when using tc (traffic control) on openwrt 12 RC1 :

Using this image file (http://downloads.openwrt.org/attitude_adjustment/12.09-rc1/brcm63xx/generic/openwrt-NEUFBOX4-squashfs-cfe.bin)

router information :
Linux OpenWrt-NB4-5842 3.3.8 #1 Sun Nov 18 13:11:17 UTC 2012 mips GNU/Linux

On broadcom brcm6348, can't use tc, get this error : (http://pastebin.com/wHVwhxki)

root@OpenWrt-NB4-5842:~# /root/tc_58.sh start
RTNETLINK answers: No such file or directory
RTNETLINK answers: No such file or directory
RTNETLINK answers: No such file or directory
RTNETLINK answers: No such file or directory
RTNETLINK answers: File exists
RTNETLINK answers: Invalid argument
We have an error talking to the kernel
RTNETLINK answers: No such file or directory
We have an error talking to the kernel

Tried by installing iptables-mod-ipopt, but do nothing :(

root@OpenWrt-NB4-5842:~# opkg info tc
Package: tc
Version: 3.3.0-1
Depends: libc, kmod-sched-core
Provides:
Status: install user installed
Section: net
Architecture: brcm63xx
Maintainer: OpenWrt Developers Team <openwrt-devel@…>
MD5Sum: 4431faa124666462e3fd9a495d12a28c
Size: 95644
Filename: tc_3.3.0-1_brcm63xx.ipk
Source: package/iproute2
Description: Traffic control utility
Installed-Time: 1315498136

Attachments (0)

Change History (9)

comment:1 Changed 5 years ago by jow

  • Resolution set to worksforme
  • Status changed from new to closed

You need to insmod the appropriate cls_*, sch_* and act_* modules yourself, they're not autoloaded on boot.

comment:2 Changed 5 years ago by anonymous

  • Resolution worksforme deleted
  • Status changed from closed to reopened

tried all of them, but still don't work :

http://pastebin.com/6cxkSLHp

comment:3 Changed 5 years ago by anonymous

content of tc_58.sh on pastebin:

http://pastebin.com/g6euXhQr

comment:4 Changed 5 years ago by jow

So did you install kmod-sched?

comment:5 Changed 5 years ago by anonymous

works with kmod-sched + kmod-sched-core. thanks !

comment:6 Changed 5 years ago by jow

  • Resolution set to worksforme
  • Status changed from reopened to closed

comment:7 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

comment:8 Changed 3 years ago by anonymous

  • Resolution worksforme deleted
  • Status changed from closed to reopened

comment:9 Changed 3 years ago by cyrus

  • Resolution set to worksforme
  • Status changed from reopened to closed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.