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-devel

RE: [Xen-devel] xen console question

On Tue, 2005-12-06 at 23:14 +0000, Ian Pratt wrote:
> I've appended my checkin message from when I last made changes in this
> area.
...
> If you want to use 8250 and xencons, the trick is to tell xencons to
> grab a high numbered ttyS port that the 8250 driver will have left
> alone. For example, put "xencons=ttyS31" on the Linux command line.
> You'll then be able to edit /etc/inittab to add an entry for a
> getty on ttyS31 if you want to be able to log in on the serial console
> that is being shared with Xen.

   Am I misinterpreting how to do this or is something broken?  I just
pulled a new clone of xen-unstable.hg and tried the simple case of
incrementing xencons to ttyS1 on a generic x86_64 system.  This is still
using all default configs, so the 8250 driver is not included in the
xen0 config.  It blows up with some interesting messages about ttyS2(?)
Does anyone know the problem here?  Thanks,

        Alex

[grub]
kernel  /boot/xen-3.0.gz dom0_mem=512M com1=115200,8n1 console=com1
...
module  /boot/vmlinuz-2.6.12-xen0 root=/dev/hda1 ro xencons=ttyS1 
console=ttyS1,115200n8
...
[xen boot]
[xenlinux boot...]
Kernel command line: root=/dev/hda1 ro xencons=ttyS1 console=ttyS1,115200n8
...
Xen virtual console successfully installed as ttyS1
...
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Warning: dev (ttyS2) tty->count(2) != #fd's(1) in release_dev
Warning: dev (ttyS2) tty->count(3) != #fd's(1) in tty_open
Unable to handle kernel paging request at 0000000000006500 RIP: 
<ffffffff80252f86>{unset_locked_termios+22}
PGD b36067 PUD b37067 PMD 0 
Oops: 0000 [1] 
CPU 0 
Modules linked in:
Pid: 1, comm: init Not tainted 2.6.12.6-xen0
RIP: e030:[<ffffffff80252f86>] <ffffffff80252f86>{unset_locked_termios+22}
RSP: e02b:ffff880000703e00  EFLAGS: 00010206
RAX: 0000000000000016 RBX: ffff880000b0e000 RCX: ffff880000b0e018
RDX: 0000000000006500 RSI: ffff880000703e08 RDI: ffff8800009c5e80
RBP: 00007fffff9eb7d0 R08: 0000000000006500 R09: ffffffff8024f660
R10: 0000000000000000 R11: ffffffffff577000 R12: ffff880000b0e0a8
R13: ffff880000703e08 R14: ffff880000703e68 R15: ffff880000b0e018

-- 
Alex Williamson                             HP Linux & Open Source Lab


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

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