Еще момент. Сам модуль ipoe не собирается
Code: Select all
[100%] Generating driver/ipoe.ko
/root/drivers/ipoe/driver/ipoe.c: In function ‘ipoe_stats64’:
/root/drivers/ipoe/driver/ipoe.c:885:4: error: implicit declaration of function ‘u64_stats_fetch_begin_bh’ [-Werror=implicit-function-declaration]
start = u64_stats_fetch_begin_bh(&st->sync);
^
/root/drivers/ipoe/driver/ipoe.c:888:3: error: implicit declaration of function ‘u64_stats_fetch_retry_bh’ [-Werror=implicit-function-declaration]
} while (u64_stats_fetch_retry_bh(&st->sync, start));
^
cc1: some warnings being treated as errors
make[4]: *** [/root/drivers/ipoe/driver/ipoe.o] Error 1
make[3]: *** [_module_/root/drivers/ipoe/driver] Error 2
make[2]: *** [drivers/ipoe/driver/ipoe.ko] Error 2
make[1]: *** [drivers/ipoe/CMakeFiles/ipoe_drv.dir/all] Error 2
make: *** [all] Error 2
Приходится использовать patch. но видимо он все ломает.
Ubuntu 14.04 ядро 3.13.0-91-generic