kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Kernel compiling and installation
@ 2013-12-09 10:14 Venkat Swaminathan
  2013-12-15 15:55 ` Anand Moon
  0 siblings, 1 reply; 3+ messages in thread
From: Venkat Swaminathan @ 2013-12-09 10:14 UTC (permalink / raw)
  To: kernelnewbies



?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/%7Eds/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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Kernel compiling and installation
  2013-12-09 10:14 Kernel compiling and installation Venkat Swaminathan
@ 2013-12-15 15:55 ` Anand Moon
  2013-12-16  5:45   ` venkat
  0 siblings, 1 reply; 3+ messages in thread
From: Anand Moon @ 2013-12-15 15:55 UTC (permalink / raw)
  To: kernelnewbies

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@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  

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Kernel compiling and installation
  2013-12-15 15:55 ` Anand Moon
@ 2013-12-16  5:45   ` venkat
  0 siblings, 0 replies; 3+ messages in thread
From: venkat @ 2013-12-16  5:45 UTC (permalink / raw)
  To: kernelnewbies

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@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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-12-16  5:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-09 10:14 Kernel compiling and installation Venkat Swaminathan
2013-12-15 15:55 ` Anand Moon
2013-12-16  5:45   ` venkat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).