[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] san fibrechannel device in HVM domU
to your question: "Permissive mode should only be used as a fall back for unknown devices. I think the correct solution for dealing with these device-specific configuration space registers is to identify them and add the device-specific fields to the overlay. This patch adds a special configuration space handler for network cards based on the tg3 linux network device driver. This handler should allow for reads/writes to all of the configuration space registers that the tg3 driver requires." from: http://lists.xensource.com/archives/html/xen-devel/2006-07/msg00549.html also are you sure that the Dom0 is not using your HBA's? look also at udev... because you message is: > 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 ;-) Mit freundlichen Grüßen / with kind regards
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" > > > 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |