[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Can't start Ubuntu 8.04 domU, getting kernel panic.



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.