All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Pasi Kärkkäinen" <pasik@iki.fi>
To: "Mr. Teo En Ming (Zhang Enming)" <enming.teo@asiasoftsea.net>
Cc: xen-devel@lists.xensource.com
Subject: Re: Xen Paravirt Operations Domain 0 Serial Console Problem
Date: Mon, 24 Aug 2009 20:57:47 +0300	[thread overview]
Message-ID: <20090824175747.GT19938@edu.joroinen.fi> (raw)
In-Reply-To: <4A92CF3E.8010008@asiasoftsea.net>

On Tue, Aug 25, 2009 at 01:34:54AM +0800, Mr. Teo En Ming (Zhang Enming) wrote:
> Dear Pasi,
> 
> Thanks for your help! It works!
> 
> I wonder why this didn't work:
> 
> title Fedora (2.6.31-rc6-enming.teo) Serial Console
>         root (hd0,0)
>         kernel /xen.gz iommu=1 com1=115200,8n1 console=com1
>         module /vmlinuz-2.6.31-rc6-enming.teo ro
> root=/dev/mapper/vg_fedora11_host-lv_root selinux=0 console=ttyS0,115200
>         module /initrd-2.6.31-rc6-enming.teo.img
> 
> And this worked:
> 
> title pv_ops dom0-test (2.6.29-rc7-tip) with serial console
>         root (hd0,0)
>         kernel /xen-3.3.gz dom0_mem=1024M loglvl=all guest_loglvl=all 
>         com1=19200,8n1 console=com1
>         module /vmlinuz-2.6.29-rc7-tip ro root=/dev/vg00/lv01 console=hvc0 
>         earlyprintk=xen
>         module /initrd-2.6.29-rc7-tip.img
> 
> Anyway, I still got a tty1 output! I thought that after using serial 
> console, it is not supposed to output to a monitor anymore?
>

Well you still haven't disabled the VGA display adapter..
And most probably you still have gettys configured aswell.
 
> As a result of this, I still can't hide the VGA card from dom 0 and pass it 
> through to the Windows Dom U.
> 

See: http://wiki.xensource.com/xenwiki/VTdHowTo

Especially the section "Binding at Boot-Time".

-- Pasi

> Any ideas?
> 
> -- 
> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) 
> BEng(Hons)(Mechanical Engineering)
> Technical Support Engineer
> Information Technology Department
> Asiasoft Online Pte Ltd
> Tampines Central 1 #04-01 Tampines Plaza
> Singapore 529541
> Republic of Singapore
> Mobile: +65-9648-9798
> MSN: teoenming@hotmail.com
> Alma Maters: Singapore Polytechnic, National University of Singapore
> 
> 
> 
> On 08/25/2009 12:44 AM, Pasi Kärkkäinen wrote:
> >On Tue, Aug 25, 2009 at 12:17:53AM +0800, Mr. Teo En Ming (Zhang Enming) 
> >wrote:
> >   
> >>Hi All,
> >>
> >>I have tried to configure serial console for Xen hypervisor, dom 0
> >>kernel and Linux login but it does not seem to be working.
> >>
> >>Here is my grub configuration for serial console:
> >>
> >>title Fedora (2.6.31-rc6-enming.teo) Serial Console
> >>         root (hd0,0)
> >>         kernel /xen.gz iommu=1 com1=115200,8n1 console=com1
> >>         module /vmlinuz-2.6.31-rc6-enming.teo ro
> >>root=/dev/mapper/vg_fedora11_host-lv_root selinux=0 console=ttyS0,115200
> >>         module /initrd-2.6.31-rc6-enming.teo.img
> >>
> >>     
> >http://wiki.xensource.com/xenwiki/XenParavirtOps
> >
> >paste from that page:
> >
> >
> >Working example grub.conf with serial console output:
> >
> >title pv_ops dom0-test (2.6.29-rc7-tip) with serial console
> >         root (hd0,0)
> >         kernel /xen-3.3.gz dom0_mem=1024M loglvl=all guest_loglvl=all 
> >         com1=19200,8n1 console=com1
> >         module /vmlinuz-2.6.29-rc7-tip ro root=/dev/vg00/lv01 
> >         console=hvc0 earlyprintk=xen
> >         module /initrd-2.6.29-rc7-tip.img
> >
> >
> >   
> >>Is the above configuration correct? On my Intel Desktop Board DQ45CB, I
> >>have a COM1 header on the PCB and I have connected an external serial
> >>port to this header and also enabled COM1 in the BIOS.
> >>
> >>After selecting the above entry in GRUB still on VGA, a cursor at the
> >>top left corner of the monitor shows up, which means Xen and Dom 0
> >>kernel are booting up on the serial console and not on VGA.
> >>
> >>However, after some time, a login prompt finally displays on my VGA
> >>monitor! Isn't it NOT supposed to show up on VGA and should show up in
> >>serial console instead?
> >>
> >>     
> >You also need to have the gettys configured properly.
> >
> >-- Pasi
> >   
> 
> 
> 

  parent reply	other threads:[~2009-08-24 17:57 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-24 16:17 Xen Paravirt Operations Domain 0 Serial Console Problem Mr. Teo En Ming (Zhang Enming)
2009-08-24 16:21 ` Mr. Teo En Ming (Zhang Enming)
2009-08-24 16:44 ` Pasi Kärkkäinen
2009-08-24 17:34   ` Mr. Teo En Ming (Zhang Enming)
2009-08-24 17:37     ` Mr. Teo En Ming (Zhang Enming)
2009-08-24 17:57     ` Pasi Kärkkäinen [this message]
2009-08-24 17:59       ` Pasi Kärkkäinen
2009-08-24 18:06       ` Mr. Teo En Ming (Zhang Enming)
2009-08-24 18:15         ` Mr. Teo En Ming (Zhang Enming)
2009-08-24 18:28           ` Mr. Teo En Ming (Zhang Enming)
2009-08-24 18:31             ` Mr. Teo En Ming (Zhang Enming)
2009-08-24 18:35               ` Mr. Teo En Ming (Zhang Enming)
2009-08-24 18:45           ` Alan Cox
2009-08-24 19:13             ` Pasi Kärkkäinen
2009-08-24 19:23               ` Mr. Teo En Ming (Zhang Enming)
2009-08-24 19:33                 ` Mr. Teo En Ming (Zhang Enming)
2009-08-24 19:35                   ` Mr. Teo En Ming (Zhang Enming)
2009-08-25  0:49                     ` Mr. Teo En Ming (Zhang Enming)
2009-08-25  0:57                       ` Mr. Teo En Ming (Zhang Enming)
2009-08-25  0:59                         ` VGA Passthrough with Intel DQ45CB and NVIDIA Geforce 8400 GS PCI Express x16 Mr. Teo En Ming (Zhang Enming)
2009-08-25  2:09                           ` Han, Weidong
2009-08-25  2:44                             ` Teo En Ming (Zhang Enming)
2009-08-25  3:05                               ` Han, Weidong
2009-08-25  3:08                                 ` Teo En Ming (Zhang Enming)
2009-08-25  2:04                   ` Xen Paravirt Operations Domain 0 Serial Console Problem Han, Weidong
2009-08-25  2:40                     ` Xen Paravirt Operations Domain 0 Serial ConsoleProblem Teo En Ming (Zhang Enming)
2009-08-25  2:50                       ` Teo En Ming (Zhang Enming)
2009-08-25  3:03                         ` Han, Weidong
2009-08-25  3:06                           ` Xen Paravirt Operations Domain 0 SerialConsoleProblem Teo En Ming (Zhang Enming)
2009-08-25  3:10                             ` Teo En Ming (Zhang Enming)
2009-08-25  3:28                             ` Han, Weidong
2009-08-25  3:51                               ` Teo En Ming (Zhang Enming)
2009-08-25  4:17                                 ` Teo En Ming (Zhang Enming)
2009-08-25  6:53                                   ` Pasi Kärkkäinen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090824175747.GT19938@edu.joroinen.fi \
    --to=pasik@iki.fi \
    --cc=enming.teo@asiasoftsea.net \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.