Edoardo Ceccarelli
2008-Mar-31 16:34 UTC
[Xen-users] console output stops but everything else is fine
Hello, just finished building Xen 3.2, everything went fine, except for this: anytime I create a vm with the --console option, the output of the scroll of the bootstrap stops like this: ... kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. Freeing unused kernel memory: 128k freed at this point the console hangs and I just have to close it; but the dom0 is successfully created and everything seems fine.. is this something I should be worried? nothing like this happened with old Xen 3.1 (not compiled) or with distro Xen Thanks in advance, any idea appreciated. -- Edoardo Ceccarelli - eddy@axa.it _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Steven Timm
2008-Mar-31 16:40 UTC
Re: [Xen-users] console output stops but everything else is fine
Check the inittab of the xen instance and also the options to pygrub if you are using pygrub. It appears that output is getting redirected to a non-existent console device somewhere. If there are any co: lines in the inittab of the domU you should take them out, also if there are any console=ttyS0 lines in the grub.conf of pygrub take them out Steve On Mon, 31 Mar 2008, Edoardo Ceccarelli wrote:> Hello, > > just finished building Xen 3.2, everything went fine, except for this: > anytime I create a vm with the --console option, the output of the scroll of > the bootstrap stops like this: > > ... > kjournald starting. Commit interval 5 seconds > EXT3-fs: mounted filesystem with ordered data mode. > VFS: Mounted root (ext3 filesystem) readonly. > Freeing unused kernel memory: 128k freed > > at this point the console hangs and I just have to close it; > but the dom0 is successfully created and everything seems fine.. > is this something I should be worried? > > nothing like this happened with old Xen 3.1 (not compiled) or with distro > Xen > > Thanks in advance, any idea appreciated. > >-- ------------------------------------------------------------------ Steven C. Timm, Ph.D (630) 840-8525 timm@fnal.gov http://home.fnal.gov/~timm/ Fermilab Computing Division, Scientific Computing Facilities, Grid Facilities Department, FermiGrid Services Group, Assistant Group Leader. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Edoardo Ceccarelli
2008-Mar-31 18:25 UTC
Re: [Xen-users] console output stops but everything else is fine
I am not using pygrub (or at least I am not aware of), the .conf file I give xen is: kernel = "/boot/vmlinuz-2.6.18.8-xenU" memory = 2048 #memory = 512 vif = [ ''bridge=xenbr0'', ] disk = [''phy:vm_volumes/vm2_root,sda1,w'', ''phy:vm_volumes/vm2_swap,sda2,w''] root = "/dev/sda1 ro" extra = "fastboot" and the inittab looks like this (it is a jailtime.org COS5 64bit image): id:3:initdefault: # System initialization. si::sysinit:/etc/rc.d/rc.sysinit l0:0:wait:/etc/rc.d/rc 0 l1:1:wait:/etc/rc.d/rc 1 l2:2:wait:/etc/rc.d/rc 2 l3:3:wait:/etc/rc.d/rc 3 l4:4:wait:/etc/rc.d/rc 4 l5:5:wait:/etc/rc.d/rc 5 l6:6:wait:/etc/rc.d/rc 6 # Trap CTRL-ALT-DELETE ca::ctrlaltdel:/sbin/shutdown -t3 -r now pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down" # If power was restored before the shutdown kicked in, cancel it. pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled" # Run gettys in standard runlevels 1:2345:respawn:/sbin/mingetty tty1 2:2345:respawn:/sbin/mingetty tty2 3:2345:respawn:/sbin/mingetty tty3 4:2345:respawn:/sbin/mingetty tty4 5:2345:respawn:/sbin/mingetty tty5 6:2345:respawn:/sbin/mingetty tty6 # Run xdm in runlevel 5 x:5:respawn:/etc/X11/prefdm -nodaemon On Mon, Mar 31, 2008 at 6:40 PM, Steven Timm <timm@fnal.gov> wrote:> Check the inittab of the xen instance and also the options to pygrub > if you are using pygrub. It appears that output is getting > redirected to a non-existent console device somewhere. If there > are any co: lines in the inittab of the domU you should take them out, > also if there are any console=ttyS0 lines in the grub.conf of > pygrub take them out > > Steve > > > On Mon, 31 Mar 2008, Edoardo Ceccarelli wrote: > > > Hello, > > > > just finished building Xen 3.2, everything went fine, except for this: > > anytime I create a vm with the --console option, the output of the > scroll of > > the bootstrap stops like this: > > > > ... > > kjournald starting. Commit interval 5 seconds > > EXT3-fs: mounted filesystem with ordered data mode. > > VFS: Mounted root (ext3 filesystem) readonly. > > Freeing unused kernel memory: 128k freed > > > > at this point the console hangs and I just have to close it; > > but the dom0 is successfully created and everything seems fine.. > > is this something I should be worried? > > > > nothing like this happened with old Xen 3.1 (not compiled) or with > distro > > Xen > > > > Thanks in advance, any idea appreciated. > > > > > > -- > ------------------------------------------------------------------ > Steven C. Timm, Ph.D (630) 840-8525 > timm@fnal.gov http://home.fnal.gov/~timm/ <http://home.fnal.gov/%7Etimm/> > Fermilab Computing Division, Scientific Computing Facilities, > Grid Facilities Department, FermiGrid Services Group, Assistant Group > Leader. >-- Edoardo Ceccarelli - eddy@axa.it _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Stephan Seitz
2008-Mar-31 18:30 UTC
Re: [Xen-users] console output stops but everything else is fine
Hi, recent xen kernels are trying to assign a console on xvc0 instead of tty1. Edoardo Ceccarelli schrieb:> I am not using pygrub (or at least I am not aware of), the .conf file I > give xen is: > > kernel = "/boot/vmlinuz-2.6.18.8-xenU" > memory = 2048 > #memory = 512 > vif = [ ''bridge=xenbr0'', ] > disk = [''phy:vm_volumes/vm2_root,sda1,w'', ''phy:vm_volumes/vm2_swap,sda2,w''] > root = "/dev/sda1 ro" > extra = "fastboot"I don''t know the fastboot parameter, but try to use extra = "xencons=tty1" or ... extra = "fastboot xencons=tty1" alternatively, add a getty on xvc0 to your guests inittab and add xvc0 to /etc/securetty> and the inittab looks like this (it is a jailtime.org > <http://jailtime.org> COS5 64bit image):Cheers, Stephan _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Edoardo Ceccarelli
2008-Mar-31 21:10 UTC
Re: [Xen-users] console output stops but everything else is fine
Perfect! it worked, thanks a lot! I don''t know the fastboot parameter, but try to use> extra = "xencons=tty1" > or ... > extra = "fastboot xencons=tty1" > > alternatively, add a getty on xvc0 to your guests inittab and > add xvc0 to /etc/securetty > > > > and the inittab looks like this (it is a jailtime.org > > <http://jailtime.org> COS5 64bit image): > > Cheers, > > Stephan >-- Edoardo Ceccarelli - eddy@axa.it _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users