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] Can't start Ubuntu 8.04 domU, getting kernel panic.

To: Rudi Ahlers <rudiahlers@xxxxxxxxx>
Subject: Re: [Xen-users] Can't start Ubuntu 8.04 domU, getting kernel panic.
From: Tim Post <echo@xxxxxxxxxxxx>
Date: Tue, 26 Aug 2008 13:33:12 +0800
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 25 Aug 2008 22:34:09 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <695200da0808251612v163b2e9bx9380cf8369c266a1@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>
Organization: echoreply.us
References: <695200da0808251612v163b2e9bx9380cf8369c266a1@xxxxxxxxxxxxxx>
Reply-to: echo@xxxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Rudi,

On Tue, 2008-08-26 at 01:12 +0200, Rudi Ahlers wrote:
> Hi all, 
> 
> I'm trying to get Ubuntu 8.04 working, on my CentOS 5.2 machine, but
> keep getting a kernel error when I start the VM. 
> 
> I've downloaded the Ubuntu 8.04 image from http://www.jailtime.net,
> then extracted it, mounted and tarred it, to create a HyperVM image.
> HyperVM then went ahead and created the VM for me, but it doesn't
> bootup. 

I've heard a lot of people describe problems with using HyperVM, does
the Jailtime image 'just work' if you boot it unmodified?

I contributed the older Ubuntu (edgy) image to Jailtime, but not Hardy.

However looking at the change log for that image, some things might have
been missed:

> EXT3-fs: mounted filesystem with ordered data mode.
> Setting up other filesystems.
> Setting up new root fs
> setuproot: moving /dev failed: No such file or directory

Did you use an initrd when booting the dom-u? If I'm not mistaken, ext3
is modular in that kernel .. which means that its not going to find the
root file system until the module is loaded. You should be able to use
dom-0's initrd. I think hyperVM wants to just use a single initrd for
everything anyway.

> ERROR opening /dev/console: No such file or directory
> Trying to use fd 0 instead.
> WARNING: can't access (null)
> exec of init ((null)) failed!!!: Bad address
> Kernel panic - not syncing: Attempted to kill init!

I have not downloaded the image, but I see no mention that xvc0 was
spawned or added as a privileged console in /etc/securetty (although I
seem to remember Hardy listing it as default).

It might also be lacking an entry in event.d/ , in which case just
copy /etc/event.d/tty1 to /etc/event.d/xvc0 , edit it and change all
instances of tty1 to xvc0.

> Does anyone know how to get it working?

I think once you verify that ext3 is being loaded and ensure the console
is actually spawned and listed as a secure tty (permitting root to login
via that tty), you should be in good shape.

Cheers,
--Tim


-- 
Monkey + Typewriter = Echoreply ( http://echoreply.us )


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

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