
# yum install kernel-headers kernel devel
Loaded plugins: refresh-packagekit
Setting up Install Process
Package kernel-headers-2.6.30.8-64.fc11.i586 already installed and latest version
No package devel available.
Resolving Dependencies
--> Running transaction check
---> Package kernel.i586 0:2.6.30.8-64.fc11 set to be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================== ==============================
Package Arch Version Repository Size
================================================== ==============================
Installing:
kernel i586 2.6.30.8-64.fc11 updates 21 M
Transaction Summary
================================================== ==============================
Install 1 Package(s)
Upgrade 0 Package(s)
Total download size: 21 M
Is this ok [y/N]: y
Downloading Packages:
kernel-2.6.30.8-64.fc11.i586.rpm | 21 MB 00:32
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : kernel-2.6.30.8-64.fc11.i586 1/1
Running DKMS auto installation service for kernel 2.6.30.8-64.fc11.i586
.
Installed:
kernel.i586 0:2.6.30.8-64.fc11
Complete!
[root@sbatur src]# uname -r
2.6.30.8-64.fc11.i686.PAE
# uname -r
2.6.30.8-64.fc11.i686.PAE
# patch -p0 < r5u870-0.11.0-9.patch
patching file r5u870-0.11.0-9/usbcam/usbcam.h
patching file r5u870-0.11.0-9/usbcam/usbcam_fops.c
patching file r5u870-0.11.0-9/usbcam/usbcam_priv.h
# dkms status
# dkms status
dkms remove -m r5u870 -v 0.11.0-9 --all
Error! There are no instances of module: r5u870
0.11.0-9 located in the DKMS tree.
[root@sbatur src]# dkms remove -m r5u870 -v 0.11.0-8 --all
Error! There are no instances of module: r5u870
0.11.0-8 located in the DKMS tree.
[root@sbatur src]# rpm -qa | grep r5u870
dkms-r5u870-0.11.0-8.noarch
[root@sbatur src]# ls -ltr
total 12
drwxr-xr-x. 3 root root 4096 2009-10-24 16:21 kernels
drwxr-xr-x. 3 root root 4096 2009-10-24 16:26 r5u870-0.11.0-9
-rw-r--r--. 1 root root 3907 2009-10-24 16:33 r5u870-0.11.0-9.patch
[root@sbatur src]# patch -p0 < r5u870-0.11.0-9.patch
patching file r5u870-0.11.0-9/usbcam/usbcam.h
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] y
Hunk #1 FAILED at 226.
1 out of 1 hunk FAILED -- saving rejects to file r5u870-0.11.0-9/usbcam/usbcam.h.rej
patching file r5u870-0.11.0-9/usbcam/usbcam_fops.c
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] y
Hunk #1 FAILED at 112.
Hunk #2 succeeded at 129 (offset 9 lines).
Hunk #3 FAILED at 1190.
Hunk #4 succeeded at 1233 with fuzz 2 (offset -4 lines).
2 out of 4 hunks FAILED -- saving rejects to file r5u870-0.11.0-9/usbcam/usbcam_fops.c.rej
patching file r5u870-0.11.0-9/usbcam/usbcam_priv.h
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] y
Hunk #1 succeeded at 72 with fuzz 2 (offset 22 lines).
# dkms -m r5u870 -v 0.11.0-9 add
Error! DKMS tree already contains: r5u870-0.11.0-9
You cannot add the same module/version combo more than once.
[root@sbatur src]# dkms -m r5u870 -v 0.11.0-9 build
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
make KERNELRELEASE=2.6.30.8-64.fc11.i686.PAE -C /lib/modules/2.6.30.8-64.fc11.i686.PAE/build M=/var/lib/dkms/r5u870/0.11.0-9/build.....(bad exit status: 2)
Error! Bad return status for module build on kernel: 2.6.30.8-64.fc11.i686.PAE (i686)
Consult the make.log in the build directory
/var/lib/dkms/r5u870/0.11.0-9/build/ for more information.
0
0
[root@sbatur src]# dkms -m r5u870 -v 0.11.0-9 install
Error! Could not locate r5u870.ko for module r5u870 in the DKMS tree.
You must run a dkms build for kernel 2.6.30.8-64.fc11.i686.PAE (i686) first.
...Still no success ...