Frogging-Family / linux-tkg

linux-tkg custom kernels
GNU General Public License v2.0
1.35k stars 171 forks source link

Not able to use wondershaper due to missing qdisc #386

Open cazzoo opened 2 years ago

cazzoo commented 2 years ago

Hello, I installed 5.15 bmq with custom kernel config (setting CONFIG_NET_SCH_NETEM=y) but when trying to spawn wondershaper I have this report: Error: Specified qdisc not found. This issue seems to be related to missing module (see https://bbs.archlinux.org/viewtopic.php?id=266479). I enabled it (sudo modprobe sch_netem) but still the issue remains... Do you have any idea? Thanks

AdelKS commented 2 years ago

Try to see if there's a qdisc config and make it built-in, something like CONFIG_QDISC=y

Edit: nevermind, but maybe you need to enable more config options

cazzoo commented 2 years ago

Strange... Everywhere i can find it may be due to missing sch_netem module but when adding it with modprobe sch_netem and checking loaded modules I cannot find it... (lsmod | grep mem) I checked kernelconfig.new and the content is the right one:

# CONFIG_NET_SCH_DSMARK is not set
CONFIG_NET_SCH_NETEM=y
# CONFIG_NET_SCH_DRR is not set

Any idea?

AdelKS commented 2 years ago

Note that putting a config to =y makes it built-in and not a module. You can try again with =m instead