Hans-Christian Armingeon
2006-Mar-16 19:54 UTC
[Xen-devel] xen hg tree from yesterday hangs, when kernel console is directed to ttyS0
Hi, I am having the following setup: the kernel displays its messages to vga and to ttyS0. This works without xen. When I reboot my system with xen with the following options to xen and vmlinuz, xen.gz com1=115200,8n1 console=com1,vga vmlinuz console=ttyS0,115200 console=tty0 the system hangs up while booting the dom0 kernel. Has anyone such a setup working? The thin is, I want a console on VGA and one on a serial line. And both should display all messages. Johnny _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2006-Mar-17 11:42 UTC
Re: [Xen-devel] xen hg tree from yesterday hangs, when kernel console is directed to ttyS0
On 16 Mar 2006, at 19:54, Hans-Christian Armingeon wrote:> When I reboot my system with xen with the following options to xen and > vmlinuz, > > xen.gz com1=115200,8n1 console=com1,vga > vmlinuz console=ttyS0,115200 console=tty0 > > the system hangs up while booting the dom0 kernel. > > Has anyone such a setup working? The thin is, I want a console on VGA > and one on a serial line. And both should display all messages.How does it ''hang''? You should be able to get initial boot messages out on both, although when user space starts I think one will end up being preferred over the other. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jussi Hamalainen
2006-Mar-19 15:10 UTC
Re: [Xen-users] xen hg tree from yesterday hangs, when kernel console is directed to ttyS0
On Thu, 16 Mar 2006, Hans-Christian Armingeon wrote:> When I reboot my system with xen with the following options to xen > and vmlinuz, > > xen.gz com1=115200,8n1 console=com1,vga > vmlinuz console=ttyS0,115200 console=tty0 > > the system hangs up while booting the dom0 kernel.I think Xen has a major buffering/blocking IO issue with serial console. It works for a while but when loads of lines get flooded onto the console, the system freezes up. Adding a "sync_console" to your Xen parameters might solve the problem, or at least it worked for me. -- Jussi Hämäläinen +358 3 3551 8086 University of Tampere System administrator +358 50 5900641 Computer Centre ccjuha@uta.fi TietoPinni 4166 http://www.uta.fi/laitokset/tkk _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Keir Fraser
2006-Mar-20 11:04 UTC
Re: [Xen-devel] Re: [Xen-users] xen hg tree from yesterday hangs, when kernel console is directed to ttyS0
On 19 Mar 2006, at 15:10, Jussi Hamalainen wrote:>> When I reboot my system with xen with the following options to xen >> and vmlinuz, >> >> xen.gz com1=115200,8n1 console=com1,vga >> vmlinuz console=ttyS0,115200 console=tty0 >> >> the system hangs up while booting the dom0 kernel. > > I think Xen has a major buffering/blocking IO issue with serial > console. It works for a while but when loads of lines get > flooded onto the console, the system freezes up. Adding a > "sync_console" to your Xen parameters might solve the problem, or at > least it worked for me.Maybe it''s hardware specific. I can echo a long string to the serial console in a tight loop from dom0 shell and I see no problems. My setup is similar to the OP''s (115200 baud). -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Possibly Parallel Threads
- xen hg tree from yesterday hangs, when kernel console is directed to ttyS0
- Xen 3.0.2 on Dell 2850
- another ttyS0 acces problem ;-)
- dom0 kernel crashes with kernel panic during boot
- Error: (28, ''No space left on device, while writing /vm/ba5fda47-f44a-2f44-b164-d2b1290d0d60/image/ostype : linux'')