Displaying 16 results from an estimated 16 matches for "chosencfg".
2012 Jul 19
2
[PATCH] pygrub: add syslog support to pygrub
...s the pygrub PID, so we can distinguish each process.
Also in this patch:
1). Fix indentation for some lines.
2). Removed some trailing spaces.
3). Mark ''isconfig'' a duplicate option of ''debug'' and remove the currently broken code:
if isconfig:
chosencfg = run_grub(file, entry, fs, incfg["args"])
''fs'' is not defined yet here, so it will raise an exception.
Signed-off-by: Zhigang Wang <zhigang.x.wang@oracle.com>
diff -r 43e21ce7f221 -r ec9655b30a5f tools/pygrub/src/pygrub
--- a/tools/pygrub/src/pygrub Tue Jul...
2007 Jan 05
10
[PATCH 1/7] Fix pygrub path on Solaris
Fix for pygrub path on Solaris.
Signed-off-by: John Levon <john.levon@sun.com>
diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py
+++ b/tools/python/xen/xend/XendDomainInfo.py
@@ -37,7 +37,7 @@ from xen.util.blkif import blkdev_uname_
from xen.util.blkif import blkdev_uname_to_file
from xen.util
2011 Dec 07
8
DomU pygrub issue - OSS Xen to XCP
...suggestion from you please ?
*Details*
*Source XenHost*
OS: CentOS 5.7 64Bit
XEN: xen-3.0.3-132.el5
*Target XenHost*
OS: XCP 1.1
XEN: xen-hypervisor-3.4.2-1.1.0.704.20055
*Error Msg*
Traceback (most recent call last):
File "/usr/bin/pygrub", line 693, in ?
data = fs.open_file(chosencfg["kernel"]).read()
IOError: [Errno 2] No such file or directory
Thanks
-Johnny
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
2010 Aug 15
2
trouble launching vm''s
...c=00:16:36:3a:88:ae,bridge=xenbr0,script=vif-bridge" ]
So far so good!
But when I try to launch vm05 this is what I get:
[root@lcent5-1:/etc/xen]$:xm create vm05
Using config file "./vm05".
Traceback (most recent call last):
File "/usr/bin/pygrub", line 682, in ?
chosencfg = run_grub(file, entry, fs)
File "/usr/bin/pygrub", line 536, in run_grub
g = Grub(file, fs)
File "/usr/bin/pygrub", line 203, in __init__
self.read_config(file, fs)
File "/usr/bin/pygrub", line 397, in read_config
raise RuntimeError, "couldn'...
2010 Aug 15
2
trouble launching vm''s
...c=00:16:36:3a:88:ae,bridge=xenbr0,script=vif-bridge" ]
So far so good!
But when I try to launch vm05 this is what I get:
[root@lcent5-1:/etc/xen]$:xm create vm05
Using config file "./vm05".
Traceback (most recent call last):
File "/usr/bin/pygrub", line 682, in ?
chosencfg = run_grub(file, entry, fs)
File "/usr/bin/pygrub", line 536, in run_grub
g = Grub(file, fs)
File "/usr/bin/pygrub", line 203, in __init__
self.read_config(file, fs)
File "/usr/bin/pygrub", line 397, in read_config
raise RuntimeError, "couldn'...
2010 Nov 13
0
Bug#603391: pygrub: unintelligible error messages
...k
/var/run/xend/boot/boot_ramdisk '/usr/lib/xen-4.0/bin/pygrub'
'--kernel=/boot/vmlinuz' '--ramdisk=/boot/initrd.img' '/dev/sda3'
Traceback (most recent call last):
File "/usr/lib/xen-4.0/bin/pygrub", line 671, in <module>
data = fs.open_file(chosencfg["kernel"]).read()
IOError: [Errno 2] No such file or directory
# '/usr/lib/xen-4.0/bin/pygrub' '/dev/sda3'
Using <class 'grub.GrubConf.GrubConfigFile'> to parse /boot/grub/menu.lst
Traceback (most recent call last):
File "/usr/lib/xen-4.0/bin...
2011 Jul 14
1
PyGrub And Grub2 Submenus
...ting to start the domU after
this with xm create gives "Error: Boot loader didn''t return any data!". I
ran pygrub against the domU manually, I got the following:
Traceback (most recent call last):
File "/usr/lib/xen-default/bin/pygrub", line 669, in <module>
chosencfg = run_grub(file, entry, fs, incfg["args"])
File "/usr/lib/xen-default/bin/pygrub", line 549, in run_grub
g = Grub(file, fs)
File "/usr/lib/xen-default/bin/pygrub", line 205, in __init__
self.read_config(file, fs)
File "/usr/lib/xen-default/bin/pygrub...
2009 May 11
9
vmx_update_guest_cr() losing EXCEPTION_BITMAP setting
Running a heavily modified xen-unstable changset 19590:f80cf52a4fb6 with debugger_attached set, I was seeing the debug traps getting lost from the EXCEPTION_BITMAP in vmx_update_guest_cr() when transitioning from real to protected mode. In my codebase, I could fix this trivially by clearing the debug_state_latch and letting vmx_do_resume() reapply the setting. However, while it looks like a valid
2009 Jan 08
1
PV Clone
...clone existing machines, then create them as PV guests. It has worked
a
couple of times for me, but I''ve run into a problem I don''t understand. When
I run "xm create name", I get an error that includes these lines --
File "/usr/bin/pygrub", line 656, in ?
chosencfg = run_grub(file, entry, fs)...
RuntimeError: couldn''t find bootloader config file in the image provided.
If I understand correctly, this is trying to find a boot file for a fully
virtualized machine. The image has no /boot directory. The config file looks
like this:
kernel="/boot/vm...
2008 Aug 03
1
Bug#493592: pygrub fails on lenny's ext3
...-3~bpo4+2
Severity: normal
Hi,
pygrub has problems parsing block devices partitioned with Lenny Beta 2
and ext3 on paravirt guests:
# /usr/lib/xen-3.2-1/bin/pygrub /var/lib/xen/images/test2.img
Traceback (most recent call last):
File "/usr/lib/xen-3.2-1/bin/pygrub", line 653, in ?
chosencfg = run_grub(file, entry, fs)
File "/usr/lib/xen-3.2-1/bin/pygrub", line 510, in run_grub
g = Grub(file, fs)
File "/usr/lib/xen-3.2-1/bin/pygrub", line 203, in __init__
self.read_config(file, fs)
File "/usr/lib/xen-3.2-1/bin/pygrub", line 393, in read_confi...
2010 Jun 28
3
"couldn''t find bootloader config file in the image provided."
...olume for its install, and stepped through the install, installed GRUB to the MBR, and all seemed well.
However, upon
xm create -c NAME install=true install-mirror=http://mirrors.us.kernel.org/ubuntu/
I get:
Traceback (most recent call last):
File "/usr/bin/pygrub", line 682, in ?
chosencfg = run_grub(file, entry, fs)
File "/usr/bin/pygrub", line 536, in run_grub
g = Grub(file, fs)
File "/usr/bin/pygrub", line 203, in __init__
self.read_config(file, fs)
File "/usr/bin/pygrub", line 397, in read_config
raise RuntimeError, "couldn'...
2010 Oct 06
1
Bug#599243: xen-utils-4.0: pygrub does not understand grub2 partition types (e.g. (hd0, msdos1) instead of (hd0, 1))
...ceback was:
Using <class 'grub.GrubConf.Grub2ConfigFile'> to parse /grub/grub.cfg
WARNING:root:Unknown directive load_video
WARNING:root:Unknown directive terminal_output
Traceback (most recent call last):
File "/usr/lib/xen-4.0/bin/pygrub", line 669, in <module>
chosencfg = run_grub(file, entry, fs, incfg["args"])
File "/usr/lib/xen-4.0/bin/pygrub", line 549, in run_grub
g = Grub(file, fs)
File "/usr/lib/xen-4.0/bin/pygrub", line 205, in __init__
self.read_config(file, fs)
File "/usr/lib/xen-4.0/bin/pygrub", line...
2011 Oct 01
2
Bug#643953: xen-utils-4.0: pygrub can not parse empty "root" statement in menu.lst
...added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
pygrub's parser seems to expect that "root" will be followed by a disk
specification. I get this traceback:
File "./pygrub", line 669, in <module>
chosencfg = run_grub(file, entry, fs, incfg["args"])
File "./pygrub", line 549, in run_grub
g = Grub(file, fs)
File "./pygrub", line 205, in __init__
self.read_config(file, fs)
File "./pygrub", line 413, in read_config
self.cf.parse(buf)
File "...
2012 Mar 07
2
PV DomU stopped responding, won't boot, stuck in paused state
Yesterday, I had a PV OpenSolaris DomU stop responding. I looked on my xen machine and it was in a paused state. I ended up destroying it and then doing xm create to bring it back up.
It won''t boot, and I think PyGrub is hanging. Not sure how to resolve this, there aren''t any errors being presented in xen/xm itself. If I try ''xm create config.conf'' it just
2010 Aug 04
7
Xen 4.0.1-rc5 w/ 2.6.32.16 dom0, DomU''s start paused
I run my production DomU''s using Xen 3.4.1 at the moment with the old
2.6.18.x dom0 kernel. I just built a new Xen version (4.0.1-rc5) with
jemerys git repo of 2.6.32.16 dom0 pvops kernel. When starting domains
the go instantly into a paused state and eventually i see this error on
the command line.
[root@host test1]# xm create -c vps.config
Using config file
2012 May 18
0
4. Re: domU backup strategy (Simon Hobson)
...format=simple0
> --output-directory=/var/run/libxl/ /var/xen/vs92.img
>
> But that is completely wrong from the pygrub side! It bail out with:
>
> Traceback (most recent call last):
> File "/usr/bin/pygrub", line 783, in <module>
> data = fs.open_file(chosencfg["kernel"]).read()
> IOError: [Errno 2] No such file or directory
>
> Because there is no /var/run/libxl/boot_kernel.KyI4aX in inside of
> domU disk image.
Right, this is definitely a bug. Thanks for reporting.
The problem is that the libxl bootloader infrastructure is upda...