|
|
|
|
|
|
|
|
|
|
xci-devel
Re: [Xci-devel] dom0 can't find the LVM volumes
Jean Guyader wrote:
2009/10/15 Andreas Sommer <AndiDog@xxxxxx>:
Jean Guyader wrote:
It's probably because we don't have disk driver for VmWare in our dom0
kernel config.
Jean
Yes I think you're right, as the kernel doesn't show any "sd: " messages. In
the dom0 /lib/modules folder, there are neither the scsi nor the sd module.
Could you please give me a hint on how to change the dom0 kernel
configuration (menuconfig) and rebuild it?
Sure.
$ (cd build_i686/build-linux-dom0-2.6.27 && make menuconfig )
$ rm build_i686/build-linux-dom0-2.6.27/.compiled
$ make xenclient-kernel
Jean
Thanks that works but there's another problem...
I selected several options that I think might work with the VMware-emulated
adapter (which should be some Fusion LSI-Logic adapter as to Internet
forums): CONFIG_FUSION* and CONFIG_BLK_DEV_SD (CONFIG_SCSI is also enabled).
The matching object files like mptspi.o, scsi_mod.o, sd_mod.o are then built
correctly but the respective kernel modules (*.ko files) are not built. I
don't really understand this, does Xenclient's build process change anything
before it makes the kernel or what is the problem here?
There is another make "stamp" for the install on the target.
If you remove this file
project_build_i686/xenclient/autotools-stamps/xen-kernel_target_installed
the modules will be included into the rootfs.
Jean
I still didn't get the SCSI modules to compile. Only drivers/scsi/scsi_wait_scan.ko
is created.
This is what I did to recompile the kernel:
1) cd build_i686/build-linux-dom0-2.6.27
2) make menuconfig (enabled all the SCSI and CONFIG_FUSION*
options described in my previous mail)
3) rm .compiled
4) cd /usr/src/build
5) rm
project_build_i686/xenclient/autotools-stamps/xen-kernel_target_installed
6) make
The Linux kernel is then recompiled but without the wanted .ko
files.
Does the make process change anything in the kernel configuration I
made with menuconfig (for example some patches that explicitly remove
SCSI features)? Or what could be the problem here?
|
_______________________________________________
Xci-devel mailing list
Xci-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xci-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- Re: [Xci-devel] dom0 can't find the LVM volumes,
Andreas Sommer <=
|
|
|
|
|