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

Re: [Xen-users] Re: UPS serial port ttyS0


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Kanwar Ranbir Sandhu <m3freak@xxxxxxxxxx>
  • Date: Mon, 12 Jun 2006 18:03:09 -0400
  • Delivery-date: Mon, 12 Jun 2006 15:04:29 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:Subject:From:To:In-Reply-To:References:Content-Type:Date:Message-Id:Mime-Version:X-Mailer:Content-Transfer-Encoding; b=IO3/5kxrk1cM4BJ32VNBl8dBFfOyUu5gqkJ80Cm3K24EK+l4B8UrNHyNVZGFM5RuwENvZYkVJF0UrAXE42603U/OK2MnKRXBIRqtGdyiFvxB08EP58GDXah0/o+4zNib+sM350R1NFGx7G7lxzR4cv5hZkVVOR+rWuHhD66bglA= ;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Sun, 2006-11-06 at 15:39 +1000, Matt Palmer wrote:
> module /<kernel> xencons=tty
> 
> will free up ttyS0 for use as a real serial port.  When you reboot, you'll
> have a real ttyS0 again, and your dom0 kernel's dmesg should have proper
> mention of serial port things ("ttyS0: blahblah irq=4 blah io=0x3f8" etc).

Thanks, but sadly, I've already tried that and it doesn't work.  Here's
what I have:

title Xen (2.6.16-xen3_86.1_rhel4.1)
        root (hd0,0)
        kernel /xen.gz
        module /vmlinuz-2.6-xen ro root=/dev/vg00/root vga=791
xencons=tty
        module /initrd-2.6-xen.img

And this is the error I get:

WARNING: Failed to register Xen virtual console driver as 'tty1'

I've also tried passing 'xencons=off', which successfully disables the
xen console, but I still don't get control of ttyS0.

Here are the combos in grub.conf I've tried:

title Xen (2.6.16-xen3_86.1_rhel4.1)
        root (hd0,0)
        kernel /xen.gz console=vga
        module /vmlinuz-2.6-xen ro root=/dev/vg00/root vga=791
xencons=tty console=tty
        module /initrd-2.6-xen.img


title Xen (2.6.16-xen3_86.1_rhel4.1)
        root (hd0,0)
        kernel /xen.gz
        module /vmlinuz-2.6-xen ro root=/dev/vg00/root vga=791
xencons=off
        module /initrd-2.6-xen.img

None of those have worked.  It's why I said I'm thoroughly confused
because I'm pretty sure I'm doing it right.  Me = sad.

> Don't ask me why Xen likes to hijack ttyS0 by default, because I don't know.

I wish it were off by default and had to be enabled specifically, but
that's just me.

I wonder what the magic incantation is.

Regards,

Ranbir

-- 
Kanwar Ranbir Sandhu
Linux 2.6.16-1.2111_FC4 i686 GNU/Linux 
17:57:14 up 11:26, 3 users, load average: 0.00, 0.03, 0.15 



_______________________________________________
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®.