Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).


  Search this Thread
Old 04-14-2004, 09:42 PM   #1
LQ Newbie
Registered: Oct 2003
Posts: 10

Rep: Reputation: 0
Angry Upgraded kernel, NDISwrapper don't work no more

aight, check this, I just spent a week getting ndiswrapper-0.6 to work on my HP ze4600, got it working, did updates, and bam, don't work no more

I upgraded my kernal from 2.6.1-1.65 to 2.6.5-1.322, now ndiswrapper didn't work, so I tried recompiling it with the new kernel sources, and it won't even compile. It keeps erroring out on

[root@localhost jlaustill]# cd /usr/src/ndiswrapper-0.6
[root@localhost ndiswrapper-0.6]# make install
make -C driver install
make[1]: Entering directory `/usr/src/ndiswrapper-0.6/driver'
make -C /lib/modules/2.6.5-1.322/build SUBDIRS=/usr/src/ndiswrapper-0.6/driver DRV_VERSION=0.6 modules
make[2]: Entering directory `/lib/modules/2.6.5-1.322/build'
/bin/sh: line 1: /usr/src/ndiswrapper-0.6/driver/.tmp_versions/ndiswrapper.mod: No such file or directory
Building modules, stage 2.
make[2]: Leaving directory `/lib/modules/2.6.5-1.322/build'
mkdir -p /lib/modules/2.6.5-1.322/misc
install -m 0644 ndiswrapper.ko /lib/modules/2.6.5-1.322/misc
install: cannot stat `ndiswrapper.ko': No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/usr/src/ndiswrapper-0.6/driver'
make: *** [install] Error 2
[root@localhost ndiswrapper-0.6]#

so I uninstalled every file I could find and redownloaded it and still does the same thing, anyone know what is causin this? ARG

Joshua L. Austill

If I didn't love my laptops so much this linux stuff would be SoooO much easier, haha
Old 04-15-2004, 03:21 PM   #2
Registered: Aug 2003
Location: Akron, OH
Distribution: SuSE 8.2, Slackware current, OpenBSD 3.5-3.8, Fedora Core 2
Posts: 400

Rep: Reputation: 30
Re: Upgraded kernel, NDISwrapper don't work no more

Originally posted by nyghtone
mkdir -p /lib/modules/2.6.5-1.322/misc
install -m 0644 ndiswrapper.ko /lib/modules/2.6.5-1.322/misc
install: cannot stat `ndiswrapper.ko': No such file or directory

make[1]: Leaving directory `/usr/src/ndiswrapper-0.6/driver'
If I am understanding correctly from the bit that you posted, this isn't actually a compilation error, but an installation error. Without having checked out the NDISWrapper program, most programs follow the general

make install

pattern. The 'make' portion actually compiles and builds the modules, libraries, apps, etc. The 'make install' portion actually moves the compiled bits to the appropriate directories, sets up permissions, etc.

Based on the part I quoted from your original post, it seems that the problem that 'make install' is running into is that when it tries to copy the ndiswrapper.ko file from /usr/src/ndiswrapper-0.6/driver to /lib/modules/2.6.5-1.322/misc, it can't find ndiswrapper.ko at the /usr/src/ndiswrapper-0.6/driver location.

What I would suggest is to './configure' and 'make' again. As an extra safeguard, you might even want to do those from a clean source tree (re-extract the .tar.gz archive). Before you run 'make install', check to see that ndiswrapper.ko is in the right place. If not, put it in the spot that the 'make install' script expects it to be. Then run 'make install'.

I've run into this before with 'make install' and sometimes you just have to continue tweaking it until it works right.
Old 04-15-2004, 10:27 PM   #3
LQ Newbie
Registered: Oct 2003
Posts: 10

Original Poster
Rep: Reputation: 0
Angry went back

I just went back to the old kernel and recompiled and it worked, so I think I should try updating the kernel from source and compiling without a red hat configured kernel??? who knows



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgraded kernel on FC2, ndiswrapper stopped working vrooje Linux - Wireless Networking 5 08-01-2005 07:22 PM
upgraded kernel to 2.6.10 but several things do not work now! parv Fedora 2 02-28-2005 10:22 AM
RH 9 upgraded Kernel, then tried to update Gimp. Now X windows does not work??? air4time Linux - Newbie 5 08-01-2004 10:58 PM
Upgraded GCC; now many programs don't work Zoombie Linux - Software 13 02-24-2004 06:08 AM
upgraded kernel and now modem won't work... lowlight Linux - Networking 0 09-11-2003 01:06 AM > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 08:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration