> However, this domain needs access to several hot-plug USB devices, like > a photo-camera (gphoto2), a USB-storage-stick and a scanner.OK, several ways you might like to try: * export the USB stick (and the camera, if possible) as VBDs from dom0 * export the devices using networked solutions (e.g. NFS / NBD for the storage devices, something else must be available for the scanner), as you would for multiple machines * try the PCI virtualisation stuff in the stable tree and give the USB controller device to the domain for direct control * try the USB virtualisation stuff in the unstable tree and give the domain control of the appropriate host USB ports Cheers, Mark> Dom0 gets all access to these devices, but from another domain (with the > same full-privileged kernel) I can''t see or use these devices. > The Debian hotplug startscripts say this: > > bad PCI agent invocation > > What''s going wrong and how can I allow another domain to use USB > devices? If possible, with access to only _these_ devices? > > Thanks very much, Arie Kraai > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I''m afraid I need a little help with the following: Most server-functions are put into unprivileged domains and I''m currently putting a desktop-environment in a domain with as little privileges as possible. This domain will be used from "diskless" clients using XDMCP to log in (and ultimately freeNX for applications). However, this domain needs access to several hot-plug USB devices, like a photo-camera (gphoto2), a USB-storage-stick and a scanner. Dom0 gets all access to these devices, but from another domain (with the same full-privileged kernel) I can''t see or use these devices. The Debian hotplug startscripts say this: bad PCI agent invocation What''s going wrong and how can I allow another domain to use USB devices? If possible, with access to only _these_ devices? Thanks very much, Arie Kraai _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Now, I don''t know how domainU drive speed works or any of it really. But here''s what I''m doing: Have a server : intel 875 chipset intel board, intel p3.06mhz, 1 g ram, twin WD Raptor 36G drives. Now, I''ve put the domain0 in a little space as possible spreading usr and var to /dev/sdb and / and swap to /dev/sda. My first domain will be a basic partition on the /dev/sda second domain is a mirror using raid1 via /dev/sda8 and /dev/sdb8. The swap will be a normal partition. And the third domain will be a stripe via raid0 with /dev/sda5 and /dev/sdb5 Now, so far, I''ve already setup the stripe and it''s not exceptoinally fast - using hdparm, I''m only pulling some 12Mb/sec with it, where as on domain0, I pull 124Mb/sec off that stripe set. This could be the way that the xenU domains interact, I don''t know. I think I''ll try Bonnie+ to get some "real" numbers, but I thought I''d post that and see what kind of response I get, cause something seems wrong here. Let me know if there''s something else I should be doing to make perf numbers come into place. Thanks, -- Jack Downes <jack@chainreactionweb.com> Chain Reaction Web _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users