[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Why 'xm console' not works sometimes?
On Fri, 2007-11-30 at 15:18 +0200, Igor Chubin wrote: > Because domain 0 know nothing about console of HVM-domains. > You can attach to the consoles of paravirtual domains, > but not to HVM. Thank you, Igor! Really... you are correctly. But... I've installed one new ParaVirtual domain, only to test, and I can't console it. I've a lot of changes, like: Host: (DomO) title Red Hat Enterprise Linux Server (2.6.18-53.1.4.el5xen) root (hd0,0) kernel /xen.gz-2.6.18-53.1.4.el5 com2=115200, 8n1 module /vmlinuz-2.6.18-53.1.4.el5xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet console=tty console=ttyS1115200 module /initrd-2.6.18-53.1.4.el5xen.img Guest: (DomU) title Red Hat Enterprise Linux Server (2.6.18-53.1.4.el5xen) root (hd0,0) kernel /boot/vmlinuz-2.6.18-53.1.4.el5xen ro root=LABEL=/ rhgb quiet console=ttyS0 console=tty0 initrd /boot/initrd-2.6.18-53.1.4.el5xen.img [root@xenserver04 ~]# cat /etc/issue Red Hat Enterprise Linux Server release 5 (Tikanga) Kernel \r on an \m [root@xenserver04 ~]# rpm -qa | grep xen xen-3.0.3-41.el5 xen-libs-3.0.3-41.el5 kernel-xen-2.6.18-53.1.4.el5 When I create the machine, I can see the grub, but after this I lost my connection, only can get using 'ssh' after boot. Any ideas? > > What can I do for resolve this? > > > I think, you can try this solution: > > 1. Redirect console inside HVM domain to serial console > 2. In the config file of your domain specify > > serial='pty' > > and after that try to connect using minicom or xm console. Ok... I'll try to get console on ParaVirt first :) [root@xenserver04 ~]# cat /etc/xen/xen04_rh5_01 # Automatically generated xen config file name = "xen04_rh5_01" memory = "1000" disk = [ 'phy:/dev/VolGroup00/xen04_vm02,xvda,w', ] vif = [ 'mac=00:16:3e:2a:b6:5f, bridge=xenbr0', ] vfb = ["type=vnc,vncunused=1"] uuid = "f6e74bad-7cbb-2af2-8e63-8f3e6b1628fb" bootloader="/usr/bin/pygrub" vcpus=1 on_reboot = 'restart' on_crash = 'restart' serial = "pty" # enable serial console extra = 'xencons=tty' Thanks > -- Tiago Cruz http://everlinux.com Linux User #282636 _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |