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 on the domU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Serial port on the domU
From: "sven waeyenbergh" <sven.waeyenbergh@xxxxxxxxx>
Date: Mon, 10 Sep 2007 16:15:37 +0200
Delivery-date: Mon, 10 Sep 2007 07:16:10 -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:in-reply-to:mime-version:content-type:references; bh=ZXXB4yCqGG/lAdZDK4tz0b6x2I5OcQjSzZvaLWQmZLM=; b=WZ3GlA1p0i7P4qxOQGSMVgTPKEZaRK1EJcTwDot/oprpgzm6nTmYvCv8F4O1WkG0M6Wpbo9JjJ0owzcu3guHO9AMvA89fc8y+UQkgYZLP3TUzEsXXHvKr+4Q5npLFvJnsGs/pOug59+N1ehHXGqu6r4V6X9CSi5eGOi9vwcE3OE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=nnYIV2g5K1CV/F5m50WmE/uFmld1eBO7KFwfBEq82iJrRJg/utEc2jgMgehEyhpCQf3m+ex49dWUeYJBhsMDTSjzb8RPK3cCofIbtvNgFRfhojmCD9P95q/pO8bAChrW+VvAWD73ILf52nfCQqCJJKnetzA1RG2wJ3xzrzTouyg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <b09440780709070127i5e3ed5f0jaf7a47a945b0149a@xxxxxxxxxxxxxx>
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>
References: <7fedbc910709061352h762493e4j334f2f4b3d41bc1f@xxxxxxxxxxxxxx> <b09440780709070127i5e3ed5f0jaf7a47a945b0149a@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Dear list,

update on the serial to domU issue:

- confirmed that xen scripts are picking up the ioports and irq statement:
    both are listed in the xend.log in a parseConfig statement (so the scripts at least know about the ioports/irq statements)
    however i cannot find any DevController stanzas in there for the serial ports, i can find such statements for disks, nics, pci cards, ..
    should there be any of those ?

- on the domU i am not sure:
    - /proc/devices does list a ttyS0 device
    - /proc/ioports do not show the transferred io ports
    - /proc/interrupts do not show the transferred irq

i am trying to recompile a debian xen kernel to disable the CONFIG_XEN_DISABLE_SERIAL config setting and see if that helps.
note that dom0 serial access works, even with a kernel were CONFIG_XEN_DISABLE_SERIAL is set. domU does not.

Does anyone know from what version of (opensource) xen the ioports/irq transfer works ?
3.0.3-1-amd64 + 2.6.18-4-amd64 (aka debian etch default) does not seem to work.

Any help really appreciated.

Sven

On 9/7/07, sven waeyenbergh < sven.waeyenbergh@xxxxxxxxx> wrote:
What version of xen are you using ?
i'm using 3.0.3-1-amd64 on debian and have exactly the same problem.

drivers load on domU, but do not detect any serial ports.
subsequently loading the drivers on dom0 does work (if you un-blacklist them first),
even if the domU is still running, so i thought the irq/ioports statement was simply not being picked up,
but according to xend.log, they are. no obvious errors.

my gamble is on CONFIG_XEN_DISABLE_SERIAL being set on the domU (also on dom0, but that works).
is there anyone out there that can confirm serial ports working on domU with a kernel that has the above config entry set ?

Sven


On 9/6/07, shacky <shacky83@xxxxxxxxx> wrote:
I configured a domU to access to the physical serial port of the dom0
(/dev/ttyS0) typing this in the domU configuration file:

irq = [ 4 ]
ioports = [ "3f8-3ff" ]

The domU starts without any error, but the serial port isn't recognised.
The /dev/ttyS0 device exists on the domU, and I blacklisted the
serial_core, the 8250 and 8250_pnp modules on the dom0.

What is the problem? Could you help me, please?

Thank you very much!
Bye.



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>