WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Problems with pyGRUB

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Problems with pyGRUB
From: mathias-ewald <nitehoaxxer@xxxxxxx>
Date: Mon, 25 May 2009 09:35:50 -0700 (PDT)
Delivery-date: Tue, 26 May 2009 07:26:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

I am running Xen 3.3.1 built from Source with Debian Lenny as the dom0.
Everything works fine so far except pyGRUB. So, what I did was install
CentOS (latest version ... 5.3 or something) using qemu to a LVM logical
volume and from within CentOS I installed the Xen Kernel. Now pyGRUB shows
me 3 grub entries:

1) CentOS (2.6.18-128.1.10.el5xen)    <= xen hypervisor
2) CentOS (2.6.18-128.el5)    <= normal kernel
3) CentOS (2.6.18-128) XEN domU    <= domU kernel

Booting entry 1 shows 
--------------------------------------------------------------------------------------------------
(2, 'Invalid kernel', "elf_xen_note_check: ERROR: Not a Xen-ELF image: No
ELF notes or '__xen_guest' section found.\n")
--------------------------------------------------------------------------------------------------

Booting entry 2 shows 
--------------------------------------------------------------------------------------------------
Error: (2, 'Invalid kernel', 'xc_dom_parse_elf_kernel: ELF image has no
shstrtab\n')
--------------------------------------------------------------------------------------------------

And entry 3 shows 
--------------------------------------------------------------------------------------------------
rtc: IRQ 8 is not free.i8042.c: No controller found. Kernel panic - not
syncing: Attempted to kill init!
--------------------------------------------------------------------------------------------------

This is my cfg file:
--------------------------------------------------------------------------------------------------
xenhost:/etc/xen# cat /etc/xen/CentOS-pyGrub.cfg | grep -v "#" | egrep -v
"^\s*$"
builder='linux'
bootloader='/usr/bin/pygrub'
memory = 256
name = "CentOS-pygrub"
vif = [ 'bridge=eth1' ]
disk = [
        'phy:Storage1/CentOS-disk,sda,w'
]
vfb = [ 'type=vnc,vnclisten=0.0.0.0,vncunused=1' ]
root = "/dev/sda2 ro"
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'
xenhost:/etc/xen#
--------------------------------------------------------------------------------------------------

Any help is appreciated!

cu
mathias
-- 
View this message in context: 
http://www.nabble.com/Problems-with-pyGRUB-tp23709733p23709733.html
Sent from the Xen - User mailing list archive at Nabble.com.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>