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/
Home Products Support Community News


Re: [Xen-users] Serial port on the domU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Serial port on the domU
From: "sven waeyenbergh" <sven.waeyenbergh@xxxxxxxxx>
Date: Tue, 11 Sep 2007 17:29:38 +0200
Cc: ArtiomSh <artiom.shamis@xxxxxxxxx>
Delivery-date: Tue, 11 Sep 2007 08:30:15 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:mime-version:content-type; bh=5+vxfP7KMD6zbB6IBjSeGuzmyecmx8X7BYc2PY+bz2g=; b=PIS1u3z12H9/BuTEYHk6UDllLqkKSCXcS2N2wkRor7KQsmXHYf1hDQQMLB4pR1+gcbYziu/26rC4RUCPDYardKZ2KI6tubWO7kgAxPKHPz0Jl2aXWCL1w4JkkR6B2LcRj1JkJNpfHPyzWJC/Thani8tWVomrbzj56Lu1nthHGYE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:mime-version:content-type; b=QxY71Mkd4de6hfYtQbzNA4Tdhuk2rd6sNRtOPKUsLAwWgwGHYZlPU+NxGsHj4MZvn6GvQso5azVzJ4/uwZ3SxOsW9MBFoQSYc2Kr6RGVsxwpvefXLOlkTY8JpGYLlf8SjwKBiHFgaDGUshhYt5u0rHZo9oP/tcRMtSLvNyVe77s=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

as far as i understood there are only a few things that will block the transfer of the serial ports to domU:
- serial drivers need to be blacklisted on dom0 (you did that)
- serial drivers need to be compiled and installed on domU (you did that)
- the ioports and irq stuff needs to be added to the domU config file (you did that)
and 1 more of which i'm not sure:
- kernel config option CONFIG_XEN_DISABLE_SERIAL should not be set on the domU kernel (i'm not sure if you changed that before recompiling - i'm having a lot of troubles getting my kernel compiled, so i haven't tested this yet)

can you confirm that the above option is NOT set for your domU ? you would save me a lot of work.


On 9/11/07, ArtiomSh <artiom.shamis@xxxxxxxxx> wrote:

Hi guys,
I've got the same problem. Following recommendations above I added serial
stuff on dom0 to blacklist.
In /etc/xen/vm/vm2 file I added irq and ioports section. I added 8250 and
serial_core and rebuild the kernel on domU. When vm get loaded there is no
word about serial in dmesg output. On the other side there  are /dev/ttyS0
to ttyS7 on dom0
Have I missed something?


shacky wrote:
>> What's about /dev/ttyS* in dom0? If any ttyS* exists in dom0 you cannot
>> use it in domU. You must disable all serial port modules like "8250" or
>> "serial_core".
> I disabled that modules and they are not loded. In reality they was
> not loaded neither before blacklisting them. I think the kernel was
> compiled with the serial support built in it..
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

View this message in context: http://www.nabble.com/Xen-and-serial-port-tf4327425.html#a12603816
Sent from the Xen - User mailing list archive at Nabble.com.

Xen-users mailing list

Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>