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] Serial port problem

To: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>
Subject: Re: [Xen-users] Serial port problem
From: Kun Hong <khong@xxxxxxxxxxx>
Date: Fri, 09 Sep 2005 14:27:26 +1000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 09 Sep 2005 04:23:00 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <A95E2296287EAD4EB592B5DEEFCE0E9D282F19@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Agile TV
References: <A95E2296287EAD4EB592B5DEEFCE0E9D282F19@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: khong@xxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Fedora/1.7.8-2
Ian Pratt wrote:
I am using Xen in FC4. I can't use my serial port in dom0.
I didn't use serial port in Xen's boot command. I wonder what can be wrong. It can't be hardware problem. I can use serial port when booting without Xen. And I tried the 2.6.12 kernel and Xen3. It is the same.


Please post the boot messages. 'xm dmesg' and 'dmesg' should be OK.

Why do you want to drive the serial port directly from dom0 rather than
via Xen? Are you connecting a modem or some other gadget?

Are you sure your kernel has the appropriate uart driver? Is the port
detected in the boot messages? Does xencons appear to be grabbing ttyS0
regardless?

(You could try xencons=off on the kernel command line)


I got it...
Sorry I didn't understand in the beginning. (I don't have serial
driver in dom0 Linux kernel and the boot setting is not correct)

Now it works prefectly after I install serial driver and set the
xencons=off at module line.

But I still don't know how to use ttyS0 via xen. In xen boot command
line I have to set the baud rate and DSP. What if I need to change it
when I use it in XenLinux ? (Use ttyS0 to talk to settop box, robots, etc).

Kun

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

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