How to correct "yum" and "modprobe" when using ndiswrapper?
I am trying to get access the internet using Enterprise Unbreakable Linux. I encountered 2 warinigs and one FATAL error while installing ndiswrapper. As you can see the driver did install, however I got an error when I tried to use "yum" and "modprobe":
I downloaded ndiswrappers version 1.47.
I typed "su -c 'yum install kmod-ndiswrapper'"
the response was:
"setting up install process"
"setting up repositories"
however the error message was:
"cannot find a valid baseurl for repo: update"
Therefore I didn't use yum and proceeded as follows
1)created a directed named "ndiswrapper_drivers"
2)tar -zxvf ndiswrapper-1.47.tar.gz
NOTE: this gave two warnings:
a)'task_nice': (/ndiswrapper_drivers/ndiswrapper-1.47/ndiswrapper.ko) undefined!
b)this kernel seems to use 4k stack size option(CONFIG_4KSTACKS): many Windows dirver will not work with the option enabled . Disable CONFIG_4KSTACKS option recompile and install kernel
NOTE:Windows config file format changed since 1.5 you must reinstall windows driver if they wre installed before
7)ndiswrapper -i bcmwl5.inf
(driver now installed)
8)ndiswrapper -i bcmwl5.sys
(driver already installed)
(driver now present)
FATAL: Error inserting ndiswrapper (/lib/modules/2.6.9-126.96.36.199.2ELsmp/misc/ndiswrapper.ko); unknown symbol in module or unknown parameter.
The error file ndiswrapper.0 file in step 11 seems to be the same error file in ndiswrapper.k0 file after step 6.
How can I get "yum" to work and "modprobe" to work with respect to the 2 warinings and the fatal error?
Here's one way of get it done:
Go here and put "ndiswrapper" in the search field and click search, there are 11 pages of results, find the package for your distribution and click on it, the next page will give download links and information for the package including any dependencies it may require under "requires". Install it with rpm install command like so:
It appears you're using a xen kernel or something, and an unstable one at that, or you have the wrong source installed. You should give relative information in your posts, like what distribution?, what kernel?, what you are trying to get drivers for?.
I wouldn't worry about the "b)" warning during the make, but this warning: "a)'task_nice': (/ndiswrapper_drivers/ndiswrapper-1.47/ndiswrapper.ko) undefined!" is bad news. There's no point in going any further.
I think you should have said "ndiswrapper -m" before "depmod -a".
|All times are GMT -5. The time now is 08:03 PM.|