Kernel compiling and installation

venkat venkat.s at vortexindia.co.in
Mon Dec 16 00:45:20 EST 2013


Anand

Thanks it worked.

On 15-12-2013 21:25, Anand Moon wrote:
> Hi Venkat,
>
> After copying the module into the /lib/module/uname -r/drivers/pci/
>
> you should perform
>
> depmod -a
>
> This will rebuild the module dependency and re-link the module to the kernel.
>
> Also verify using lspci command if you motherboard has the support for AHCI
>
> For applying the patch first you always run
>
> #patch --dry-run -p1 < patchfile
>
> This command dose not apply the patch but verify the patch file are updated correctly.
> If no rejection of patch then we can apply the patch.
>
> #patch -p1 < patchfile
>
> -Anand Moon
>   
>
> On Monday, December 9, 2013 3:56 PM, Venkat Swaminathan <venkat.s at vortexindia.co.in> wrote:
>
>
>   Currently i am trying to work with my kernel :
>
>   I am trying to make my chipset(ICH7 - M) to support AHCI in my debian 6
>   (linux-source-2.6.32).
>
>   With mentioned link's ref
>   :http://tartarus.org/~ds/quirk-ich-force-ahci.patch
>   <http://tartarus.org/~ds/quirk-ich-force-ahci.patch>
>
>   i cooked the quirk.c in my work machine and compiled the KERNEL
>
>    make SUBDIRS=drivers/pci/ and  make module SUBDIRS=drivers/pci/
>
>   After successful compilation
>
>   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" path
>   and then set quirks.ich_force_ahci=1 in /etc/grub/grub.conf
>
>   and rebooted the system
>
>   But after reboot my IDE is using ata_PIIX driver not AHCI driver.
>
>   Don't know what is error.request some guidance on applying the patch
>
>
>   Regards
>   Venkat.S
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>


-- 
Regards
Venkat.S




More information about the Kernelnewbies mailing list