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

xen-users

[Top] [All Lists]

Re: [Xen-users] XEN 4.0.1 + pv_ops kernel DomU issues

To: David Gonzalez Herrera <dgonzalezh@xxxxxxxxx>
Subject: Re: [Xen-users] XEN 4.0.1 + pv_ops kernel DomU issues
From: Richie <listmail@xxxxxxxxxxxx>
Date: 2010年10月25日 21:52:40 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2010年10月25日 18:53:36 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTik_HXzPeAtS30V=Fo_UPTGdow8gx4DHDHjZERaw@xxxxxxxxxxxxxx>
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>
References: <AANLkTinAXChOVZy7w8zuug5=p2U1rXReGri-B5nEcZT8@xxxxxxxxxxxxxx> <AANLkTi=jf2eDdQfT3sKtEUDcTYLTbgzZE5jfaWiOO=L4@xxxxxxxxxxxxxx> <4CC61711.4060501@xxxxxxxxxxxx> <AANLkTin8etSVhGaLBJo2dWqSeW770kphs5VLTG0BS_0X@xxxxxxxxxxxxxx> <4CC61FDE.60802@xxxxxxxxxxxx> <AANLkTik_HXzPeAtS30V=Fo_UPTGdow8gx4DHDHjZERaw@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.12) Gecko/20100915 Thunderbird/3.0.8
On 10/25/2010 09:11 PM, David Gonzalez Herrera wrote:
Richie,
Well here is the command I use to build my initrd
mkinitrd -v -f --with=xen-netfront --with=xen-blkfront --preload=xen-blkfront --preload=xen-netfront /boot/initrd-2.6.32.24domU.img 2.6.32.24xen
And the command you suggested:
[root@vm linux-2.6-xen]# zcat /boot/initrd-2.6.32.24domU.img | cpio -it | grep xen
15665 blocks
lib/xen-netfront.ko
lib/xen-blkfront.ko
And the error still is coming up:
Trying to resume from /dev/vg0/swap
Unable to access resume device (/dev/vg0/swap)
Creating root device.
Mounting root filesystem.
mount: could not find filesystem '/dev/root'
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!
Pid: 1, comm: init Not tainted 2.6.32.24xen #2
Call Trace:
 [<ffffffff81048a6a>] ? panic+0x86/0x13c
 [<ffffffff8100f5bf>] ? xen_restore_fl_direct_end+0x0/0x1
 [<ffffffff8100f5bf>] ? xen_restore_fl_direct_end+0x0/0x1
 [<ffffffff8100f5bf>] ? xen_restore_fl_direct_end+0x0/0x1
 [<ffffffff8100ef51>] ? xen_force_evtchn_callback+0x9/0xa
 [<ffffffff8100f5d2>] ? check_events+0x12/0x20
 [<ffffffff8100f5bf>] ? xen_restore_fl_direct_end+0x0/0x1
 [<ffffffff8100f5bf>] ? xen_restore_fl_direct_end+0x0/0x1
 [<ffffffff81309145>] ? _write_lock_irq+0x7/0x16
 [<ffffffff810518ec>] ? exit_ptrace+0x96/0x101
 [<ffffffff8104a7cf>] ? find_new_reaper+0x74/0x7d
 [<ffffffff8104b79e>] ? forget_original_parent+0x2d/0x112
 [<ffffffff8104b893>] ? exit_notify+0x10/0x126
 [<ffffffff8104bbf6>] ? do_exit+0x24d/0x2b1
 [<ffffffff8104bccd>] ? do_group_exit+0x73/0x9d
 [<ffffffff8104bd09>] ? sys_exit_group+0x12/0x16
 [<ffffffff8130971a>] ? error_exit+0x2a/0x60
 [<ffffffff81012a82>] ? system_call_fastpath+0x16/0x1b
I'm sorry if this bothers anyone but I'm no developer and those cryptic kernel messages really leave me lost.
Thanks.
I see you have the following from early post of domU config:
kernel = "/boot/vmlinuz-2.6.32.24xen"
ramdisk = "/boot/initrd-2.6.18domU.img"
It's odd to see 2.6.18 initrd w/2.6.32.24 kernel. I assume you have since changed this to /boot/initrd-2.6.32.24domU.img? At some point in time did you install this 2.6.32.24xen kernel within the domU? (or at least copied over the respective /lib/modules into it's filesystem? [haven't done the latter before i think u probably would need System.map as well). Alternatively, does the disk.img filesystem have a kernel/initrd to which you can copy out (mount via loopback in dom0, using kpartx as needed) and try as well?
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-users] Xen 3.4.x Stable? , David Gonzalez Herrera
Next by Date: RE: [Xen-users] Xen 3.4.x Stable? , Alan Lam
Previous by Thread: Re: [Xen-users] XEN 4.0.1 + pv_ops kernel DomU issues , David Gonzalez Herrera
Next by Thread: Re: [Xen-users] XEN 4.0.1 + pv_ops kernel DomU issues , David Gonzalez Herrera
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /