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

[Xen-users] Xen 3.2 Debian 2.6.18, Remote Serial console only, grub conf

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Xen 3.2 Debian 2.6.18, Remote Serial console only, grub config needed
From: "Luke Kenneth Casson Leighton" <luke.leighton@xxxxxxxxxxxxxx>
Date: Sat, 2 Feb 2008 08:00:41 -0500
Delivery-date: Wed, 06 Feb 2008 02:44:52 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=/Y4jlNkkjJxmk0/JIsOze3+ytn+kWahhqApo0041oIg=; b=gK+RmOkcdaMgw+QIEIpjb3Rxe5kmMCr8o+54bC0JB2Qe9td1vk4MbzXqMxMl/f871qEuwwCbMT7Zi4Sxhejoj6ltma2g1v7H/i2v1XHaBlVo5tta6EQdQcPY0gZG2dKC1wR8DkHQ6hNaNbVDStVF6CWX8DX5Zy56F3CUz9Ro9Ow=
Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=FanEsEeYQR3zkLzVlz08tW77QgwbxO2uNtnGbBqBBCL9CjMxN7WyYOJBGx4RXkxOznHlHJuQcLk1pqNGGZfGBAFZ25eUeSf4aimE3if+otRA30tRefMIV26W5SDLzIWfBW/wJ75u8fkbpss/VXMsjo33Dg4uE1pPT8KLSsdNYMc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
let's try this with a shorter subject, which was originally this,
which probably tripped the list-admin-approval triggers....

 Xen 3.2 Debian 2.6.18 on Dual Xeon with Remote Serial access -
grub.conf config advice needed

the subject says it all - anyone who knows the answer can stop reading
and hit "send" with a few lines of grub.conf - however, for those
people who are bored, intrigued, or prefer a little less obtuse
requests for help, here's a little bit more waffly version:


i have a debian/testing system which is, rather unusually, on a dual-xeon
system where the _only_ access i have, to this leased server, is via a serial
console.  yes - the BIOS boots over the serial console not the VGA screen.
(for those people who know blackcatnetworks, it's one of their leased servers)

i could really do with some advice on how to configure grub correctly. what i
have so far shows absolutely nothing on the serial console beyond loading
the two modules and going "boot".  then it goes silent, i can't see the startup
log messages, and i have to pray that i got everything right and sit
uncomfortably
for a couple of minutes, pinging the remote ip address.

here's what update-grub managed to generate:

title           Xen 3.2-1-i386 / Debian GNU/Linux, kernel
2.6.18-5-xen-vserver-686
root            (hd0,0)
kernel          /boot/xen-3.2-1-i386.gz
module          /boot/vmlinuz-2.6.18-5-xen-vserver-686 root=/dev/md0
console=ttyS0,9600 ro console=tty0
module          /boot/initrd.img-2.6.18-5-xen-vserver-686
savedefault
boot

yes, i know - the two console= lines are because (if you know debian you'll
appreciate this) the #kopt= line is this:

# kopt=root=/dev/md0 console=ttyS0,9600 ro

sooo, update-grub goes "oh look, xen! let's append console=tty0 on the
end of the kernel options"!

duh.

anyway, _after_ manually editing the grub config every time at startup,
to remove one of the extra console= lines, i get a chance to bite my
fingernails until ping happily shows up - over the public internet.

i am not a happy bunny: i seriously need console access and can't make
head nor tail of the obtuse descriptions of xencons=tty etc. that i'm reading
about on various HOWTOs and FAQs.

some rather direct and simple instructions, from people who clearly know
what they're doing much better than i could achieve by randomly rebooting
a server which is going live in a couple of days _and_ hosts some existing
live web sites, would be greatly appreciated.

l.

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Xen 3.2 Debian 2.6.18, Remote Serial console only, grub config needed, Luke Kenneth Casson Leighton <=