On Monday 31 March 2008 04:57, Bastian Blank <firstname.lastname@example.org> wrote:
> I think you know how to report bugs. Pardon, this does not even include
> the minimal information to say anything, e.g. the kernel command line as
> specified in the xen config file. From the symptoms I would say you want
> to check that command line, it needs to include console=hvc0.
I think it's reasonable to expect a Lenny kernel to work in the same manner as
an Etch kernel and to consider any failure to do so to be a bug.
kernel = "/boot/vmlinuz-2.6.24-1-xen-686"
ramdisk = "/boot/initrd.img-2.6.24-1-xen-686"
memory = 100
name = "play-test"
vif = [ 'mac=00:16:3e:66:66:69, bridge=xenbr0' ]
disk = [ 'phy:/dev/play0/play-snap,hda,w' ]
root = "/dev/hda ro"
extra = "2 audit=1 selinux=1 enforcing=1"
The above is what I was using. I added the "console=hvc0" bit as you
suggested (why is that needed?) and it displayed some console messages, but
couldn't find /dev/hda. I changed it to /dev/xvda with the following and it
still didn't work:
disk = [ 'phy:/dev/play0/play-snap,xvda,w' ]
root = "/dev/xvda ro"
extra = "2 audit=1 selinux=1 enforcing=1 console=hvc0"
Here is the last section of the console output:
mount: Mounting /dev/xvda on /root failed: No such device
Begin: Running /scripts/local-bottom ...
Begin: Running /scripts/init-bottom ...
mount: Mounting /root/dev on /dev/.static/dev failed: No such file or
mount: Mounting /sys on /root/sys failed: No such file or directory
mount: Mounting /proc on /root/proc failed: No such file or directory
Target filesystem doesn't have /sbin/init.
No init found. Try passing init= bootarg.
BusyBox v1.1.3 (Debian 1:1.1.3-5) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
/bin/sh: can't access tty; job control turned off