-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA384

On 04/12/2015 17:56, Hannes Mehnert wrote:
> I am able to boot FreeBSD dom0 (using r281439) on my Lenovo X220
> [no serial port :/].  Unfortunately, I cannot see any console
> output while the FreeBSD dom0 kernel is booting, using the
> following xen command line:
> 
> xen_cmdline="dom0_mem=4096M dom0_max_vcpus=4 dom0pvh=1
> com1=115200,8n1 guest_loglvl=all loglvl=all console=com1,vga"

I got it working by putting "-Dh" into /boot.config.

Now, when running `xl list`, I get:
libxl: error: libxl.c:669:libxl_list_domain: getting domain info list:
Cannot allocate memory
libxl_list_domain failed.

Relevant output from `xl info`:
total_memory           : 8075
free_memory            : 3837

The output of `xl dmesg` is attached.

Xen is installed from ports (4.5), kernel is GENERIC in r281439.


Any insights? Thanks,

hannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCQAGBQJVK4ocAAoJELyJZYjffCjudEgP/Rm8IixAqtxUuzumvJlr6x6M
tBQYxCZFixTST3RbWKbGa8uNXjDWm2flFdwizxfwkCVloVAlHX26abEobEsXaGCT
fMAZ14I0nsJgAI13V1g68jZsxgNcdcsmgtq+4LiFjsfw7+ivL03p17A8eVD41nlc
9JyAg0zXpiM8NMHW8qFHB8SGv9LKl4S3fpGBSxfu4U6BiUBHD3eOZHeg7vJFgX1u
Hmzcrqtq60lBoiuBLXRXFPEH+XemKNjzZLI4U2aR3XHa1L7zrJJhFDf9aLJdMSu8
BypUSLXZ1KE11pCHHFiJK4RwyLYGOykBnpHCIELwVSrKOlNCwRFS3I4RE/IOBfTE
lyPk7YxKuJDtYWwngb0s/2LlBjuMXeb+cCRIipx0dOy3/T71oO7XWUgxYtyfjNn8
Fm3Y30S+ct8DqZG4xuV/BhzitG/LN7Usnoe69XejXgNbaOoNap6tE3gm/S5mvdAX
T7jxTOSZxqqLBhncssMJeCyZcwrmfQWZ2ssda8gAJtBX6LN2a7RzM2+m3/KGLQ69
jQ+DjuPS41bWJjqWBmPn7UDoZyCWTgj7x1XxvHsV9hMQ9mKnsUk7m3whI4+utZ+i
0eSdnF4irvKgaVQsnEaC5zfjTcc/tW5lZS3/4ba7JAGLs1dFoCZUa48QZiBXS9e+
GgQqhAF4jx+gl9YibEPV
=oVvT
-----END PGP SIGNATURE-----
 Xen 4.5.0
(XEN) Xen version 4.5.0 (root@) (gcc48 (FreeBSD Ports Collection) 4.8.4) 
debug=n Sun Apr 12 06:58:30 UTC 2015
(XEN) Latest ChangeSet: 
(XEN) Bootloader: FreeBSD Loader
(XEN) Command line: dom0_mem=4096M dom0_max_vcpus=4 dom0pvh=1 guest_loglvl=all 
loglvl=all console=vga
(XEN) Video information:
(XEN)  VGA is text mode 80x25, font 8x16
(XEN)  VBE/DDC methods: V2; EDID transfer time: 1 seconds
(XEN) Disc information:
(XEN)  Found 0 MBR signatures
(XEN)  Found 2 EDD information structures
(XEN) Xen-e820 RAM map:
(XEN)  0000000000000000 - 000000000009d800 (usable)
(XEN)  000000000009d800 - 00000000000a0000 (reserved)
(XEN)  00000000000e0000 - 0000000000100000 (reserved)
(XEN)  0000000000100000 - 0000000020000000 (usable)
(XEN)  0000000020000000 - 0000000020200000 (reserved)
(XEN)  0000000020200000 - 0000000040000000 (usable)
(XEN)  0000000040000000 - 0000000040200000 (reserved)
(XEN)  0000000040200000 - 00000000da99f000 (usable)
(XEN)  00000000da99f000 - 00000000dae9f000 (reserved)
(XEN)  00000000dae9f000 - 00000000daf9f000 (ACPI NVS)
(XEN)  00000000daf9f000 - 00000000dafff000 (ACPI data)
(XEN)  00000000dafff000 - 00000000db000000 (usable)
(XEN)  00000000db000000 - 00000000dfa00000 (reserved)
(XEN)  00000000f8000000 - 00000000fc000000 (reserved)
(XEN)  00000000fec00000 - 00000000fec01000 (reserved)
(XEN)  00000000fed08000 - 00000000fed09000 (reserved)
(XEN)  00000000fed10000 - 00000000fed1a000 (reserved)
(XEN)  00000000fed1c000 - 00000000fed20000 (reserved)
(XEN)  00000000fee00000 - 00000000fee01000 (reserved)
(XEN)  00000000ffd20000 - 0000000100000000 (reserved)
(XEN)  0000000100000000 - 000000021e600000 (usable)
(XEN)  000000021e600000 - 000000021e800000 (reserved)
(XEN) ACPI: RSDP 000F00E0, 0024 (r2 LENOVO)
(XEN) ACPI: XSDT DAFFE120, 00AC (r1 LENOVO TP-8D        1260 PTEC        2)
(XEN) ACPI: FACP DAFE7000, 00F4 (r4 LENOVO TP-8D        1260 PTL         2)
(XEN) ACPI: DSDT DAFEA000, F6B2 (r1 LENOVO TP-8D        1260 INTL 20061109)
(XEN) ACPI: FACS DAF2D000, 0040
(XEN) ACPI: SLIC DAFFD000, 0176 (r1 LENOVO TP-8D        1260 PTEC        1)
(XEN) ACPI: SSDT DAFFC000, 0249 (r1 LENOVO TP-SSDT2      200 INTL 20061109)
(XEN) ACPI: SSDT DAFFB000, 0033 (r1 LENOVO TP-SSDT1      100 INTL 20061109)
(XEN) ACPI: SSDT DAFFA000, 07D1 (r1 LENOVO SataAhci     1000 INTL 20061109)
(XEN) ACPI: HPET DAFE6000, 0038 (r1 LENOVO TP-8D        1260 PTL         2)
(XEN) ACPI: APIC DAFE5000, 0098 (r1 LENOVO TP-8D        1260 PTL         2)
(XEN) ACPI: MCFG DAFE4000, 003C (r1 LENOVO TP-8D        1260 PTL         2)
(XEN) ACPI: ECDT DAFE3000, 0052 (r1 LENOVO TP-8D        1260 PTL         2)
(XEN) ACPI: ASF! DAFE9000, 00A5 (r32 LENOVO TP-8D        1260 PTL         2)
(XEN) ACPI: TCPA DAFE2000, 0032 (r2    PTL   LENOVO  6040000 LNVO        1)
(XEN) ACPI: SSDT DAFE1000, 0AAB (r1  PmRef  Cpu0Ist     3000 INTL 20061109)
(XEN) ACPI: SSDT DAFE0000, 0996 (r1  PmRef    CpuPm     3000 INTL 20061109)
(XEN) ACPI: DMAR DAFDF000, 00E8 (r1 INTEL      SNB         1 INTL        1)
(XEN) ACPI: UEFI DAFDE000, 003E (r1 LENOVO TP-8D        1260 PTL         2)
(XEN) ACPI: UEFI DAFDD000, 0042 (r1 PTL      COMBUF        1 PTL         1)
(XEN) ACPI: UEFI DAFDC000, 0292 (r1 LENOVO TP-8D        1260 PTL         2)
(XEN) System RAM: 8075MB (8269044kB)
(XEN) No NUMA configuration found
(XEN) Faking a node at 0000000000000000-000000021e600000
(XEN) Domain heap initialised
(XEN) DMI 2.6 present.
(XEN) Using APIC driver default
(XEN) ACPI: PM-Timer IO Port: 0x408
(XEN) ACPI: SLEEP INFO: pm1x_cnt[1:404,1:0], pm1x_evt[1:400,1:0]
(XEN) ACPI:             wakeup_vec[daf2d00c], vec_size[20]
(XEN) ACPI: Local APIC address 0xfee00000
(XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
(XEN) Processor #0 6:10 APIC version 21
(XEN) ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
(XEN) Processor #1 6:10 APIC version 21
(XEN) ACPI: LAPIC (acpi_id[0x03] lapic_id[0x02] enabled)
(XEN) Processor #2 6:10 APIC version 21
(XEN) ACPI: LAPIC (acpi_id[0x04] lapic_id[0x03] enabled)
(XEN) Processor #3 6:10 APIC version 21
(XEN) ACPI: LAPIC (acpi_id[0x05] lapic_id[0x00] disabled)
(XEN) ACPI: LAPIC (acpi_id[0x06] lapic_id[0x00] disabled)
(XEN) ACPI: LAPIC (acpi_id[0x07] lapic_id[0x00] disabled)
(XEN) ACPI: LAPIC (acpi_id[0x08] lapic_id[0x00] disabled)
(XEN) ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
(XEN) ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
(XEN) ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
(XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
(XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
(XEN) ACPI: IRQ0 used by override.
(XEN) ACPI: IRQ2 used by override.
(XEN) ACPI: IRQ9 used by override.
(XEN) Enabling APIC mode:  Flat.  Using 1 I/O APICs
(XEN) ACPI: HPET id: 0x8086a301 base: 0xfed00000
(XEN) ERST table was not found
(XEN) Using ACPI (MADT) for SMP configuration information
(XEN) SMP: Allowing 8 CPUs (4 hotplug CPUs)
(XEN) IRQ limits: 24 GSI, 760 MSI/MSI-X
(XEN) Switched to APIC driver x2apic_cluster.
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Detected 2791.035 MHz processor.
(XEN) Initing memory sharing.
(XEN) xstate_init: using cntxt_size: 0x340 and states: 0x7
(XEN) mce_intel.c:719: MCA Capability: BCAST 1 SER 0 CMCI 1 firstbank 0 
extended MCE MSR 0
(XEN) Intel machine check reporting enabled
(XEN) alt table ffff82d0802b4bb0 -> ffff82d0802b5d20
(XEN) PCI: MCFG configuration 0: base f8000000 segment 0000 buses 00 - 3f
(XEN) PCI: MCFG area at f8000000 reserved in E820
(XEN) PCI: Using MCFG for segment 0000 bus 00-3f
(XEN) Intel VT-d iommu 0 supported page sizes: 4kB.
(XEN) Intel VT-d iommu 1 supported page sizes: 4kB.
(XEN) Intel VT-d Snoop Control not enabled.
(XEN) Intel VT-d Dom0 DMA Passthrough not enabled.
(XEN) Intel VT-d Queued Invalidation enabled.
(XEN) Intel VT-d Interrupt Remapping enabled.
(XEN) Intel VT-d Shared EPT tables not enabled.
(XEN) I/O virtualisation enabled
(XEN)  - Dom0 mode: Relaxed
(XEN) Interrupt remapping enabled
(XEN) Enabled directed EOI with ioapic_ack_old on!
(XEN) ENABLING IO-APIC IRQs
(XEN)  -> Using old ACK method
(XEN) ..TIMER: vector=0xF0 apic1=0 pin1=2 apic2=-1 pin2=-1
(XEN) TSC deadline timer enabled
(XEN) Platform timer is 14.318MHz HPET
(XEN) Allocated console ring of 32 KiB.
(XEN) mwait-idle: MWAIT substates: 0x21120
(XEN) mwait-idle: v0.4 model 0x2a
(XEN) mwait-idle: lapic_timer_reliable_states 0xffffffff
(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)  - Unrestricted Guest
(XEN) HVM: ASIDs enabled.
(XEN) HVM: VMX enabled
(XEN) HVM: Hardware Assisted Paging (HAP) detected
(XEN) HVM: HAP page sizes: 4kB, 2MB
(XEN) Brought up 4 CPUs
(XEN) ACPI sleep modes: S3
(XEN) mcheck_poll: Machine check polling timer started.
(XEN) Dom0 has maximum 600 PIRQs
(XEN) *** LOADING DOMAIN 0 ***
(XEN)  Xen  kernel: 64-bit, lsb, compat32
(XEN)  Dom0 kernel: 64-bit, PAE, lsb, paddr 0xffffffff80200000 -> 
0xffffffff81963c28
(XEN)  Dom0 symbol map 0xffffffff81963c28 -> 0xffffffff81c688d0
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN)  Dom0 alloc.:   0000000210000000->0000000214000000 (1031090 pages to be 
allocated)
(XEN)  Init. ramdisk: 000000021e1b2000->000000021e600000
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN)  Loaded kernel: ffffffff80200000->ffffffff81c688d0
(XEN)  Init. ramdisk: ffffffff81c69000->ffffffff820b7000
(XEN)  Phys-Mach map: ffffffff820b7000->ffffffff828b7000
(XEN)  Start info:    ffffffff828b7000->ffffffff828b84b4
(XEN)  Page tables:   ffffffff828b9000->ffffffff828d2000
(XEN)  Boot stack:    ffffffff828d2000->ffffffff828d3000
(XEN)  TOTAL:         ffffffff80000000->ffffffff82c00000
(XEN)  ENTRY ADDRESS: ffffffff80d5b000
(XEN) Dom0 has maximum 4 VCPUs
(XEN) Masked UR signaling on 0000:00:00.0
(XEN) Scrubbing Free RAM on 1 nodes using 2 CPUs
(XEN) ..................................done.
(XEN) Initial low memory virq threshold set at 0x4000 pages.
(XEN) Std. Loglevel: All
(XEN) Guest Loglevel: All
(XEN) Xen is relinquishing VGA console.
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to 
Xen)
(XEN) Freed 280kB init memory.
(XEN) irq.c:380: Dom0 callback via changed to Direct Vector 0x93
(XEN) Masked UR signaling on 0000:00:00.0
(XEN) PCI add device 0000:00:00.0
(XEN) PCI add device 0000:00:02.0
(XEN) PCI add device 0000:00:16.0
(XEN) PCI add device 0000:00:19.0
(XEN) PCI add device 0000:00:1a.0
(XEN) PCI add device 0000:00:1b.0
(XEN) PCI add device 0000:00:1c.0
(XEN) PCI add device 0000:00:1c.1
(XEN) PCI add device 0000:00:1c.3
(XEN) PCI add device 0000:00:1c.4
(XEN) PCI add device 0000:00:1c.6
(XEN) PCI add device 0000:00:1d.0
(XEN) PCI add device 0000:00:1f.0
(XEN) PCI add device 0000:00:1f.2
(XEN) PCI add device 0000:00:1f.3
(XEN) PCI add device 0000:03:00.0
(XEN) PCI add device 0000:0d:00.0
(XEN) PCI add device 0000:0e:00.0
_______________________________________________
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"

Reply via email to