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] How to enable serial driver on 2.6.18 for Intel DQ35JO?

To: "Jean Guyader" <jean.guyader@xxxxxxxxx>
Subject: Re: [Xen-devel] How to enable serial driver on 2.6.18 for Intel DQ35JO?
From: "Neo Jia" <neojia@xxxxxxxxx>
Date: Fri, 20 Jun 2008 02:04:25 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Grzegorz Miłoś <gm281@xxxxxxxxx>
Delivery-date: Fri, 20 Jun 2008 02:04:49 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=SjoRjdXquVDpB16a9n2ubd6zZzUyHzPnK2Vxgw/wSIc=; b=N6cJi3PBYlyA07yVhNfyK/bJ+uIB/Q2ATd/kCf4cntSQvtxlJQMs7m7i3is1jrTuMM Qv6aDDGhS6B0YorGCTt2ldPX9J1Qt64R2FhJ1t0HBAjKdLWi4X8AVy6YlP7g8PnVuWEk 8fFIGpgVxRPrsoOnKJk3/dPB3rK44cwVMvAhs=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=HIj4yXVtz4SY1js95MbhWH9OR7jtXjkpvQ7PNsqHNbY5twdRR678aE+Yqk55D/QwhW mz6bVavk0WKj2+xMtIjCz0yhQM/49ijdXjZOhXzum+6nFfE4wWsa4HxsBKOn8tlqghW5 ITGrpODv51B+4t4zo9r3/31m6wHapu3Bxc3d8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <f68b66460806200201h1cb1dbf1i7e76a007d8621935@xxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <5d649bdb0806191231o54bd74cdud2803e10e1344a01@xxxxxxxxxxxxxx> <4cac40570806200141i51d36ed6yeb2e607627ed880f@xxxxxxxxxxxxxx> <5d649bdb0806200148x4ebb6b73tda95c9226c254f0c@xxxxxxxxxxxxxx> <f68b66460806200201h1cb1dbf1i7e76a007d8621935@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxxx>:
> Neo,
>
> You should try in your config file:
>
> serial="/dev/ttyS0"
>
> 2008/6/20 Neo Jia <neojia@xxxxxxxxx>:
>> 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@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
>>>> 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@xxxxxxxxxxxxxxxxxxx
>> 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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel