Code Monkey home page Code Monkey logo

ndiswrapper's People

Contributors

felixonmars avatar jcontoso avatar pgiri 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ndiswrapper's Issues

Doesn't build with Linux 5.8

I cannot find a way to allocate PAGE_KERNEL_EXEC anymore in the new version. __vmalloc doesn't have that parameter now and __vmalloc_node_range is no longer exported.

  CC [M]  /tmp/ndiswrapper-arch/trunk/src/ndiswrapper-1.62/driver/loader.o
/tmp/ndiswrapper-arch/trunk/src/ndiswrapper-1.62/driver/loader.c: In function ‘load_sys_files’:
/tmp/ndiswrapper-arch/trunk/src/ndiswrapper-1.62/driver/loader.c:157:4: error: too many arguments to function ‘__vmalloc’
  157 |    __vmalloc(load_driver->sys_files[i].size,
      |    ^~~~~~~~~
In file included from ./include/asm-generic/io.h:911,
                 from ./arch/x86/include/asm/io.h:375,
                 from ./include/linux/scatterlist.h:9,
                 from ./include/linux/dma-mapping.h:11,
                 from ./include/linux/skbuff.h:31,
                 from ./include/linux/if_ether.h:19,
                 from ./include/uapi/linux/ethtool.h:19,
                 from ./include/linux/ethtool.h:18,
                 from ./include/linux/netdevice.h:37,
                 from /tmp/ndiswrapper-arch/trunk/src/ndiswrapper-1.62/driver/ntoskernel.h:25,
                 from /tmp/ndiswrapper-arch/trunk/src/ndiswrapper-1.62/driver/ndis.h:19,
                 from /tmp/ndiswrapper-arch/trunk/src/ndiswrapper-1.62/driver/loader.c:16:
./include/linux/vmalloc.h:111:14: note: declared here
  111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
      |              ^~~~~~~~~
make[2]: *** [scripts/Makefile.build:281: /tmp/ndiswrapper-arch/trunk/src/ndiswrapper-1.62/driver/loader.o] Error 1
make[2]: *** Waiting for unfinished jobs....

Is this project finished?

There has not been a lot of activity in the last ~8 years, is this project considered finished? Or is NDIS6 support still planned?

imperfect Windows' driver install

Met imperfection here, any attempt to perfect it (though seems it's working installed) ?

$ sudo ndiswrapper -i netbc64.inf

installing netbc64 ...
couldn't find section "\" -
installation may be incomplete
couldn't find section "\" -
installation may be incomplete
couldn't find section "\" -
installation may be incomplete
couldn't find section "\" -
installation may be incomplete
couldn't find section "\" -
installation may be incomplete
couldn't find section "\" -
installation may be incomplete
couldn't find section "\" -
installation may be incomplete
couldn't find section "\" -
installation may be incomplete
couldn't find section "\" -
installation may be incomplete

`make` fails. Ubuntu 18.04 / kernel 5.3.0-46-generic

System Specs:

os: ubuntu 18.04

kernel:

uname -r // 5.3.0-46-generic

Repeatable Steps:

[1] git clone https://github.com/pgiri/ndiswrapper
[2] cd ndiswrapper/ndiswrapper
[3] make

Result:

make -C utils
make[1]: Entering directory '/media/Software/linux/drivers/ndiswrapper-1.62/utils'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/media/Software/linux/drivers/ndiswrapper-1.62/utils'
make -C driver
make[1]: Entering directory '/media/Software/linux/drivers/ndiswrapper-1.62/driver'
make -C /usr/src/linux-headers-5.3.0-46-generic M=/media/Software/linux/drivers/ndiswrapper-1.62/driver
make[2]: Entering directory '/usr/src/linux-headers-5.3.0-46-generic'
  CC [M]  /media/Software/linux/drivers/ndiswrapper-1.62/driver/crt.o
In file included from /media/Software/linux/drivers/ndiswrapper-1.62/driver/crt.c:16:0:
/media/Software/linux/drivers/ndiswrapper-1.62/driver/ntoskernel.h: In function ‘raise_irql’:
/media/Software/linux/drivers/ndiswrapper-1.62/driver/ntoskernel.h:113:40: error: ‘struct task_struct’ has no member named ‘cpus_allowed’; did you mean ‘nr_cpus_allowed’?
 #define tsk_cpus_allowed(tsk) (&(tsk)->cpus_allowed)
                                        ^
/media/Software/linux/drivers/ndiswrapper-1.62/driver/ntoskernel.h:668:36: note: in expansion of macro ‘tsk_cpus_allowed’
  cpumask_copy(&info->cpus_allowed, tsk_cpus_allowed(current));
                                    ^~~~~~~~~~~~~~~~
scripts/Makefile.build:288: recipe for target '/media/Software/linux/drivers/ndiswrapper-1.62/driver/crt.o' failed
make[3]: *** [/media/Software/linux/drivers/ndiswrapper-1.62/driver/crt.o] Error 1
Makefile:1655: recipe for target '_module_/media/Software/linux/drivers/ndiswrapper-1.62/driver' failed
make[2]: *** [_module_/media/Software/linux/drivers/ndiswrapper-1.62/driver] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-5.3.0-46-generic'
Makefile:183: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
make[1]: Leaving directory '/media/Software/linux/drivers/ndiswrapper-1.62/driver'
Makefile:23: recipe for target 'driver' failed
make: *** [driver] Error 2

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.