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@lists.xensource.com http://lists.xensource.com/xen-users
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@lists.xensource.com http://lists.xensource.com/xen-users
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@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Yeah !> add line to vm configuration (/etc/xen): > extra = "console=hvc0"With extra = "console=tty console=hvc0" I see boot login + prompt.> mount vm image and add following lines (IN VM IMAGE, NOT DOM0 CONFIG). > file /etc/inittab: > 7:23:respawn:/sbin/getty 38400 hvc0I haven''t tried this line, thanks> file /etc/securetty: > hvc0 > > I belive this is enough to get login prompt.Yes it does ! Juste one thing : With "xm console vm" i see lines like Waiting for /dev to be fully populated...done. Setting parameters of disc: (none). Setting the system clock. Unable to set System Clock to: Tue Aug 24 15:34:58 UTC 2010 (warning). But i don''t see them with VNC. Only lines starting with a timer like "[ 9.063164]". Thanks a lot ! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I''m having the same problem but I''m using pv-grub to boot the VM, How do you pass the extra = "console=tty console=hvc0" when I already have extra = "(hd1)/boot/grub/menu.lst"?? I tried the following: extra = "(hd1)/boot/grub/menu.lst console=tty console=hvc0" But it looks like the trailing statements are ignored. When I boot the vm I get console output but no login prompt in the VNC window. The xm console <vm> works fine. Thanks. Tom On Tue, 24 Aug 2010, Nerilaunt Nerilaunt wrote:> Yeah ! > >> add line to vm configuration (/etc/xen): >> extra = "console=hvc0" > > With > > extra = "console=tty console=hvc0" > > I see boot login + prompt. > >> mount vm image and add following lines (IN VM IMAGE, NOT DOM0 CONFIG). >> file /etc/inittab: >> 7:23:respawn:/sbin/getty 38400 hvc0 > > I haven''t tried this line, thanks > >> file /etc/securetty: >> hvc0 >> >> I belive this is enough to get login prompt. > > Yes it does ! > > Juste one thing : > > With "xm console vm" i see lines like > > Waiting for /dev to be fully populated...done. > Setting parameters of disc: (none). > Setting the system clock. > Unable to set System Clock to: Tue Aug 24 15:34:58 UTC 2010 (warning). > > But i don''t see them with VNC. Only lines starting with a timer like > "[ 9.063164]". > > Thanks a lot ! > > _______________________________________________ > 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