Modify

Opened 2 years ago

Last modified 2 years ago

#20656 new defect

Modules fail to insert

Reported by: anonymous Owned by: developers
Priority: normal Milestone:
Component: packages Version: Chaos Calmer 15.05
Keywords: Cc:

Description

On Chaos Calmer, r47004

When starting the sqm-scipts, using /etc/init.d/sqm, I'm getting the following in logread this:

Thu Oct  1 23:08:53 2015 user.notice SQM: QDISC htb is useable.
Thu Oct  1 23:08:53 2015 user.notice SQM: QDISC fq_codel is useable.
Thu Oct  1 23:08:53 2015 user.notice SQM: Starting simple.qos
Thu Oct  1 23:08:53 2015 user.notice SQM: ifb associated with interface wlan0-1: 
Thu Oct  1 23:08:53 2015 user.notice SQM: Currently no ifb is associated with wlan0-1, this is normal during starting of the sqm system.
Thu Oct  1 23:08:54 2015 user.notice SQM: Squashing differentiated services code points (DSCP) from ingress.
Thu Oct  1 23:08:54 2015 user.notice SQM: STAB: stab mtu 2047 tsize 512 mpu 0 overhead 0 linklayer ethernet
Thu Oct  1 23:08:54 2015 user.notice SQM: get_limit:  CURLIMIT: 1001
Thu Oct  1 23:08:54 2015 user.notice SQM: get_target defaulting to auto.
Thu Oct  1 23:08:54 2015 user.notice SQM: get_limit:  CURLIMIT: 1001
Thu Oct  1 23:08:54 2015 user.notice SQM: get_target defaulting to auto.
Thu Oct  1 23:08:55 2015 user.notice SQM: get_limit:  CURLIMIT: 1001
Thu Oct  1 23:08:55 2015 user.notice SQM: get_target defaulting to auto.
Thu Oct  1 23:08:55 2015 user.notice SQM: egress shaping activated
Thu Oct  1 23:08:55 2015 user.notice SQM: QDISC ingress is NOT useable.

From the message, everything seems to be set up correctly, except for the ingress side, and doing a test with speedtest.net indeed proves that throttling is working on the egress but not on the ingress.

Every time sqm-scripts gets restarted I also get the following in dmesg:

[   51.050000] act_ipt: Unknown symbol tcf_hash_check (err 0)
[   51.060000] act_ipt: Unknown symbol tcf_hash_create (err 0)
[   51.060000] act_ipt: Unknown symbol tcf_unregister_action (err 0)
[   51.070000] act_ipt: Unknown symbol tcf_hash_insert (err 0)
[   51.080000] act_ipt: Unknown symbol tcf_hash_release (err 0)
[   51.080000] act_ipt: Unknown symbol tcf_hash_cleanup (err 0)
[   51.090000] act_ipt: Unknown symbol tcf_register_action (err 0)
[   51.170000] act_mirred: Unknown symbol tcf_hash_check (err 0)
[   51.180000] act_mirred: Unknown symbol tcf_hash_create (err 0)
[   51.180000] act_mirred: Unknown symbol tcf_unregister_action (err 0)
[   51.190000] act_mirred: Unknown symbol tcf_hash_insert (err 0)
[   51.200000] act_mirred: Unknown symbol tcf_hash_release (err 0)
[   51.200000] act_mirred: Unknown symbol tcf_register_action (err 0)
[   51.240000] cls_fw: Unknown symbol tcf_action_exec (err 0)
[   51.240000] cls_fw: Unknown symbol unregister_tcf_proto_ops (err 0)
[   51.250000] cls_fw: Unknown symbol tcf_exts_destroy (err 0)
[   51.260000] cls_fw: Unknown symbol tcf_exts_change (err 0)
[   51.260000] cls_fw: Unknown symbol tcf_exts_dump (err 0)
[   51.270000] cls_fw: Unknown symbol tcf_exts_dump_stats (err 0)
[   51.270000] cls_fw: Unknown symbol register_tcf_proto_ops (err 0)
[   51.280000] cls_fw: Unknown symbol tcf_exts_validate (err 0)
[   51.310000] cls_flow: Unknown symbol tcf_action_exec (err 0)
[   51.320000] cls_flow: Unknown symbol unregister_tcf_proto_ops (err 0)
[   51.330000] cls_flow: Unknown symbol __tcf_em_tree_match (err 0)
[   51.330000] cls_flow: Unknown symbol tcf_exts_destroy (err 0)
[   51.340000] cls_flow: Unknown symbol tcf_em_tree_dump (err 0)
[   51.340000] cls_flow: Unknown symbol tcf_exts_change (err 0)
[   51.350000] cls_flow: Unknown symbol tcf_exts_dump (err 0)
[   51.360000] cls_flow: Unknown symbol tcf_exts_dump_stats (err 0)
[   51.360000] cls_flow: Unknown symbol tcf_em_tree_validate (err 0)
[   51.370000] cls_flow: Unknown symbol register_tcf_proto_ops (err 0)
[   51.380000] cls_flow: Unknown symbol tcf_em_tree_destroy (err 0)
[   51.380000] cls_flow: Unknown symbol tcf_exts_validate (err 0)
[   51.420000] cls_u32: Unknown symbol tcf_action_exec (err 0)
[   51.420000] cls_u32: Unknown symbol unregister_tcf_proto_ops (err 0)
[   51.430000] cls_u32: Unknown symbol tcf_exts_destroy (err 0)
[   51.430000] cls_u32: Unknown symbol tcf_exts_change (err 0)
[   51.440000] cls_u32: Unknown symbol tcf_exts_dump (err 0)
[   51.450000] cls_u32: Unknown symbol tcf_exts_dump_stats (err 0)
[   51.450000] cls_u32: Unknown symbol register_tcf_proto_ops (err 0)
[   51.460000] cls_u32: Unknown symbol tcf_exts_validate (err 0)
[ 3072.240000] act_ipt: Unknown symbol tcf_hash_check (err 0)
[ 3072.240000] act_ipt: Unknown symbol tcf_hash_create (err 0)
[ 3072.250000] act_ipt: Unknown symbol tcf_unregister_action (err 0)
[ 3072.260000] act_ipt: Unknown symbol tcf_hash_insert (err 0)
[ 3072.260000] act_ipt: Unknown symbol tcf_hash_release (err 0)
[ 3072.270000] act_ipt: Unknown symbol tcf_hash_cleanup (err 0)
[ 3072.270000] act_ipt: Unknown symbol tcf_register_action (err 0)

which points out that several modules can't be loaded because there are some missing symbols.

lsmod:

arc4                    1312  2 
ath                    19893  3 ath9k
ath9k                  86918  0 
ath9k_common           16862  1 ath9k
ath9k_hw              337432  2 ath9k
cfg80211              213457  4 ath9k
compat                  1332  4 ath9k
crc_ccitt               1019  1 ppp_async
crypto_blkcipher       10487  1 arc4
ehci_hcd               32092  1 ehci_platform
ehci_platform           3376  0 
gpio_button_hotplug     4480  0 
ifb                     2640  0 
input_core             24510  1 input_polldev
input_polldev           2373  0 
ip6_tables              9281  3 ip6table_raw
ip6t_REJECT             1184  2 
ip6table_filter          608  1 
ip6table_mangle         1072  1 
ip6table_raw             576  1 
ip_tables               9421  4 iptable_nat
ipt_ECN                 1376  0 
ipt_MASQUERADE           624  1 
ipt_REJECT               912  2 
iptable_filter           672  1 
iptable_mangle           944  1 
iptable_nat              768  1 
iptable_raw              640  1 
ipv6                  255864 32 nf_conntrack_ipv6
ledtrig_usbdev          1936  0 
mac80211              380803  1 ath9k
nf_conntrack           47531 16 nf_nat_ipv4
nf_conntrack_ftp        5280  1 nf_nat_ftp
nf_conntrack_ipv4       4640 10 
nf_conntrack_ipv6       4928  3 
nf_conntrack_rtcache    2448  0 
nf_defrag_ipv4           806  1 nf_conntrack_ipv4
nf_defrag_ipv6          9047  1 nf_conntrack_ipv6
nf_log_common           2287  2 nf_log_ipv4
nf_log_ipv4             3136  0 
nf_log_ipv6             3296  0 
nf_nat                  8875  5 nf_nat_ipv4
nf_nat_ftp              1200  0 
nf_nat_ipv4             3665  1 iptable_nat
nf_nat_masquerade_ipv4    1388  1 ipt_MASQUERADE
nf_reject_ipv4          1827  1 ipt_REJECT
nf_reject_ipv6          1895  1 ip6t_REJECT
nls_base                4976  1 usbcore
ohci_hcd               22207  1 ohci_platform
ohci_platform           2752  0 
ppp_async               6320  0 
ppp_generic            20642  3 pppoe
pppoe                   8112  0 
pppox                   1354  1 pppoe
sch_codel               4096  0 
sch_dsmark              3600  0 
sch_esfq                6960  0 
sch_fq                  5936  0 
sch_gred                6384  0 
sch_hfsc               13344  0 
sch_htb                12576  1 
sch_ingress              944  0 
sch_pie                 4016  0 
sch_prio                3184  0 
sch_red                 4496  0 
sch_sfq                 8160  0 
sch_tbf                 5104  0 
sch_teql                3648  0 
slhc                    4299  1 ppp_generic
ts_bm                   1392  0 
ts_fsm                  2528  0 
ts_kmp                  1328  0 
usb_common              1160  1 usbcore
usbcore               117236  5 ledtrig_usbdev
x_tables               10741 45 ipt_REJECT
xt_ACCOUNT              8800  0 
xt_CLASSIFY              576  0 
xt_CT                   2224  0 
xt_DSCP                 1504  4 
xt_HL                   1296  0 
xt_LOG                   768  0 
xt_REDIRECT             1056  0 
xt_TCPMSS               2608  2 
xt_comment               480 80 
xt_connbytes            1488  0 
xt_connlimit            3360  0 
xt_connmark             1040  0 
xt_conntrack            2160 12 
xt_dscp                  992 12 
xt_ecn                  1296  0 
xt_hashlimit            6064  0 
xt_helper                880  0 
xt_hl                    800  0 
xt_id                    480  0 
xt_length                688  0 
xt_limit                 992 20 
xt_mac                   624  0 
xt_mark                  672 16 
xt_multiport            1184  2 
xt_nat                  1072  0 
xt_recent               6336  0 
xt_state                 688  0 
xt_statistic             784  0 
xt_string                736  0 
xt_tcpmss                992  0 
xt_tcpudp               1696 16 
xt_time                 1632  0 
xt_u32                   944  0

This is happening with a new batch of Mikrotik RB951G-2HnD that had some problems recently with OpenWRT [1], and thus had to apply the proposed patch to be able to boot OpenWRT.

[1] https://dev.openwrt.org/ticket/18433#comment:11

Attachments (0)

Change History (1)

comment:1 Changed 2 years ago by anonymous

As you can check in [1], this turned out to be a problem with the way I was doing things (using "--force-depends" with opkg).

Since I was the one that initially reported this "bug", I'm OK with marking it as solved.

[1] https://forum.openwrt.org/viewtopic.php?id=61255

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.