http://bugzilla.novell.com/show_bug.cgi?id=631194 http://bugzilla.novell.com/show_bug.cgi?id=631194#c0 Summary: xen unexpectedly fails with out-of-memory situation Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: x86-64 OS/Version: Linux Status: NEW Severity: Critical Priority: P5 - None Component: Xen AssignedTo: jdouglas@novell.com ReportedBy: jengelh@medozas.de QAContact: qa@suse.de Found By: Beta-Customer Blocker: --- It is possible to force Xen into a situation where it believes it has no more memory. I seem to have hit this today pretty often, and isolated one test case. ---8<--- 22:40 xen35:~ # vm-install Gathering settings... Please specify the type of operating system that will run within the virtual machine. This defines many defaults, and helps decide how to start paravirtualized operating systems. Press 'q' or the Escape key to exit. 1: Novell Open Enterprise Server 2 (Linux) 2: Novell Open Enterprise Server 2 (NetWare) 3: Other operating system 4: PXE 5: RedHat (other) 6: RedHat Enterprise Linux 3 7: RedHat Enterprise Linux 4 8: RedHat Enterprise Linux 5 9: SUSE (other) 10: SUSE Linux Enterprise Desktop 10 11: SUSE Linux Enterprise Desktop 11 12: SUSE Linux Enterprise Server 8 13: SUSE Linux Enterprise Server 9 14: SUSE Linux Enterprise Server 10 15: SUSE Linux Enterprise Server 11 16: Solaris 9 and older 17: Solaris 10 18: Windows (other) 19: Windows (other, x64) 20: Windows NT 21: Windows Server 2008 22: Windows Server 2008 (x64) 23: Windows Vista, Windows 7 24: Windows Vista, Windows 7 (x64) 25: Windows XP, 2000, 2003 26: Windows XP, 2003 (x64) 27: openSUSE 28: openSUSE 11 [28] > Please choose a name for the virtual machine. [opensuse11] > Description > Specify the amount of memory and number of processors to allocate for the VM. Initial Memory [512] > Maximum Memory [512] > Virtual Processors [1] > Please specify the type of virtualized graphics hardware. 1: No Graphics Support 2: Paravirtualized Graphics Adapter [2] > 1 Virtual Disks: (None) Do you want to add another virtual disk? (Y / N) [Y] > y Create a virtual disk based on a device (CD or other block device), an existing image file (ISO), or a new file. Specify a device by its device node, such as /dev/cdrom, not its mount point. What type of virtual disk do you want to add? 1: CD-ROM or DVD 2: Hard Disk [2] > 2 Where will the virtual disk physically reside? [/var/lib/xen/images/opensuse11/xvda] > Size (GB) [8.0] > 1 Create a sparse image file for the virtual disk? (Y / N) [Y] > n Virtual Disks: 1.0 GB Hard Disk (file:/var/lib/xen/images/opensuse11/xvda) Do you want to add another virtual disk? (Y / N) [N] > y Create a virtual disk based on a device (CD or other block device), an existing image file (ISO), or a new file. Specify a device by its device node, such as /dev/cdrom, not its mount point. What type of virtual disk do you want to add? 1: CD-ROM or DVD 2: Hard Disk [2] > 1 Where will the virtual disk physically reside? [/var/lib/xen/images/opensuse11/xvdb] > /mnt/iso/openSUSE-11.3-DVD-x86_64.iso Virtual Disks: 1.0 GB Hard Disk (file:/var/lib/xen/images/opensuse11/xvda) 4.2 GB CD-ROM or DVD (file:/mnt/iso/openSUSE-11.3-DVD-x86_64.iso) Do you want to add another virtual disk? (Y / N) [N] > Network Adapters (None) Do you want to add another virtual network adapter? (Y / N) [Y] > Network Adapters Paravirtualized; Randomly generated MAC address Do you want to add another virtual network adapter? (Y / N) [N] > Specify the bootable virtual disk (often labeled as Disk 1) or the network installation source URL. Each CD, DVD, or ISO image required for installation must be added as a virtual disk. 1: Network URL (ftp://, http://, nfs://, smb://) 2: Virtual Disk (4.2 GB CD-ROM or DVD (file:/mnt/iso/openSUSE-11.3-DVD-x86_64.iso)) [1] > 2 Some operating systems support automating the installation by specifying a URL or file(s). Select a directory to include multiple files. AutoYaST file > Some operating systems accept additional arguments, used to customize the installation or boot process. Additional Arguments > Preparing to start the installation... /dev/sdb: open failed: No medium found Installing... (some kernel messages, eventually yast2) --->8--- Once the kernel starts, hit ^] anytime (directly or when the first yast2 dialog is onscreen). With ^] installation aborts as desired. Rerun vm-install now. Xen fails to launch then: --->8--- Installing... Error: Failed to start the VM. (Error: Not enough memory is available, and dom0 cannot be shrunk any further Usage: xm start <DomainName> Start a Xend managed domain -p, --paused Do not unpause domain after starting it -c, --console_autoconnect Connect to the console after the domain is created --vncviewer Connect to display via VNC after the domain is created --vncviewer-autopass Pass VNC password to viewer via stdin and -autopass ) ---8<--- 22:46 xen35:/var/log/xen # free total used free shared buffers cached Mem: 5562368 421836 5140532 0 13724 121280 -/+ buffers/cache: 286832 5275536 Swap: 522108 0 522108 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.