Rolf Arne Larsen
2008-Jun-24 13:26 UTC
[Xen-users] Cant get console with compiled paravirt_ops kernel
Im using Ubuntu 8.04 for my Xen machine (xen 3.2). When i use Ubuntu''s stock kernel for xen (with kernel and initrd) i get console on my vm if i specify xencons=tty. This does however not work on my linux 2.6.25.7 kernel with paravirt ops for any of my vms. It just shows the init prosess and nothing more. How do i get a console up and running? Could it be any modules i lack in my kernel config? //rolf _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Age_M
2008-Jun-24 16:37 UTC
Re: [Xen-users] Cant get console with compiled paravirt_ops kernel
Hi Rolf, you are talking about ubuntu domUs, right? This may help: 1. add/change the following in your domU config extra="console=xvc0" 2. run the following command in Ubuntu domU: |cat /etc/event.d/tty1 | sed "s/tty1/xvc0/" > /etc/event.d/xvc0 | hope it helps, Greetz Age_M Rolf Arne Larsen schrieb:> Im using Ubuntu 8.04 for my Xen machine (xen 3.2). > When i use Ubuntu''s stock kernel for xen (with kernel and initrd) i get console on my vm if i specify xencons=tty. > This does however not work on my linux 2.6.25.7 kernel with paravirt ops for any of my vms. > It just shows the init prosess and nothing more. How do i get a console up and running? > Could it be any modules i lack in my kernel config? > > //rolf > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Rolf Arne Larsen
2008-Jun-25 05:38 UTC
Re: [Xen-users] Cant get console with compiled paravirt_ops kernel
Sorry i forgot to mention i use debian on my domU''s. I use these settings: extra =''2 console=xvc0 xencons=tty'' But it doesnt seem to do the trick. Seems strange it works with ubuntu stock xen kernel but not my 2.6.25.7 w/paravirt_ops kernel. Could there be some support i forgot to put in my kernel? //rolf ----- Original Message ----- From: "Age_M" <Age_M@gmx.de> To: "Rolf Arne Larsen" <rolf@startsiden.no> Cc: "xen-users" <xen-users@lists.xensource.com> Sent: Tuesday, June 24, 2008 6:37:09 PM (GMT+0100) Europe/Berlin Subject: Re: [Xen-users] Cant get console with compiled paravirt_ops kernel Hi Rolf, you are talking about ubuntu domUs, right? This may help: 1. add/change the following in your domU config extra="console=xvc0" 2. run the following command in Ubuntu domU: |cat /etc/event.d/tty1 | sed "s/tty1/xvc0/" > /etc/event.d/xvc0 | hope it helps, Greetz Age_M Rolf Arne Larsen schrieb:> Im using Ubuntu 8.04 for my Xen machine (xen 3.2). > When i use Ubuntu''s stock kernel for xen (with kernel and initrd) i get console on my vm if i specify xencons=tty. > This does however not work on my linux 2.6.25.7 kernel with paravirt ops for any of my vms. > It just shows the init prosess and nothing more. How do i get a console up and running? > Could it be any modules i lack in my kernel config? > > //rolf > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Age_M
2008-Jun-25 07:52 UTC
Re: [Xen-users] Cant get console with compiled paravirt_ops kernel
Hi Rolf, afaik you only need CONFIG_XEN_CONSOLE in your kernel-config. But does "extra =''2 console=xvc0 xencons=tty''" make any sense? Maybe you could try: extra =''2 console=xvc0 xencons=xvc'' But I don''t use ''xencons'' at all, so I am not sure if it works? Greetz Age_M Rolf Arne Larsen wrote:> Sorry i forgot to mention i use debian on my domU''s. > I use these settings: > extra =''2 console=xvc0 xencons=tty'' > But it doesnt seem to do the trick. > Seems strange it works with ubuntu stock xen kernel but not my 2.6.25.7 w/paravirt_ops kernel. > Could there be some support i forgot to put in my kernel? > > //rolf > > ----- Original Message ----- > From: "Age_M" <Age_M@gmx.de> > To: "Rolf Arne Larsen" <rolf@startsiden.no> > Cc: "xen-users" <xen-users@lists.xensource.com> > Sent: Tuesday, June 24, 2008 6:37:09 PM (GMT+0100) Europe/Berlin > Subject: Re: [Xen-users] Cant get console with compiled paravirt_ops kernel > > Hi Rolf, > > you are talking about ubuntu domUs, right? > This may help: > 1. add/change the following in your domU config > extra="console=xvc0" > 2. run the following command in Ubuntu domU: > > |cat /etc/event.d/tty1 | sed "s/tty1/xvc0/" > /etc/event.d/xvc0 > | > > > hope it helps, > > Greetz Age_M > > > Rolf Arne Larsen schrieb: > >> Im using Ubuntu 8.04 for my Xen machine (xen 3.2). >> When i use Ubuntu''s stock kernel for xen (with kernel and initrd) i get console on my vm if i specify xencons=tty. >> This does however not work on my linux 2.6.25.7 kernel with paravirt ops for any of my vms. >> It just shows the init prosess and nothing more. How do i get a console up and running? >> Could it be any modules i lack in my kernel config? >> >> //rolf >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> >> >> > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ferenc Wagner
2008-Jun-25 09:09 UTC
Re: [Xen-users] Cant get console with compiled paravirt_ops kernel
Rolf Arne Larsen <rolf@startsiden.no> writes:> Sorry i forgot to mention i use debian on my domU''s. > I use these settings: > extra =''2 console=xvc0 xencons=tty'' > But it doesnt seem to do the trick. > Seems strange it works with ubuntu stock xen kernel but not my 2.6.25.7 w/paravirt_ops kernel.Try extra = ''2 console=hvc0'' instead. (Btw 2 is probably the default, so can be omitted.) -- Feri. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users