溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊(cè)×
其他方式登錄
點(diǎn)擊 登錄注冊(cè) 即表示同意《億速云用戶服務(wù)條款》

openwrt編譯ifb.ko模塊問題

發(fā)布時(shí)間:2020-06-15 00:11:49 來源:網(wǎng)絡(luò) 閱讀:1709 作者:Linux_woniu 欄目:系統(tǒng)運(yùn)維

<*> kmod-ifb........................... Intermediate Functional Block support

開始時(shí)候怎么都編譯不了ifb.ko模塊
最后通過Kconfig發(fā)現(xiàn)

config IFB
        tristate "Intermediate Functional Block support"
        depends on NET_CLS_ACT
        ---help---
          This is an intermediate driver that allows sharing of
          resources.
          To compile this driver as a module, choose M here: the module
          will be called ifb.  If you want to use more than one ifb
          device at a time, you need to compile this driver as a module.
          Instead of 'ifb', the devices will then be called 'ifb0',
          'ifb1' etc.
          Look at the iproute2 documentation directory for usage etc

其實(shí)它是依賴這個(gè)模塊的,內(nèi)核是你沒有選中的
#CONFIG_NET_CLS_ACT is not set

make menuconfig

<*> kmod-sched-connmark................ Traffic shaper conntrack mark support  
-*- kmod-sched-core....................................... Traffic schedulers

查看內(nèi)核.config文件, CONFIG_NET_CLS_ACT=y

make V=99

最后會(huì)發(fā)現(xiàn)內(nèi)核里出現(xiàn)了ifb.ko

向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI