On Sat, 2010-05-22 at 21:01 -0400, Balachandar wrote: > I tried both. When i tried modprobe it says that vhost_net.ko not > found. Actually i want to point out that i configured the module to be > built along with the linux kernel itself during the make menuconfig. I > suppose that building along with the kenrel should take care of all > the dependencies, right? Also the module should have been > automatically loaded during bootup if it is configured as a module > during the kernel build. It didn't do it either. And then when i tried > to manually load, i got the unknown symbol error. So i think then it > is some mistake in the kernel makefiles, right? Please correct me if i > am wrong. Please don't top-post - particularly in response to someone who has used bottom-posting or interleaved-posting (as I did). If you use "top-posting" style on any of the kernel lists, you may get ignored or flamed. Just have a look at the list archives; you'll see that 99.9% of replies are *under* the original - and for good reasons. See http://www.kernel.org/pub/linux/docs/lkml/, "What posting style should I use for the list?". Yes, if you configure a module to be statically compiled into the kernel then the build system should ensure that all of the necessary dependencies are also compiled in. I see that drivers/vhost/Kconfig contains this: config VHOST_NET tristate "Host kernel accelerator for virtio net (EXPERIMENTAL)" depends on NET && EVENTFD && (TUN || !TUN) && (MACVTAP || !MACVTAP) && EXPERIMENTAL I'm not very familiar with Kconfig, but that does look rather weird to me: (TUN || !TUN) ??. It might be worth reading the appropriate emailing list archives (search file MAINTAINERS for "vhost"). Of course this is clearly marked EXPERIMENTAL; very early adopters need to expect troubles :-) Regards, Simon -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ