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] Re: UPS serial port ttyS0

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Re: UPS serial port ttyS0
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= ;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060611053912.GH29264@xxxxxxxxxxx>
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: <215ff4410606010341n37a3b020rfb54a8ccce83ac3c@xxxxxxxxxxxxxx> <1149948185.6841.3.camel@krs> <20060611053912.GH29264@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>