forked from dect/dedected
Martin Hauke
e8cfb775e7
Workaround the issues that the com_on_air_cs.ko kernel module could not be loaded: insmod com_on_air_cs.ko -> insmod: ERROR: could not insert module com_on_air_cs.ko: Invalid parameters dmesg -> CHRDEV "com_on_air_cs" major requested (3564) is greater than the maximum (511) CHRDEV_MAJOR_MAX is set to "512" in the kernel https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/include/linux/fs.h https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/fs/char_dev.c com_on_air_cs uses 0xDEC (int 3564) which is greater than this maximum. -> Workaround: Use 0xDE (int 222) instead. This already conflicts with a reserved (but probably not widely used) allocation: https://www.kernel.org/doc/Documentation/admin-guide/devices.txt Real fix: * Use Dynamic Major Number allocation instead of assigning a static one. |
||
---|---|---|
com-on-air_cs-linux | ||
kismet-dect | ||
kismet-dect-v2 | ||
metasploit-dect | ||
wireshark-dect |