https://bugzilla.novell.com/show_bug.cgi?id=782341
https://bugzilla.novell.com/show_bug.cgi?id=782341#c8
A R changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
InfoProvider| |cyliu@suse.com
--- Comment #8 from A R 2012-10-03 05:38:05 UTC ---
After an upgrade to
rpm -qa | grep -i ^xen
xen-tools-4.2.0_02-205.1.x86_64
xen-devel-4.2.0_02-205.1.x86_64
xen-libs-4.2.0_02-205.1.x86_64
xen-4.2.0_02-205.1.x86_64
I've managed to 'xl create' to work with an HVM (cref:
https://bugzilla.novell.com/show_bug.cgi?id=782835#c4), where config is:
cat /home/ar/test_init.cfg
name = 'test'
builder = 'hvm'
acpi = 1
apic = 1
boot = 'dc'
disk = [
'phy:/dev/VG0/boot,hda,w','phy:/dev/VG0/swap,hdb,w','phy:/dev/VG0/root,hdc,w','phy:/dev/cdrom,hdd:cdrom,r',
]
vif = [ 'mac=00:16:3E:55:00:01, model=rtl8139, type=ioemu, bridge=br0,
vifname=vif0',]
vnc = 1
vncunused = 1
vncconsole = 1
vnclisten = "0.0.0.0"
sdl = 0
stdvga = 1
serial = 'pty'
maxmem = 1024
localtime = 0
netif = 'yes'
keymap = 'en-us'
on_shutdown = 'destroy'
on_reboot = 'destroy'
on_crash = 'destroy'
In that HVM, I installed a clean/new OS12 instance, rebooted, and finished
initial configuration.
I can now boot to that HVM repeatedly, with no issues. That, I believe answers
your earliere question: "The boot image is still fine?" as 'yes'.
Next, I attempt to convert the Guest config to PV usage,
cat /home/ar/test_run.cfg
name = 'test'
builder = 'linux'
bootloader = 'pygrub'
disk = [ 'phy:/dev/VG0/boot,xvda,w', 'phy:/dev/VG0/swap,xvdb,w',
'phy:/dev/VG0/root,xvdc,w',]
root = '/dev/xvdc1'
vif = [ 'mac=00:16:3E:11:00:01, bridge=br0, vifname=vif0', ]
vfb = [ 'type=vnc, vncdisplay=1, vnclisten=127.0.0.1' ]
extra = 'textmode=1 xencons=xvc0 noirqdebug elevator=noop'
maxmem = 1024
localtime = 0
on_shutdown = 'destroy'
on_reboot = 'restart'
on_crash = 'destroy'
but launch attempt,
xl create /home/ar/test_run.cfg
fails, and I get,
Parsing config from /home/ar/test_run.cfg
Using to parse /boot/grub2/grub.cfg
WARNING:root:Unknown directive menuentry_id_option
WARNING:root:Unknown directive else
WARNING:root:Unknown directive
menuentry_id_option
WARNING:root:Unknown directive export
WARNING:root:Unknown directive font
WARNING:root:Unknown
directive else
WARNING:root:Unknown directive else
WARNING:root:Unknown directive font
WARNING:root:Unknown directive
load_video
WARNING:root:Unknown directive terminal_output
pyGRUB version 0.6
┌────────────────────────────────────────────────────────────────────────┐
│ openSUSE' --class opensuse --class gnu-linux --class gnu --class os $men
ueopenSUSE, with Linux 3.4.6-2.10-desktop' --class opensuse --class gnu-li
nuopenSUSE, with Linux 3.4.6-2.10-desktop (recovery mode)' --class opensus
e --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-
3.4.6-2.10-desktop-recovery-c5c5eb8b-e267-4c26-a716-83a026f68341 │
│ │
│ │
│ │
└────────────────────────────────────────────────────────────────────────┘
Use the ^ and ┴ keys to select which entry is highlighted.
Press enter to boot the selected OS, 'e' to edit the
commands before booting, 'a' to modify the kernel arguments
before booting, or 'c' for a command line.
Will boot selected entry in 1 seconds
Traceback (most recent call last):
File "/usr/bin/pygrub", line 860, in
<module>
raise RuntimeError, "Unable to find partition containing kernel"
RuntimeError: Unable to find partition
containing kernel
libxl: error: libxl_bootloader.c:628:bootloader_finished:
bootloader failed - consult logfile /var/log/xen/bootloader.12.log
libxl: error:
libxl_exec.c:118:libxl_report_child_exitstatus: bootloader [7758] exited with
error status 1
libxl: error: libxl_create.c:901:domcreate_rebuild_done: cannot
(re-)build domain: -3
cat /var/log/xen/bootloader.12.log
Using to parse /boot/grub2/grub.cfg
WARNING:root:Unknown directive menuentry_id_option
WARNING:root:Unknown directive else
WARNING:root:Unknown directive menuentry_id_option
pyGRUB version 0.6
┌────────────────────────────────────────────────────────────────────────┐
│ openSUSE' --class opensuse --class gnu-linux --class gnu --class os $men
ueopenSUSE, with Linux 3.4.6-2.10-desktop' --class opensuse --class gnu-li
nuopenSUSE, with Linux 3.4.6-2.10-desktop (recovery mode)' --class opensus
e --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-
3.4.6-2.10-desktop-recovery-c5c5eb8b-e267-4c26-a716-83a026f68341 │
│ │
│ │
│ │
└────────────────────────────────────────────────────────────────────────┘
Use the ^ and ┴ keys to select which entry is highlighted.
Press enter to boot the selected OS, 'e' to edit the
commands before booting, 'a' to modify the kernel arguments
before booting, or 'c' for a command line.
Will boot selected entry in 1 seconds
Traceback (most recent call last):
File "/usr/bin/pygrub", line 860, in <module>
raise RuntimeError, "Unable to find partition containing kernel"
RuntimeError: Unable to find partition containing kernel
With this new Guest install, new Xen and xl, *AND* the HV->PV 'conversion', I'm
not at all sure where the problem is.
Suggestions or ideas?
--
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.