Thread: [Ndiswrapper-general] ndiswrapper in fedora core 5
Status: Beta
Brought to you by:
pgiri
From: ashish k. <ash...@ya...> - 2006-04-17 16:31:49
|
i installed Fedora Core 5. i am not able to install ndiswrapper. the command "make distclean" runs successfully. but make install gives error that it cannot find kernel sources. i tried all other options but could not install. please if you can suggest what should i do. ashish --------------------------------- How low will we go? Check out Yahoo! Messengers low PC-to-Phone call rates. |
From: ashish k. <ash...@ya...> - 2006-04-22 19:25:43
|
hi below is the error message i get when installing ndiswrapper .I have to set up VPN on Linux is it possible on FC5..please give your suggestions how to install ndiswrapper.. [root@localhost ndiswrapper-1.11]# make install make -C driver install make[1]: Entering directory `/home/ndiswrapper-1.11/driver' Can't find kernel build files in /lib/modules/2.6.15-1.2054_FC5smp/build; give the path to kernel build directory with KBUILD=<path> argument to make make[1]: *** [prereq_check] Error 1 make[1]: Leaving directory `/home/ndiswrapper-1.11/driver' make: *** [install] Error 2 [root@localhost ndiswrapper-1.11]# --------------------------------- Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min. |
From: Kathryn H. <kj...@fl...> - 2006-04-22 19:49:00
|
ashish kumar wrote: > below is the error message i get when installing ndiswrapper .I have to > set up VPN on Linux is it possible on FC5..please give your suggestions > how to install ndiswrapper.. > > [root@localhost ndiswrapper-1.11]# make install make -C driver install > make[1]: Entering directory `/home/ndiswrapper-1.11/driver' > Can't find kernel build files in > /lib/modules/2.6.15-1.2054_FC5smp/build; > give the path to kernel build directory with > KBUILD=<path> argument to make > make[1]: *** [prereq_check] Error 1 > make[1]: Leaving directory `/home/ndiswrapper-1.11/driver' > make: *** [install] Error 2 > [root@localhost ndiswrapper-1.11]# You need to install the kernel-devel package. For some reason this wasn't included in the FC5 cd's or dvd. If you have networking on the machine run "yum install kernel-devel". If keep a yum repository of ndiswrapper builds for Fedora Core 5 at http://womensfooty.com/fedora/core/5 if you just want to grab precompiled rpms. -- Kathryn http://womensfooty.com |
From: Kathryn H. <kj...@fl...> - 2006-04-17 17:05:40
|
ashish kumar wrote: > i installed Fedora Core 5. > i am not able to install ndiswrapper. > the command "make distclean" runs successfully. > but make install gives error that it cannot find kernel sources. > i tried all other options but could not install. > please if you can suggest what should i do. You need to install the kernel-devel package. For some reason, its not included on the distro CD's/DVD so you'll need to install it via yum which really sucks if you need this to compile ndiswrapper and don't have any other functioning network interface. If you don't want to bother with that, I keep a yum repository of the latest ndiswrapper at http://womensfooty.com/fedora/core/5/RPMS/i386 You can create a file named /etc/yum.repos.d/kjh.repo containing the following contents: [kjh] name=Fedora Linux $releasever - $basearch - kjhrpms baseurl=http://womensfooty.com/fedora/core/$releasever/RPMS/$basearch enabled=1 gpgcheck=0 -- Kathryn http://womensfooty.com |
From: Jim C. <jim...@gm...> - 2006-04-17 17:06:47
|
ashish kumar wrote: > i installed Fedora Core 5. > i am not able to install ndiswrapper. > the command "make distclean" runs successfully. > but make install gives error that it cannot find kernel sources. > i tried all other options but could not install. > please if you can suggest what should i do. > ashish Um. Post your errors ? (this seems obvious enough to not have to say) heres how it *works* for FC4. Perhaps you need to rpm -i some additional packages (kernel-devel-*) Giri, fwiw, I get errs when re-making - it would be nice if this step in the make were done by `make` rather than by `make install`. /bin/sh: /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/.tmp_versions/ndiswrapper.mod: Permission denied Being lazy, I just sudo make clean to get rid of it, so I havent looked further. 2.6.15-1.1831_FC4 make -C driver make[1]: Entering directory `/mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver' make -C /lib/modules/2.6.15-1.1831_FC4/build SUBDIRS=/mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver \ DRIVER_VERSION=1.13 make[2]: Entering directory `/usr/src/kernels/2.6.15-1.1831_FC4-i686' CC [M] /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/hal.o CC [M] /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/iw_ndis.o CC [M] /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/loader.o CC [M] /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/misc_funcs.o CC [M] /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/ndis.o CC [M] /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/ntoskernel.o CC [M] /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/ntoskernel_io.o CC [M] /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/pe_linker.o CC [M] /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/pnp.o CC [M] /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/proc.o CC [M] /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/wrapndis.o CC [M] /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/wrapper.o CC [M] /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/usb.o CC [M] /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/divdi3.o LD [M] /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/ndiswrapper.o /bin/sh: /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/.tmp_versions/ndiswrapper.mod: Permission denied Building modules, stage 2. MODPOST CC /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/ndiswrapper.mod.o LD [M] /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/ndiswrapper.ko make[2]: Leaving directory `/usr/src/kernels/2.6.15-1.1831_FC4-i686' *** WARNING: Kernel is compiled with 4K stack size option (CONFIG_4KSTACKS); many Windows drivers will not work with this option enabled. Disable CONFIG_4KSTACKS option, recompile and install kernel make[1]: Leaving directory `/mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver' make -C utils make[1]: Entering directory `/mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/utils' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/utils' 2.6.15-1.1833_FC4 make -C driver make[1]: Entering directory `/mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver' make -C /lib/modules/2.6.15-1.1833_FC4/build SUBDIRS=/mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver \ DRIVER_VERSION=1.13 make[2]: Entering directory `/usr/src/kernels/2.6.15-1.1833_FC4-i686' /bin/sh: /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/.tmp_versions/ndiswrapper.mod: Permission denied Building modules, stage 2. MODPOST make[2]: Leaving directory `/usr/src/kernels/2.6.15-1.1833_FC4-i686' *** WARNING: Kernel is compiled with 4K stack size option (CONFIG_4KSTACKS); many Windows drivers will not work with this option enabled. Disable CONFIG_4KSTACKS option, recompile and install kernel make[1]: Leaving directory `/mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver' make -C utils make[1]: Entering directory `/mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/utils' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/utils' 2.6.16-1.2069_FC4 make -C driver make[1]: Entering directory `/mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver' make -C /lib/modules/2.6.16-1.2069_FC4/build SUBDIRS=/mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver \ DRIVER_VERSION=1.13 make[2]: Entering directory `/usr/src/kernels/2.6.16-1.2069_FC4-i686' CC [M] /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/hal.o CC [M] /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/iw_ndis.o CC [M] /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/loader.o CC [M] /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/misc_funcs.o CC [M] /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/ndis.o CC [M] /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/ntoskernel.o CC [M] /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/ntoskernel_io.o CC [M] /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/pe_linker.o CC [M] /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/pnp.o CC [M] /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/proc.o CC [M] /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/wrapndis.o CC [M] /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/wrapper.o CC [M] /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/usb.o CC [M] /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/divdi3.o LD [M] /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/ndiswrapper.o /bin/sh: /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/.tmp_versions/ndiswrapper.mod: Permission denied Building modules, stage 2. MODPOST CC /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/ndiswrapper.mod.o LD [M] /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/ndiswrapper.ko make[2]: Leaving directory `/usr/src/kernels/2.6.16-1.2069_FC4-i686' *** WARNING: Kernel is compiled with 4K stack size option (CONFIG_4KSTACKS); many Windows drivers will not work with this option enabled. Disable CONFIG_4KSTACKS option, recompile and install kernel make[1]: Leaving directory `/mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver' make -C utils make[1]: Entering directory `/mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/utils' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/utils' [jimc@harpo ndis]$ FYI, 4k stacks are fine with my particular win-driver. |
From: Giridhar P. <gi...@lm...> - 2006-04-17 17:36:57
|
On Mon, 17 Apr 2006 13:06:15 -0400, Jim Cromie <jim...@gm...> said: Jim> Giri, Jim> fwiw, I get errs when re-making - it would be nice if this step Jim> in the make were done by `make` rather than by `make install`. Jim> /bin/sh: Jim> /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/.tmp_versions/ndiswrapper.mod: Jim> Permission denied That is not an issue to fix in ndiswrapper; it is how compilation with 2.6 works - you can't replace default make rules otherwise, compilation fails. However, compiling as a user, even after 'make install' as root, works for me with vanilla kernel. It may be issue with Fedora kernel. -- Giri |
From: Jim C. <jim...@gm...> - 2006-04-23 03:58:03
|
Giridhar Pemmasani wrote: > On Mon, 17 Apr 2006 13:06:15 -0400, Jim Cromie <jim...@gm...> said: > > Jim> Giri, > > Jim> fwiw, I get errs when re-making - it would be nice if this step > Jim> in the make were done by `make` rather than by `make install`. > > Jim> /bin/sh: > Jim> /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/.tmp_versions/ndiswrapper.mod: > Jim> Permission denied > > That is not an issue to fix in ndiswrapper; it is how compilation with > 2.6 works - you can't replace default make rules otherwise, > compilation fails. > > However, compiling as a user, even after 'make install' as root, works > for me with vanilla kernel. It may be issue with Fedora kernel. > > FWIW, I found an LKML thread (3 msgs) that perfectly describes my situation. http://lkml.org/lkml/2006/4/21/4 To be quite honest, I dont know what it means, but it seems 2.4-isms in 2.6 is involved. They seemed to come to an agreement thanks |
From: Pavel R. <pr...@gn...> - 2006-04-24 19:41:19
|
Hello! > > Jim> /bin/sh: > > Jim> /mnt/dilbert/jimc/dilbert/ndis/ndiswrapper-1.13/driver/.tmp_versions/ndiswrapper.mod: > > Jim> Permission denied > FWIW, I found an LKML thread (3 msgs) that perfectly describes my situation. > > http://lkml.org/lkml/2006/4/21/4 > > > To be quite honest, I dont know what it means, but it seems 2.4-isms in > 2.6 is involved. I disagree. You can exactly follow the documentation for building external modules against 2.6 kernels, yet the problem with permissions of .tmp_version would exist if .tmp_version is removed and created by "make install". The only proper solution would be not to remove and create .tmp_version at least on "make install", which would needs patching the kernel. Yes, it can be worked around from the driver, but it shouldn't be. > They seemed to come to an agreement Actually, I have never received a reply from Sam. I think I'll have to act unilaterally. -- Regards, Pavel Roskin |