Skip to contentSkip to conversation

Updating a driver quirk in kernel

DISCUSSION venkat 2 participants 3 messages Jan 29, 2014

lore
Share & tools
lore

venkat

author
#0 lore raw

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

Signature · 2 lines
Regards
Venkat.S
#1 lore raw

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

Quoted 41 lines · venkat

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

Quoted 5 lines

_______________________________________________
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

author
#2 lore raw

Hey

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

Regards
Venkat.S

Quoted 76 lines · Mandeep Sandhu

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 <[email protected] <mailto:[email protected]>> 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:[email protected]>
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Signature · 6 lines
Regards
Venkat.S

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