WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] No login on boot with VNC

To: Nerilaunt Nerilaunt <nerilaunt@xxxxxxxxx>
Subject: Re: [Xen-users] No login on boot with VNC
From: George Shuklin <george.shuklin@xxxxxxxxx>
Date: Tue, 24 Aug 2010 19:19:41 +0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 24 Aug 2010 08:20:43 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=gxrzXto8qMmu+pwtjpbrPOFlNaXGxUm3PGyIlmcjq18=; b=wHcLXCz2t9wJPlM/0saLiyp7srbYD4ihYN4VW1coAux1oGPxgbUxkvcBpBd4cWk0CD PNyNINQ9a/0XAHQJIVQaJHxnD4EvQBs1W/AxpVtNsyNi/28xdJxvVX0r2YIZelAs0D97 h8CyxCJ5pNo4T9rzrs1lzmN3ZcY1qyGGlGmVk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=PP+dj81sAK7afDkMnNld4UJZmk8QMhOpoQmyu20mvRfrFDbV5paM6z0fntWfROhIPQ 9VEMN2+FsYZz+0wQvTFdhFsRRy2hEwgbdPpKNqg/mRgKJ0nPrWBlQC3Ws61K6FY1J7Cu /rTRGtEZT7nXpPTUjlaM+xeHQAcR0+o/s/VzQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTinaJxZ6hTEMZnbt8pqBfBQkwoc==KL4QLtpbkg9@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTinaJxZ6hTEMZnbt8pqBfBQkwoc==KL4QLtpbkg9@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
You must setup console in guest properly.

add line to vm configuration (/etc/xen):
extra = "console=hvc0"

mount vm image and add following lines (IN VM IMAGE, NOT DOM0 CONFIG).
file /etc/inittab:
7:23:respawn:/sbin/getty 38400 hvc0

file /etc/securetty:
hvc0

I belive this is enough to get login prompt.


В Втр, 24/08/2010 в 17:14 +0200, Nerilaunt Nerilaunt пишет:
> Hi,
> 
> I'm using VNC to show vm's linux boot.
> 
> I see lines like
> 
> [    1.053298] EXT3-fs: INFO: recovery required on readonly filesystem.
> [    1.053686] EXT3-fs: write access will be enabled during recovery.
> [    1.494490] kjournald starting.  Commit interval 5 seconds
> 
> etc.
> 
> But à the end of booting, it stop. No prompt login.
> 
> With "xm console vm" I have the boot login. I also see lines like
> 
> Begin: Running /scripts/local-bottom ... done.
> done.
> Begin: Running /scripts/init-bottom ... done.
> INIT: version 2.86 booting
> 
> but i don't see this lines with VNC.
> 
> I tried to update my /etc/inittab without effect.
> 
> I run my vm with :
> 
> memory = 128
> name = "vm"
> vcpus = 1
> kernel = "/boot/vmlinuz-2.6.26-2-xen-amd64"
> ramdisk = "/boot/initrd.img-2.6.26-2-xen-amd64"
> builder='linux'
> disk = [ 'phy:vm/vm1,sda1,w' ]
> vnc=1
> vfb = [ 
> 'type=vnc,vncdisplay=12,vncpasswd=laurent,vnclisten=0.0.0.0,keymap=fr' ]
> root = "/dev/sda1 ro acpi=noirq noapic"
> extra = "xencons=tty console=tty"
> 
> Do you see or know something i missed ?
> 
> Thanks,
> 
> Neri
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>