how can i upgrade virtio driver without updating kernel? - linux

Using linux kernel version 2.6.32 and corresponding virtio driver modules version. But need to upgrade all virtio drivers (virtio_net,virtio_blk,virtio_pci, virtio_ring,virtio) alone to latest version without upgrading kernel.
Is this possible, what is the dependency changes needed for kernel to compile ?
Thanks in advance !!!

Related

Libnl compatibility with kernel version

Is there any dependency between libnl and kernel version? I am using kernel version 4.1. What is the stable and suitable version of recommended libnl version for this kernel?
Is the latest libnl version(3.4.0) compatible with older kernel verions 3.x or do we need to select 3.2.25 for this?
I am facing an issue that, older libnl version in latest kernel gives kernel panic when I program more than 10000 routes in kernel, whereas iproute2 is working fine. So, I want to confirm if there is any libnl and kernel version dependency here.

Compiling 2.4.20 kernel in (CentOS 6.5) 2.6.32 kernel

My target system running on top of 2.4.20 Linux kernel. Till now my host environment also has been running on the same kernel. Now i am planning to change my Host Environment to Cent OS 6.5 which is running on 2.6.32 kernel. What is the best way to successfully compile kernel 2.4.20 on it? How to customize my host environment to compile my old kernel?
It's very hard to compile 2.4.20 on CentOS 6.5.
The 2.4.20 kernel need gcc-2.95.3 and binutils-2.9.1.0.25 which are very obsolete. Besides, gcc-2.95.3 may need an older version of glibc which is impossible to be installed on CentOS 6.5. If you really need to compile kernel-2.4.20, you can download RedHat 7.3 (released in 2001) and use this system to compile the old kernel.

Can i install an older version of Linux kernel into a new version

I have a college project on Adding a system call to Linux kernel
so is it necessary that the kernel source code that i am compiling and the one that is already installed have to be of same version ?
I mean can i install an older version of kernel into a new version

How is open-iscsi compiled with 3.x kernels?

open-iscsi seems to require 2.6.x kernels and doesn't even compile with the newer (3.x) kernels, specifically 3.8.0 kernel.
Is it supposed to work with newer kernels?
Please see this:
https://groups.google.com/forum/#!topic/open-iscsi/_f4e13cIyNg
The kernel code in the open-iscsi dir only is for really old kernels.
Newer kernels have proper open-iscsi kernel support and you should use
those modules that come with your kernel/distro.
Do the newer kernels already have the support added to them?
My own end goal is to do a cross-compile to MIPS to be run on a 3.x kernel.
What are the iSCSI initiator software that are available to be used with newer linux kernels ?
Yes, linux kernel has open-iscsi support built into it now. When building the latest kernel, configure support for open-iscsi and you should have the module built after a successful build of the kernel.

kdb debugging in Ubuntu 11.04

in kernel module programming how we can debug using Kdb? I tried with ubuntu 11.04 but I am not getting correct kdb patch for 2.6.38 kernel version so can any one suggest how to proceed
with kdb debugging under this kernel version?
KDB must be turned on in your kernel. I suspect it is compiled off on Ubuntu default release.
Here the details. I expecting you know how to rebuild kernel.

Resources