LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 10-25-2013, 02:41 AM   #1
akiuni
Member
 
Registered: Sep 2012
Location: France
Distribution: debian
Posts: 56

Rep: Reputation: Disabled
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
 
Old 11-05-2013, 02:41 AM   #2
akiuni
Member
 
Registered: Sep 2012
Location: France
Distribution: debian
Posts: 56

Original Poster
Rep: Reputation: Disabled
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Updating CentOS Guest Screen Size with HyperV host kheldar Linux - Virtualization and Cloud 1 03-09-2013 07:06 AM
[SOLVED] Questions regarding CentOs 6.3 install on HyperV Remote server tcarson Linux - Newbie 5 10-11-2012 01:35 PM
Add scsi_mod and sg pwhbeck Linux - General 0 09-27-2012 03:26 PM
scsi_mod zaman Linux - Software 1 10-30-2003 03:16 AM
compiling scsi_mod for slack biiiep Slackware 1 08-18-2003 12:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 07:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration