Lukas Laukamp
2012-Jul-08 18:48 UTC
VNC console only shows black screen on HVM guest running on Xen 4.1 with Ubuntu 12.04 as Dom0
Hello all, I have a problem getting a working VNC console for HVM guests on Xen 4.1. When I start the DomU with xm create everything is fine the DomU runs and in xm list it has the running state but when I try to connect to the VNC console to install an operating system (Ubuntu and Debian I have tested) the VNC viewer only shows a black screen. So I searched in the logs and found a log entry where I think that this is the problem: xen be: console-0: xen be: console-0: initialise() failed initialise() failed It''s in the qemu-dm log file of the DomU. I have put all logs (xend, xend-debug, xen-hotplugpath and qemu-dm) put into the attachment of this mail. Here also is my actual configuration for the DomU: kernel = "/usr/lib/xen-4.1/boot/hvmloader" builder = "hvm" memory = 4096 shadow_memory = 16 name = "mailer1" vif = [ ''type=ioemu, bridge=xenbr0, mac=00:50:56:00:04:25'' ] acpi = 1 apic = 1 disk = [ ''phy:/dev/vmdisks/mailer1,hda,w'', ''file:/isos/debian-6.0.5-amd64-netinst.iso,hdc:cdrom,r'' ] device_model = ''/usr/lib/xen-4.1/bin/qemu-dm'' boot="dc" sdl=0 vfb = [ ''type=vnc,vnclisten=127.0.0.1,vncunused=1,vncpasswd=sOnlEn3'' ] serial=''pty'' usbdevice=''tablet'' on_reboot=''restart'' on_crash=''restart'' And here the output of xm dmesg: (XEN) Xen version 4.1.2 (Ubuntu 4.1.2-2ubuntu2.1) (stefan.bader@canonical.com) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) Mon Jun 18 14:13:52 UTC 2012 (XEN) Bootloader: GRUB 1.99-21ubuntu3.1 (XEN) Command line: placeholder (XEN) Video information: (XEN) VGA is text mode 80x25, font 8x16 (XEN) VBE/DDC methods: none; EDID transfer time: 0 seconds (XEN) EDID info not retrieved because no DDC retrieval method detected (XEN) Disc information: (XEN) Found 0 MBR signatures (XEN) Found 3 EDD information structures (XEN) Xen-e820 RAM map: (XEN) 0000000000000000 - 000000000009ec00 (usable) (XEN) 000000000009ec00 - 00000000000a0000 (reserved) (XEN) 00000000000e0000 - 0000000000100000 (reserved) (XEN) 0000000000100000 - 00000000bf780000 (usable) (XEN) 00000000bf780000 - 00000000bf78e000 (ACPI data) (XEN) 00000000bf78e000 - 00000000bf7d0000 (ACPI NVS) (XEN) 00000000bf7d0000 - 00000000bf7e0000 (reserved) (XEN) 00000000bf7ec000 - 00000000c0000000 (reserved) (XEN) 00000000fee00000 - 00000000fee01000 (reserved) (XEN) 00000000ffc00000 - 0000000100000000 (reserved) (XEN) 0000000100000000 - 0000000340000000 (usable) (XEN) ACPI: RSDP 000FA340, 0014 (r0 ACPIAM) (XEN) ACPI: RSDT BF780000, 003C (r1 7522MT A7522800 20110819 MSFT 97) (XEN) ACPI: FACP BF780200, 0084 (r1 7522MT A7522800 20110819 MSFT 97) (XEN) ACPI: DSDT BF780480, 6D1A (r1 A7522 A7522800 800 INTL 20051117) (XEN) ACPI: FACS BF78E000, 0040 (XEN) ACPI: APIC BF780390, 00AC (r1 7522MT A7522800 20110819 MSFT 97) (XEN) ACPI: MCFG BF780440, 003C (r1 7522MT OEMMCFG 20110819 MSFT 97) (XEN) ACPI: OEMB BF78E040, 007A (r1 7522MT A7522800 20110819 MSFT 97) (XEN) ACPI: HPET BF78A480, 0038 (r1 7522MT OEMHPET 20110819 MSFT 97) (XEN) ACPI: SSDT BF790DA0, 0363 (r1 DpgPmm CpuPm 12 INTL 20051117) (XEN) System RAM: 12279MB (12573816kB) (XEN) Domain heap initialised (XEN) Processor #0 7:10 APIC version 21 (XEN) Processor #2 7:10 APIC version 21 (XEN) Processor #4 7:10 APIC version 21 (XEN) Processor #6 7:10 APIC version 21 (XEN) Processor #1 7:10 APIC version 21 (XEN) Processor #3 7:10 APIC version 21 (XEN) Processor #5 7:10 APIC version 21 (XEN) Processor #7 7:10 APIC version 21 (XEN) IOAPIC[0]: apic_id 8, version 32, address 0xfec00000, GSI 0-23 (XEN) Enabling APIC mode: Flat. Using 1 I/O APICs (XEN) Table is not found! (XEN) Using scheduler: SMP Credit Scheduler (credit) (XEN) Detected 3341.758 MHz processor. (XEN) Initing memory sharing. (XEN) I/O virtualisation disabled (XEN) ENABLING IO-APIC IRQs (XEN) -> Using new ACK method (XEN) Platform timer is 14.318MHz HPET (XEN) Allocated console ring of 16 KiB. (XEN) VMX: Supported advanced features: (XEN) - APIC MMIO access virtualisation (XEN) - APIC TPR shadow (XEN) - Extended Page Tables (EPT) (XEN) - Virtual-Processor Identifiers (VPID) (XEN) - Virtual NMI (XEN) - MSR direct-access bitmap (XEN) EPT supports 2MB super page. (XEN) HVM: ASIDs enabled. (XEN) HVM: VMX enabled (XEN) HVM: Hardware Assisted Paging detected. (XEN) Brought up 8 CPUs (XEN) *** LOADING DOMAIN 0 *** (XEN) Xen kernel: 64-bit, lsb, compat32 (XEN) Dom0 kernel: 64-bit, PAE, lsb, paddr 0x1000000 -> 0x205f000 (XEN) PHYSICAL MEMORY ARRANGEMENT: (XEN) Dom0 alloc.: 000000032c000000->0000000330000000 (3048830 pages to be allocated) (XEN) Init. ramdisk: 000000033d7fd000->0000000340000000 (XEN) VIRTUAL MEMORY ARRANGEMENT: (XEN) Loaded kernel: ffffffff81000000->ffffffff8205f000 (XEN) Init. ramdisk: ffffffff8205f000->ffffffff84862000 (XEN) Phys-Mach map: ffffffff84862000->ffffffff85fd8c08 (XEN) Start info: ffffffff85fd9000->ffffffff85fd94b4 (XEN) Page tables: ffffffff85fda000->ffffffff8600f000 (XEN) Boot stack: ffffffff8600f000->ffffffff86010000 (XEN) TOTAL: ffffffff80000000->ffffffff86400000 (XEN) ENTRY ADDRESS: ffffffff81cfb200 (XEN) Dom0 has maximum 8 VCPUs (XEN) Scrubbing Free RAM: .done. (XEN) Xen trace buffers: disabled (XEN) Std. Loglevel: Errors and warnings (XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings) (XEN) Xen is relinquishing VGA console. (XEN) *** Serial input -> DOM0 (type ''CTRL-a'' three times to switch input to Xen) (XEN) Freed 220kB init memory. (XEN) physdev.c:155: dom0: wrong map_pirq type 3 All logs are in the attachment as normal text files. The Dom0 is a minimal Ubuntu 12.04 Precise Pangolin and Xen is Version 4.1.2 Would be greate when someone has an idea and can help me. I think that the VNC console is not attached correct but I don''t understand why. When there are questions for other logs or more info please say. Best Regards _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Lukas Laukamp
2012-Jul-08 23:22 UTC
Re: VNC console only shows black screen on HVM guest running on Xen 4.1 with Ubuntu 12.04 as Dom0
Am 08.07.2012 20:48, schrieb Lukas Laukamp:> Hello all, > > I have a problem getting a working VNC console for HVM guests on Xen > 4.1. When I start the DomU with xm create everything is fine the DomU > runs and in xm list it has the running state but when I try to connect > to the VNC console to install an operating system (Ubuntu and Debian I > have tested) the VNC viewer only shows a black screen. So I searched > in the logs and found a log entry where I think that this is the problem: > > xen be: console-0: xen be: console-0: initialise() failed > initialise() failed > > It''s in the qemu-dm log file of the DomU. I have put all logs (xend, > xend-debug, xen-hotplugpath and qemu-dm) put into the attachment of > this mail. > > Here also is my actual configuration for the DomU: > > kernel = "/usr/lib/xen-4.1/boot/hvmloader" > builder = "hvm" > memory = 4096 > shadow_memory = 16 > name = "mailer1" > vif = [ > ''type=ioemu, bridge=xenbr0, mac=00:50:56:00:04:25'' > ] > acpi = 1 > apic = 1 > disk = [ > ''phy:/dev/vmdisks/mailer1,hda,w'', > ''file:/isos/debian-6.0.5-amd64-netinst.iso,hdc:cdrom,r'' > ] > device_model = ''/usr/lib/xen-4.1/bin/qemu-dm'' > boot="dc" > sdl=0 > vfb = [ ''type=vnc,vnclisten=127.0.0.1,vncunused=1,vncpasswd=sOnlEn3'' ] > serial=''pty'' > usbdevice=''tablet'' > on_reboot=''restart'' > on_crash=''restart'' > > And here the output of xm dmesg: > > (XEN) Xen version 4.1.2 (Ubuntu 4.1.2-2ubuntu2.1) > (stefan.bader@canonical.com) (gcc version 4.6.3 (Ubuntu/Linaro > 4.6.3-1ubuntu5) ) Mon Jun 18 14:13:52 UTC 2012 > (XEN) Bootloader: GRUB 1.99-21ubuntu3.1 > (XEN) Command line: placeholder > (XEN) Video information: > (XEN) VGA is text mode 80x25, font 8x16 > (XEN) VBE/DDC methods: none; EDID transfer time: 0 seconds > (XEN) EDID info not retrieved because no DDC retrieval method detected > (XEN) Disc information: > (XEN) Found 0 MBR signatures > (XEN) Found 3 EDD information structures > (XEN) Xen-e820 RAM map: > (XEN) 0000000000000000 - 000000000009ec00 (usable) > (XEN) 000000000009ec00 - 00000000000a0000 (reserved) > (XEN) 00000000000e0000 - 0000000000100000 (reserved) > (XEN) 0000000000100000 - 00000000bf780000 (usable) > (XEN) 00000000bf780000 - 00000000bf78e000 (ACPI data) > (XEN) 00000000bf78e000 - 00000000bf7d0000 (ACPI NVS) > (XEN) 00000000bf7d0000 - 00000000bf7e0000 (reserved) > (XEN) 00000000bf7ec000 - 00000000c0000000 (reserved) > (XEN) 00000000fee00000 - 00000000fee01000 (reserved) > (XEN) 00000000ffc00000 - 0000000100000000 (reserved) > (XEN) 0000000100000000 - 0000000340000000 (usable) > (XEN) ACPI: RSDP 000FA340, 0014 (r0 ACPIAM) > (XEN) ACPI: RSDT BF780000, 003C (r1 7522MT A7522800 20110819 > MSFT 97) > (XEN) ACPI: FACP BF780200, 0084 (r1 7522MT A7522800 20110819 > MSFT 97) > (XEN) ACPI: DSDT BF780480, 6D1A (r1 A7522 A7522800 800 INTL > 20051117) > (XEN) ACPI: FACS BF78E000, 0040 > (XEN) ACPI: APIC BF780390, 00AC (r1 7522MT A7522800 20110819 > MSFT 97) > (XEN) ACPI: MCFG BF780440, 003C (r1 7522MT OEMMCFG 20110819 > MSFT 97) > (XEN) ACPI: OEMB BF78E040, 007A (r1 7522MT A7522800 20110819 > MSFT 97) > (XEN) ACPI: HPET BF78A480, 0038 (r1 7522MT OEMHPET 20110819 > MSFT 97) > (XEN) ACPI: SSDT BF790DA0, 0363 (r1 DpgPmm CpuPm 12 INTL > 20051117) > (XEN) System RAM: 12279MB (12573816kB) > (XEN) Domain heap initialised > (XEN) Processor #0 7:10 APIC version 21 > (XEN) Processor #2 7:10 APIC version 21 > (XEN) Processor #4 7:10 APIC version 21 > (XEN) Processor #6 7:10 APIC version 21 > (XEN) Processor #1 7:10 APIC version 21 > (XEN) Processor #3 7:10 APIC version 21 > (XEN) Processor #5 7:10 APIC version 21 > (XEN) Processor #7 7:10 APIC version 21 > (XEN) IOAPIC[0]: apic_id 8, version 32, address 0xfec00000, GSI 0-23 > (XEN) Enabling APIC mode: Flat. Using 1 I/O APICs > (XEN) Table is not found! > (XEN) Using scheduler: SMP Credit Scheduler (credit) > (XEN) Detected 3341.758 MHz processor. > (XEN) Initing memory sharing. > (XEN) I/O virtualisation disabled > (XEN) ENABLING IO-APIC IRQs > (XEN) -> Using new ACK method > (XEN) Platform timer is 14.318MHz HPET > (XEN) Allocated console ring of 16 KiB. > (XEN) VMX: Supported advanced features: > (XEN) - APIC MMIO access virtualisation > (XEN) - APIC TPR shadow > (XEN) - Extended Page Tables (EPT) > (XEN) - Virtual-Processor Identifiers (VPID) > (XEN) - Virtual NMI > (XEN) - MSR direct-access bitmap > (XEN) EPT supports 2MB super page. > (XEN) HVM: ASIDs enabled. > (XEN) HVM: VMX enabled > (XEN) HVM: Hardware Assisted Paging detected. > (XEN) Brought up 8 CPUs > (XEN) *** LOADING DOMAIN 0 *** > (XEN) Xen kernel: 64-bit, lsb, compat32 > (XEN) Dom0 kernel: 64-bit, PAE, lsb, paddr 0x1000000 -> 0x205f000 > (XEN) PHYSICAL MEMORY ARRANGEMENT: > (XEN) Dom0 alloc.: 000000032c000000->0000000330000000 (3048830 > pages to be allocated) > (XEN) Init. ramdisk: 000000033d7fd000->0000000340000000 > (XEN) VIRTUAL MEMORY ARRANGEMENT: > (XEN) Loaded kernel: ffffffff81000000->ffffffff8205f000 > (XEN) Init. ramdisk: ffffffff8205f000->ffffffff84862000 > (XEN) Phys-Mach map: ffffffff84862000->ffffffff85fd8c08 > (XEN) Start info: ffffffff85fd9000->ffffffff85fd94b4 > (XEN) Page tables: ffffffff85fda000->ffffffff8600f000 > (XEN) Boot stack: ffffffff8600f000->ffffffff86010000 > (XEN) TOTAL: ffffffff80000000->ffffffff86400000 > (XEN) ENTRY ADDRESS: ffffffff81cfb200 > (XEN) Dom0 has maximum 8 VCPUs > (XEN) Scrubbing Free RAM: .done. > (XEN) Xen trace buffers: disabled > (XEN) Std. Loglevel: Errors and warnings > (XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings) > (XEN) Xen is relinquishing VGA console. > (XEN) *** Serial input -> DOM0 (type ''CTRL-a'' three times to switch > input to Xen) > (XEN) Freed 220kB init memory. > (XEN) physdev.c:155: dom0: wrong map_pirq type 3 > > All logs are in the attachment as normal text files. The Dom0 is a > minimal Ubuntu 12.04 Precise Pangolin and Xen is Version 4.1.2 > > Would be greate when someone has an idea and can help me. I think that > the VNC console is not attached correct but I don''t understand why. > When there are questions for other logs or more info please say. > > Best Regards > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-usersHey all again, I have solved the problem myself. The first tests with RealVNC and TightVNC don''t worked now I tested it with Remmina from an Ubuntu Desktop and this worked. Best Regards _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Maybe Matching Threads
- System reboots after "Scrubbing free RAM" Xen 4.0.1 linux 2.6.37-rc3
- System reboots after "Scrubbing free RAM" Xen 4.0.1 linux 2.6.37-rc3
- VGA passthrough - guest shows blank screen on startup
- Bug#567025: xen-hypervisor-3.4-amd64: unhandled page fault while initializing dom0
- Bug#567026: xen-hypervisor-3.4-amd64: unhandled page fault while initializing dom0