Xen on Squeeze won't start

July 01st, 2010 - 01:10 pm ET by Rippl, Steve | Report spam

Hi,

We've been running Xen on Lenny for some time and it's worked great, but
with a new server and some older Xen kernel issues around acpi we're trying
the newer version on Squeeze.

So, I did a base install of Squeeze alpha 1, then apt-get install
xen-linux-system-2.6.32-5-xen-amd64 xen-tools. After adjusting the Grub 2
boot menu (installing the Xen kernel doesn't put it at the top of the boot
menu, so by default Grub booted into the 'trunk' kernel) the server rebooted
into the Xen kernel (uname -r gives 2.6.32-5-xen-amd64) and yet xend won't
start! Running xm create... I get "Error: Unable to connect to xend: No
such file or directory. Is xend running?". Trying to start via /etc/init.d
I get nothing!

I've seen the close bug report (
http://bugs.debian.org/cgi-bin/bugr...i?bugX0500) where someone seems
to have the same error as me, I also have "Booting paravirtualized kernel on
bare hardware" in kern.log, and Bastian says it's user error, but doesn't
explain how that's user error!?

Any insight is much appreciated!

Thanks,
Steve

Steve Rippl
Technology Director
Woodland Public Schools
360 225 9451 x326


Hi,<div><br></div><div>We&#39;ve been running Xen on Lenny for some time and it&#39;s worked great, but with a new server and some older Xen kernel issues around acpi we&#39;re trying the newer version on Squeeze.</div><div>
<br></div><div>So, I did a base install of Squeeze alpha 1, then apt-get install xen-linux-system-2.6.32-5-xen-amd64 xen-tools.  After adjusting the Grub 2 boot menu (installing the Xen kernel doesn&#39;t put it at the top of the boot menu, so by default Grub booted into the &#39;trunk&#39; kernel) the server rebooted into the Xen kernel (uname -r gives 2.6.32-5-xen-amd64) and yet xend won&#39;t start!  Running xm create... I get &quot;Error: Unable to connect to xend: No such file or directory. Is xend running?&quot;.  Trying to start via /etc/init.d I get nothing!</div>
<div><br></div><div>I&#39;ve seen the close bug report (<a href="http://bugs.debian.org/cgi-bin/bugr...t;>http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=580500</a>) where someone seems to have the same error as me, I also have &quot;Booting paravirtualized kernel on bare hardware&quot; in kern.log, and Bastian says it&#39;s user error, but doesn&#39;t explain how that&#39;s user error!?</div>
<div><br></div><div>Any insight is much appreciated!</div><div><br></div><div>Thanks,</div><div>Steve</div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div><br>-- <br>Steve Rippl<br>Technology Director<br>
Woodland Public Schools<br>360 225 9451 x326<br>
</div>



To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/AANLkTilgPX...GWAxMkvjRL@mail.gmail.com
email Follow the discussionReplies 1 replyReplies Make a reply

Replies

#1 Rippl, Steve
July 02nd, 2010 - 05:00 pm ET | Report spam
Well just in case someone else hits this... once my colleague
suggested I look closer at what grub2 was doing, and after more time
on Google and experimenting I came up with this... the actual xen 3.4
hypervisor isn't being put into the grub2 boot list. It's not good
booting off the one that says ...-xen-... as that appears to be the
paravirtualised kernel, not the hypervisor. So, the following in
/etc/grub.d/40_custom

menuentry "Xen 3.4 / Debian GNU/Linux, with Linux 2.6.32-5-xen-amd64" {
insmod raid
insmod mdraid
insmod ext2
set root='(md0)'
search --no-floppy --fs-uuid --set c924a87f-1ff0-4483-8029-a0e67dcc434f
multiboot (md0)/boot/xen-3.4-amd64.gz dummy=dummy
module (md0)/boot/vmlinuz-2.6.32-5-xen-amd64 dummy=dummy
root=UUID√Č24a87f-1ff0-4483-8029-a0e67dcc434f nomodeset
module (md0)/boot/initrd.img-2.6.32-5-xen-amd64
}

(change md0 for your boot devic and get your uuid out of /etc/fstab), set

GRUB_DEFAULT="Xen 3.4 / Debian GNU/Linux, with Linux 2.6.32-5-xen-amd64"

in /etc/default/grub, run update-grub and reboot. Finally a ps -e |
grep xen shows a bunch of xen processes!

Now to see how it actually performs...




On Thu, Jul 1, 2010 at 10:03 AM, Rippl, Steve
wrote:
Hi,
We've been running Xen on Lenny for some time and it's worked great, but
with a new server and some older Xen kernel issues around acpi we're trying
the newer version on Squeeze.
So, I did a base install of Squeeze alpha 1, then apt-get install
xen-linux-system-2.6.32-5-xen-amd64 xen-tools.  After adjusting the Grub 2
boot menu (installing the Xen kernel doesn't put it at the top of the boot
menu, so by default Grub booted into the 'trunk' kernel) the server rebooted
into the Xen kernel (uname -r gives 2.6.32-5-xen-amd64) and yet xend won't
start!  Running xm create... I get "Error: Unable to connect to xend: No
such file or directory. Is xend running?".  Trying to start via /etc/init.d
I get nothing!
I've seen the close bug report
(http://bugs.debian.org/cgi-bin/bugr...i?bugX0500) where someone
seems to have the same error as me, I also have "Booting paravirtualized
kernel on bare hardware" in kern.log, and Bastian says it's user error, but
doesn't explain how that's user error!?
Any insight is much appreciated!
Thanks,
Steve
Steve Rippl
Technology Director
Woodland Public Schools
360 225 9451 x326






Steve Rippl
Technology Director
Woodland Public Schools
360 225 9451 x326


To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Archive: http://lists.debian.org/

Similar topics