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

Re: [Xen-users] DomU kernel panic due to run-init: /sbin/init: No such f

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] DomU kernel panic due to run-init: /sbin/init: No such file or directory
From: Steve Allison <xen-users@xxxxxxxxxxxxxxxxxx>
Date: Mon, 19 Sep 2011 08:05:36 +0100
Delivery-date: Mon, 19 Sep 2011 00:06:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CAPQGAnESzhHjC+UutPk3Qoftx5v==11X1E-p+xjLprGXokj9tg@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: <CAPQGAnESzhHjC+UutPk3Qoftx5v==11X1E-p+xjLprGXokj9tg@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2
On 19/09/2011 02:54, jinho hwang wrote:

Hi All,

I'm using xen 4.0.1, kernel 2.6.32.46, and pygrub to boot. It seems that everything is ok until the last part that run-init is executing. The log says that run-init: /sbin/init: No such file or directory... and then kernel panic - not syncing: Attempted to kill init! I'm trying to figure out how to solve this problem. I mounted my image and checked the /sbin directory, init was there, but when I boot up with xm create, /sbin directory shows no init. Weirdly, the directory contains small number of files including modprobe.

Please, give me any comment if you have.

Thank you,

Jinho

Here is my log.

[...]

Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.

Notice how after attempting to mount root it doesn't say "done" and the next line isn't wrapped? I think here is your problem. The initrd is responsible for mounting root and needs updating.

--
May the ping be with you ..


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

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