LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   hv_storvsc and scsi_mod (for Microsoft HyperV) (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/hv_storvsc-and-scsi_mod-for-microsoft-hyperv-4175482089/)

akiuni 10-25-2013 02:41 AM

hv_storvsc and scsi_mod (for Microsoft HyperV)
 
Hi all

I need to build a kernel compliant with Microsoft HyperV. And in that aim I'd like to connect the driver "hv_storvsc" with "scsi_mod" :

Here is a "good" kernel :
Quote:

# lsmod
hv_utils 12986 0
hv_storvsc 17423 1
hv_netvsc 18304 0
hv_vmbus 32029 4 hv_utils,hid_hyperv,hv_storvsc,hv_netvsc
scsi_mod 162269 5 sd_mod,hv_storvsc,sg,sr_mod,libata
and here is my "bad" kernel :
Quote:

# lsmod
Module Size Used by
hv_netvsc 14989 0
hv_storvsc 8511 0
hv_utils 4502 0
cn 3871 1 hv_utils
hv_vmbus 23091 3 hv_netvsc,hv_storvsc,hv_utils,[permanent]
Do you know which options can do that ?

Fyi, here are my kernel options activated in both kernels :
Quote:

CONFIG_SYS_HYPERVISOR=y
CONFIG_HYPERV_STORAGE=m
CONFIG_HYPERV_NET=m
# CONFIG_HYPERV_MOUSE is not set
CONFIG_HYPERV=m
CONFIG_HYPERV_UTILS=m
CONFIG_SCSI_MOD=y
Thanks in advance !
bests
Julien

akiuni 11-05-2013 02:41 AM

Hi all

I've found the answer and it's so obvious that I feel a little embarrassed. In my "bad kernel", the driver scsi_mod is configured as part of the kernel : CONFIG_SCSI_MOD=y
whereas it is configured as module is the good one : CONFIG_SCSI_MOD=m

That's the reason why I can't see it loaded in lsmod...

Bests
Julien


All times are GMT -5. The time now is 02:26 PM.