[Fedora-xen] ups connected to serial port, but can't communicate via ttyS0

Kanwar Ranbir Sandhu m3freak at thesandhufamily.ca
Mon Jul 9 17:26:24 UTC 2007


On Mon, 2007-07-09 at 13:56 +0100, Richard W.M. Jones wrote:
> Try the suggestions here:
> 
> http://phaq.phunsites.net/2007/06/30/xen-console-grabbded-devttys0/
> 
> In particular try booting with xencons=off (on the kernel command line, 
> not the Xen hypervisor command line).

That worked!  My Smart UPS 1400 is now being monitored/controlled from
dom0 with apcupsd.

There were some errors in /var/log/messages, though:

Jul  9 12:50:45 xenmaster kernel: serial8250: ttyS0 at I/O 0x3f8 (irq =
4) is a 16550A
Jul  9 12:50:45 xenmaster kernel: 00:06: ttyS0 at I/O 0x3f8 (irq = 4) is
a 16550A
Jul  9 12:55:02 xenmaster kernel: Kernel command line: ro
root=/dev/vg00/root xencons=tty1
Jul  9 12:55:11 xenmaster kernel: WARNING: Failed to register Xen
virtual console driver as 'tty1'
Jul  9 12:55:14 xenmaster kernel: serial8250: ttyS0 at I/O 0x3f8 (irq =
4) is a 16550A
Jul  9 12:55:14 xenmaster kernel: 00:06: ttyS0 at I/O 0x3f8 (irq = 4) is
a 16550A

I'll try with a different tty later, say tty6.  But, I don't know if
that will fix the above warning.

I have another question: can I hand the serial port to a domU, or does
it have to be present in dom0?

Regards,

Ranbir
-- 
Kanwar Ranbir Sandhu
Linux 2.6.20-1.2962.fc6 i686 GNU/Linux 
13:24:02 up 6 days, 2:06, 4 users, load average: 0.20, 0.35, 0.26 





More information about the Fedora-xen mailing list