Hi Bit of a strange one. Running XEN 3.3.1. When creating a linux domU and attached to the console, it boot so far up to this point :- Adding 131064k swap on /dev/sda2. Priority:-1 extents:1 across:131064k EXT3 FS on hda1, internal journal and then it just hangs. The actual DomU boots and you can ssh in but it means that you can''t do anything on the console so if a problem arrises you cant go on to the console and fix it. Anyone else had this problem? Thanks Ian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
funny, just experienced the same problem today. the domU (suse 10.2) comes from an older Xen version (3.0.3) to 3.3.1. domUs created on the 3.3.1 xen version (suse 11.1) boots up normal..... jan Ian Tobin schrieb:> Hi > > > > Bit of a strange one. > > > > Running XEN 3.3.1. > > > > When creating a linux domU and attached to the console, it boot so far > up to this point :- > > > > Adding 131064k swap on /dev/sda2. Priority:-1 extents:1 across:131064k > EXT3 FS on hda1, internal journal > > > > and then it just hangs. The actual DomU boots and you can ssh in but it > means that you can’t do anything on the console so if a problem arrises > you cant go on to the console and fix it. > > > > Anyone else had this problem? > > > > Thanks > > > > Ian > > > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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
So it seems we have a bug on our hands :( Know of any work arounds? -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Jan M. Stankovsky Sent: 06 April 2009 12:10 Cc: xen-users Subject: Re: [Xen-users] xm console hanging funny, just experienced the same problem today. the domU (suse 10.2) comes from an older Xen version (3.0.3) to 3.3.1. domUs created on the 3.3.1 xen version (suse 11.1) boots up normal..... jan Ian Tobin schrieb:> Hi > > > > Bit of a strange one. > > > > Running XEN 3.3.1. > > > > When creating a linux domU and attached to the console, it boot so far> up to this point :- > > > > Adding 131064k swap on /dev/sda2. Priority:-1 extents:1 across:131064k > EXT3 FS on hda1, internal journal > > > > and then it just hangs. The actual DomU boots and you can ssh in butit> means that you can''t do anything on the console so if a problemarrises> you cant go on to the console and fix it. > > > > Anyone else had this problem? > > > > Thanks > > > > Ian > > > > > > >------------------------------------------------------------------------> > _______________________________________________ > 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 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, Apr 6, 2009 at 6:35 PM, Ian Tobin <itobin@tidyhosts.com> wrote:> So it seems we have a bug on our hands :( > > Know of any work arounds?Can you post the full boot log, or dmesg, in particular look for a line similar to "Xen virtual console successfully installed as xvc0" and look for that console in /etc/inittab? probably there''s a mixup in where inittab thinks the console is (usually tty1 by default) and where the console is REALLY at (ttyS0, xvc0, or hvc0) Regards, Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Sorry is this the dom0 log or domu ? Thanks Ian -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Fajar A. Nugraha Sent: 06 April 2009 13:20 To: xen-users Subject: Re: [Xen-users] xm console hanging On Mon, Apr 6, 2009 at 6:35 PM, Ian Tobin <itobin@tidyhosts.com> wrote:> So it seems we have a bug on our hands :( > > Know of any work arounds?Can you post the full boot log, or dmesg, in particular look for a line similar to "Xen virtual console successfully installed as xvc0" and look for that console in /etc/inittab? probably there''s a mixup in where inittab thinks the console is (usually tty1 by default) and where the console is REALLY at (ttyS0, xvc0, or hvc0) Regards, Fajar _______________________________________________ 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
On Mon, Apr 6, 2009 at 8:17 PM, Ian Tobin <itobin@tidyhosts.com> wrote:> Sorry is this the dom0 log or domu ?domU. You ARE having problems seeing domU''s login screen, right? since you say you can connet with ssh, dmesg | grep console and cat /etc/inittab | egrep "ttyS|vc" from ssh session should be enough. Regards, Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, Ok here are the outputs dmesg | grep console netconsole: not configured, aborting Xen virtual console successfully installed as xvc0 XENBUS: Device with no driver: device/console/0 cat /etc/inittab | egrep "ttyS|vc" #T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100 #T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100 #T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3 Thanks Ian -----Original Message----- From: Fajar A. Nugraha [mailto:fajar@fajar.net] Sent: 06 April 2009 14:29 To: Ian Tobin Cc: xen-users Subject: Re: [Xen-users] xm console hanging On Mon, Apr 6, 2009 at 8:17 PM, Ian Tobin <itobin@tidyhosts.com> wrote:> Sorry is this the dom0 log or domu ?domU. You ARE having problems seeing domU''s login screen, right? since you say you can connet with ssh, dmesg | grep console and cat /etc/inittab | egrep "ttyS|vc" from ssh session should be enough. Regards, Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, Apr 6, 2009 at 8:47 PM, Ian Tobin <itobin@tidyhosts.com> wrote:> Hi, > > Ok here are the outputs > > dmesg | grep console > netconsole: not configured, aborting > Xen virtual console successfully installed as xvc0 > XENBUS: Device with no driver: device/console/0 > > cat /etc/inittab | egrep "ttyS|vc" > #T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100 > #T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100 > #T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3dmesg says your console is on xvc0, but inittab doesn''t spawn a login prompt there. Add something like this on inittab: co:2345:respawn:/sbin/agetty xvc0 9600 vt100-nav or (looking from your ttyS0 example) something like this co:23:respawn:/sbin/getty -L xvc0 9600 vt100 That should display login prompt and enable normal users to log in. To enable root to login as well, add "xvc0" to /etc/securetty Regards, Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Adding extra ="3 xencons=tty" seem to enable it to start working again, very strange but thanks to everyone Ian -----Original Message----- From: Jan M. Stankovsky [mailto:jan.stankovsky@univie.ac.at] Sent: 06 April 2009 15:07 To: Ian Tobin Subject: Re: [Xen-users] xm console hanging well i''ve now added to the config file of the Vm the line extra ="3 xencons=tty" and now it works on the the 3.3.1 xen server... maybe you can give it a try.... jan Ian Tobin schrieb:> So it seems we have a bug on our hands :( > > Know of any work arounds? > > > > -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Jan M. > Stankovsky > Sent: 06 April 2009 12:10 > Cc: xen-users > Subject: Re: [Xen-users] xm console hanging > > funny, just experienced the same problem today. the domU (suse 10.2) > comes from an older Xen version (3.0.3) to 3.3.1. domUs created on the> 3.3.1 xen version (suse 11.1) boots up normal..... > > jan > > Ian Tobin schrieb: >> Hi >> >> >> >> Bit of a strange one. >> >> >> >> Running XEN 3.3.1. >> >> >> >> When creating a linux domU and attached to the console, it boot sofar> >> up to this point :- >> >> >> >> Adding 131064k swap on /dev/sda2. Priority:-1 extents:1across:131064k>> EXT3 FS on hda1, internal journal >> >> >> >> and then it just hangs. The actual DomU boots and you can ssh in but > it >> means that you can''t do anything on the console so if a problem > arrises >> you cant go on to the console and fix it. >> >> >> >> Anyone else had this problem? >> >> >> >> Thanks >> >> >> >> Ian >> >> >> >> >> >> >> >------------------------------------------------------------------------>> _______________________________________________ >> 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 > > > > _______________________________________________ > 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
On Mon, Apr 6, 2009 at 9:51 PM, Ian Tobin <itobin@tidyhosts.com> wrote:> Adding > > extra ="3 xencons=tty" > > seem to enable it to start working again, very strange but thanks to > everyoneIt''s not that strange, really. Earlier versions of Xen uses exisisting device names (or hijack, if you prefer the term) as console (ttyS0) and disk (hda or sda). Sometime in Xen 3.x the default configuration changed to xvc0 (console) and xvda (disk), but you can still have the old behavior (and also some non-standard behavior) by adjusting config files. You didn''t mention how you installed your domU (using yast? virt-install? manually?) but it seems there''s a mismatch in your Xen version, install method, or domU about what the console device is. Your solution (adding xencons=tty) modifies the config file so it matches with what domU wants, while my suggestion (setting xvc0 as console in inittab) modifies domU to match what Xen config file wants. Note that Xen now supports vfb (GUI) console for PV guest as well (just like HVM guests) with "vfb" configuration line (run "xm create --help_config | grep vfb" to see if your version supports it). This config makes it possible to have two console, text-based (accessible via "xm console") and GUI-based (via vnc/SDL/virt-viewer). As additional info, the default console changed again to hvc0 in newer pv_ops kernel. Also in these versions disks are always recognized as xvda (even if you put hda or sda in the config file). Regards, Fajar> > Ian > > > > -----Original Message----- > From: Jan M. Stankovsky [mailto:jan.stankovsky@univie.ac.at] > Sent: 06 April 2009 15:07 > To: Ian Tobin > Subject: Re: [Xen-users] xm console hanging > > well i''ve now added to the config file of the Vm the line > > extra ="3 xencons=tty" > > and now it works on the the 3.3.1 xen server... > > maybe you can give it a try.... > > jan > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users