Hello, I would like to evaluate Xen performance and usability. I installed Xen with Opensuse 10.2 (which is dom0 and xen packages included on this distro). I created an image file called hda.img (rwxrwxrwx and root owner) using dd, as the manual tells. I have only 256 MB of Ram so I gave 32 MB to virtual machine. I changed xmexample1: disk = [ ''file:/home/vale/hda.img,ioemu:hda,w'' ] cdrom = ''/dev/cdrom'' boot = ''d'' I tried to comment cdrom and boot. Root device is set, by default: root = "/dev/hda1" Xen manager list: linux-wsbh:/home/vale # xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 206 1 r----- 407.4 OpenSuse 7 32 1 -b---- 1.3 And when I created the domain: linux-wsbh:/etc/xen # xm create -c opensuse-config Using config file "opensuse-config". Started domain OpenSuse Linux version 2.6.18.2-34-xen (geeko@buildhost) (gcc version 4.1.2 20061115 (pre release) (SUSE Linux)) #1 SMP Mon Nov 27 11:46:27 UTC 2006 BIOS-provided physical RAM map: Xen: 0000000000000000 - 0000000002800000 (usable) 0MB HIGHMEM available. 40MB LOWMEM available. ACPI in unprivileged domain disabled Allocating PCI resources starting at 10000000 (gap: 02800000:fd800000) Xen reported: 1503.410 MHz processor. Built 1 zonelists. Total pages: 10240 Kernel command line: root=/dev/hda1 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 PID hash table entries: 256 (order: 8, 1024 bytes) Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Software IO TLB disabled vmalloc area: c3000000-fb7fe000, maxmem 33ffe000 Memory: 21576k/40960k available (1950k kernel code, 11172k reserved, 930k data, 184k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay using timer specific routine.. 3779.27 BogoMIPS (lpj=7558550) Security Framework v1.0.0 initialized Mount-cache hash table entries: 512 CPU: Trace cache: 12K uops, L1 D cache: 8K CPU: L2 cache: 256K Compat vDSO mapped to fbffd000. Checking ''hlt'' instruction... OK. SMP alternatives: switching to UP code Freeing SMP alternatives: 12k freed checking if image is initramfs... it is Freeing initrd memory: 7167k freed Brought up 1 CPUs migration_cost=0 Grant table initialized NET: Registered protocol family 16 Brought up 1 CPUs PCI: setting up Xen PCI frontend stub ACPI: Interpreter disabled. Linux Plug and Play Support v0.97 (c) Adam Belay pnp: PnP ACPI: disabled xen_mem: Initialising balloon driver. Setting mem allocation to 32768 kiB PCI: System does not support PCI PCI: System does not support PCI NET: Registered protocol family 2 IP route cache hash table entries: 512 (order: -1, 2048 bytes) TCP established hash table entries: 2048 (order: 2, 16384 bytes) TCP bind hash table entries: 1024 (order: 1, 8192 bytes) TCP: Hash tables configured (established 2048 bind 1024) TCP reno registered audit: initializing netlink socket (disabled) audit(1189877932.660:1): initialized VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) Initializing Cryptographic API io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) rtc: IRQ 8 is not free. Floppy drive(s): fd0 is unknown type 15 (usb?), fd1 is unknown type 15 (usb?) Failed to obtain physical IRQ 6 floppy0: no floppy controllers found RAMDISK driver initialized: 16 RAM disks of 64000K size 1024 blocksize Xen virtual console successfully installed as tty1 Event-channel device installed. PNP: No PS/2 controller found. Probing ports directly. i8042.c: No controller found. mice: PS/2 mouse device common for all mice md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: bitmap version 4.39 NET: Registered protocol family 1 Using IPI No-Shortcut mode XENBUS: Device with no driver: device/vbd/768 XENBUS: Device with no driver: device/vif/0 Freeing unused kernel memory: 184k freed Time: xen clocksource has been installed. Boot logging started on /dev/tty1(/dev/console) at Sat Sep 15 17:38:55 2007 Creating device nodes with udev Loading xennet netfront: Initialising virtual ethernet driver. netfront: device eth0 has flipping receive path. Loading xenblk Registering block device major 3 blkfront: hda: barriers enabled hda: unknown partition table ata_id[560]: main: HDIO_GET_IDENTITY failed for ''/dev/.tmp-3-0'' Loading reiserfs Waiting for device /dev/hda1 to appear: ..............................not found -- exiting to /bin/sh sh: no job control in this shell $ And this is the dmesg of xm: xm dmesg __ __ _____ ___ _____ _ _ _____ _____ _ _ ____ ___ \ \/ /___ _ __ |___ / / _ \ |___ / / / |___ |___ | || | |___ \ / _ \ \ // _ \ \047_ \ |_ \| | | | |_ \ | | | / / / /| || |_ __ __) | | | | / \ __/ | | | ___) | |_| | ___) | | | | / / / / |__ _|__/ __/| |_| | /_/\_\___|_| |_| |____(_)___(_)____/___|_|_|/_/ /_/ |_| |_____|\___/ |_____| http://www.cl.cam.ac.uk/netos/xen University of Cambridge Computer Laboratory Xen version 3.0.3_11774-20 (abuild@suse.de) (gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)) Tue Nov 28 09:28:29 UTC 2006 Latest ChangeSet: 11774 (XEN) Command line: /boot/xen.gz (XEN) Physical RAM map: (XEN) 0000000000000000 - 000000000009fc00 (usable) (XEN) 000000000009fc00 - 00000000000a0000 (reserved) (XEN) 00000000000f0000 - 0000000000100000 (reserved) (XEN) 0000000000100000 - 000000000fff0000 (usable) (XEN) 000000000fff0000 - 000000000fff3000 (ACPI NVS) (XEN) 000000000fff3000 - 0000000010000000 (ACPI data) (XEN) 00000000ffb00000 - 0000000100000000 (reserved) (XEN) System RAM: 255MB (261692kB) (XEN) Xen heap: 10MB (10460kB) (XEN) PAE disabled. (XEN) DMI 2.3 present. (XEN) Using APIC driver default (XEN) ACPI: RSDP (v000 IntelR ) @ 0x000f6ba0 (XEN) ACPI: RSDT (v001 IntelR AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x0fff3000 (XEN) ACPI: FADT (v001 IntelR AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x0fff3040 (XEN) ACPI: DSDT (v001 INTELR AWRDACPI 0x00001000 MSFT 0x0100000c) @ 0x00000000 (XEN) Local APIC disabled by BIOS -- you can enable it with "lapic" (XEN) Using scheduler: SMP Credit Scheduler (credit) (XEN) Initializing CPU#0 (XEN) Detected 1503.446 MHz processor. (XEN) CPU: Trace cache: 12K uops, L1 D cache: 8K (XEN) CPU: L2 cache: 256K (XEN) CPU: Hyper-Threading is disabled (XEN) Intel machine check architecture supported. (XEN) Intel machine check reporting enabled on CPU#0. (XEN) CPU0: Intel P4/Xeon Extended MCE MSRs (12) available (XEN) CPU0: Thermal monitoring enabled (XEN) CPU0: Intel(R) Pentium(R) 4 CPU 1500MHz stepping 0a (XEN) SMP motherboard not detected. (XEN) Local APIC not detected. Using dummy APIC emulation. (XEN) Platform timer is 1.193MHz PIT (XEN) Brought up 1 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.: 0e000000->0f000000 (53129 pages to be allocated) (XEN) VIRTUAL MEMORY ARRANGEMENT: (XEN) Loaded kernel: c0100000->c0462334 (XEN) Init. ramdisk: c0463000->c0b62c00 (XEN) Phys-Mach map: c0b63000->c0b9ae24 (XEN) Start info: c0b9b000->c0b9b46c (XEN) Page tables: c0b9c000->c0ba1000 (XEN) Boot stack: c0ba1000->c0ba2000 (XEN) TOTAL: c0000000->c1000000 (XEN) ENTRY ADDRESS: c0100000 (XEN) Dom0 has maximum 1 VCPUs (XEN) Initrd len 0x6ffc00, start at 0xc0463000 (XEN) Scrubbing Free RAM: ...done. (XEN) Xen trace buffers: disabled (XEN) Xen is relinquishing VGA console. (XEN) *** Serial input -> DOM0 (type \047CTRL-a\047 three times to switch input to Xen). --------------------------------- --------------------------------- L''email della prossima generazione? Puoi averla con la nuova Yahoo! Mail _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hello, I would like to evaluate Xen performance and usability. I installed Xen with Opensuse 10.2 (which is dom0 and xen packages included on this distro). I created an image file called hda.img (rwxrwxrwx and root owner) using dd, as the manual tells. I have only 256 MB of Ram so I gave 32 MB to virtual machine. I changed xmexample1: disk = [ ''file:/home/vale/hda.img,ioemu:hda,w'' ] cdrom = ''/dev/cdrom'' boot = ''d'' I tried to comment cdrom and boot. Root device is set, by default: root = "/dev/hda1" Xen manager list: linux-wsbh:/home/vale # xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 206 1 r----- 407.4 OpenSuse 7 32 1 -b---- 1.3 And when I created the domain: linux-wsbh:/etc/xen # xm create -c opensuse-config Using config file "opensuse-config". Started domain OpenSuse Linux version 2.6.18.2-34-xen (geeko@buildhost) (gcc version 4.1.2 20061115 (pre release) (SUSE Linux)) #1 SMP Mon Nov 27 11:46:27 UTC 2006 BIOS-provided physical RAM map: Xen: 0000000000000000 - 0000000002800000 (usable) 0MB HIGHMEM available. 40MB LOWMEM available. ACPI in unprivileged domain disabled Allocating PCI resources starting at 10000000 (gap: 02800000:fd800000) Xen reported: 1503.410 MHz processor. Built 1 zonelists. Total pages: 10240 Kernel command line: root=/dev/hda1 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 PID hash table entries: 256 (order: 8, 1024 bytes) Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Software IO TLB disabled vmalloc area: c3000000-fb7fe000, maxmem 33ffe000 Memory: 21576k/40960k available (1950k kernel code, 11172k reserved, 930k data, 184k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay using timer specific routine.. 3779.27 BogoMIPS (lpj=7558550) Security Framework v1.0.0 initialized Mount-cache hash table entries: 512 CPU: Trace cache: 12K uops, L1 D cache: 8K CPU: L2 cache: 256K Compat vDSO mapped to fbffd000. Checking ''hlt'' instruction... OK. SMP alternatives: switching to UP code Freeing SMP alternatives: 12k freed checking if image is initramfs... it is Freeing initrd memory: 7167k freed Brought up 1 CPUs migration_cost=0 Grant table initialized NET: Registered protocol family 16 Brought up 1 CPUs PCI: setting up Xen PCI frontend stub ACPI: Interpreter disabled. Linux Plug and Play Support v0.97 (c) Adam Belay pnp: PnP ACPI: disabled xen_mem: Initialising balloon driver. Setting mem allocation to 32768 kiB PCI: System does not support PCI PCI: System does not support PCI NET: Registered protocol family 2 IP route cache hash table entries: 512 (order: -1, 2048 bytes) TCP established hash table entries: 2048 (order: 2, 16384 bytes) TCP bind hash table entries: 1024 (order: 1, 8192 bytes) TCP: Hash tables configured (established 2048 bind 1024) TCP reno registered audit: initializing netlink socket (disabled) audit(1189877932.660:1): initialized VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) Initializing Cryptographic API io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) rtc: IRQ 8 is not free. Floppy drive(s): fd0 is unknown type 15 (usb?), fd1 is unknown type 15 (usb?) Failed to obtain physical IRQ 6 floppy0: no floppy controllers found RAMDISK driver initialized: 16 RAM disks of 64000K size 1024 blocksize Xen virtual console successfully installed as tty1 Event-channel device installed. PNP: No PS/2 controller found. Probing ports directly. i8042.c: No controller found. mice: PS/2 mouse device common for all mice md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: bitmap version 4.39 NET: Registered protocol family 1 Using IPI No-Shortcut mode XENBUS: Device with no driver: device/vbd/768 XENBUS: Device with no driver: device/vif/0 Freeing unused kernel memory: 184k freed Time: xen clocksource has been installed. Boot logging started on /dev/tty1(/dev/console) at Sat Sep 15 17:38:55 2007 Creating device nodes with udev Loading xennet netfront: Initialising virtual ethernet driver. netfront: device eth0 has flipping receive path. Loading xenblk Registering block device major 3 blkfront: hda: barriers enabled hda: unknown partition table ata_id[560]: main: HDIO_GET_IDENTITY failed for ''/dev/.tmp-3-0'' Loading reiserfs Waiting for device /dev/hda1 to appear: ..............................not found -- exiting to /bin/sh sh: no job control in this shell $ And this is the dmesg of xm: xm dmesg __ __ _____ ___ _____ _ _ _____ _____ _ _ ____ ___ \ \/ /___ _ __ |___ / / _ \ |___ / / / |___ |___ | || | |___ \ / _ \ \ // _ \ \047_ \ |_ \| | | | |_ \ | | | / / / /| || |_ __ __) | | | | / \ __/ | | | ___) | |_| | ___) | | | | / / / / |__ _|__/ __/| |_| | /_/\_\___|_| |_| |____(_)___(_)____/___|_|_|/_/ /_/ |_| |_____|\___/ |_____| http://www.cl.cam.ac.uk/netos/xen University of Cambridge Computer Laboratory Xen version 3.0.3_11774-20 (abuild@suse.de) (gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)) Tue Nov 28 09:28:29 UTC 2006 Latest ChangeSet: 11774 (XEN) Command line: /boot/xen.gz (XEN) Physical RAM map: (XEN) 0000000000000000 - 000000000009fc00 (usable) (XEN) 000000000009fc00 - 00000000000a0000 (reserved) (XEN) 00000000000f0000 - 0000000000100000 (reserved) (XEN) 0000000000100000 - 000000000fff0000 (usable) (XEN) 000000000fff0000 - 000000000fff3000 (ACPI NVS) (XEN) 000000000fff3000 - 0000000010000000 (ACPI data) (XEN) 00000000ffb00000 - 0000000100000000 (reserved) (XEN) System RAM: 255MB (261692kB) (XEN) Xen heap: 10MB (10460kB) (XEN) PAE disabled. (XEN) DMI 2.3 present. (XEN) Using APIC driver default (XEN) ACPI: RSDP (v000 IntelR ) @ 0x000f6ba0 (XEN) ACPI: RSDT (v001 IntelR AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x0fff3000 (XEN) ACPI: FADT (v001 IntelR AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x0fff3040 (XEN) ACPI: DSDT (v001 INTELR AWRDACPI 0x00001000 MSFT 0x0100000c) @ 0x00000000 (XEN) Local APIC disabled by BIOS -- you can enable it with "lapic" (XEN) Using scheduler: SMP Credit Scheduler (credit) (XEN) Initializing CPU#0 (XEN) Detected 1503.446 MHz processor. (XEN) CPU: Trace cache: 12K uops, L1 D cache: 8K (XEN) CPU: L2 cache: 256K (XEN) CPU: Hyper-Threading is disabled (XEN) Intel machine check architecture supported. (XEN) Intel machine check reporting enabled on CPU#0. (XEN) CPU0: Intel P4/Xeon Extended MCE MSRs (12) available (XEN) CPU0: Thermal monitoring enabled (XEN) CPU0: Intel(R) Pentium(R) 4 CPU 1500MHz stepping 0a (XEN) SMP motherboard not detected. (XEN) Local APIC not detected. Using dummy APIC emulation. (XEN) Platform timer is 1.193MHz PIT (XEN) Brought up 1 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.: 0e000000->0f000000 (53129 pages to be allocated) (XEN) VIRTUAL MEMORY ARRANGEMENT: (XEN) Loaded kernel: c0100000->c0462334 (XEN) Init. ramdisk: c0463000->c0b62c00 (XEN) Phys-Mach map: c0b63000->c0b9ae24 (XEN) Start info: c0b9b000->c0b9b46c (XEN) Page tables: c0b9c000->c0ba1000 (XEN) Boot stack: c0ba1000->c0ba2000 (XEN) TOTAL: c0000000->c1000000 (XEN) ENTRY ADDRESS: c0100000 (XEN) Dom0 has maximum 1 VCPUs (XEN) Initrd len 0x6ffc00, start at 0xc0463000 (XEN) Scrubbing Free RAM: ...done. (XEN) Xen trace buffers: disabled (XEN) Xen is relinquishing VGA console. (XEN) *** Serial input -> DOM0 (type \047CTRL-a\047 three times to switch input to Xen). --------------------------------- --------------------------------- L''email della prossima generazione? Puoi averla con la nuova Yahoo! Mail _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hello, I installed Xen with Opensuse 10.2 (xen packages included on this distro). I created an image file called hda.img (rwxrwxrwx and root owner) using dd, as the manual tells. I have only 256 MB of Ram so I gave 32 MB to virtual machine. I changed xmexample1: disk = [ ''file:/home/vale/hda.img,ioemu:hda,w'' ] cdrom = ''/dev/cdrom'' boot = ''d'' I tried to comment cdrom and boot. Root device is set, by default: root = "/dev/hda1" Xen manager list: linux-wsbh:/home/vale # xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 206 1 r----- 407.4 OpenSuse 7 32 1 -b---- 1.3 And when I created the domain: linux-wsbh:/etc/xen # xm create -c opensuse-config Using config file "opensuse-config". Started domain OpenSuse Linux version 2.6.18.2-34-xen (geeko@buildhost) (gcc version 4.1.2 20061115 (pre release) (SUSE Linux)) #1 SMP Mon Nov 27 11:46:27 UTC 2006 BIOS-provided physical RAM map: Xen: 0000000000000000 - 0000000002800000 (usable) 0MB HIGHMEM available. 40MB LOWMEM available. ACPI in unprivileged domain disabled Allocating PCI resources starting at 10000000 (gap: 02800000:fd800000) Xen reported: 1503.410 MHz processor. Built 1 zonelists. Total pages: 10240 Kernel command line: root=/dev/hda1 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 PID hash table entries: 256 (order: 8, 1024 bytes) Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Software IO TLB disabled vmalloc area: c3000000-fb7fe000, maxmem 33ffe000 Memory: 21576k/40960k available (1950k kernel code, 11172k reserved, 930k data, 184k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay using timer specific routine.. 3779.27 BogoMIPS (lpj=7558550) Security Framework v1.0.0 initialized Mount-cache hash table entries: 512 CPU: Trace cache: 12K uops, L1 D cache: 8K CPU: L2 cache: 256K Compat vDSO mapped to fbffd000. Checking ''hlt'' instruction... OK. SMP alternatives: switching to UP code Freeing SMP alternatives: 12k freed checking if image is initramfs... it is Freeing initrd memory: 7167k freed Brought up 1 CPUs migration_cost=0 Grant table initialized NET: Registered protocol family 16 Brought up 1 CPUs PCI: setting up Xen PCI frontend stub ACPI: Interpreter disabled. Linux Plug and Play Support v0.97 (c) Adam Belay pnp: PnP ACPI: disabled xen_mem: Initialising balloon driver. Setting mem allocation to 32768 kiB PCI: System does not support PCI PCI: System does not support PCI NET: Registered protocol family 2 IP route cache hash table entries: 512 (order: -1, 2048 bytes) TCP established hash table entries: 2048 (order: 2, 16384 bytes) TCP bind hash table entries: 1024 (order: 1, 8192 bytes) TCP: Hash tables configured (established 2048 bind 1024) TCP reno registered audit: initializing netlink socket (disabled) audit(1189877932.660:1): initialized VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) Initializing Cryptographic API io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) rtc: IRQ 8 is not free. Floppy drive(s): fd0 is unknown type 15 (usb?), fd1 is unknown type 15 (usb?) Failed to obtain physical IRQ 6 floppy0: no floppy controllers found RAMDISK driver initialized: 16 RAM disks of 64000K size 1024 blocksize Xen virtual console successfully installed as tty1 Event-channel device installed. PNP: No PS/2 controller found. Probing ports directly. i8042.c: No controller found. mice: PS/2 mouse device common for all mice md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: bitmap version 4.39 NET: Registered protocol family 1 Using IPI No-Shortcut mode XENBUS: Device with no driver: device/vbd/768 XENBUS: Device with no driver: device/vif/0 Freeing unused kernel memory: 184k freed Time: xen clocksource has been installed. Boot logging started on /dev/tty1(/dev/console) at Sat Sep 15 17:38:55 2007 Creating device nodes with udev Loading xennet netfront: Initialising virtual ethernet driver. netfront: device eth0 has flipping receive path. Loading xenblk Registering block device major 3 blkfront: hda: barriers enabled hda: unknown partition table ata_id[560]: main: HDIO_GET_IDENTITY failed for ''/dev/.tmp-3-0'' Loading reiserfs Waiting for device /dev/hda1 to appear: ..............................not found -- exiting to /bin/sh sh: no job control in this shell $ And this is the dmesg of xm: xm dmesg __ __ _____ ___ _____ _ _ _____ _____ _ _ ____ ___ \ \/ /___ _ __ |___ / / _ \ |___ / / / |___ |___ | || | |___ \ / _ \ \ // _ \ \047_ \ |_ \| | | | |_ \ | | | / / / /| || |_ __ __) | | | | / \ __/ | | | ___) | |_| | ___) | | | | / / / / |__ _|__/ __/| |_| | /_/\_\___|_| |_| |____(_)___(_)____/___|_|_|/_/ /_/ |_| |_____|\___/ |_____| http://www.cl.cam.ac.uk/netos/xen University of Cambridge Computer Laboratory Xen version 3.0.3_11774-20 (abuild@suse.de) (gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)) Tue Nov 28 09:28:29 UTC 2006 Latest ChangeSet: 11774 (XEN) Command line: /boot/xen.gz (XEN) Physical RAM map: (XEN) 0000000000000000 - 000000000009fc00 (usable) (XEN) 000000000009fc00 - 00000000000a0000 (reserved) (XEN) 00000000000f0000 - 0000000000100000 (reserved) (XEN) 0000000000100000 - 000000000fff0000 (usable) (XEN) 000000000fff0000 - 000000000fff3000 (ACPI NVS) (XEN) 000000000fff3000 - 0000000010000000 (ACPI data) (XEN) 00000000ffb00000 - 0000000100000000 (reserved) (XEN) System RAM: 255MB (261692kB) (XEN) Xen heap: 10MB (10460kB) (XEN) PAE disabled. (XEN) DMI 2.3 present. (XEN) Using APIC driver default (XEN) ACPI: RSDP (v000 IntelR ) @ 0x000f6ba0 (XEN) ACPI: RSDT (v001 IntelR AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x0fff3000 (XEN) ACPI: FADT (v001 IntelR AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x0fff3040 (XEN) ACPI: DSDT (v001 INTELR AWRDACPI 0x00001000 MSFT 0x0100000c) @ 0x00000000 (XEN) Local APIC disabled by BIOS -- you can enable it with "lapic" (XEN) Using scheduler: SMP Credit Scheduler (credit) (XEN) Initializing CPU#0 (XEN) Detected 1503.446 MHz processor. (XEN) CPU: Trace cache: 12K uops, L1 D cache: 8K (XEN) CPU: L2 cache: 256K (XEN) CPU: Hyper-Threading is disabled (XEN) Intel machine check architecture supported. (XEN) Intel machine check reporting enabled on CPU#0. (XEN) CPU0: Intel P4/Xeon Extended MCE MSRs (12) available (XEN) CPU0: Thermal monitoring enabled (XEN) CPU0: Intel(R) Pentium(R) 4 CPU 1500MHz stepping 0a (XEN) SMP motherboard not detected. (XEN) Local APIC not detected. Using dummy APIC emulation. (XEN) Platform timer is 1.193MHz PIT (XEN) Brought up 1 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.: 0e000000->0f000000 (53129 pages to be allocated) (XEN) VIRTUAL MEMORY ARRANGEMENT: (XEN) Loaded kernel: c0100000->c0462334 (XEN) Init. ramdisk: c0463000->c0b62c00 (XEN) Phys-Mach map: c0b63000->c0b9ae24 (XEN) Start info: c0b9b000->c0b9b46c (XEN) Page tables: c0b9c000->c0ba1000 (XEN) Boot stack: c0ba1000->c0ba2000 (XEN) TOTAL: c0000000->c1000000 (XEN) ENTRY ADDRESS: c0100000 (XEN) Dom0 has maximum 1 VCPUs (XEN) Initrd len 0x6ffc00, start at 0xc0463000 (XEN) Scrubbing Free RAM: ...done. (XEN) Xen trace buffers: disabled (XEN) Xen is relinquishing VGA console. (XEN) *** Serial input -> DOM0 (type \047CTRL-a\047 three times to switch input to Xen). --------------------------------- --------------------------------- L''email della prossima generazione? Puoi averla con la nuova Yahoo! Mail _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, try to change your line: disk = [ ''file:/home/vale/hda.img,ioemu:hda,w'' ] by disk = [ ''file:/home/vale/hda.img,ioemu:hda1,w'' ] I think that your domU is expecting a partition not a entire disk. Cheers, Marc helicoterus-elih@yahoo.it wrote:> Hello, > I installed Xen with Opensuse 10.2 (xen packages included on this > distro). I created an image file called hda.img (rwxrwxrwx and root > owner) using dd, as the manual tells. I have only 256 MB of Ram so I > gave 32 MB to virtual machine. > I changed xmexample1: > disk = [ ''file:/home/vale/hda.img,ioemu:hda,w'' ] > cdrom = ''/dev/cdrom'' > boot = ''d'' > > I tried to comment cdrom and boot. Root device is set, by default: > root = "/dev/hda1" > Xen manager list: > linux-wsbh:/home/vale # xm list > Name ID Mem(MiB) VCPUs State > Time(s) > Domain-0 0 206 1 r----- > 407.4 > OpenSuse 7 32 1 > -b---- 1.3 > And when I created the domain: > linux-wsbh:/etc/xen # xm create -c opensuse-config > Using config file "opensuse-config". > Started domain OpenSuse > Linux version 2.6.18.2-34-xen (geeko@buildhost) (gcc version 4.1.2 > 20061115 (pre > release) (SUSE Linux)) #1 SMP Mon Nov 27 11:46:27 UTC 2006 > BIOS-provided physical RAM map: > Xen: 0000000000000000 - 0000000002800000 (usable) > 0MB HIGHMEM available. > 40MB LOWMEM available. > ACPI in unprivileged domain disabled > Allocating PCI resources starting at 10000000 (gap: 02800000:fd800000) > Xen reported: 1503.410 MHz processor. > Built 1 zonelists. Total pages: 10240 > Kernel command line: root=/dev/hda1 > Enabling fast FPU save and restore... done. > Enabling unmasked SIMD FPU exception support... done. > Initializing CPU#0 > PID hash table entries: 256 (order: 8, 1024 bytes) > Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) > Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) > Software IO TLB disabled > vmalloc area: c3000000-fb7fe000, maxmem 33ffe000 > Memory: 21576k/40960k available (1950k kernel code, 11172k reserved, > 930k data, > 184k init, 0k highmem) > Checking if this processor honours the WP bit even in supervisor > mode... Ok. > Calibrating delay using timer specific routine.. 3779.27 BogoMIPS > (lpj=7558550) > Security Framework v1.0.0 initialized > Mount-cache hash table entries: 512 > CPU: Trace cache: 12K uops, L1 D cache: 8K > CPU: L2 cache: 256K > Compat vDSO mapped to fbffd000. > Checking ''hlt'' instruction... OK. > SMP alternatives: switching to UP code > Freeing SMP alternatives: 12k freed > checking if image is initramfs... it is > Freeing initrd memory: 7167k freed > Brought up 1 CPUs > migration_cost=0 > Grant table initialized > NET: Registered protocol family 16 > Brought up 1 CPUs > PCI: setting up Xen PCI frontend stub > ACPI: Interpreter disabled. > Linux Plug and Play Support v0.97 (c) Adam Belay > pnp: PnP ACPI: disabled > xen_mem: Initialising balloon driver. > Setting mem allocation to 32768 kiB > PCI: System does not support PCI > PCI: System does not support PCI > NET: Registered protocol family 2 > IP route cache hash table entries: 512 (order: -1, 2048 bytes) > TCP established hash table entries: 2048 (order: 2, 16384 bytes) > TCP bind hash table entries: 1024 (order: 1, 8192 bytes) > TCP: Hash tables configured (established 2048 bind 1024) > TCP reno registered > audit: initializing netlink socket (disabled) > audit(1189877932.660:1): initialized > VFS: Disk quotas dquot_6.5.1 > Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) > Initializing Cryptographic API > io scheduler noop registered > io scheduler anticipatory registered > io scheduler deadline registered > io scheduler cfq registered (default) > rtc: IRQ 8 is not free. > Floppy drive(s): fd0 is unknown type 15 (usb?), fd1 is unknown type 15 > (usb?) > Failed to obtain physical IRQ 6 > floppy0: no floppy controllers found > RAMDISK driver initialized: 16 RAM disks of 64000K size 1024 blocksize > Xen virtual console successfully installed as tty1 > Event-channel device installed. > PNP: No PS/2 controller found. Probing ports directly. > i8042.c: No controller found. > mice: PS/2 mouse device common for all mice > md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27 > md: bitmap version 4.39 > NET: Registered protocol family 1 > Using IPI No-Shortcut mode > XENBUS: Device with no driver: device/vbd/768 > XENBUS: Device with no driver: device/vif/0 > Freeing unused kernel memory: 184k freed > Time: xen clocksource has been installed. > Boot logging started on /dev/tty1(/dev/console) at Sat Sep 15 17:38:55 > 2007 > Creating device nodes with udev > Loading xennet > netfront: Initialising virtual ethernet driver. > netfront: device eth0 has flipping receive path. > Loading xenblk > Registering block device major 3 > blkfront: hda: barriers enabled > hda: unknown partition table > ata_id[560]: main: HDIO_GET_IDENTITY failed for ''/dev/.tmp-3-0'' > Loading reiserfs > Waiting for device /dev/hda1 to appear: > ..............................not found -- exiting to /bin/sh > sh: no job control in this shell > $ > > And this is the dmesg of xm: > xm dmesg > __ __ _____ ___ _____ _ _ _____ _____ _ _ > ____ ___ > \ \/ /___ _ __ |___ / / _ \ |___ / / / |___ |___ | || | |___ > \ / _ \ > \ // _ \ \047_ \ |_ \| | | | |_ \ | | | / / / /| || |_ __ > __) | | | | > / \ __/ | | | ___) | |_| | ___) | | | | / / / / |__ _|__/ > __/| |_| | > /_/\_\___|_| |_| |____(_)___(_)____/___|_|_|/_/ /_/ |_| > |_____|\___/ > |_____| > http://www.cl.cam.ac.uk/netos/xen > University of Cambridge Computer Laboratory > > Xen version 3.0.3_11774-20 (abuild@suse.de) (gcc version 4.1.2 > 20061115 (prerelease) (SUSE Linux)) Tue Nov 28 09:28:29 UTC 2006 > Latest ChangeSet: 11774 > > (XEN) Command line: /boot/xen.gz > (XEN) Physical RAM map: > (XEN) 0000000000000000 - 000000000009fc00 (usable) > (XEN) 000000000009fc00 - 00000000000a0000 (reserved) > (XEN) 00000000000f0000 - 0000000000100000 (reserved) > (XEN) 0000000000100000 - 000000000fff0000 (usable) > (XEN) 000000000fff0000 - 000000000fff3000 (ACPI NVS) > (XEN) 000000000fff3000 - 0000000010000000 (ACPI data) > (XEN) 00000000ffb00000 - 0000000100000000 (reserved) > (XEN) System RAM: 255MB (261692kB) > (XEN) Xen heap: 10MB (10460kB) > (XEN) PAE disabled. > (XEN) DMI 2.3 present. > (XEN) Using APIC driver default > (XEN) ACPI: RSDP (v000 IntelR ) @ > 0x000f6ba0 > (XEN) ACPI: RSDT (v001 IntelR AWRDACPI 0x42302e31 AWRD 0x00000000) @ > 0x0fff3000 > (XEN) ACPI: FADT (v001 IntelR AWRDACPI 0x42302e31 AWRD 0x00000000) @ > 0x0fff3040 > (XEN) ACPI: DSDT (v001 INTELR AWRDACPI 0x00001000 MSFT 0x0100000c) @ > 0x00000000 > (XEN) Local APIC disabled by BIOS -- you can enable it with "lapic" > (XEN) Using scheduler: SMP Credit Scheduler (credit) > (XEN) Initializing CPU#0 > (XEN) Detected 1503.446 MHz processor. > (XEN) CPU: Trace cache: 12K uops, L1 D cache: 8K > (XEN) CPU: L2 cache: 256K > (XEN) CPU: Hyper-Threading is disabled > (XEN) Intel machine check architecture supported. > (XEN) Intel machine check reporting enabled on CPU#0. > (XEN) CPU0: Intel P4/Xeon Extended MCE MSRs (12) available > (XEN) CPU0: Thermal monitoring enabled > (XEN) CPU0: Intel(R) Pentium(R) 4 CPU 1500MHz stepping 0a > (XEN) SMP motherboard not detected. > (XEN) Local APIC not detected. Using dummy APIC emulation. > (XEN) Platform timer is 1.193MHz PIT > (XEN) Brought up 1 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.: 0e000000->0f000000 (53129 pages to be allocated) > (XEN) VIRTUAL MEMORY ARRANGEMENT: > (XEN) Loaded kernel: c0100000->c0462334 > (XEN) Init. ramdisk: c0463000->c0b62c00 > (XEN) Phys-Mach map: c0b63000->c0b9ae24 > (XEN) Start info: c0b9b000->c0b9b46c > (XEN) Page tables: c0b9c000->c0ba1000 > (XEN) Boot stack: c0ba1000->c0ba2000 > (XEN) TOTAL: c0000000->c1000000 > (XEN) ENTRY ADDRESS: c0100000 > (XEN) Dom0 has maximum 1 VCPUs > (XEN) Initrd len 0x6ffc00, start at 0xc0463000 > (XEN) Scrubbing Free RAM: ...done. > (XEN) Xen trace buffers: disabled > (XEN) Xen is relinquishing VGA console. > (XEN) *** Serial input -> DOM0 (type \047CTRL-a\047 three times to > switch input to Xen). > > ------------------------------------------------------------------------ > ------------------------------------------------------------------------ > L''email della prossima generazione? Puoi averla con la nuova Yahoo! > Mail > <http://us.rd.yahoo.com/mail/it/taglines/hotmail/nowyoucan/nextgen/*http://it.docs.yahoo.com/nowyoucan.html> > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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
Sorry, if you don''t solve the problem please post the "dd" command that you used. In dmesg output the domU sees hda with not partition table. Registering block device major 3 blkfront: hda: barriers enabled hda: unknown partition table Regards, Marc helicoterus-elih@yahoo.it wrote:> Hello, > I installed Xen with Opensuse 10.2 (xen packages included on this > distro). I created an image file called hda.img (rwxrwxrwx and root > owner) using dd, as the manual tells. I have only 256 MB of Ram so I > gave 32 MB to virtual machine. > I changed xmexample1: > disk = [ ''file:/home/vale/hda.img,ioemu:hda,w'' ] > cdrom = ''/dev/cdrom'' > boot = ''d'' > > I tried to comment cdrom and boot. Root device is set, by default: > root = "/dev/hda1" > Xen manager list: > linux-wsbh:/home/vale # xm list > Name ID Mem(MiB) VCPUs State > Time(s) > Domain-0 0 206 1 r----- > 407.4 > OpenSuse 7 32 1 > -b---- 1.3 > And when I created the domain: > linux-wsbh:/etc/xen # xm create -c opensuse-config > Using config file "opensuse-config". > Started domain OpenSuse > Linux version 2.6.18.2-34-xen (geeko@buildhost) (gcc version 4.1.2 > 20061115 (pre > release) (SUSE Linux)) #1 SMP Mon Nov 27 11:46:27 UTC 2006 > BIOS-provided physical RAM map: > Xen: 0000000000000000 - 0000000002800000 (usable) > 0MB HIGHMEM available. > 40MB LOWMEM available. > ACPI in unprivileged domain disabled > Allocating PCI resources starting at 10000000 (gap: 02800000:fd800000) > Xen reported: 1503.410 MHz processor. > Built 1 zonelists. Total pages: 10240 > Kernel command line: root=/dev/hda1 > Enabling fast FPU save and restore... done. > Enabling unmasked SIMD FPU exception support... done. > Initializing CPU#0 > PID hash table entries: 256 (order: 8, 1024 bytes) > Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) > Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) > Software IO TLB disabled > vmalloc area: c3000000-fb7fe000, maxmem 33ffe000 > Memory: 21576k/40960k available (1950k kernel code, 11172k reserved, > 930k data, > 184k init, 0k highmem) > Checking if this processor honours the WP bit even in supervisor > mode... Ok. > Calibrating delay using timer specific routine.. 3779.27 BogoMIPS > (lpj=7558550) > Security Framework v1.0.0 initialized > Mount-cache hash table entries: 512 > CPU: Trace cache: 12K uops, L1 D cache: 8K > CPU: L2 cache: 256K > Compat vDSO mapped to fbffd000. > Checking ''hlt'' instruction... OK. > SMP alternatives: switching to UP code > Freeing SMP alternatives: 12k freed > checking if image is initramfs... it is > Freeing initrd memory: 7167k freed > Brought up 1 CPUs > migration_cost=0 > Grant table initialized > NET: Registered protocol family 16 > Brought up 1 CPUs > PCI: setting up Xen PCI frontend stub > ACPI: Interpreter disabled. > Linux Plug and Play Support v0.97 (c) Adam Belay > pnp: PnP ACPI: disabled > xen_mem: Initialising balloon driver. > Setting mem allocation to 32768 kiB > PCI: System does not support PCI > PCI: System does not support PCI > NET: Registered protocol family 2 > IP route cache hash table entries: 512 (order: -1, 2048 bytes) > TCP established hash table entries: 2048 (order: 2, 16384 bytes) > TCP bind hash table entries: 1024 (order: 1, 8192 bytes) > TCP: Hash tables configured (established 2048 bind 1024) > TCP reno registered > audit: initializing netlink socket (disabled) > audit(1189877932.660:1): initialized > VFS: Disk quotas dquot_6.5.1 > Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) > Initializing Cryptographic API > io scheduler noop registered > io scheduler anticipatory registered > io scheduler deadline registered > io scheduler cfq registered (default) > rtc: IRQ 8 is not free. > Floppy drive(s): fd0 is unknown type 15 (usb?), fd1 is unknown type 15 > (usb?) > Failed to obtain physical IRQ 6 > floppy0: no floppy controllers found > RAMDISK driver initialized: 16 RAM disks of 64000K size 1024 blocksize > Xen virtual console successfully installed as tty1 > Event-channel device installed. > PNP: No PS/2 controller found. Probing ports directly. > i8042.c: No controller found. > mice: PS/2 mouse device common for all mice > md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27 > md: bitmap version 4.39 > NET: Registered protocol family 1 > Using IPI No-Shortcut mode > XENBUS: Device with no driver: device/vbd/768 > XENBUS: Device with no driver: device/vif/0 > Freeing unused kernel memory: 184k freed > Time: xen clocksource has been installed. > Boot logging started on /dev/tty1(/dev/console) at Sat Sep 15 17:38:55 > 2007 > Creating device nodes with udev > Loading xennet > netfront: Initialising virtual ethernet driver. > netfront: device eth0 has flipping receive path. > Loading xenblk > Registering block device major 3 > blkfront: hda: barriers enabled > hda: unknown partition table > ata_id[560]: main: HDIO_GET_IDENTITY failed for ''/dev/.tmp-3-0'' > Loading reiserfs > Waiting for device /dev/hda1 to appear: > ..............................not found -- exiting to /bin/sh > sh: no job control in this shell > $ > > And this is the dmesg of xm: > xm dmesg > __ __ _____ ___ _____ _ _ _____ _____ _ _ > ____ ___ > \ \/ /___ _ __ |___ / / _ \ |___ / / / |___ |___ | || | |___ > \ / _ \ > \ // _ \ \047_ \ |_ \| | | | |_ \ | | | / / / /| || |_ __ > __) | | | | > / \ __/ | | | ___) | |_| | ___) | | | | / / / / |__ _|__/ > __/| |_| | > /_/\_\___|_| |_| |____(_)___(_)____/___|_|_|/_/ /_/ |_| > |_____|\___/ > |_____| > http://www.cl.cam.ac.uk/netos/xen > University of Cambridge Computer Laboratory > > Xen version 3.0.3_11774-20 (abuild@suse.de) (gcc version 4.1.2 > 20061115 (prerelease) (SUSE Linux)) Tue Nov 28 09:28:29 UTC 2006 > Latest ChangeSet: 11774 > > (XEN) Command line: /boot/xen.gz > (XEN) Physical RAM map: > (XEN) 0000000000000000 - 000000000009fc00 (usable) > (XEN) 000000000009fc00 - 00000000000a0000 (reserved) > (XEN) 00000000000f0000 - 0000000000100000 (reserved) > (XEN) 0000000000100000 - 000000000fff0000 (usable) > (XEN) 000000000fff0000 - 000000000fff3000 (ACPI NVS) > (XEN) 000000000fff3000 - 0000000010000000 (ACPI data) > (XEN) 00000000ffb00000 - 0000000100000000 (reserved) > (XEN) System RAM: 255MB (261692kB) > (XEN) Xen heap: 10MB (10460kB) > (XEN) PAE disabled. > (XEN) DMI 2.3 present. > (XEN) Using APIC driver default > (XEN) ACPI: RSDP (v000 IntelR ) @ > 0x000f6ba0 > (XEN) ACPI: RSDT (v001 IntelR AWRDACPI 0x42302e31 AWRD 0x00000000) @ > 0x0fff3000 > (XEN) ACPI: FADT (v001 IntelR AWRDACPI 0x42302e31 AWRD 0x00000000) @ > 0x0fff3040 > (XEN) ACPI: DSDT (v001 INTELR AWRDACPI 0x00001000 MSFT 0x0100000c) @ > 0x00000000 > (XEN) Local APIC disabled by BIOS -- you can enable it with "lapic" > (XEN) Using scheduler: SMP Credit Scheduler (credit) > (XEN) Initializing CPU#0 > (XEN) Detected 1503.446 MHz processor. > (XEN) CPU: Trace cache: 12K uops, L1 D cache: 8K > (XEN) CPU: L2 cache: 256K > (XEN) CPU: Hyper-Threading is disabled > (XEN) Intel machine check architecture supported. > (XEN) Intel machine check reporting enabled on CPU#0. > (XEN) CPU0: Intel P4/Xeon Extended MCE MSRs (12) available > (XEN) CPU0: Thermal monitoring enabled > (XEN) CPU0: Intel(R) Pentium(R) 4 CPU 1500MHz stepping 0a > (XEN) SMP motherboard not detected. > (XEN) Local APIC not detected. Using dummy APIC emulation. > (XEN) Platform timer is 1.193MHz PIT > (XEN) Brought up 1 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.: 0e000000->0f000000 (53129 pages to be allocated) > (XEN) VIRTUAL MEMORY ARRANGEMENT: > (XEN) Loaded kernel: c0100000->c0462334 > (XEN) Init. ramdisk: c0463000->c0b62c00 > (XEN) Phys-Mach map: c0b63000->c0b9ae24 > (XEN) Start info: c0b9b000->c0b9b46c > (XEN) Page tables: c0b9c000->c0ba1000 > (XEN) Boot stack: c0ba1000->c0ba2000 > (XEN) TOTAL: c0000000->c1000000 > (XEN) ENTRY ADDRESS: c0100000 > (XEN) Dom0 has maximum 1 VCPUs > (XEN) Initrd len 0x6ffc00, start at 0xc0463000 > (XEN) Scrubbing Free RAM: ...done. > (XEN) Xen trace buffers: disabled > (XEN) Xen is relinquishing VGA console. > (XEN) *** Serial input -> DOM0 (type \047CTRL-a\047 three times to > switch input to Xen). > > ------------------------------------------------------------------------ > ------------------------------------------------------------------------ > L''email della prossima generazione? Puoi averla con la nuova Yahoo! > Mail > <http://us.rd.yahoo.com/mail/it/taglines/hotmail/nowyoucan/nextgen/*http://it.docs.yahoo.com/nowyoucan.html> > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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
<helicoterus-elih@yahoo.it>
2007-Oct-02 08:33 UTC
Re: [Xen-users] Xen does''t run a domainU
I changed hda,w in hda1,w. Waiting for device /dev/hda1 to appear: ok /dev/hda1: unknown volume type invalide root filesystem --exiting to /bin/sh --------------------------------- --------------------------------- L''email della prossima generazione? Puoi averla con la nuova Yahoo! Mail _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, please post moreinfo about how you made the domU image helicoterus-elih@yahoo.it wrote:> I changed hda,w in hda1,w. > > Waiting for device /dev/hda1 to appear: ok > /dev/hda1: unknown volume type > invalide root filesystem --exiting to /bin/sh > > ------------------------------------------------------------------------ > ------------------------------------------------------------------------ > L''email della prossima generazione? Puoi averla con la nuova Yahoo! > Mail > <http://us.rd.yahoo.com/mail/it/taglines/hotmail/nowyoucan/nextgen/*http://it.docs.yahoo.com/nowyoucan.html> > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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
Marc Patino Gómez ha scritto:> Hi, please post moreinfo about how you made the domU image >This is config file for the domain (I cleaned some comments): # -*- mode: python; -*- # Kernel image file and (optional) ramdisk (initrd). kernel = "/boot/vmlinuz-xen" ramdisk = "/boot/initrd-xen" # Or use domUloader instead of kernel/ramdisk to get kernel from domU FS #bootloader = "/usr/lib/xen/boot/domUlaoder.py" #bootentry = "hda2:/vmlinuz-xen,/initrd-xen" #bootentry = "/boot/vmlinuz-xen,/boot/initrd-xen" # The domain build function. Default is ''linux''. #builder=''linux'' memory = 32 # A name for your domain. All domains must have different names. name = "OpenSuse" # 128-bit UUID for the domain. The default behavior is to generate a new UUID # on each call to ''xm create''. #uuid = "06ed00fe-1162-4fc4-b5d8-11993ee4a8b9" # List of which CPUS this domain is allowed to use, default Xen picks #cpus = "" # leave to Xen to pick #cpus = "0" # all vcpus run on CPU0 #cpus = "0-3,5,^1" # run on cpus 0,2,3,5 # Number of Virtual CPUS to use, default is 1 #vcpus = 1 #---------------------------------------------------------------------------- # Define network interfaces. # By default, no network interfaces are configured. You may have one created # with sensible defaults using an empty vif clause: # # vif = [ '''' ] # # or optionally override backend, bridge, ip, mac, script, type, or vifname: # # vif = [ ''mac=00:16:3e:00:00:11, bridge=xenbr0'' ] # # or more than one interface may be configured: # # vif = [ '''', ''bridge=xenbr1'' ] vif = [ '''' ] disk = [ ''file:/home/vale/hda.img,ioemu:hda1,w'' ] cdrom = ''/dev/hdd'' boot = ''d'' #vtpm = [ ''instance=1,backend=0'' ] # Set if you want dhcp to allocate the IP address. #dhcp="dhcp" # Set netmask. #netmask# Set default gateway. #gateway# Set the hostname. #hostname= "vm%d" % vmid # Set root device. #root = "/dev/hda1" root = "/dev/hda1" # Root device for nfs. #root = "/dev/nfs" # The nfs server. #nfs_server = ''169.254.1.0'' # Root directory on the nfs server. #nfs_root = ''/full/path/to/root/directory'' # Extra arguments to pass to the kernel. extra = "" #---------------------------------------------------------------------------- # Configure the behaviour when a domain exits. There are three ''reasons'' # for a domain to stop: poweroff, reboot, and crash. For each of these you # may specify: # # "destroy", meaning that the domain is cleaned up as normal; # "restart", meaning that a new domain is started in place of the old # one; # "preserve", meaning that no clean-up is done until the domain is # manually destroyed (using xm destroy, for example); or # "rename-restart", meaning that the old domain is not cleaned up, but is # renamed and a new domain started in its place. # # The default is # # on_poweroff = ''destroy'' # on_reboot = ''restart'' # on_crash = ''restart'' # # For backwards compatibility we also support the deprecated option restart # # restart = ''onreboot'' means on_poweroff = ''destroy'' # on_reboot = ''restart'' # on_crash = ''destroy'' # # restart = ''always'' means on_poweroff = ''restart'' # on_reboot = ''restart'' # on_crash = ''restart'' # # restart = ''never'' means on_poweroff = ''destroy'' # on_reboot = ''destroy'' # on_crash = ''destroy'' #on_poweroff = ''destroy'' #on_reboot = ''restart'' #on_crash = ''restart'' #===========================================================================Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
<helicoterus-elih@yahoo.it>
2007-Oct-02 17:48 UTC
Re: [Xen-users] Xen does''t run a domainU
> Hi, please post moreinfo about how you made the domU image >This is config file for the domain (I cleaned some comments): # -*- mode: python; -*- # Kernel image file and (optional) ramdisk (initrd). kernel = "/boot/vmlinuz-xen" ramdisk = "/boot/initrd-xen" # Or use domUloader instead of kernel/ramdisk to get kernel from domU FS #bootloader = "/usr/lib/xen/boot/domUlaoder.py" #bootentry = "hda2:/vmlinuz-xen,/initrd-xen" #bootentry = "/boot/vmlinuz-xen,/boot/initrd-xen" # The domain build function. Default is ''linux''. #builder=''linux'' memory = 32 # A name for your domain. All domains must have different names. name = "OpenSuse" # 128-bit UUID for the domain. The default behavior is to generate a new UUID # on each call to ''xm create''. #uuid = "06ed00fe-1162-4fc4-b5d8-11993ee4a8b9" # List of which CPUS this domain is allowed to use, default Xen picks #cpus = "" # leave to Xen to pick #cpus = "0" # all vcpus run on CPU0 #cpus = "0-3,5,^1" # run on cpus 0,2,3,5 # Number of Virtual CPUS to use, default is 1 #vcpus = 1 #---------------------------------------------------------------------------- # Define network interfaces. # By default, no network interfaces are configured. You may have one created # with sensible defaults using an empty vif clause: # # vif = [ '''' ] # # or optionally override backend, bridge, ip, mac, script, type, or vifname: # # vif = [ ''mac=00:16:3e:00:00:11, bridge=xenbr0'' ] # # or more than one interface may be configured: # # vif = [ '''', ''bridge=xenbr1'' ] vif = [ '''' ] disk = [ ''file:/home/vale/hda.img,ioemu:hda1,w'' ] cdrom = ''/dev/hdd'' boot = ''d'' #vtpm = [ ''instance=1,backend=0'' ] # Set if you want dhcp to allocate the IP address. #dhcp="dhcp" # Set netmask. #netmask# Set default gateway. #gateway# Set the hostname. #hostname= "vm%d" % vmid # Set root device. #root = "/dev/hda1" root = "/dev/hda1" # Root device for nfs. #root = "/dev/nfs" # The nfs server. #nfs_server = ''169.254.1.0'' # Root directory on the nfs server. #nfs_root = ''/full/path/to/root/directory'' # Extra arguments to pass to the kernel. extra = "" #---------------------------------------------------------------------------- # Configure the behaviour when a domain exits. There are three ''reasons'' # for a domain to stop: poweroff, reboot, and crash. For each of these you # may specify: # # "destroy", meaning that the domain is cleaned up as normal; # "restart", meaning that a new domain is started in place of the old # one; # "preserve", meaning that no clean-up is done until the domain is # manually destroyed (using xm destroy, for example); or # "rename-restart", meaning that the old domain is not cleaned up, but is # renamed and a new domain started in its place. # # The default is # # on_poweroff = ''destroy'' # on_reboot = ''restart'' # on_crash = ''restart'' # # For backwards compatibility we also support the deprecated option restart # # restart = ''onreboot'' means on_poweroff = ''destroy'' # on_reboot = ''restart'' # on_crash = ''destroy'' # # restart = ''always'' means on_poweroff = ''restart'' # on_reboot = ''restart'' # on_crash = ''restart'' # # restart = ''never'' means on_poweroff = ''destroy'' # on_reboot = ''destroy'' # on_crash = ''destroy'' #on_poweroff = ''destroy'' #on_reboot = ''restart'' #on_crash = ''restart'' #=========================================================================== --------------------------------- --------------------------------- L''email della prossima generazione? Puoi averla con la nuova Yahoo! Mail _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
<helicoterus-elih@yahoo.it>
2007-Oct-03 11:30 UTC
Re: [Xen-users] Xen does''t run a domainU
Hi, please post moreinfo about how you made the domU image>This is config file for the domain (I cleaned some comments): # -*- mode: python; -*- # Kernel image file and (optional) ramdisk (initrd). kernel = "/boot/vmlinuz-xen" ramdisk = "/boot/initrd-xen" # Or use domUloader instead of kernel/ramdisk to get kernel from domU FS #bootloader = "/usr/lib/xen/boot/domUlaoder.py" #bootentry = "hda2:/vmlinuz-xen,/initrd-xen" #bootentry = "/boot/vmlinuz-xen,/boot/initrd-xen" # The domain build function. Default is ''linux''. #builder=''linux'' memory = 32 # A name for your domain. All domains must have different names. name = "OpenSuse" # 128-bit UUID for the domain. The default behavior is to generate a new UUID # on each call to ''xm create''. #uuid = "06ed00fe-1162-4fc4-b5d8-11993ee4a8b9" # List of which CPUS this domain is allowed to use, default Xen picks #cpus = "" # leave to Xen to pick #cpus = "0" # all vcpus run on CPU0 #cpus = "0-3,5,^1" # run on cpus 0,2,3,5 # Number of Virtual CPUS to use, default is 1 #vcpus = 1 #---------------------------------------------------------------------------- # Define network interfaces. # By default, no network interfaces are configured. You may have one created # with sensible defaults using an empty vif clause: # # vif = [ '''' ] # # or optionally override backend, bridge, ip, mac, script, type, or vifname: # # vif = [ ''mac=00:16:3e:00:00:11, bridge=xenbr0'' ] # # or more than one interface may be configured: # # vif = [ '''', ''bridge=xenbr1'' ] vif = [ '''' ] disk = [ ''file:/home/vale/hda.img,ioemu:hda1,w'' ] cdrom = ''/dev/hdd'' boot = ''d'' #vtpm = [ ''instance=1,backend=0'' ] # Set if you want dhcp to allocate the IP address. #dhcp="dhcp" # Set netmask. #netmask# Set default gateway. #gateway# Set the hostname. #hostname= "vm%d" % vmid # Set root device. #root = "/dev/hda1" root = "/dev/hda1" # Root device for nfs. #root = "/dev/nfs" # The nfs server. #nfs_server = ''169.254.1.0'' # Root directory on the nfs server. #nfs_root = ''/full/path/to/root/directory'' # Extra arguments to pass to the kernel. extra = "" #---------------------------------------------------------------------------- # Configure the behaviour when a domain exits. There are three ''reasons'' # for a domain to stop: poweroff, reboot, and crash. For each of these you # may specify: # # "destroy", meaning that the domain is cleaned up as normal; # "restart", meaning that a new domain is started in place of the old # one; # "preserve", meaning that no clean-up is done until the domain is # manually destroyed (using xm destroy, for example); or # "rename-restart", meaning that the old domain is not cleaned up, but is # renamed and a new domain started in its place. # # The default is # # on_poweroff = ''destroy'' # on_reboot = ''restart'' # on_crash = ''restart'' # # For backwards compatibility we also support the deprecated option restart # # restart = ''onreboot'' means on_poweroff = ''destroy'' # on_reboot = ''restart'' # on_crash = ''destroy'' # # restart = ''always'' means on_poweroff = ''restart'' # on_reboot = ''restart'' # on_crash = ''restart'' # # restart = ''never'' means on_poweroff = ''destroy'' # on_reboot = ''destroy'' # on_crash = ''destroy'' #on_poweroff = ''destroy'' #on_reboot = ''restart'' #on_crash = ''restart'' #=========================================================================== --------------------------------- --------------------------------- L''email della prossima generazione? Puoi averla con la nuova Yahoo! Mail _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, egrep -v "^#|^$" configfile > newconfig will be more clear :) I want to know how you made the VBD, you used dd? rsync?... can you post the complete command? Cheers, Marc helicoterus-elih@yahoo.it wrote:> Hi, please post moreinfo about how you made the domU image > > > This is config file for the domain (I cleaned some comments): > > # -*- mode: python; -*- > > # Kernel image file and (optional) ramdisk (initrd). > kernel = "/boot/vmlinuz-xen" > ramdisk = "/boot/initrd-xen" > > # Or use domUloader instead of kernel/ramdisk to get kernel from domU FS > #bootloader = "/usr/lib/xen/boot/domUlaoder.py" > #bootentry = "hda2:/vmlinuz-xen,/initrd-xen" > #bootentry = "/boot/vmlinuz-xen,/boot/initrd-xen" > > # The domain build function. Default is ''linux''. > #builder=''linux'' > > memory = 32 > > # A name for your domain. All domains must have different names. > name = "OpenSuse" > > # 128-bit UUID for the domain. The default behavior is to generate a > new UUID > # on each call to ''xm create''. > #uuid = "06ed00fe-1162-4fc4-b5d8-11993ee4a8b9" > > # List of which CPUS this > domain is allowed to use, default Xen picks > #cpus = "" # leave to Xen to pick > #cpus = "0" # all vcpus run on CPU0 > #cpus = "0-3,5,^1" # run on cpus 0,2,3,5 > > # Number of Virtual CPUS to use, default is 1 > #vcpus = 1 > > #---------------------------------------------------------------------------- > # Define network interfaces. > > # By default, no network interfaces are configured. You may have one > created > # with sensible defaults using an empty vif clause: > # > # vif = [ '''' ] > # > # or optionally override backend, bridge, ip, mac, script, type, or vifname: > # > # vif = [ ''mac=00:16:3e:00:00:11, bridge=xenbr0'' ] > # > # or more than one interface may be configured: > # > # vif = [ '''', ''bridge=xenbr1'' ] > > vif = [ '''' ] > > disk = [ ''file:/home/vale/hda.img,ioemu:hda1,w'' ] > cdrom = ''/dev/hdd'' > boot = ''d'' > > > #vtpm = [ > ''instance=1,backend=0'' ] > > > # Set if you want dhcp to allocate the IP address. > #dhcp="dhcp" > # Set netmask. > #netmask> # Set default gateway. > #gateway> # Set the hostname. > #hostname= "vm%d" % vmid > > # Set root device. > #root = "/dev/hda1" > root = "/dev/hda1" > # Root device for nfs. > #root = "/dev/nfs" > # The nfs server. > #nfs_server = ''169.254.1.0'' > # Root directory on the nfs server. > #nfs_root = ''/full/path/to/root/directory'' > > # Extra arguments to pass to the kernel. > extra = "" > > #---------------------------------------------------------------------------- > # Configure the behaviour when a domain exits. There are three ''reasons'' > # for a domain to stop: poweroff, reboot, and crash. For each of these you > # may specify: > # > # "destroy", meaning that the domain is cleaned up as normal; > # "restart", meaning that a new domain is started in place of > the old > # > one; > # "preserve", meaning that no clean-up is done until the domain is > # manually destroyed (using xm destroy, for example); or > # "rename-restart", meaning that the old domain is not cleaned up, but is > # renamed and a new domain started in its place. > # > # The default is > # > # on_poweroff = ''destroy'' > # on_reboot = ''restart'' > # on_crash = ''restart'' > # > # For backwards compatibility we also support the deprecated option restart > # > # restart = ''onreboot'' means on_poweroff = ''destroy'' > # on_reboot = ''restart'' > # on_crash = ''destroy'' > # > # restart = ''always'' means on_poweroff = ''restart'' > # on_reboot = ''restart'' > # on_crash = ''restart'' > # > # restart = ''never'' means on_poweroff = ''destroy'' > # on_reboot > ''destroy'' > # on_crash = ''destroy'' > > #on_poweroff = ''destroy'' > #on_reboot = ''restart'' > #on_crash = ''restart'' > > #===========================================================================> > > > ------------------------------------------------------------------------ > ------------------------------------------------------------------------ > L''email della prossima generazione? Puoi averla con la nuova Yahoo! > Mail > <http://us.rd.yahoo.com/mail/it/taglines/hotmail/nowyoucan/nextgen/*http://it.docs.yahoo.com/nowyoucan.html> > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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
Sorry, I have had some problem with e-mail address (I am helicoterus). However, the problem still remains. Thank Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
This is config file for the domain (I cleaned some comments): # -*- mode: python; -*- # Kernel image file and (optional) ramdisk (initrd). kernel = "/boot/vmlinuz-xen" ramdisk = "/boot/initrd-xen" # Or use domUloader instead of kernel/ramdisk to get kernel from domU FS #bootloader = "/usr/lib/xen/boot/domUlaoder.py" #bootentry = "hda2:/vmlinuz-xen,/initrd-xen" #bootentry = "/boot/vmlinuz-xen,/boot/initrd-xen" # The domain build function. Default is ''linux''. #builder=''linux'' memory = 32 # A name for your domain. All domains must have different names. name = "OpenSuse" # 128-bit UUID for the domain. The default behavior is to generate a new UUID # on each call to ''xm create''. #uuid = "06ed00fe-1162-4fc4-b5d8-11993ee4a8b9" # List of which CPUS this domain is allowed to use, default Xen picks #cpus = "" # leave to Xen to pick #cpus = "0" # all vcpus run on CPU0 #cpus = "0-3,5,^1" # run on cpus 0,2,3,5 # Number of Virtual CPUS to use, default is 1 #vcpus = 1 #---------------------------------------------------------------------------- # Define network interfaces. # By default, no network interfaces are configured. You may have one created # with sensible defaults using an empty vif clause: # # vif = [ '''' ] # # or optionally override backend, bridge, ip, mac, script, type, or vifname: # # vif = [ ''mac=00:16:3e:00:00:11, bridge=xenbr0'' ] # # or more than one interface may be configured: # # vif = [ '''', ''bridge=xenbr1'' ] vif = [ '''' ] disk = [ ''file:/home/vale/hda.img,ioemu:hda1,w'' ] cdrom = ''/dev/hdd'' boot = ''d'' #vtpm = [ ''instance=1,backend=0'' ] # Set if you want dhcp to allocate the IP address. #dhcp="dhcp" # Set netmask. #netmask# Set default gateway. #gateway# Set the hostname. #hostname= "vm%d" % vmid # Set root device. #root = "/dev/hda1" root = "/dev/hda1" # Root device for nfs. #root = "/dev/nfs" # The nfs server. #nfs_server = ''169.254.1.0'' # Root directory on the nfs server. #nfs_root = ''/full/path/to/root/directory'' # Extra arguments to pass to the kernel. extra = "" #---------------------------------------------------------------------------- # Configure the behaviour when a domain exits. There are three ''reasons'' # for a domain to stop: poweroff, reboot, and crash. For each of these you # may specify: # # "destroy", meaning that the domain is cleaned up as normal; # "restart", meaning that a new domain is started in place of the old # one; # "preserve", meaning that no clean-up is done until the domain is # manually destroyed (using xm destroy, for example); or # "rename-restart", meaning that the old domain is not cleaned up, but is # renamed and a new domain started in its place. # # The default is # # on_poweroff = ''destroy'' # on_reboot = ''restart'' # on_crash = ''restart'' # # For backwards compatibility we also support the deprecated option restart # # restart = ''onreboot'' means on_poweroff = ''destroy'' # on_reboot = ''restart'' # on_crash = ''destroy'' # # restart = ''always'' means on_poweroff = ''restart'' # on_reboot = ''restart'' # on_crash = ''restart'' # # restart = ''never'' means on_poweroff = ''destroy'' # on_reboot = ''destroy'' # on_crash = ''destroy'' #on_poweroff = ''destroy'' #on_reboot = ''restart'' #on_crash = ''restart'' #===========================================================================Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Elena B. ha scritto:> Sei italiana? Ti rispondo in italiano: > perchè non usi il Virtual Machine Manager da Yast? >Sì, parlo italiano. Grazie per il suggerimento proverò così, comunque mi piacerebbe sapere dov''è il problema. Yes, I speak italian. Thank for your suggestion. I will try. However I would like resolve the problem about creating domain using command line. Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users