Patching kernel for eciadsl
I am having trouble with the eciadsl setup. Here are my specs.
Mandrake 10
D-Link DSL200 USB ADSL modem
Kernel 2.6.3 (When i type 'uname -r -p' i get '2.6.3-4mdk unknown')
I have downloaded and installed:
rpm -i eciadsl-usermode-0.10-1.i386.rpm
I am supposed to patch the kernel and from what i've read i have to
cd /usr/src/linux-2.6.3
patch -p1 </path/to/2.6.x-usb.patch
My problem is that this /usr/src/linux-2.6.3 does not exist. Even from root i can get as far as /usr/src but can't find linux-2.6.3. I then tried making a symbolic link in the /usr/src directory by using:
ln -s /lib/modules/2.6.3-4mdk (This path does exist)
Now i go into /usr/src and try to run the patch again 'patch -p1 </path/to/patch
This is the error i have been getting.
-------------------
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- linux-2.6.0/drivers/usb/core/devio.c 2003-12-18 21:32:47.000000000 +0100
|+++ linux-2.6.0/drivers/usb/core/devio-new.c 2003-12-18 21:33:51.000000000 +0100
--------------------------
File to patch:
I am not sure where to point the script to in order to patch the kernel. Can anyone help me get connected??
|