[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] san fibrechannel device in HVM domU



Hi,
Gerhard Possler <gerhard.possler@xxxxxxxxxx> wrote: 
> Hi Sebastian,
> 
> can you post the vm config file? i saw some problems when i use the long 
> form:
> 
> pci=[ '0000:01:00.0','0000:01:01.0' ]
> 
> in my file i use the short form:
>  
> pci=[ '01:00.0','01:01.0' ]

I just tried the short form, as xm create parameter, and in the 
configuration file, but with the same error message all the time. Here is my 
domU configuration:

ostype="windowsxp"
name="SERVER2003"
memory=511
vcpus=1
uuid="0a03ad93-9ead-43db-ef0c-09349db88a2e"
on_crash="destroy"
on_poweroff="destroy"
on_reboot="destroy"
localtime=1
builder="hvm"
extid=0
device_model="/usr/lib/xen/bin/qemu-dm"
kernel="/usr/lib/xen/boot/hvmloader"
boot="d"
pci=[ '02:01.0' ]
disk=[ 'file:/var/lib/xen/images/SERVER2003/disk0,hda,w',
        'file:/vms/windowsxp.img,hdc:cdrom,r', ]
vif=[ 'mac=00:16:3e:1d:6c:e8,model=rtl8139,type=ioemu', ]
vnc=1
#vncunused=1
vncconsole=1
apic=0
acpi=1
pae=1
usb=1
usbdevice='tablet'
serial="pty"

The Windows domU is booting, without the pci line using above configuration 
file.

> 
> also i use in /boot/grub/menu.lst:
> title XEN -- openSUSE 10.3 - PAE
>     root (hd0,4)
>     kernel /xen-pae.gz
>     module /vmlinuz-2.6.22.13-0.3-xenpae 
> root=/dev/mapper/nvidia_deihceca_part7 vga=normal 
> resume=/dev/mapper/nvidia_deihceca_part6 splash=silent showopts 
> pciback.hide=(0000:01:00.0)(0000:01:01.0)
>     module /initrd-2.6.22.13-0.3-xenpae
> 
> and at least in /etc/init.d/boot.local:
> 
> # HFC ISDN PCI Devices remove from Dom0 and also set permissive
> modprobe pciback hide='(01:00.0)(01:01.0)'
> echo -n 0000:01:00.0 > sys/bus/pci/drivers/pciback/permissive
> echo -n 0000:01:01.0 > sys/bus/pci/drivers/pciback/permissive
what is this doing? the howto only told me to do:
echo -n "<Your PCI ID>" > /sys/bus/pci/drivers/pciback/new_slot
echo -n "<Your PCI ID>" > /sys/bus/pci/drivers/pciback/bind



I don't have it hardcoded yet to the grub.conf, just have done all the stuff 
manually, as in the howto described. The dom0 did not saw the device 
anymore. However, when starting, the error message below:

> 
> xm create pci=0000:02:01.0 SERVER2003
> Using config file "./SERVER2003".
> Error: Fail to assign device(2:1.0): maybe VT-d is not enabled, or the 
> device is not exist, or it has already been assigned to other domain
> 


> 
> well as you see i use ISDN Cards and not HBA'a... but it should work also 
> with that.
However, maybe that is the difference, as the error message says I do not 
have VT-d enabled, what I cannot do, as I am on a AMD based box, or does the 
AMD Vanderbilt provides equivalents?
More on VT-d here:
http://softwarecommunity.intel.com/articles/eng/1416.htm

Do I have just only the wrong hardware, or should I be able to use a SAN 
card in a domU in general?

thanks
Sebastian


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.