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-devel

Re: [Xen-devel] xen console on laptop screen

To: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Subject: Re: [Xen-devel] xen console on laptop screen
From: Sander Eikelenboom <linux@xxxxxxxxxxxxxx>
Date: Wed, 9 Dec 2009 01:13:39 +0100
Cc: "Xen-Devel \(E-mail\)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 08 Dec 2009 16:14:05 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <9bf28d2d-4353-4557-979f-f63cd31e701a@default>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Eikelenboom IT services
References: <9bf28d2d-4353-4557-979f-f63cd31e701a@default>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi Dan,

Funny, i was trying to get the same working ..doing some grub magic myself.

I now have the following:
- normal console on tty1
- serial console on hvc0

- All log output from hypervisor and kernel on both consoles
- Login on normal tty1 console
- Xen hypervisor console (3x ctrl-a still required) on the serial console


--

Sander



This is the grub magic i use (don't know if it's correct, but it works, so 
therefore it must be ;-) )

title           Xen-3.4.2-amd64 / Debian GNU/Linux, kernel 
2.6.29.6-amd64-xenified-dom0
root            (hd0,0)
kernel          /xen-3.4.2.gz dom0_mem=768M com1=115200,8n1 console=com1,vga
module          /vmlinuz-2.6.29.6 root=/dev/mapper/serveerstertje-root ro 
pci=nomsi console=hvc0 console=tty1 earlyprintk=xen
module          /initrd.img-2.6.29.6



And relevant part inittab:




# /sbin/getty invocations for the runlevels.
#
# The "id" field MUST be the same as the last
# characters of the device (after "tty").
#
# Format:
#  <id>:<runlevels>:<action>:<process>
#
# Note that on most Debian systems tty7 is used by the X Window System,
# so if you want to add more getty's go ahead but skip tty7 if you run X.
#
1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
#4:23:respawn:/sbin/getty 38400 vcsa
#5:23:respawn:/sbin/getty 38400 tty5
#6:23:respawn:/sbin/getty 38400 tty6

h0:12345:respawn:/sbin/getty -L hvc0 115200 vt100









Tuesday, December 8, 2009, 9:49:18 PM, you wrote:

> Sorry for the possibly silly question.  No luck
> with various googling.

> I have a Dell laptop, booting xen-unstable, dom0 kernel
> is the linux-2.6.18-xen.hg from xenbits but running in
> a full RHEL5u3 boot/environment.  (X fails to
> come up properly on the laptop display, but I can
> access a full graphical virtual display via vnc.)

> I'd like to be able to access the Xen console from
> the laptop keyboard/display, e.g. to see Xen console
> output and to type ^A^A^A to get back and forth from
> Xen to dom0, and use debug keys to Xen console.

> Is this possible?

> If so, could you tell me what the magic grub parameters
> are, and any other changes inside the dom0 filesystem
> (e.g. /etc/inittab??)

> If not (I'm told keyboard input may be an issue), I
> can move cables and use the laptop serial port, but
> that's much more of a pain... and I tried it once
> without luck, probably not getting the grub magic
> correct (though I've gotten external console to work
> successfully on a different machine).  Any suggestions
> or help on serial port configuration for a laptop
> would be appreciated then too.

> Thanks,
> Dan





-- 
Best regards,
 Sander                            mailto:linux@xxxxxxxxxxxxxx


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

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