[Pkg-xen-devel] xen 2.6.26 on amd64 console troubles

Ian Campbell ijc at hellion.org.uk
Sat Oct 18 08:13:03 UTC 2008


On Fri, 2008-10-17 at 11:17 +0200, Bastian Blank wrote:
> On Thu, Oct 16, 2008 at 10:50:45PM +0100, Ian Campbell wrote:
> > @@ -205,6 +213,12 @@
> >  			xc_num = 0;
> >  		break;
> >  
> > +	case XC_HVC:
> > +		strcpy(kcons_info.name, "hvc");
> > +		if (xc_num == -1)
> > +			xc_num = 0;
> +               if (!is_initial_xendomain())
> +                       add_preferred_console(kcons_info.name, xc_num, NULL);
> > +		break;
> > +
> >  	case XC_SERIAL:
> >  		strcpy(kcons_info.name, "ttyS");
> >  		if (xc_num == -1)

I tested a patch identical to the one you checked in (including the
preferred console stuff) and it works as expected. Even with no console=
the console is hvc0 and the getty on hvc0 functions as expected and
gettys on tty* (on pvfb) seem fine.

To get console on the pvfb I had to use "xencons=off" just doing
console=tty{,0,1} didn't do the trick. I'm not too worried about that.

Ian.

-- 
Ian Campbell

To err is human, to repent, divine, to persist, devilish.
		-- Benjamin Franklin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20081018/1d04d0b5/attachment.pgp 


More information about the Pkg-xen-devel mailing list