Re: UPS on ttyS0 in dom0

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

 



Kanwar Ranbir Sandhu <m3freak@xxxxxxxxxx> writes:

[...]
> Here's my current kernel config for dom0:
>
> title Fedora Core (2.6.17-1.2174_FC5xen0)
>         root (hd0,0)
>         kernel /xen.gz-2.6.17-1.2174_FC5
>         module /vmlinuz-2.6.17-1.2174_FC5xen0 ro root=/dev/vg00/root
> xencons=tty
>         module /initrd-2.6.17-1.2174_FC5xen0.img
>
> That gives me this crap out:
>
> kernel: WARNING: Failed to register Xen virtual console driver as 'tty1'
>
> Very nice.  I thought that maybe I had to disable tty1 in /etc/inittab,
> so I did, but the error remained.  Hoping for the best, I tried
> accessing the UPS anyway, and I was handed more turd on a stick:
>
> Sun Aug 20 18:59:33 EDT 2006  apcupsd FATAL ERROR in smartsetup.c at
> line 61
> Cannot open UPS port /dev/ttyS0: No such device or address
> Sun Aug 20 18:59:33 EDT 2006  apcupsd error shutdown completed
>
> Perfect.  So, I switch xencons=tty to xencons=off, but the result is the
> same.  Using console=vga on the xen line didn't help either.
>
> Incidentally, ttyS0 _does_ exist:
>
> [root@xenmaster src]# ls -l /dev/ttyS0
> crw------- 1 root root 4, 64 Aug 21 06:05 /dev/ttyS0
>
> Does anyone have any ideas?

This could well be related to the evil hackery the xen console uses to
steal a console device.  That hackery is being cleaned up, so with
a bit of luck your problem could go away soon.

I guess this reply isn't immediately helpful for you, but I figure
it's better than no reply...

--
Fedora-xen mailing list
Fedora-xen@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-xen

[Index of Archives]     [Fedora General]     [Fedora Music]     [Linux Kernel]     [Fedora Desktop]     [Fedora Directory]     [PAM]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux