Git Product home page Git Product logo

afulnx's People

Contributors

zibri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

afulnx's Issues

afulnx fails to build on Ubuntu 18.04.5LTS 4.15.0-124-generic

Hi,
fail to build on latest Ubuntu 18.04.5LTS. You fix?

root@lizhi:/Downloads/Supermicro/X9DRG-HF/Bios/3.3/X9DRGH8.719/afulnx-release/afulnx64# uname -ar
Linux lizhi 4.15.0-124-generic #127-Ubuntu SMP Fri Nov 6 10:54:43 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
root@lizhi:
/Downloads/Supermicro/X9DRG-HF/Bios/3.3/X9DRGH8.719/afulnx-release/afulnx64# ./afulnx_64 /MAKEDRV KERNEL=/lib/modules/4.15.0-124-generic/build

  • Program initializing ..
  • Make AFULNX driver .... In file included from /root/Downloads/Supermicro/X9DRG-HF/Bios/3.3/X9DRGH8.719/afulnx-release/afulnx64/.temp/amiwrap.c:17:0:
    ./arch/x86/include/asm/uaccess.h: In function ‘set_fs’:
    ./arch/x86/include/asm/uaccess.h:32:9: error: dereferencing pointer to incomplete type ‘struct task_struct’
    current->thread.addr_limit = fs;
    ^~
    make[2]: *** [/root/Downloads/Supermicro/X9DRG-HF/Bios/3.3/X9DRGH8.719/afulnx-release/afulnx64/.temp/amiwrap.o] Error 1
    make[1]: *** [module/root/Downloads/Supermicro/X9DRG-HF/Bios/3.3/X9DRGH8.719/afulnx-release/afulnx64/.temp] Error 2
    make: *** [default] Error 2
    fail
    10 - Error: Unable to load driver.
    root@lizhi:~/Downloads/Supermicro/X9DRG-HF/Bios/3.3/X9DRGH8.719/afulnx-release/afulnx64#

Brgds,
Tore

can't open file "Documentation/Kconfig"

build fails on kernels newer 5.4.7 (same as there)

root@nd1:~/flash/afulnx64# ./afulnx_64 /MAKEDRV KERNEL=/lib/modules/$(uname -r)/build
 - Program initializing .. 
 - Make AFULNX driver .... Kconfig:36: can't open file "Documentation/Kconfig"
make[3]: *** [scripts/kconfig/Makefile:73: syncconfig] Fehler 1
make[2]: *** [Makefile:594: syncconfig] Fehler 2
make[1]: *** [Makefile:700: include/config/auto.conf.cmd] Fehler 2
make: *** [Makefile:8: default] Fehler 2
fail
10 - Error: Unable to load driver.

root@nd1:~/flash/afulnx64# uname -r
5.4.60-1-pve

FAILS TO BUILD ON Ubuntu 22.04

sudo ./afulnx_64 /MAKEDRV

  • Program initializing ..
  • Make AFULNX driver .... make[3]: *** No rule to make target 'arch/x86/entry/syscalls/syscall_32.tbl', needed by 'arch/x86/include/generated/uapi/asm/unistd_32.h'. Stop.
    make[2]: *** [arch/x86/Makefile:248: archheaders] Error 2
    make[1]: *** [Makefile:234: __sub-make] Error 2
    make: *** [Makefile:8: default] Error 2
    fail
    10 - Error: Unable to load driver.

Broken on newer kernels

I get an error: ./arch/x86/include/asm/uaccess.h:32:9: error: dereferencing pointer to incomplete type ‘struct task_struct’

Googling indicates that this is due to updates in the kernel:
https://lkml.org/lkml/2017/9/30/189

I grabbed the files out of the .temp folder while running AFULNX when it does the compile step, then modified the code to #include <linux/uaccess.h> as suggested on the kernel mailing list . However, I can't quite figure out how to pack that back into the AFULNX binary. Can you provide some tips on how to patch this back into the file?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.