[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] eddited: Serial console does not set correctly


  • To: "xen-users@xxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxx>
  • From: tutu sky <ooohooo_u@xxxxxxxxxxx>
  • Date: Fri, 22 Apr 2016 22:05:57 +0000
  • Accept-language: en-US
  • Delivery-date: Sat, 23 Apr 2016 11:37:12 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>
  • Thread-index: AQHRnN6SjyBoLGudrUWCiR8Jxqs3/Z+Wh01T
  • Thread-topic: eddited: Serial console does not set correctly

Hi.
after making a serial port in vmware and try monitor by it through puTTy in 
windows host, I'm trying to set a serial console for monitoring Xen and dom0 
(which are installed on vmware too) according to this link: 
http://wiki.xenproject.org/wiki/XenSerialConsole
this is some relevant lines of my /etc/default/grub:

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=60
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_XEN="loglvl=all guest_loglvl=all com1=115200,8n1,0x3e8,5 
console=com1,vga"
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX="find_preseed=/preseed.cfg auto noprompt priority=critical 
locale=en_US console=hvc0 earlyprintk=xen"
...
GRUB_TERMINAL="console serial"
GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=1 --word=8 --parity=no 
--stop=1"

1) but when starting virtual machine while it is connected to puTTy, i get the 
followings on screen and then start lighting caps lock and scroll lock on 
keyboard (actually a sign of kernel panic):

error: serial port 'com1' isn't found.
error: terminal 'serial' isn't found.
error: terminal 'serial' isn't found.
error: no video mode activated.

2) but sometimes these errors will be passed and grub page comes up with a 
serial black appearance! it lets me select, when choosing xen goes into 
hypervisor and start login in GUI (nothing happen in puTTy), but if i choose 
ubuntu from list, just a black page comes up with that lightning.

when starting VM, randomly one of the (1) or (2) scenarios will happen!

for troubleshooting look at this link: 
https://www.ndchost.com/wiki/vps/xen-console-no-login
and lots of others too. i did as they suggested, even add the hvc0.conf file, 
but nothing has changed.
there is some addresses which i browsed:
http://www.gossamer-threads.com/lists/xen/users/258728
https://help.ubuntu.com/community/SerialConsoleHowto
https://wiki.archlinux.org/index.php/working_with_the_serial_console

is there some one to give me a clue? i really need to set this because of some 
development purposes.

(I choose vmware because it seems powerful enough to make a serial port with 
and also actual serial port usage is not possible for me, there is not another 
PC)
Thanks and regards. 
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.