kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Updating a driver quirk in kernel
@ 2014-01-29  7:19 venkat
  2014-01-29  8:36 ` Mandeep Sandhu
  0 siblings, 1 reply; 3+ messages in thread
From: venkat @ 2014-01-29  7:19 UTC (permalink / raw)
  To: kernelnewbies

Os : Debian 6 Kernel Version : 2.6.32

I have been recently working with Linux application and now we have some 
little hard-disk issues where my motherboard doesn't support AHCI 
through bios. On various Google searches i found that i can force Linux 
kernel force load driver to AHCI mode.

i have just now started my kernel walk through and i am very new for 
handling issues.

THS IS THE QUIRK WHICH I FOUND WILL WORK 
:http://tartarus.org/~ds/quirk-ich-force-ahci.patch 
<http://tartarus.org/%7Eds/quirk-ich-force-ahci.patch>

I download the kernel and its respective headers and did a complete 
kernel build.since its Debian updated it in the client machine and found 
it was working as expected

linux-image-2.6.32_2.6.32-2_i386.deb -- 26MB
linux-firmware-image_2.6.32-2_all.deb -- 5k
but now i need to apply the patch in all my client machines which i 
located n remote locations where 26 mb in the network is very high

Is there a way where only this quirk can be updated in client in a 
reduce size like some KO file update.

Is this the only way way to update the driver?? need some guidelines on 
the same.

i also saw :http://www.cyberciti.biz/faq/add-rem...ernel-modules/ 
<http://www.cyberciti.biz/faq/add-remove-list-linux-kernel-modules/>

in my case can someone guide me with some pointers how this has to be done

Please guide

-- 
Regards
Venkat.S

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

* Updating a driver quirk in kernel
  2014-01-29  7:19 Updating a driver quirk in kernel venkat
@ 2014-01-29  8:36 ` Mandeep Sandhu
  2014-01-29 10:48   ` venkat
  0 siblings, 1 reply; 3+ messages in thread
From: Mandeep Sandhu @ 2014-01-29  8:36 UTC (permalink / raw)
  To: kernelnewbies

Is this driver loaded as a kernel module? If so, you only need to rebuild
the module against your target kernel and distribute the new module to the
various machines.

If it's a builtin driver, then it'll be a little more involved. If
distributing the new kernel is not feasible have a look at KSplice like
features for hot-patching your kernel.

HTH,
-mandeep



On Wed, Jan 29, 2014 at 12:49 PM, venkat <venkat.s@vortexindia.co.in> wrote:

> Os : Debian 6 Kernel Version : 2.6.32
>
> I have been recently working with Linux application and now we have some
> little hard-disk issues where my motherboard doesn't support AHCI
> through bios. On various Google searches i found that i can force Linux
> kernel force load driver to AHCI mode.
>
> i have just now started my kernel walk through and i am very new for
> handling issues.
>
> THS IS THE QUIRK WHICH I FOUND WILL WORK
> :http://tartarus.org/~ds/quirk-ich-force-ahci.patch
> <http://tartarus.org/%7Eds/quirk-ich-force-ahci.patch>
>
> I download the kernel and its respective headers and did a complete
> kernel build.since its Debian updated it in the client machine and found
> it was working as expected
>
> linux-image-2.6.32_2.6.32-2_i386.deb -- 26MB
> linux-firmware-image_2.6.32-2_all.deb -- 5k
> but now i need to apply the patch in all my client machines which i
> located n remote locations where 26 mb in the network is very high
>
> Is there a way where only this quirk can be updated in client in a
> reduce size like some KO file update.
>
> Is this the only way way to update the driver?? need some guidelines on
> the same.
>
> i also saw :http://www.cyberciti.biz/faq/add-rem...ernel-modules/
> <http://www.cyberciti.biz/faq/add-remove-list-linux-kernel-modules/>
>
> in my case can someone guide me with some pointers how this has to be done
>
> Please guide
>
> --
> Regards
> Venkat.S
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140129/9deed26a/attachment-0001.html 

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

* Updating a driver quirk in kernel
  2014-01-29  8:36 ` Mandeep Sandhu
@ 2014-01-29 10:48   ` venkat
  0 siblings, 0 replies; 3+ messages in thread
From: venkat @ 2014-01-29 10:48 UTC (permalink / raw)
  To: kernelnewbies


Hey

Thanks for very quick response let the check that and get back to you

Regards
Venkat.S


On 29-01-2014 14:06, Mandeep Sandhu wrote:
> Is this driver loaded as a kernel module? If so, you only need to 
> rebuild the module against your target kernel and distribute the new 
> module to the various machines.
>
> If it's a builtin driver, then it'll be a little more involved. If 
> distributing the new kernel is not feasible have a look at KSplice 
> like features for hot-patching your kernel.
>
> HTH,
> -mandeep
>
>
>
> On Wed, Jan 29, 2014 at 12:49 PM, venkat <venkat.s@vortexindia.co.in 
> <mailto:venkat.s@vortexindia.co.in>> wrote:
>
>     Os : Debian 6 Kernel Version : 2.6.32
>
>     I have been recently working with Linux application and now we
>     have some
>     little hard-disk issues where my motherboard doesn't support AHCI
>     through bios. On various Google searches i found that i can force
>     Linux
>     kernel force load driver to AHCI mode.
>
>     i have just now started my kernel walk through and i am very new for
>     handling issues.
>
>     THS IS THE QUIRK WHICH I FOUND WILL WORK
>     :http://tartarus.org/~ds/quirk-ich-force-ahci.patch
>     <http://tartarus.org/%7Eds/quirk-ich-force-ahci.patch>
>     <http://tartarus.org/%7Eds/quirk-ich-force-ahci.patch>
>
>     I download the kernel and its respective headers and did a complete
>     kernel build.since its Debian updated it in the client machine and
>     found
>     it was working as expected
>
>     linux-image-2.6.32_2.6.32-2_i386.deb -- 26MB
>     linux-firmware-image_2.6.32-2_all.deb -- 5k
>     but now i need to apply the patch in all my client machines which i
>     located n remote locations where 26 mb in the network is very high
>
>     Is there a way where only this quirk can be updated in client in a
>     reduce size like some KO file update.
>
>     Is this the only way way to update the driver?? need some
>     guidelines on
>     the same.
>
>     i also saw :http://www.cyberciti.biz/faq/add-rem...ernel-modules/
>     <http://www.cyberciti.biz/faq/add-remove-list-linux-kernel-modules/>
>
>     in my case can someone guide me with some pointers how this has to
>     be done
>
>     Please guide
>
>     --
>     Regards
>     Venkat.S
>
>
>     _______________________________________________
>     Kernelnewbies mailing list
>     Kernelnewbies at kernelnewbies.org
>     <mailto:Kernelnewbies@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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140129/2a8ab33a/attachment.html 

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

end of thread, other threads:[~2014-01-29 10:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-29  7:19 Updating a driver quirk in kernel venkat
2014-01-29  8:36 ` Mandeep Sandhu
2014-01-29 10:48   ` 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).