Fedora Linux Support Community & Resources Center
  #1  
Old 6th October 2006, 10:03 AM
Enigma 2100 Offline
Registered User
 
Join Date: Oct 2006
Posts: 120
Help needed with ndiswrapper

I am trying to install ndiswrapper and have a question which I hope someone can help with. I have fedora 5 and uname -r gives 2.6.17-1.2187_FC5.stk16 which as you can see has the 16k stack installed. If you look through the install code below you will see make[2]: Entering directory usr/src/kernels/2.6.17-1.2187_FC5-i686' which seems to show it going into the wrong folder. and further down is a warning about the kernel having a 4k stack. I have already made a symbolic link which I believe is correct but I am an absolute beginner to Linux so can someone help me find out what is wrong. I dont know if the link I made is right but dont know how to check.

[root@localhost ndiswrapper-1.24]# make install
make -C driver install
make[1]: Entering directory `/home/enigma/Desktop/ndiswrapper-1.24/driver'
make -C /lib/modules/2.6.17-1.2187_FC5.stk16/build SUBDIRS=/home/enigma/Desktop/ndiswrapper-1.24/driver
make[2]: Entering directory `/usr/src/kernels/2.6.17-1.2187_FC5-i686'
LD /home/enigma/Desktop/ndiswrapper-1.24/driver/built-in.o
CC [M] /home/enigma/Desktop/ndiswrapper-1.24/driver/hal.o
CC [M] /home/enigma/Desktop/ndiswrapper-1.24/driver/iw_ndis.o
CC [M] /home/enigma/Desktop/ndiswrapper-1.24/driver/loader.o
CC [M] /home/enigma/Desktop/ndiswrapper-1.24/driver/crt.o
CC [M] /home/enigma/Desktop/ndiswrapper-1.24/driver/ndis.o
CC [M] /home/enigma/Desktop/ndiswrapper-1.24/driver/ntoskernel.o
CC [M] /home/enigma/Desktop/ndiswrapper-1.24/driver/ntoskernel_io.o
CC [M] /home/enigma/Desktop/ndiswrapper-1.24/driver/pe_linker.o
CC [M] /home/enigma/Desktop/ndiswrapper-1.24/driver/pnp.o
CC [M] /home/enigma/Desktop/ndiswrapper-1.24/driver/proc.o
CC [M] /home/enigma/Desktop/ndiswrapper-1.24/driver/rtl.o
CC [M] /home/enigma/Desktop/ndiswrapper-1.24/driver/wrapmem.o
CC [M] /home/enigma/Desktop/ndiswrapper-1.24/driver/wrapndis.o
CC [M] /home/enigma/Desktop/ndiswrapper-1.24/driver/wrapper.o
CC [M] /home/enigma/Desktop/ndiswrapper-1.24/driver/usb.o
CC [M] /home/enigma/Desktop/ndiswrapper-1.24/driver/divdi3.o
LD [M] /home/enigma/Desktop/ndiswrapper-1.24/driver/ndiswrapper.o
Building modules, stage 2.
MODPOST
CC /home/enigma/Desktop/ndiswrapper-1.24/driver/ndiswrapper.mod.o
LD [M] /home/enigma/Desktop/ndiswrapper-1.24/driver/ndiswrapper.ko
make[2]: Leaving directory `/usr/src/kernels/2.6.17-1.2187_FC5-i686'


*** WARNING: This kernel seems to use 4K stack size option (CONFIG_4KSTACKS); many Windows drivers will not work with this option enabled. Disable CONFIG_4KSTACKS option, recompile and install kernel


echo /lib/modules/2.6.17-1.2187_FC5.stk16/misc
/lib/modules/2.6.17-1.2187_FC5.stk16/misc
mkdir -p /lib/modules/2.6.17-1.2187_FC5.stk16/misc
install -m 0644 ndiswrapper.ko /lib/modules/2.6.17-1.2187_FC5.stk16/misc
/sbin/depmod -a 2.6.17-1.2187_FC5.stk16 -b /
make[1]: Leaving directory `/home/enigma/Desktop/ndiswrapper-1.24/driver'
make -C utils install
make[1]: Entering directory `/home/enigma/Desktop/ndiswrapper-1.24/utils'
gcc -g -Wall -I../driver -o loadndisdriver loadndisdriver.c
install -D -m 755 loadndisdriver /sbin/loadndisdriver
install -D -m 755 ndiswrapper /usr/sbin/ndiswrapper
install -D -m 755 ndiswrapper-buginfo /usr/sbin/ndiswrapper-buginfo

NOTE: Windows driver configuration file format has changed since 1.5. You must re-install Windows drivers if they were installed before.
make[1]: Leaving directory `/home/enigma/Desktop/ndiswrapper-1.24/utils'
mkdir -p -m 0755 /usr/share/man/man8
install -m 644 ndiswrapper.8 /usr/share/man/man8
install -m 644 loadndisdriver.8 /usr/share/man/man8
[root@localhost ndiswrapper-1.24]# uname -r
2.6.17-1.2187_FC5.stk16
[root@localhost ndiswrapper-1.24]#
Reply With Quote
  #2  
Old 6th October 2006, 10:09 AM
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 56
Posts: 12,371
Hello:
I am not sure but cannot you just use yum to install kmod-ndiswrapper ?
If you have the livna repo installed then
yum --enablerepo livna install kmod-ndiswrapper

Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #3  
Old 6th October 2006, 10:39 AM
Enigma 2100 Offline
Registered User
 
Join Date: Oct 2006
Posts: 120
Thanks for replying but I dont really understand what you said. I get the basic jist but not sure exactly what you mean. What is the livna repo and how would I know if its installed. I really am a beginner so most of what get said I struggle to understand.
Reply With Quote
  #4  
Old 6th October 2006, 10:45 AM
Enigma 2100 Offline
Registered User
 
Join Date: Oct 2006
Posts: 120
I ran the commandline you gave but that installes an old version 1.8 instead of 1.24 and it doesn't make any mention of the 16k stack.

I'll post the output as there is an error mentioned that I dont understand. At the bottom it syays transaction error anyone know what it means.

[root@localhost ndiswrapper-1.24]# yum -enablerepo livna install kmod-ndiswrapper
usage: yum [options] < update | install | info | remove | list |
clean | provides | search | check-update | groupinstall |
groupupdate | grouplist | groupinfo | groupremove |
makecache | localinstall | erase | upgrade | whatprovides |
localupdate | resolvedep | shell | deplist >

Command line error: option -e: invalid integer value: 'nablerepo'
[root@localhost ndiswrapper-1.24]#
[root@localhost ndiswrapper-1.24]# yum --enablerepo livna install kmod-ndiswrapper
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
livna [1/4]
livna 100% |=========================| 951 B 00:00
core [2/4]
core 100% |=========================| 1.1 kB 00:00
updates [3/4]
updates 100% |=========================| 1.2 kB 00:00
extras [4/4]
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 1.5 MB 00:10
extras : ################################################## 5303/5303
Added 28 new packages, deleted 9 old in 21.03 seconds
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for kmod-ndiswrapper to pack into transaction set.
kmod-ndiswrapper-1.18-2.2 100% |=========================| 6.1 kB 00:00
---> Package kmod-ndiswrapper.i686 0:1.18-2.2.6.17_1.2187_FC5 set to be installed
--> Running transaction check
--> Processing Dependency: kernel-i686 = 2.6.17-1.2187_FC5 for package: kmod-ndiswrapper
--> Processing Dependency: ndiswrapper-kmod-common >= 1.18 for package: kmod-ndiswrapper
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for ndiswrapper to pack into transaction set.
ndiswrapper-1.18-1.lvn5.i 100% |=========================| 6.4 kB 00:00
---> Package ndiswrapper.i386 0:1.18-1.lvn5 set to be updated
---> Downloading header for kernel to pack into transaction set.
kernel-2.6.17-1.2187_FC5. 100% |=========================| 180 kB 00:01
---> Package kernel.i686 0:2.6.17-1.2187_FC5 set to be installed
--> Running transaction check
--> Populating transaction set with selected packages. Please wait.
---> Package kernel.i686 0:2.6.15-1.2054_FC5 set to be erased
--> Running transaction check

Dependencies Resolved

================================================== ===========================
Package Arch Version Repository Size
================================================== ===========================
Installing:
kmod-ndiswrapper i686 1.18-2.2.6.17_1.2187_FC5 livna 87 k
Removing:
kernel i686 2.6.15-1.2054_FC5 installed 34 M
Installing for dependencies:
kernel i686 2.6.17-1.2187_FC5 updates 15 M
ndiswrapper i386 1.18-1.lvn5 livna 29 k

Transaction Summary
================================================== ===========================
Install 3 Package(s)
Update 0 Package(s)
Remove 1 Package(s)
Total download size: 15 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): ndiswrapper-1.18-1 100% |=========================| 29 kB 00:01
(2/3): kmod-ndiswrapper-1 100% |=========================| 87 kB 00:00
(3/3): kernel-2.6.17-1.21 100% |=========================| 15 MB 01:36
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID a109b1ec
Public key for ndiswrapper-1.18-1.lvn5.i386.rpm is not installed
Retrieving GPG key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
Importing GPG key 0xA109B1EC "Livna.org rpms <rpm-key@livna.org>"
Is this ok [y/N]: y
Key imported successfully
Running Transaction Test
Finished Transaction Test


Transaction Check Error: package kernel-2.6.17-1.2187_FC5.stk16 (which is newer than kernel-2.6.17-1.2187_FC5) is already installed
[root@localhost ndiswrapper-1.24]#

Last edited by Enigma 2100; 6th October 2006 at 10:49 AM.
Reply With Quote
  #5  
Old 6th October 2006, 10:48 AM
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 56
Posts: 12,371
Quote:
Originally Posted by Enigma 2100
Thanks for replying but I dont really understand what you said. I get the basic jist but not sure exactly what you mean. What is the livna repo and how would I know if its installed. I really am a beginner so most of what get said I struggle to understand.
Hello:
To install the livna repo
log in as root using
su -
yourpassword

then type or copy and paste
rpm --import http://rpm.livna.org/RPM-LIVNA-GPG-KEY
hit enter
then
type
gedit /etc/yum.repos.d/livna.repo
hit enter
in the open file copy and paste this
PHP Code:
[livna]
name=Livna for Fedora Core $releasever $basearch Base
baseurl
=
        
http://rpm.livna.org/fedora/$releasever/$basearch/
        
http://livna.cat.pdx.edu/fedora/$releasever/$basearch/
        
http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/$releasever/$basearch/
        
http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/$releasever/$basearch/
failovermethod=priority
#mirrorlist=http://rpm.livna.org/mirrorlist-5
enabled=0
gpgcheck
=
leave a blank line at the end, then save and exit
then type
yum -y --enablerepo livna install kmod-ndiswrapper

Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #6  
Old 6th October 2006, 10:51 AM
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 56
Posts: 12,371
Hello:
If you have a custom kernel then using the livna repo will not work.
I did not notice that you compiled your own

Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #7  
Old 6th October 2006, 10:52 AM
Enigma 2100 Offline
Registered User
 
Join Date: Oct 2006
Posts: 120
As it seemed to install albeit with an error I assume I already have livna installed. But what about the last post I wrote is it relevent that it installes an oldser version and what about the error mentioned.
Reply With Quote
  #8  
Old 6th October 2006, 10:55 AM
Enigma 2100 Offline
Registered User
 
Join Date: Oct 2006
Posts: 120
So if livna wont work with a custom kernel how do I get it removed

Update
I uninstalled ndiswrapper and got it reinstalled but there is the same error as in my first post about 16k stack not being present. but I do have a 16k stack installed. Is there anyone who can help diagnose this issue.

Last edited by Enigma 2100; 6th October 2006 at 12:55 PM.
Reply With Quote
Reply

Tags
ndiswrapper, needed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help On Ndiswrapper Needed Mawerick Servers & Networking 4 17th August 2009 01:21 PM
help needed with ndiswrapper! erkenbrand Servers & Networking 7 11th December 2007 12:27 PM
NDISWrapper warning needed to be addressed Antarctica Using Fedora 0 22nd September 2006 10:03 AM
NDISWRAPPER help needed oshman Servers & Networking 6 9th May 2005 11:27 AM
ndiswrapper 'module ndiswrapper not found?' thestonegroover Hardware & Laptops 1 28th January 2005 02:38 PM


Current GMT-time: 11:54 (Saturday, 25-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Smithtown Photos - Zhezqazghan Instagram Photos - Lubbock Photos