Unknown qdisc "netem"
Subsystems (2)
i'm tring to use netem under a 2.6.8.1 kernel, the error report is : "Unknown qdisc netem",
I've just rebuild the kernel with these options about QoS:
# QoS and/or fair queueing
#CONFIG_NET_SCHED=yCONFIG_NET_SCH_CLK_JIFFIES=y
# CONFIG_NET_SCH_CLK_GETTIMEOFDAY is not set
# CONFIG_NET_SCH_CLK_CPU is not setCONFIG_NET_SCH_CBQ=yCONFIG_NET_SCH_HTB=yCONFIG_NET_SCH_HFSC=yCONFIG_NET_SCH_PRIO=yCONFIG_NET_SCH_RED=yCONFIG_NET_SCH_SFQ=yCONFIG_NET_SCH_TEQL=yCONFIG_NET_SCH_TBF=yCONFIG_NET_SCH_GRED=yCONFIG_NET_SCH_DSMARK=yCONFIG_NET_SCH_NETEM=yCONFIG_NET_SCH_INGRESS=yCONFIG_NET_QOS=yCONFIG_NET_ESTIMATOR=yCONFIG_NET_CLS=yCONFIG_NET_CLS_TCINDEX=yCONFIG_NET_CLS_ROUTE4=yCONFIG_NET_CLS_ROUTE=yCONFIG_NET_CLS_FW=mCONFIG_NET_CLS_U32=m
# CONFIG_CLS_U32_PERF is not set
# CONFIG_NET_CLS_IND is not setCONFIG_NET_CLS_RSVP=mCONFIG_NET_CLS_RSVP6=m
# CONFIG_NET_CLS_ACT is not setCONFIG_NET_CLS_POLICE=y
it's seems that the sch_netem is not present in the file system!
Tanks,
Carlo Altarelli
Quoted 4 lines
i'm tring to use netem under a 2.6.8.1 kernel, the error report is : "Unknown qdisc netem",
I've just rebuild the kernel with these options about QoS:
More likely the problem is out of date versions of tc or picking up the wrong version of tc from the PATH. Some distro's put tc in /sbin but the current iproute2 'make install' puts it in /usr/sbin. With the latest iproute2 the netem support is in the shared library /usr/lib/tc/q_netem.so. I could have built it into tc but wanted to use netem as test case for the extensiblity with shared libraries, and it solves build/link issues with older kernels.