PDA

View Full Version : Deploying kernel driver patch



venkat-330
December 9th, 2013, 12:32 PM
am very new to linux drivers and kernel

Recently i am facing IDE based issue in my system.to overcome the issues i saw a link : [tartarus.org (http://tartarus.org/ds/quirk-ich-force-ahci.patch)] which i believe might solve the issue

kernel version : (linux-source-2.6.32).

Below are the steps which i performed:

1. In my work machine applied the patch changes as mentioned in forum
2. compiled the changes in work machine
3. Now i need to deploy the compiled patch in work machine .how should that be done??

below are failure steps which i tried so far :
compiling of patch (work machine)
make SUBDIRS=drivers/pci/ and make module SUBDIRS=drivers/pci/

For deploying i tried the below stuff: (please correct the mistake which i am doing)

i copied the "pci-stub.ko" from linux-source-2.6.32/drivers/pci to test machine's : "/lib/modules/2.6.32-5-686/kernel/drivers/pci" location
and then set quirks.ich_force_ahci=1 in /etc/grub/grub.conf

and performed the reboot and still see the patch did not work

MG&TL
December 9th, 2013, 06:59 PM
Read the patch. It's "not guaranteed" to work, and by the tone of the comments, I get the impression that the author is pretty sure it's not going to.

That said, the only thing I can think of to check is that you installed the new kernel on the work machine.