[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] serial port in domain > 0


  • To: "xen-users" <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "mikee" <mpokrywka@xxxxxxx>
  • Date: Wed, 27 Jul 2005 13:57:31 +0200
  • Delivery-date: Wed, 27 Jul 2005 11:56:08 +0000
  • Importance: normal
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Priority: normal
  • Thread-index: AcWSoT0fha9d9s0hSBiJQT6QllMBSQ==
  • Thread-topic: serial port in domain > 0

Hello,
Recently I've been trying to setup domain which can use
serial port (modem communication). First I had to struggle
to setup working serial in domain 0 - besides "console=vga"
parameter in grub I had to add fake com port parameters
to prevent xen from stealing ttyS0 on default I/O&IRQ.
Furthermore, parameter "xencons=off" must be passed to linux
kernel, and then serial port in domain 0 works - I can
"modprobe 8250", "setserial /dev/ttyS0 uart 16550A",
"echo ATA > /dev/ttyS0" without problem. I compiled kernel
to use in another domain - I used CONFIG_XEN_PRIVILEGED_GUEST=y
and CONFIG_XEN_PHYSDEV_ACCESS=y, switched off PCI/ISA buses and
all drivers except serial port. This kernel boots successfully
in virtual machine and even serial driver pretends to load
but fails to work - "setserial /dev/ttyS0 uart 16550A" triggers
kernel message "ttyS0: LSR safety check engaged!". This happens
of course when serial is not used (8250 module not loaded)
in dom0. Am i missing something?
(I am using testing xen-3-devel 2005-07-26)

Regards,
Michal

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.