Thomas Trepper
2006-Dec-04 14:59 UTC
[Fedora-xen] Question to virt-install and fully virt. guests (virtual-cd-rom)
Hi all,
has nobody an idea? This point and my question is completely missing in
the wiki (http://fedoraproject.org/wiki/FedoraXenQuickstartFC6) and also
google is empty for that... :-(
Any hint would be kindly appreciated :-)
Thank you very much and best regards,
Thomas
-------- Original-Nachricht --------
Betreff: [Fedora-xen] Question to virt-install and fully virt. guests
(virt cd-rom)
Datum: Sun, 03 Dec 2006 19:59:33 +0100
Von: Thomas Trepper <thomas.trepper@microbyte.at>
An: fedora-xen@redhat.com
Hi all,
i have a problem with ''virt-install'' as follows:
--------------------------
[root@gandalf ~]# uname -a: Linux gandalf 2.6.18-1.2849.fc6xen #1 SMP
Fri Nov 10 12:57:36 EST 2006 x86_64 x86_64 x86_64 GNU/Linux
[root@gandalf ~]# grep vmx /proc/cpuinfo
flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36
clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall lm constant_tsc pni
monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm
flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36
clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall lm constant_tsc pni
monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm
[root@gandalf ~]# cat /sys/hypervisor/properties/capabilities
xen-3.0-x86_64 hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
--------------------------
Question: If i am going to execute ''virt-install'' and if i
answer yes to
the question, if i would like to create a fully virtualized guest, i
have to enter some questions later a virtual cd-rom, but i do not know,
what i have to enter here? I tried the iso, mounted iso as ftp or nfs,
everything no luck.
Does anybody know, what i am doing wrong?
Thank you very much and kind regards,
Thomas
--
Fedora-xen mailing list
Fedora-xen@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-xen
[root@gandalf ~]# xm dmesg
__ __ _____ ___ _____ ____ __ __
\ \/ /___ _ __ |___ / / _ \ |___ / _ __ ___| ___| / _| ___ / /_
\ // _ \ ''_ \ |_ \| | | | |_ \ __| ''__/ __|___ \ | |_ /
__| ''_ \
/ \ __/ | | | ___) | |_| | ___) |__| | | (__ ___) || _| (__| (_) |
/_/\_\___|_| |_| |____(_)___(_)____/ |_| \___|____(_)_| \___|\___/
http://www.cl.cam.ac.uk/netos/xen
University of Cambridge Computer Laboratory
Xen version 3.0.3-rc5-1.2849.fc6 (brewbuilder@build.redhat.com) (gcc version
4.1.1 20061011 (Red Hat 4.1.1-30)) Fri Nov 10 12:30:42 EST 2006
Latest ChangeSet: unavailable
(XEN) Command line: /boot/xen.gz-2.6.18-1.2849.fc6
(XEN) Physical RAM map:
(XEN) 0000000000000000 - 000000000009fc00 (usable)
(XEN) 000000000009fc00 - 00000000000a0000 (reserved)
(XEN) 00000000000e5000 - 0000000000100000 (reserved)
(XEN) 0000000000100000 - 000000007ff80000 (usable)
(XEN) 000000007ff80000 - 000000007ff8e000 (ACPI data)
(XEN) 000000007ff8e000 - 000000007ffe0000 (ACPI NVS)
(XEN) 000000007ffe0000 - 0000000080000000 (reserved)
(XEN) 00000000ffb00000 - 0000000100000000 (reserved)
(XEN) System RAM: 2047MB (2096252kB)
(XEN) Xen heap: 14MB (14388kB)
(XEN) found SMP MP-table at 000ff780
(XEN) DMI 2.3 present.
(XEN) Using APIC driver default
(XEN) ACPI: RSDP (v000 ACPIAM ) @
0x00000000000fa400
(XEN) ACPI: RSDT (v001 A M I OEMRSDT 0x07000620 MSFT 0x00000097) @
0x000000007ff80000
(XEN) ACPI: FADT (v001 A M I OEMFACP 0x07000620 MSFT 0x00000097) @
0x000000007ff80200
(XEN) ACPI: MADT (v001 A M I OEMAPIC 0x07000620 MSFT 0x00000097) @
0x000000007ff80390
(XEN) ACPI: OEMB (v001 A M I AMI_OEM 0x07000620 MSFT 0x00000097) @
0x000000007ff8e040
(XEN) ACPI: MCFG (v001 A M I OEMMCFG 0x07000620 MSFT 0x00000097) @
0x000000007ff898a0
(XEN) ACPI: DSDT (v001 A0520 A0520000 0x00000000 INTL 0x02002026) @
0x0000000000000000
(XEN) ACPI: Local APIC address 0xfee00000
(XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
(XEN) Processor #0 6:15 APIC version 20
(XEN) ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
(XEN) Processor #1 6:15 APIC version 20
(XEN) ACPI: LAPIC (acpi_id[0x03] lapic_id[0x82] disabled)
(XEN) ACPI: LAPIC (acpi_id[0x04] lapic_id[0x83] disabled)
(XEN) ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
(XEN) ACPI: IOAPIC (id[0x03] address[0xfec10000] gsi_base[24])
(XEN) IOAPIC[1]: apic_id 3, version 32, address 0xfec10000, GSI 24-47
(XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
(XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
(XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
(XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
(XEN) ACPI: IRQ0 used by override.
(XEN) ACPI: IRQ2 used by override.
(XEN) ACPI: IRQ9 used by override.
(XEN) Enabling APIC mode: Flat. Using 2 I/O APICs
(XEN) Using ACPI (MADT) for SMP configuration information
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Initializing CPU#0
(XEN) Detected 2404.184 MHz processor.
(XEN) CPU: L1 I cache: 32K, L1 D cache: 32K
(XEN) CPU: Physical Processor ID: 0
(XEN) CPU: Processor Core ID: 0
(XEN) VMXON is done
(XEN) Intel machine check architecture supported.
(XEN) Intel machine check reporting enabled on CPU#0.
(XEN) CPU0: Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz stepping 06
(XEN) Booting processor 1/1 eip 90000
(XEN) Initializing CPU#1
(XEN) CPU: L1 I cache: 32K, L1 D cache: 32K
(XEN) CPU: Physical Processor ID: 0
(XEN) CPU: Processor Core ID: 1
(XEN) VMXON is done
(XEN) Intel machine check architecture supported.
(XEN) Intel machine check reporting enabled on CPU#1.
(XEN) CPU1: Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz stepping 06
(XEN) Total of 2 processors activated.
(XEN) ENABLING IO-APIC IRQs
(XEN) -> Using new ACK method
(XEN) ..TIMER: vector=0xF0 apic1=0 pin1=2 apic2=-1 pin2=-1
(XEN) checking TSC synchronization across 2 CPUs: passed.
(XEN) Platform timer is 1.193MHz PIT
(XEN) Brought up 2 CPUs
(XEN) Machine check exception polling timer started.
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Domain 0 kernel supports features = { 0000001f }.
(XEN) Domain 0 kernel requires features = { 00000000 }.
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN) Dom0 alloc.: 000000007e000000->000000007f000000 (477699 pages to be
allocated)
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN) Loaded kernel: ffffffff80200000->ffffffff806b8264
(XEN) Init. ramdisk: ffffffff806b9000->ffffffff80a98000
(XEN) Phys-Mach map: ffffffff80a98000->ffffffff80e45018
(XEN) Start info: ffffffff80e46000->ffffffff80e4649c
(XEN) Page tables: ffffffff80e47000->ffffffff80e52000
(XEN) Boot stack: ffffffff80e52000->ffffffff80e53000
(XEN) TOTAL: ffffffff80000000->ffffffff81000000
(XEN) ENTRY ADDRESS: ffffffff80200000
(XEN) Dom0 has maximum 2 VCPUs
(XEN) Initrd len 0x3df000, start at 0xffffffff806b9000
(XEN) Scrubbing Free RAM: .....................done.
(XEN) Xen trace buffers: disabled
(XEN) Xen is relinquishing VGA console.
(XEN) *** Serial input -> DOM0 (type ''CTRL-a'' three times
to switch input to Xen).
(XEN) (file=hvm.c, line=195) Allocated port 3 for hvm.
(XEN) vmx_do_launch(): GUEST_CR3<=00fd97a0, HOST_CR3<=7ec67000
(XEN) (file=hvm.c, line=195) Allocated port 3 for hvm.
(XEN) vmx_do_launch(): GUEST_CR3<=00fd97a0, HOST_CR3<=7ea9f000
Felix Schwarz
2006-Dec-04 15:01 UTC
[Fedora-xen] Re: Question to virt-install and fully virt. guests (virtual-cd-rom)
Thomas Trepper schrieb:> has nobody an idea? This point and my question is completely missing in > the wiki (http://fedoraproject.org/wiki/FedoraXenQuickstartFC6) and also > google is empty for that... :-( > Any hint would be kindly appreciated :-)To be fair, I did not understand the original question. You don''t know what you should enter in order to add a cdrom with a hvm guest? This a snippet from my config file: ----------------------------------------- disk = [ ''file:/home/fs/vms/fc6_x32_build,hda,w'', ''file:/home/fs/knoppix.iso,hdc:cdrom,r'', ] boot="c" ----------------------------------------- fs
Felix Schwarz
2006-Dec-04 15:11 UTC
[Fedora-xen] Re: Question to virt-install and fully virt. guests (virtual-cd-rom)
Thomas Trepper schrieb:> [root@gandalf ~]# xenguest-install > Would you like a fully virtualized guest (yes or no)? This will allow > you to run unmodified operating systems. yes > What is the name of your virtual machine? FC6-Muli > How much RAM should be allocated (in megabytes)? 256 > What would you like to use as the disk (path)? > /raid/xen-images/fc6-muli.img > How large would you like the disk to be (in gigabytes)? 10 > Would you like to enable graphics support? (yes or no) no > What would you like to use for the virtual CD image? > /share/FC-6-x86_64-DVD.iso > > Starting install... > libvir: Xen Daemon error : GET operation failed: No such domain FC6-Muli > Domain installation does not appear to have been > successful. If it was, you can restart your domain > by running ''xm create -c FC6-Muli''; otherwise, please > restart your installation. > > What am i doing wrong?Is there a config file named "FC6-Muli" in /etc/xen? Does raid/xen-images/fc6-muli.img exist afterwards? Is SElinux enabled? SElinux caused some problems here due to wrong labeling of certain directories (fast way: disable SElinux, correct one: relabel your files/file a bug report). fs
Thomas Trepper
2006-Dec-04 15:32 UTC
[Fedora-xen] Re: Question to virt-install and fully virt. guests (virtual-cd-rom)
Hi Felix, yes, there is a file: # Automatically generated xen config file name = "FC6-Muli" builder = "hvm" memory = "256" disk = [ ''file:/raid/xen-images/fc6-muli.img,hda,w'', ] vif = [ ''type=ioemu, mac=00:16:3e:6a:fd:c3, bridge=xenbr0'', ] uuid = "dc0a4e2f-cf5c-7927-ff5c-24a3597d53bc" device_model = "/usr/lib64/xen/bin/qemu-dm" kernel = "/usr/lib/xen/boot/hvmloader" nographic=1 apic=1 acpi=1 pae=1 vcpus=1 serial = "pty" # enable serial console on_reboot = ''restart'' on_crash = ''restart'' SELinux is already disabled, therefore this cannot be the reason. And the image does also exist: [root@gandalf ~]# ls -l /raid/xen-images/ insgesamt 16 -rwxr-xr-x 1 root root 10737418241 4. Dez 15:48 fc6-muli.img But the installation does not begin. But only in fully-virtualized, as para-virtualized the question with the cd-rom is missing, but therefore a questions comes with he installation-source... Any ideas? Felix Schwarz schrieb:> > Thomas Trepper schrieb: >> [root@gandalf ~]# xenguest-install >> Would you like a fully virtualized guest (yes or no)? This will >> allow you to run unmodified operating systems. yes >> What is the name of your virtual machine? FC6-Muli >> How much RAM should be allocated (in megabytes)? 256 >> What would you like to use as the disk (path)? >> /raid/xen-images/fc6-muli.img >> How large would you like the disk to be (in gigabytes)? 10 >> Would you like to enable graphics support? (yes or no) no >> What would you like to use for the virtual CD image? >> /share/FC-6-x86_64-DVD.iso >> >> Starting install... >> libvir: Xen Daemon error : GET operation failed: No such domain FC6-Muli >> Domain installation does not appear to have been >> successful. If it was, you can restart your domain >> by running ''xm create -c FC6-Muli''; otherwise, please >> restart your installation. >> >> What am i doing wrong? > > Is there a config file named "FC6-Muli" in /etc/xen? Does > raid/xen-images/fc6-muli.img exist afterwards? Is SElinux enabled? > SElinux caused some problems here due to wrong labeling of certain > directories (fast way: disable SElinux, correct one: relabel your > files/file a bug report). > > fs