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

Re: [Xen-users] New to xen

On Tue, Apr 06, 2010 at 04:05:22PM +0700, Fajar A. Nugraha wrote:
> 
> If you mean the console you connect to using "xm console", hvm console
> can support it just fine. It's treated as a serial port if you have
> this entry on domU config file :
> 
> serial='pty'
> 
> > I've seen documentation that says you have to add console
> > output to your kernel boot arguments... but what sort of serial
> > console is that? Is it a real serial console or a virtualised one???
> 
> I assume you're talking about HVM domUs? The setup process on domU
> side is similar as setting up real machines to use serial port as
> output. This is what I used on HVM opensuse domU's grub.conf:
> 
> #================================================
> serial --unit=0 --speed=9600
> terminal --timeout=5 serial console
> 
> title openSUSE 11.1 - 2.6.27.29-0.1
>     root (hd0,1)
>     kernel /boot/vmlinuz-2.6.27.29-0.1-default root=LABEL=ROOT
> resume=LABEL=SWAP splash=silent showopts console=tty1 console=ttyS0
>     initrd /boot/initrd-2.6.27.29-0.1-default
> #================================================
> 
> I'm not sure whether the "console=tty1" part is correct, but at least
> the serial console works fine, and I can access it from dom0 using "xm
> console". And don't forget to edit /etc/inittab (or equivalent) to
> spawn login screen on ttyS0 or console.
> 

I just added an entry about this to:
http://wiki.xensource.com/xenwiki/XenCommonProblems

-- Pasi


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

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