Neo Jia
2008-Jun-19 19:31 UTC
[Xen-devel] How to enable serial driver on 2.6.18 for Intel DQ35JO?
I need to use the onboard serial port to debug DomU. But I can''t see it from the dmesg | grep tty output. Is there anybody can use this board to debug DomU? Thanks, Neo -- I would remember that if researchers were not ambitious probably today we haven''t the technology we are using! _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Grzegorz Miłoś
2008-Jun-20 08:41 UTC
Re: [Xen-devel] How to enable serial driver on 2.6.18 for Intel DQ35JO?
> I need to use the onboard serial port to debug DomU. But I can''t see > it from the dmesg | grep tty output.Serial port is (usually) assigned to Xen + Dom0. You can however use xencons to debug your DomU. Gerd Hoffman''s XenSummit presentation is a good resource to learn about xencons: http://xen.xensource.com/files/xensummit_4/xensummit_linux_console_slides.pdf In my DomU config files I have: extra = "console=xvc0 xencons=xvc" This should be enough to get you started. Cheers Gr(z)egor(z)> > Is there anybody can use this board to debug DomU? > > Thanks, > Neo > -- > I would remember that if researchers were not ambitious > probably today we haven''t the technology we are using! > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Neo Jia
2008-Jun-20 08:48 UTC
Re: [Xen-devel] How to enable serial driver on 2.6.18 for Intel DQ35JO?
I need to pass through (not VT-d) the real serial port to the DomU and debug it with kgdb. And I even can't see anything in my dmesg | grep tty, which is executed in dom0. I just compared the linux-xen config file for x86_64 and x86_32. It looks that we disable the serial 8250 driver on x86_64 machine. Thanks, Neo On Fri, Jun 20, 2008 at 1:41 AM, Grzegorz Miłoś <gm281@cam.ac.uk> wrote:>> I need to use the onboard serial port to debug DomU. But I can't see >> it from the dmesg | grep tty output. > > Serial port is (usually) assigned to Xen + Dom0. You can however use > xencons to debug your DomU. > Gerd Hoffman's XenSummit presentation is a good resource to learn about xencons: > http://xen.xensource.com/files/xensummit_4/xensummit_linux_console_slides.pdf > > In my DomU config files I have: > extra = "console=xvc0 xencons=xvc" > This should be enough to get you started. > > Cheers > Gr(z)egor(z) > >> >> Is there anybody can use this board to debug DomU? >> >> Thanks, >> Neo >> -- >> I would remember that if researchers were not ambitious >> probably today we haven't the technology we are using! >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com >> http://lists.xensource.com/xen-devel >> >-- I would remember that if researchers were not ambitious probably today we haven't the technology we are using! _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jean Guyader
2008-Jun-20 09:01 UTC
Re: [Xen-devel] How to enable serial driver on 2.6.18 for Intel DQ35JO?
Neo, You should try in your config file: serial="/dev/ttyS0" 2008/6/20 Neo Jia <neojia@gmail.com>:> I need to pass through (not VT-d) the real serial port to the DomU and > debug it with kgdb. And I even can't see anything in my dmesg | grep > tty, which is executed in dom0. > > I just compared the linux-xen config file for x86_64 and x86_32. It > looks that we disable the serial 8250 driver on x86_64 machine. > > Thanks, > Neo > > > > On Fri, Jun 20, 2008 at 1:41 AM, Grzegorz Miłoś <gm281@cam.ac.uk> wrote: >>> I need to use the onboard serial port to debug DomU. But I can't see >>> it from the dmesg | grep tty output. >> >> Serial port is (usually) assigned to Xen + Dom0. You can however use >> xencons to debug your DomU. >> Gerd Hoffman's XenSummit presentation is a good resource to learn about xencons: >> http://xen.xensource.com/files/xensummit_4/xensummit_linux_console_slides.pdf >> >> In my DomU config files I have: >> extra = "console=xvc0 xencons=xvc" >> This should be enough to get you started. >> >> Cheers >> Gr(z)egor(z) >> >>> >>> Is there anybody can use this board to debug DomU? >>> >>> Thanks, >>> Neo >>> -- >>> I would remember that if researchers were not ambitious >>> probably today we haven't the technology we are using! >>> >>> _______________________________________________ >>> Xen-devel mailing list >>> Xen-devel@lists.xensource.com >>> http://lists.xensource.com/xen-devel >>> >> > > > > -- > I would remember that if researchers were not ambitious > probably today we haven't the technology we are using! > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > >-- Jean Guyader _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Neo Jia
2008-Jun-20 09:04 UTC
Re: [Xen-devel] How to enable serial driver on 2.6.18 for Intel DQ35JO?
I will try that tomorrow. This should work even I don't see any tty in dom0 dmesg? Thanks, Neo 2008/6/20 Jean Guyader <jean.guyader@gmail.com>:> Neo, > > You should try in your config file: > > serial="/dev/ttyS0" > > 2008/6/20 Neo Jia <neojia@gmail.com>: >> I need to pass through (not VT-d) the real serial port to the DomU and >> debug it with kgdb. And I even can't see anything in my dmesg | grep >> tty, which is executed in dom0. >> >> I just compared the linux-xen config file for x86_64 and x86_32. It >> looks that we disable the serial 8250 driver on x86_64 machine. >> >> Thanks, >> Neo >> >> >> >> On Fri, Jun 20, 2008 at 1:41 AM, Grzegorz Miłoś <gm281@cam.ac.uk> wrote: >>>> I need to use the onboard serial port to debug DomU. But I can't see >>>> it from the dmesg | grep tty output. >>> >>> Serial port is (usually) assigned to Xen + Dom0. You can however use >>> xencons to debug your DomU. >>> Gerd Hoffman's XenSummit presentation is a good resource to learn about xencons: >>> http://xen.xensource.com/files/xensummit_4/xensummit_linux_console_slides.pdf >>> >>> In my DomU config files I have: >>> extra = "console=xvc0 xencons=xvc" >>> This should be enough to get you started. >>> >>> Cheers >>> Gr(z)egor(z) >>> >>>> >>>> Is there anybody can use this board to debug DomU? >>>> >>>> Thanks, >>>> Neo >>>> -- >>>> I would remember that if researchers were not ambitious >>>> probably today we haven't the technology we are using! >>>> >>>> _______________________________________________ >>>> Xen-devel mailing list >>>> Xen-devel@lists.xensource.com >>>> http://lists.xensource.com/xen-devel >>>> >>> >> >> >> >> -- >> I would remember that if researchers were not ambitious >> probably today we haven't the technology we are using! >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com >> http://lists.xensource.com/xen-devel >> >> > > > > -- > Jean Guyader >-- I would remember that if researchers were not ambitious probably today we haven't the technology we are using! _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel