[Bug 749016] New: Creeation of VM probelm/ reboot after OS installation fails
https://bugzilla.novell.com/show_bug.cgi?id=749016 https://bugzilla.novell.com/show_bug.cgi?id=749016#c0 Summary: Creeation of VM probelm/ reboot after OS installation fails Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: openSUSE 12.1 Status: NEW Severity: Major Priority: P5 - None Component: Xen AssignedTo: jdouglas@suse.com ReportedBy: conde.philippe@skynet.be QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=478047) --> (http://bugzilla.novell.com/attachment.cgi?id=478047) VM defintion (/etc/xen/vm/samba.xml) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20120129 Firefox/10.0 SeaMonkey/2.7 Lightning/1.2.1 I have an opensuse 12.1 X86-64 with the last patches installed. I start yast to creqte a VM; I define the machine as paravirtualized using a physical disk with 4 partitions I define the grub installation on the MBR. the create VM recognize the physical disk and I can define the fdisk scheme 3 partitions "/", "/var" and "/home" 1 swap on the fourth partition The installation starts and all OS software is installed. After install the reboot fails with an error "Boot lader didn't return any data!" I tried the creation with the folllowing xen kernels (on the host) 3.1.0-1.2.1 (12.1 base) 3.1.9-1.4.1 (last update for 12.1) 3.2.4-9.1 (from tumbleweed) The VM OS installation is done with the DVD for 12.1 x86-64 The output of "fdisk -l" for the physical disk user for the VM gives Disk /dev/cciss/c0d5: 104.9 GB, 104857436160 bytes 255 heads, 63 sectors/track, 12748 cylinders, total 204799680 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00014229 Device Boot Start End Blocks Id System /dev/cciss/c0d5p1 * 63 204796619 102398278+ f W95 Ext'd (LBA) /dev/cciss/c0d5p5 40178628 204796619 82308996 83 Linux /dev/cciss/c0d5p6 189 17687564 8843688 83 Linux /dev/cciss/c0d5p7 20980953 40178564 9598806 83 Linux /dev/cciss/c0d5p8 17687628 20980889 1646631 82 Linux swap / Solaris Partition table entries are not in disk order" Reproducible: Always Steps to Reproduce: 1.create new VM 2.install OS 3.after install terminates the reboot fails Actual Results: Reboot fails Log in /var/log/xen/xen.log [2012-02-24 21:31:50 1828] DEBUG (XendDomainInfo:3150) XendDomainInfo.destroy: domid=1 [2012-02-24 21:31:50 1828] DEBUG (XendDomainInfo:2470) No device model [2012-02-24 21:31:50 1828] DEBUG (XendDomainInfo:2472) Releasing devices [2012-02-24 21:31:50 1828] ERROR (XendDomainInfo:108) Domain construction failed Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/xen/xend/XendDomainInfo.py", line 106, in create vm.start() File "/usr/lib64/python2.7/site-packages/xen/xend/XendDomainInfo.py", line 475, in start XendTask.log_progress(31, 60, self._initDomain) File "/usr/lib64/python2.7/site-packages/xen/xend/XendTask.py", line 209, in log_progress retval = func(*args, **kwds) File "/usr/lib64/python2.7/site-packages/xen/xend/XendDomainInfo.py", line 2905, in _initDomain self._configureBootloader() File "/usr/lib64/python2.7/site-packages/xen/xend/XendDomainInfo.py", line 3379, in _configureBootloader bootloader_args, kernel, ramdisk, args) File "/usr/lib64/python2.7/site-packages/xen/xend/XendBootloader.py", line 232, in bootloader raise VmError, msg VmError: Boot loader didn't return any data! Expected Results: VM should load en finalize install hardware is a HP proliant ML350 with a 4 cores processor -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=749016
https://bugzilla.novell.com/show_bug.cgi?id=749016#c1
Charles Arnold
https://bugzilla.novell.com/show_bug.cgi?id=749016
https://bugzilla.novell.com/show_bug.cgi?id=749016#c2
--- Comment #2 from Philippe Condé
https://bugzilla.novell.com/show_bug.cgi?id=749016
https://bugzilla.novell.com/show_bug.cgi?id=749016#c3
--- Comment #3 from Philippe Condé
https://bugzilla.novell.com/show_bug.cgi?id=749016
https://bugzilla.novell.com/show_bug.cgi?id=749016#c4
--- Comment #4 from James Fehlig
Disk /dev/cciss/c0d5: 104.9 GB, 104857436160 bytes 255 heads, 63 sectors/track, 12748 cylinders, total 204799680 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00014229
Device Boot Start End Blocks Id System /dev/cciss/c0d5p1 * 63 204796619 102398278+ f W95 Ext'd (LBA) /dev/cciss/c0d5p5 40178628 204796619 82308996 83 Linux /dev/cciss/c0d5p6 189 17687564 8843688 83 Linux /dev/cciss/c0d5p7 20980953 40178564 9598806 83 Linux /dev/cciss/c0d5p8 17687628 20980889 1646631 82 Linux swap / Solaris
What is on /dev/cciss/c0d5p1? It is marked bootable, so the bootloader must be able to find a xen kernel/initrd on that partition. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=749016
https://bugzilla.novell.com/show_bug.cgi?id=749016#c5
--- Comment #5 from Philippe Condé
(In reply to comment #0)
Disk /dev/cciss/c0d5: 104.9 GB, 104857436160 bytes 255 heads, 63 sectors/track, 12748 cylinders, total 204799680 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00014229
Device Boot Start End Blocks Id System /dev/cciss/c0d5p1 * 63 204796619 102398278+ f W95 Ext'd (LBA) /dev/cciss/c0d5p5 40178628 204796619 82308996 83 Linux /dev/cciss/c0d5p6 189 17687564 8843688 83 Linux /dev/cciss/c0d5p7 20980953 40178564 9598806 83 Linux /dev/cciss/c0d5p8 17687628 20980889 1646631 82 Linux swap / Solaris
What is on /dev/cciss/c0d5p1? It is marked bootable, so the bootloader must be able to find a xen kernel/initrd on that partition.
This is a extended partition with 4 logical partitions c0d5p5 --> c0d5p8. This extended partition use all the disk. The disks are on an hardware raid 5 unit (see as 8 physical disks c0d0--> c0d7) I use the partition c0d5p7 as /, c0d5p6 as /var and c0d5p5 as /home In the XEN VM definition the disk used is defined as c0d5. In the grub option I tried the set the boorloader on the MBR, the root partition,or the extended partition but this gives every time the same error Regards Philippe -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=749016
https://bugzilla.novell.com/show_bug.cgi?id=749016#c
Charles Arnold
https://bugzilla.novell.com/show_bug.cgi?id=749016
https://bugzilla.novell.com/show_bug.cgi?id=749016#c6
James Fehlig
https://bugzilla.novell.com/show_bug.cgi?id=749016
https://bugzilla.novell.com/show_bug.cgi?id=749016#c7
--- Comment #7 from Philippe Condé
Why the extended partition c0d5p1? When installing the guest, is it possible to slice c0d5 with 4 primary partitions? E.g. c0d5p1 swap, c0d5p2 as /, c0d5p3 as /var, and c0d5p4 as /home? Or at least have 1 primary partition with /boot?
AFAICT, pygrub won't work with your configuration. It simply looks for valid partitions at offsets 446, 462, 478, 494 in the MBR, and then looks for a kernel/initrd in the valid partitions (looking in the one marked bootable first). It does not execute any boot code in the MBR.
Thanks for your remark, I'll try making all partitions as primary Regards Philippe -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=749016
https://bugzilla.novell.com/show_bug.cgi?id=749016#c8
Philippe Condé
https://bugzilla.novell.com/show_bug.cgi?id=749016
https://bugzilla.novell.com/show_bug.cgi?id=749016#c9
Philippe Condé
participants (1)
-
bugzilla_noreply@novell.com