Re: [SLE] Loading ndiswrapper for Buffalo Card
So, back to ndiswrapper:
You must have your kernel source installed in /usr/src/linux-2.6.n.n.n then in /lib/modules/2.6n.n.n you'll see what looks like a folder but is merely a link named build pointing to, in my case, /usr/src/linux-2.6.5-7.95-obj/i386/default
Without the src and that pointer you're dead.
Here is what I actually see:
linux:/home/edoc/downloads/drivers # cd /usr/src/ linux:/usr/src # ls . .. kernel-modules linux-2.6.8-24.5-obj packages No source. You should see linux and linux-2.6.5-7.95 as well. Install kernel-source-2.6.5-7.95.i586,rpm Is this sufficient to proceed? No. You need to install the kernel source package.
. install.sh produces an error saying that my kernel sources are not in /usr/src I did install the source via YAST and ran Online Update. file:/usr/src now contains the following folders: kernel-modules linux linux-2.6.8-24 linux-2.6.8-24.10 linux-2.6.8-24.10-obj linux-obj ndsiwrapper packages What am I missing, please? -- Thanks! & 73, doc kd4e A blessed and joy-filled New Year to all! West Central Florida 100% Linux. Suse 9.2 Hallicrafters, Heathkit, Homebrew, TenTec, Yaesu Radio Life: http://www.gospelcom.net/twr/ Linux-Incompatible hardware is defective! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
doc wrote:
So, back to ndiswrapper:
You must have your kernel source installed in /usr/src/linux-2.6.n.n.n then in /lib/modules/2.6n.n.n you'll see what looks like a folder but is merely a link named build pointing to, in my case, /usr/src/linux-2.6.5-7.95-obj/i386/default
Without the src and that pointer you're dead.
Here is what I actually see:
linux:/home/edoc/downloads/drivers # cd /usr/src/ linux:/usr/src # ls . .. kernel-modules linux-2.6.8-24.5-obj packages
No source. You should see linux and linux-2.6.5-7.95 as well. Install kernel-source-2.6.5-7.95.i586,rpm
Is this sufficient to proceed?
No. You need to install the kernel source package.
. install.sh produces an error saying that my kernel sources are not in /usr/src
I did install the source via YAST and ran Online Update.
file:/usr/src now contains the following folders:
kernel-modules linux linux-2.6.8-24 linux-2.6.8-24.10 linux-2.6.8-24.10-obj linux-obj ndsiwrapper packages
What am I missing, please?
BTW: Here is the specific section of code from install.sh for ndiswrapper that looks for the kernel source, just case it helps: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # get kernel directory, check for SMP KVERS=$(uname -r) KVERSMINOR=$(echo ${KVERS} | awk -F . '{print $2}') KSRC=/lib/modules/${KVERS}/build if [ ! -e "${KSRC}/include/asm" ]; then error "You don't seem to have sources for your kernel; \ install them in /usr/src, link $(KSRC) to it." fi ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- Thanks! & 73, doc kd4e A blessed and joy-filled New Year to all! West Central Florida 100% Linux. Suse 9.2 Hallicrafters, Heathkit, Homebrew, TenTec, Yaesu Radio Life: http://www.gospelcom.net/twr/ Linux-Incompatible hardware is defective! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* Make sure there is a link to the source from the modules directory: '/lib/modules/<VERSION>/build' should be a link to the kernel source, where <VERSION> is the version of the kernel you are running. * The driver has known problems with SMP and will not work reliably with it. This includes hyperthreading support, because it implies SMP. There is no '/lib/modules/linux-2.6.8-24.10/build' How do I cause this to be created, please? -- Thanks! & 73, doc kd4e A blessed and joy-filled New Year to all! West Central Florida 100% Linux. Suse 9.2 Hallicrafters, Heathkit, Homebrew, TenTec, Yaesu Radio Life: http://www.gospelcom.net/twr/ Linux-Incompatible hardware is defective! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
participants (1)
-
doc