Hi, i have just a short question: Does direct Hardware-Access (pciback.hide) work in Xen 3.0.2. Thanks and greetings, -timo -- Timo Benk PGP Public Key: http://vs241071.vserver.de/timo_benk_gpg_key.asc _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi I''m wondering if there is a method to install a DomU by booting from a CD (real or iso image). VmWare permit this The objective is to install my virtual machines by using the same CD image as the real ones. This CD is a customizes Centos 4.3 build I''m using non vmx hardware and xen 3.0.2 on a Centos 4.3 Dom0 the options cdrom and boot seems to only work with vmx or pacifica hardware, am I wrong ? Thanks Pierre PS: sorry for my poor english _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi I''m wondering if there is a method to install a DomU by booting from a CD (real or iso image). VmWare permit this The objective is to install my virtual machines by using the same CD image as the real ones. This CD is a customizes Centos 4.3 build I''m using non vmx hardware and xen 3.0.2 on a Centos 4.3 Dom0 the options cdrom and boot seems to only work with vmx or pacifica hardware, am I wrong ? Thanks Pierre PS: sorry for my poor english _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Terça 18 Abril 2006 14:30, Timo Benk wrote:> Hi, > > i have just a short question: > > Does direct Hardware-Access (pciback.hide) work in Xen 3.0.2. >short answer: yes -- Christian Lyra POP-PR - RNP http://lyra.soueu.com.br The master programmer moves from program to program without fear. No change in management can harm him. He will not be fired, even if the project is cancelled. Why is this? He is filled with Tao. The Tao Of Programing _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi,> I''m wondering if there is a method to install a DomU by booting from a > CD (real or iso image). VmWare permit this > > The objective is to install my virtual machines by using the same > CD image as the real ones. This CD is a customizes Centos 4.3 build > > I''m using non vmx hardware and xen 3.0.2 on a Centos 4.3 Dom0 > > the options cdrom and boot seems to only work with vmx or pacifica > hardware, am I wrong ?Generally you are right. I don''t know if the cd booting stuff works on non-vmx hardware, if not, you could copy the iso''s contents into some partition or vbd file. But you won''t get a cd running which has no xen kernel on it. To achieve this, you could make a cd containing a domU kernel matching your dom0. Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Henning Sprang wrote:> Hi, > > >> I''m wondering if there is a method to install a DomU by booting from a >> CD (real or iso image). VmWare permit this >> >> The objective is to install my virtual machines by using the same >> CD image as the real ones. This CD is a customizes Centos 4.3 build >> >> I''m using non vmx hardware and xen 3.0.2 on a Centos 4.3 Dom0 >> >> the options cdrom and boot seems to only work with vmx or pacifica >> hardware, am I wrong ? >> > > Generally you are right. > I don''t know if the cd booting stuff works on non-vmx hardware, if not, you > could copy the iso''s contents into some partition or vbd file. But you won''t > get a cd running which has no xen kernel on it. To achieve this, you could > make a cd containing a domU kernel matching your dom0. > > Henning >interestingly enough - playing around with Suse 10.1 and the yast2 based xen-vm-installer-thingy - I''ve found out that Yast attempts to do just that: install a brand new domU from e.g. a Suse CD. Not that I got that working but still I wonder if they found a way to achieve this paravirtualisingly. Any comments or experiences, Suse admins? Greetz, Andrej _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hmmm, i want to give direct IDE access to one of my domains: # lspci ---<snip>--- 00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01) ---<snap>--- I configured grub: ---<snip>--- title XEN - IDE hidden root (hd0,0) kernel /boot/xen.gz module /boot/vmlinuz-xen root=/dev/sda1 vga=0x314 \\ resume=/dev/sda2 splash=silent showopts pciback.hide=(00:07.1) module /boot/initrd-xen ---<snap>--- And the domain in question: ---<snip>--- # direct hardware access pci = [\''00:07.1\''] ---<snap>--- However, \''xm dmesg\'' print no message, indicating that the device is really hidden. When i start up the domain i get the following message: ---<snip>--- Error: pci: PCI Backend does not own device 0000:00:07.1 See the pciback.hide kernel command-line parameter or bind your slot/device to the PCI backend using sysfs ---<snap>--- If i try to use sysctl i get the following message: # sysctl \''pciback.hide=(00:07.1)\'' error: \"pciback.hide\" is an unknown key Am i missing something or can somebody point me in the riht direction? Thanks and greetings, -timo On Tue, 18 Apr 2006 15:14:51 -0300, Christian Lyra <lyra@pop-pr.rnp.br> wrote:> On Terça 18 Abril 2006 14:30, Timo Benk wrote: >> Hi, >> >> i have just a short question: >> >> Does direct Hardware-Access (pciback.hide) work in Xen 3.0.2. >> > > short answer: yes > > -- > Christian Lyra > POP-PR - RNP > > http://lyra.soueu.com.br > > The master programmer moves from program to program without fear. No > change in management can harm him. He will not be fired, even if the > project is cancelled. Why is this? He is filled with Tao. > The Tao Of Programing > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Timo Benk PGP Public Key: http://vs241071.vserver.de/timo_benk_gpg_key.asc _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> interestingly enough - playing around with Suse 10.1 and the yast2 based > xen-vm-installer-thingy - I''ve found out that Yast attempts to do just > that: install a brand new domU from e.g. a Suse CD. Not that I got that > working but still I wonder if they found a way to achieve this > paravirtualisingly. Any comments or experiences, Suse admins?As I wrote - if you have a cd with the correct kernel, it should work. But I am not sure if they do it like that. As far I I saw it when I looked at the other day, it looked like they do what fedora does: Fedora 5 also provides a python script which starts the fedora installer in a domU. But they both are resource hungry - they both seem to need more than 200 MB RAM - for an installer! I don''t get why an installer needs so much RAM. Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Henning Sprang wrote:>> interestingly enough - playing around with Suse 10.1 and the yast2 based >> xen-vm-installer-thingy - I''ve found out that Yast attempts to do just >> that: install a brand new domU from e.g. a Suse CD. Not that I got that >> working but still I wonder if they found a way to achieve this >> paravirtualisingly. Any comments or experiences, Suse admins? >> > As I wrote - if you have a cd with the correct kernel, it should work. But I > am not sure if they do it like that. > As far I I saw it when I looked at the other day, it looked like they do > what fedora does: > Fedora 5 also provides a python script which starts the fedora installer in > a domU. >Suse uses domUloader.py and FC5 uses pygrub. Suse uses dom0 Kernel for installing from cd. So far I was not successful doing this, but my problem could be ressources as you pointed out so I will try to find some more RAM for installation. Do I understand the Yast concept correctly that it is theoretically possible to use _any_ linux installer for setting up a domU (as long as it is supplied vai cd/dvd or as iso image)? Andrej _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Andrej Radonic schrieb:>> Generally you are right. >> I don''t know if the cd booting stuff works on non-vmx hardware, if >> not, you >> could copy the iso''s contents into some partition or vbd file. But you >> won''t >> get a cd running which has no xen kernel on it. To achieve this, you >> could >> make a cd containing a domU kernel matching your dom0. >> >> Henning >> > interestingly enough - playing around with Suse 10.1 and the yast2 based > xen-vm-installer-thingy - I''ve found out that Yast attempts to do just > that: install a brand new domU from e.g. a Suse CD. Not that I got that > working but still I wonder if they found a way to achieve this > paravirtualisingly. Any comments or experiences, Suse admins?Yes: What they do is simply running the setup routine that also starts after booting the cdrom and having done things like hardware detection etc. They don''t "boot" the cdrom but use it as a source for bootstrapping the SuSE system. They made it really easy for the user to set up a SuSE System in a DOMU and I think they had to modify their setup system a little bit for this. -- __________________________________________________ Ralf Schenk fon (02 41) 9 91 21-0 fax (02 41) 9 91 21-59 rs@databay.de Databay AG Hüttenstraße 7 D-52068 Aachen www.databay.de Databay - einfach machen. _________________________________________________ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Me again, i found the reason why it isn\''t working. The PCI backend was compiled as a module (SuSE 10.1RC1). Currently i am compiling a new xen-kernel, but i am curious: Is it possible to use the PCI backend driver if it is compiled as a module? I tried the following without success: # modprobe pciback \''hide=(00:07.1)\'' Greetings, -timo On Tue, 18 Apr 2006 20:43:05 +0200, Timo Benk <timo.benk@gmx.de> wrote:> Hmmm, > > i want to give direct IDE access to one of my domains: > > # lspci > ---<snip>--- > 00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01) > ---<snap>--- > > I configured grub: > > ---<snip>--- > title XEN - IDE hidden > root (hd0,0) > kernel /boot/xen.gz > module /boot/vmlinuz-xen root=/dev/sda1 vga=0x314 \\\\ > resume=/dev/sda2 splash=silent showopts pciback.hide=(00:07.1) > module /boot/initrd-xen > ---<snap>--- > > And the domain in question: > > ---<snip>--- > # direct hardware access > pci = [\\\''00:07.1\\\''] > ---<snap>--- > > However, \\\''xm dmesg\\\'' print no message, indicating that the device is > really > hidden. > > When i start up the domain i get the following message: > > ---<snip>--- > Error: pci: PCI Backend does not own device 0000:00:07.1 > See the pciback.hide kernel command-line parameter or > bind your slot/device to the PCI backend using sysfs > ---<snap>--- > > If i try to use sysctl i get the following message: > > # sysctl \\\''pciback.hide=(00:07.1)\\\'' > error: \\\"pciback.hide\\\" is an unknown key > > Am i missing something or can somebody point me in the riht > direction? > > Thanks and greetings, > -timo > > On Tue, 18 Apr 2006 15:14:51 -0300, Christian Lyra <lyra@pop-pr.rnp.br> > wrote: >> On Terça 18 Abril 2006 14:30, Timo Benk wrote: >>> Hi, >>> >>> i have just a short question: >>> >>> Does direct Hardware-Access (pciback.hide) work in Xen 3.0.2. >>> >> >> short answer: yes >> >> -- >> Christian Lyra >> POP-PR - RNP >> >> http://lyra.soueu.com.br >> >> The master programmer moves from program to program without fear. No >> change in management can harm him. He will not be fired, even if the >> project is cancelled. Why is this? He is filled with Tao. >> The Tao Of Programing >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users > -- > Timo Benk > PGP Public Key: http://vs241071.vserver.de/timo_benk_gpg_key.asc > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Timo Benk PGP Public Key: http://vs241071.vserver.de/timo_benk_gpg_key.asc _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users