|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] SCSI Passthrough setup within VM
I've been setting up the same thing today. For some reason, I'm having issues getting it to work by specifying the pci = in the domU config. When I create a domain using 'xm create -c mydomU pci=12,04,01' it works. Though, that is the second port on my SCSI card and for sanity I'm pretty sure I need to be assigning both to my domU. I can't seem to get it to take both 12,04,00 and 12,04,01 at the same time.
Also, I've setup a mythTV backend as domU before. It worked fine for a while, passing the PCI tuner card through. When I added a second (different) card, I could not get that card to pass through, so I had to go back to stock Linux kernel on that machine. Too bad, it was great to have a test Xen machine at home.
Anyone else doing this lately? I was starting to wonder if my issues are SLES10 related, as I've only done Xen on Debian until now.
-- Jason
On 8/23/06,
Edward L. Haletky <elh@xxxxxxxxxxxxx> wrote:
Hello,
I am trying to setup a VM that has access to a tape device so that I can create a Virtual Machine based backup solution.
To answer a few questions: why not use dom0: I like to keep things separate, dom0 should NOT be
doing anything but managing the server in my mind.
I am also considering making a mythTV VM as well.
Currently I have tried in /etc/rc.d/rc.local
/sbin/rmmod st sg aic7xxx /sbin/modprobe pciback
echo -n "0000:02:03.0" > /sys/bus/pci/devices/0000\:02\:03.0/driver/unbind for x in 0000:02:02.0 0000:02:03.0 do echo -n $x > /sys/bus/pci/drivers/pciback/new_slot echo -n $x > /sys/bus/pci/drivers/pciback/bind
done
Also in /etc/modprobe.conf I have: options pciback permissive hide=(0000:02:02.0)(0000:02:03.0) install aic7xxx /sbin/modprobe pciback; /sbin/modprobe --first-time --ignore-install aic7xxx # alias scsi_hostadapater1 aic7xxx
Inside the /etc/xen/machinename file is pci = ['02:02.0','02:03.0']
So now the question is, while there are no errors in the logfiles, the domU can not find the device.... lspci inside domU does not work, etc.
Is there a place I can find an aic7xxx driver for the tape device? Is there more a cheatsheet for PCI PassThrough that covers SCSI in more detail? Do I have to rebuild the domU kernel to get this device?
Best regards, Edward Haletky
_______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|