Bruce Edge
2010-Jul-08 15:39 UTC
[Xen-devel] 2.6.32.16: hvm domU boot - oops at add_pin_to_irq_node_nopanic
This is the same problem as this post: http://lists.xensource.com/archives/html/xen-devel/2010-06/msg01114.html Stefano suggested I retry after Jeremy''s pull. Sync''d with 2.6.32.16 last night and it looks like the identical problem. I can boot Ubuntu 10.04 with it''s own native kernel, but not with a pv-ops kernel. This is with # CONFIG_XEN_PLATFORM_PCI is not set, .config is attached. [ 0.010000] Setting APIC routing to physical flat [ 0.010000] BUG: unable to handle kernel NULL pointer dereference at (null) [ 0.010000] IP: [<ffffffff81034096>] add_pin_to_irq_node_nopanic+0x16/0x100 [ 0.010000] PGD 0 [ 0.010000] Oops: 0000 [#1] SMP [ 0.010000] last sysfs file: Entering kdb (current=0xffff88007d400000, pid 1) on processor 0 Oops: <NULL> due to oops @ 0xffffffff81034096 r15 = 0x0000000000000001 r14 = 0x0000000000000005 r13 = 0xffffffff818e3300 r12 = 0x0000000000000001 bp = 0xffff88007dfffe30 bx = 0x0000000000000000 r11 = 0xffffffff815f5ce6 r10 = 0xffff8800002f0011 r9 = 0x0000000000000040 r8 = 0x00000000000003a8 ax = 0xffffffff818e3300 cx = 0x0000000000000001 dx = 0x0000000000000000 si = 0x0000000000000000 di = 0x0000000000000000 orig_ax = 0xffffffffffffffff ip = 0xffffffff81034096 cs = 0x0000000000000010 flags = 0x0000000000010286 sp = 0xffff88007dfffde0 ss = 0x0000000000000018 ®s = 0xffff88007dfffd48 Here''s the full boot log: [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 2.6.32.16 (root@kaan) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #1 SMP Wed Jul 7 22:27:00 PDT 2010 [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32.16 root=/dev/sda1 ro bigphysarea=128000 kdb=on nmi_watchdog=1 init_cpus=0 console=ttyS0,115200n8 [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] AMD AuthenticAMD [ 0.000000] Centaur CentaurHauls [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) [ 0.000000] BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) [ 0.000000] BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved) [ 0.000000] BIOS-e820: 0000000000100000 - 0000000080000000 (usable) [ 0.000000] BIOS-e820: 00000000fc000000 - 0000000100000000 (reserved) [ 0.000000] DMI 2.4 present. [ 0.000000] last_pfn = 0x80000 max_arch_pfn = 0x400000000 [ 0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106 [ 0.000000] Scanning 1 areas for low memory corruption [ 0.000000] modified physical RAM map: [ 0.000000] modified: 0000000000000000 - 0000000000001000 (usable) [ 0.000000] modified: 0000000000001000 - 0000000000006000 (reserved) [ 0.000000] modified: 0000000000006000 - 000000000009fc00 (usable) [ 0.000000] modified: 000000000009fc00 - 00000000000a0000 (reserved) [ 0.000000] modified: 00000000000e0000 - 0000000000100000 (reserved) [ 0.000000] modified: 0000000000100000 - 0000000080000000 (usable) [ 0.000000] modified: 00000000fc000000 - 0000000100000000 (reserved) [ 0.000000] init_memory_mapping: 0000000000000000-0000000080000000 [ 0.000000] RAMDISK: 3776d000 - 37fef08e [ 0.000000] ACPI: RSDP 00000000000ea020 00024 (v02 Xen) [ 0.000000] ACPI: XSDT 00000000fc012cb0 00034 (v01 Xen HVM 00000000 HVML 00000000) [ 0.000000] ACPI: FACP 00000000fc012ad0 000F4 (v04 Xen HVM 00000000 HVML 00000000) [ 0.000000] ACPI: DSDT 00000000fc002c40 0FE0B (v02 Xen HVM 00000000 INTL 20081204) [ 0.000000] ACPI: FACS 00000000fc002c00 00040 [ 0.000000] ACPI: APIC 00000000fc012bd0 000D8 (v02 Xen HVM 00000000 HVML 00000000) [ 0.000000] No NUMA configuration found [ 0.000000] Faking a node at 0000000000000000-0000000080000000 [ 0.000000] Bootmem setup node 0 0000000000000000-0000000080000000 [ 0.000000] NODE_DATA [0000000000009000 - 000000000000dfff] [ 0.000000] bootmap [000000000000e000 - 000000000001dfff] pages 10 [ 0.000000] (7 early reservations) ==> bootmem [0000000000 - 0080000000] [ 0.000000] #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000] [ 0.000000] #1 [0000006000 - 0000008000] TRAMPOLINE ==> [0000006000 - 0000008000] [ 0.000000] #2 [0001000000 - 0001bcd724] TEXT DATA BSS ==> [0001000000 - 0001bcd724] [ 0.000000] #3 [003776d000 - 0037fef08e] RAMDISK ==> [003776d000 - 0037fef08e] [ 0.000000] #4 [000009d800 - 0000100000] BIOS reserved ==> [000009d800 - 0000100000] [ 0.000000] #5 [0001bce000 - 0001bce099] BRK ==> [0001bce000 - 0001bce099] [ 0.000000] #6 [0000008000 - 0000009000] PGTABLE ==> [0000008000 - 0000009000] [ 0.000000] found SMP MP-table at [ffff8800000fbc40] fbc40 [ 0.000000] Zone PFN ranges: [ 0.000000] DMA 0x00000000 -> 0x00001000 [ 0.000000] DMA32 0x00001000 -> 0x00100000 [ 0.000000] Normal 0x00100000 -> 0x00100000 [ 0.000000] Movable zone start PFN for each node [ 0.000000] early_node_map[3] active PFN ranges [ 0.000000] 0: 0x00000000 -> 0x00000001 [ 0.000000] 0: 0x00000006 -> 0x0000009f [ 0.000000] 0: 0x00000100 -> 0x00080000 [ 0.000000] ACPI: PM-Timer IO Port: 0x1f48 [ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x02] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x04] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x06] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x04] lapic_id[0x08] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x05] lapic_id[0x0a] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x06] lapic_id[0x0c] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x07] lapic_id[0x0e] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x08] lapic_id[0x10] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x09] lapic_id[0x12] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x0a] lapic_id[0x14] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x0b] lapic_id[0x16] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x0c] lapic_id[0x18] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x0d] lapic_id[0x1a] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x0e] lapic_id[0x1c] disabled) [ 0.000000] ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0]) [ 0.000000] IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-47 [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 low level) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 low level) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 low level) [ 0.000000] Using ACPI (MADT) for SMP configuration information [ 0.000000] SMP: Allowing 15 CPUs, 14 hotplug CPUs [ 0.000000] Xen version 4.0. [ 0.000000] PM: Registered nosave memory: 0000000000001000 - 0000000000006000 [ 0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000 [ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000e0000 [ 0.000000] PM: Registered nosave memory: 00000000000e0000 - 0000000000100000 [ 0.000000] Allocating PCI resources starting at 80000000 (gap: 80000000:7c000000) [ 0.000000] Booting paravirtualized kernel on Xen [ 0.000000] NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:15 nr_node_ids:1 [ 0.000000] PERCPU: Embedded 30 pages/cpu @ffff880003c00000 s91416 r8192 d23272 u131072 [ 0.000000] pcpu-alloc: s91416 r8192 d23272 u131072 alloc=1*2097152 [ 0.000000] pcpu-alloc: [0] 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 -- [ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 516916 [ 0.000000] Policy zone: DMA32 [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32.16 root=/dev/sda1 ro bigphysarea=128000 kdb=on nmi_watchdog=1 init_cpus=0 console=ttyS0,115200n8 [ 0.000000] init_cpus[0]=1 [ 0.000000] setting init process cpumask to 1 [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Initializing CPU#0 [ 0.000000] Checking aperture... [ 0.000000] No AGP bridge found [ 0.000000] Memory: 2045136k/2097152k available (6164k kernel code, 408k absent, 51608k reserved, 3575k data, 840k init) [ 0.000000] SLUB: Genslabs=14, HWalign=64, Order=0-3, MinObjects=0, CPUs=15, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS:4352 nr_irqs:936 [ 0.000000] xen map irq failed -38 [ 0.000000] xen map irq failed -38 [ 0.000000] xen map irq failed -38 [ 0.000000] xen map irq failed -38 [ 0.000000] xen map irq failed -38 [ 0.000000] xen map irq failed -38 [ 0.000000] xen map irq failed -38 [ 0.000000] xen map irq failed -38 [ 0.000000] xen map irq failed -38 [ 0.000000] xen map irq failed -38 [ 0.000000] xen map irq failed -38 [ 0.000000] xen map irq failed -38 [ 0.000000] xen map irq failed -38 [ 0.000000] xen map irq failed -38 [ 0.000000] xen map irq failed -38 [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 low level) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 low level) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 low level) [ 0.000000] Console: colour VGA+ 80x25 [ 0.000000] console [ttyS0] enabled [ 0.000000] allocated 20971520 bytes of page_cgroup [ 0.000000] please try ''cgroup_disable=memory'' option if you don''t want memory cgroups [ 0.000000] Fast TSC calibration using PIT [ 0.000000] Detected 2659.885 MHz processor. [ 0.000004] Calibrating delay loop (skipped), value calculated using timer frequency.. 5319.77 BogoMIPS (lpj=26598850) [ 0.005026] kdb version 4.4 by Keith Owens, Scott Lurndal. Copyright SGI, All Rights Reserved kdb_cmd[0]: defcmd archkdb "" "First line arch debugging" kdb_cmd[8]: defcmd archkdbcpu "" "archkdb with only tasks on cpus" kdb_cmd[15]: defcmd archkdbshort "" "archkdb with less detailed backtrace" [ 0.010000] Security Framework initialized [ 0.010000] SELinux: Disabled at boot. [ 0.010000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes) [ 0.010000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.010000] Mount-cache hash table entries: 256 [ 0.010000] Initializing cgroup subsys ns [ 0.010000] Initializing cgroup subsys cpuacct [ 0.010000] Initializing cgroup subsys memory [ 0.010000] Initializing cgroup subsys devices [ 0.010000] Initializing cgroup subsys freezer [ 0.010000] Initializing cgroup subsys net_cls [ 0.010000] CPU: L1 I cache: 32K, L1 D cache: 32K [ 0.010000] CPU: L2 cache: 256K [ 0.010000] CPU: L3 cache: 8192K [ 0.010000] CPU 0/0x0 -> Node 0 [ 0.010000] CPU: Unsupported number of siblings 32 [ 0.010000] mce: CPU supports 9 MCE banks [ 0.010000] Performance Events: unsupported p6 CPU model 26 no PMU driver, software events only. [ 0.010000] SMP alternatives: switching to UP code [ 0.010000] ACPI: Core revision 20090903 [ 0.010000] ftrace: converting mcount calls to 0f 1f 44 00 00 [ 0.010000] ftrace: allocating 25131 entries in 99 pages [ 0.010000] Setting APIC routing to physical flat [ 0.010000] BUG: unable to handle kernel NULL pointer dereference at (null) [ 0.010000] IP: [<ffffffff81034096>] add_pin_to_irq_node_nopanic+0x16/0x100 [ 0.010000] PGD 0 [ 0.010000] Oops: 0000 [#1] SMP [ 0.010000] last sysfs file: Entering kdb (current=0xffff88007d400000, pid 1) on processor 0 Oops: <NULL> due to oops @ 0xffffffff81034096 r15 = 0x0000000000000001 r14 = 0x0000000000000005 r13 = 0xffffffff818e3300 r12 = 0x0000000000000001 bp = 0xffff88007dfffe30 bx = 0x0000000000000000 r11 = 0xffffffff815f5ce6 r10 = 0xffff8800002f0011 r9 = 0x0000000000000040 r8 = 0x00000000000003a8 ax = 0xffffffff818e3300 cx = 0x0000000000000001 dx = 0x0000000000000000 si = 0x0000000000000000 di = 0x0000000000000000 orig_ax = 0xffffffffffffffff ip = 0xffffffff81034096 cs = 0x0000000000000010 flags = 0x0000000000010286 sp = 0xffff88007dfffde0 ss = 0x0000000000000018 ®s = 0xffff88007dfffd48 [0]kdb> bt Stack traceback for pid 1 0xffff88007d400000 1 0 1 0 R 0xffff88007d4a8 *swapper sp ip Function (args) bb_parse_opcode: no match at [kernel]kdb_save_running 0xffffffff812e6720 - ''push'' bb_parse_opcode: no match at [kernel]kdb_save_running 0xffffffff812e6721 - ''mov'' bb_parse_opcode: no match at [kernel]kdb_save_running 0xffffffff812e6724 - ''nop'' bb_parse_opcode: no match at [kernel]kdb_save_running 0xffffffff812e6726 - ''add'' bb_parse_opcode: no match at [kernel]kdb_save_running 0xffffffff812e6729 - ''mov'' kdb_bb: address 0xffff88007dfffb08 not recognised Using old style backtrace, unreliable with no arguments sp ip Function (args) 0xffff88007dfffd78 0xffffffff815f5ce6 setup_local_APIC+0x1bf 0xffff88007dfffdc8 0xffffffff81034096 add_pin_to_irq_node_nopanic+0x16 0xffff88007dfffdf8 0xffffffff8103a7a9 default_spin_lock_flags+0x9 0xffff88007dfffe38 0xffffffff8103431e add_pin_to_irq_node+0xe 0xffff88007dfffe48 0xffffffff819ac5b7 setup_IO_APIC_irqs+0x191 0xffff88007dfffe98 0xffffffff819acc28 setup_IO_APIC+0x43 0xffff88007dfffeb8 0xffffffff819a8665 native_smp_prepare_cpus+0x1d9 0xffff88007dffff08 0xffffffff8199b8fb kernel_init+0x62 0xffff88007dffff48 0xffffffff810151ea child_rip+0xa Here''s the qemu log: /var/log/xen #> cat qemu-dm-dpm.log domid: 3 config qemu network with xen bridge for tap-vif-dpm eth0 Using xvda for guest''s hda Using file /dev/system/dpm_0 in read-write mode Watching /local/domain/0/device-model/3/logdirty/cmd Watching /local/domain/0/device-model/3/command char device redirected to /dev/pts/1 qemu_map_cache_init nr_buckets = 10000 size 4194304 shared page at pfn feffd buffered io page at pfn feffb Guest uuid = 28bdeb77-d4b7-5c3b-2831-efec6ea61479 Time offset set 0 populating video RAM at ff000000 mapping video RAM from ff000000 Register xen platform. Done register platform. platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state. xs_read(/local/domain/0/device-model/3/xen_extended_power_mgmt): read error Log-dirty: no command yet. I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 (qemu) xs_read(/local/domain/3/log-throttling): read error qemu: ignoring not-understood drive `/local/domain/3/log-throttling'' medium change watch on `/local/domain/3/log-throttling'' - unknown device, ignored dm-command: hot insert pass-through pci dev register_real_device: Assigning real physical device 04:00.0 ... register_real_device: Enable MSI translation via per device option register_real_device: Disable power management pt_iomul_init: Error: pt_iomul_init can''t open file /dev/xen/pci_iomul: No such file or directory: 0x4:0x0.0x0 pt_register_regions: IO region registered (size=0x00100000 base_addr=0xfaa00004) pt_register_regions: IO region registered (size=0x00000100 base_addr=0x0000b801) pt_register_regions: IO region registered (size=0x00000100 base_addr=0x0000b401) pt_register_regions: IO region registered (size=0x00008000 base_addr=0xfa8f8004) pt_register_regions: Expansion ROM registered (size=0x00100000 base_addr=0xfa900000) pt_msix_init: get MSI-X table bar base fa8f8000 pt_msix_init: table_off = 4100, total_entries = 9 pt_msix_init: errno = 2 pt_msix_init: mapping physical MSI-X table to 7f589cf59100 pt_msi_setup: msi mapped with pirq 67 pci_intx: intx=1 register_real_device: Real physical device 04:00.0 registered successfuly! IRQ type = MSI-INTx dm-command: hot insert pass-through pci dev register_real_device: Assigning real physical device 04:00.1 ... register_real_device: Enable MSI translation via per device option register_real_device: Disable power management pt_iomul_init: Error: pt_iomul_init can''t open file /dev/xen/pci_iomul: No such file or directory: 0x4:0x0.0x1 pt_register_regions: IO region registered (size=0x00100000 base_addr=0xfa700004) pt_register_regions: IO region registered (size=0x00000100 base_addr=0x0000b001) pt_register_regions: IO region registered (size=0x00000100 base_addr=0x0000a801) pt_register_regions: IO region registered (size=0x00008000 base_addr=0xfa8f0004) pt_register_regions: Expansion ROM registered (size=0x00100000 base_addr=0xfa600000) pt_msix_init: get MSI-X table bar base fa8f0000 pt_msix_init: table_off = 4100, total_entries = 9 pt_msix_init: errno = 2 pt_msix_init: mapping physical MSI-X table to 7f589cf58100 pt_msi_setup: msi mapped with pirq 66 pci_intx: intx=2 register_real_device: Real physical device 04:00.1 registered successfuly! IRQ type = MSI-INTx cirrus vga map change while on lfb mode pt_iomem_map: e_phys=f3000000 maddr=faa00000 type=0 len=1048576 index=0 first_map=1 pt_iomem_map: e_phys=f3200000 maddr=fa700000 type=0 len=1048576 index=0 first_map=1 pt_iomem_map: e_phys=f3420000 maddr=fa8f8000 type=0 len=32768 index=4 first_map=1 pt_iomem_map: e_phys=f3428000 maddr=fa8f0000 type=0 len=32768 index=4 first_map=1 pt_ioport_map: e_phys=c100 pio_base=b800 len=256 index=2 first_map=1 pt_ioport_map: e_phys=c200 pio_base=b400 len=256 index=3 first_map=1 pt_ioport_map: e_phys=c300 pio_base=b000 len=256 index=2 first_map=1 pt_ioport_map: e_phys=c400 pio_base=a800 len=256 index=3 first_map=1 Overlapped to device[00:06.0][Region:0][Address:f3200000h][Size:00100000h] pt_bar_mapping_one: Warning: ptdev[00:05.0][Region:6][Address:f3100001h][Size:00100000h] is overlapped. pt_iomem_map: e_phys=f3100001 maddr=fa900000 type=8 len=1048576 index=6 first_map=1 pt_iomem_map: e_phys=ffffffff maddr=fa900000 type=8 len=1048576 index=6 first_map=0 Overlapped to device[00:04.0][Region:0][Address:f3400000h][Size:00020000h] pt_bar_mapping_one: Warning: ptdev[00:06.0][Region:6][Address:f3300001h][Size:00100000h] is overlapped. pt_iomem_map: e_phys=f3300001 maddr=fa600000 type=8 len=1048576 index=6 first_map=1 pt_iomem_map: e_phys=ffffffff maddr=fa600000 type=8 len=1048576 index=6 first_map=0 mapping vram to f0000000 - f0400000 platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state. platform_fixed_ioport: changed ro/rw state of ROM memory area. now is ro state. xend.log was unremarkable, the last bit was: [2010-07-08 04:03:16 1659] DEBUG (XendDomainInfo:3400) Storing VM details: {''on_xend_stop'': ''ignore'', ''shadow_memory'': ''17'', ''uuid'': ''28bdeb77-d4b7-5c3b-2831-efec6ea61479'', ''on_reboot'': ''destroy'', ''start_time'': ''1278576196.99'', ''on_poweroff'': ''destroy'', ''bootloader_args'': '''', ''on_xend_start'': ''ignore'', ''on_crash'': ''destroy'', ''xend/restart_count'': ''0'', ''vcpus'': ''1'', ''vcpu_avail'': ''1'', ''bootloader'': '''', ''image'': ''(hvm (kernel ) (superpages 0) (videoram 4) (hpet 0) (stdvga 0) (loader /usr/lib/xen/boot/hvmloader) (xen_platform_pci 1) (rtc_timeoffset 0) (pci ((0x0000 0x04 0x00 0x0 0x100 ()) (0x0000 0x04 0x00 0x1 0x100 ()))) (hap 1) (localtime 0) (timer_mode 1) (pci_msitranslate 1) (oos 1) (apic 1) (sdl 0) (usbdevice tablet) (vpt_align 1) (serial pty) (vncunused 1) (boot c) (pae 1) (viridian 0) (acpi 1) (vnc 0) (nographic 0) (nomigrate 0) (usb 0) (tsc_mode 0) (guest_os_type linux) (device_model /usr/lib/xen/bin/qemu-dm) (pci_power_mgmt 0) (xauthority /root/.Xauthority) (isa 0) (notes (SUSPEND_CANCEL 1)))'', ''name'': ''dpm''} [2010-07-08 04:03:16 1659] DEBUG (XendDomainInfo:1804) Storing domain details: {''console/port'': ''3'', ''description'': '''', ''console/limit'': ''1048576'', ''store/port'': ''2'', ''vm'': ''/vm/28bdeb77-d4b7-5c3b-2831-efec6ea61479'', ''domid'': ''3'', ''image/suspend-cancel'': ''1'', ''cpu/0/availability'': ''online'', ''memory/target'': ''2097152'', ''control/platform-feature-multiprocessor-suspend'': ''1'', ''store/ring-ref'': ''1044476'', ''console/type'': ''ioemu'', ''name'': ''dpm''} [2010-07-08 04:03:17 1659] DEBUG (DevController:95) DevController: writing {''state'': ''1'', ''backend-id'': ''0'', ''backend'': ''/local/domain/0/backend/console/3/0''} to /local/domain/3/device/console/0. [2010-07-08 04:03:17 1659] DEBUG (DevController:97) DevController: writing {''domain'': ''dpm'', ''frontend'': ''/local/domain/3/device/console/0'', ''uuid'': ''eeeec42a-19a0-ec1e-edba-7387caf7b778'', ''frontend-id'': ''3'', ''state'': ''1'', ''location'': ''3'', ''online'': ''1'', ''protocol'': ''vt100''} to /local/domain/0/backend/console/3/0. [2010-07-08 04:03:17 1659] DEBUG (pciif:460) XendDomainInfo.handleAerStateWatch [2010-07-08 04:03:17 1659] DEBUG (XendDomainInfo:1891) XendDomainInfo.handleShutdownWatch [2010-07-08 04:03:17 1659] DEBUG (DevController:139) Waiting for devices tap2. [2010-07-08 04:03:17 1659] DEBUG (DevController:139) Waiting for devices vif. [2010-07-08 04:03:17 1659] DEBUG (DevController:144) Waiting for 0. [2010-07-08 04:03:17 1659] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vif/3/0/hotplug-status. [2010-07-08 04:03:17 1659] DEBUG (DevController:642) hotplugStatusCallback 1. [2010-07-08 04:03:17 1659] DEBUG (DevController:139) Waiting for devices vkbd. [2010-07-08 04:03:17 1659] DEBUG (DevController:139) Waiting for devices ioports. [2010-07-08 04:03:17 1659] DEBUG (DevController:139) Waiting for devices tap. [2010-07-08 04:03:17 1659] DEBUG (DevController:139) Waiting for devices vif2. [2010-07-08 04:03:17 1659] DEBUG (DevController:139) Waiting for devices console. [2010-07-08 04:03:17 1659] DEBUG (DevController:144) Waiting for 0. [2010-07-08 04:03:17 1659] DEBUG (DevController:139) Waiting for devices vscsi. [2010-07-08 04:03:17 1659] DEBUG (DevController:139) Waiting for devices vbd. [2010-07-08 04:03:17 1659] DEBUG (DevController:144) Waiting for 51712. [2010-07-08 04:03:17 1659] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vbd/3/51712/hotplug-status. [2010-07-08 04:03:17 1659] DEBUG (DevController:642) hotplugStatusCallback 1. [2010-07-08 04:03:17 1659] DEBUG (DevController:139) Waiting for devices irq. [2010-07-08 04:03:17 1659] DEBUG (DevController:139) Waiting for devices vfb. [2010-07-08 04:03:17 1659] DEBUG (DevController:139) Waiting for devices pci. [2010-07-08 04:03:17 1659] DEBUG (DevController:144) Waiting for 0. [2010-07-08 04:03:17 1659] DEBUG (DevController:139) Waiting for devices vusb. [2010-07-08 04:03:17 1659] DEBUG (DevController:139) Waiting for devices vtpm. [2010-07-08 04:03:17 1659] INFO (XendDomain:1206) Domain dpm (3) unpaused. -Bruce _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Stefano Stabellini
2010-Jul-08 16:55 UTC
Re: [Xen-devel] 2.6.32.16: hvm domU boot - oops at add_pin_to_irq_node_nopanic
On Thu, 8 Jul 2010, Bruce Edge wrote:> This is the same problem as this post: > http://lists.xensource.com/archives/html/xen-devel/2010-06/msg01114.html > > Stefano suggested I retry after Jeremy''s pull. > > Sync''d with 2.6.32.16 last night and it looks like the identical problem. > > I can boot Ubuntu 10.04 with it''s own native kernel, but not with a pv-ops kernel. > > This is with # CONFIG_XEN_PLATFORM_PCI is not set, .config is attached. >I think that Jeremy didn''t merge the up-to-date PV on HVM branch in stable-2.6.32.x but only in next. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Bruce Edge
2010-Jul-08 16:59 UTC
Re: [Xen-devel] 2.6.32.16: hvm domU boot - oops at add_pin_to_irq_node_nopanic
On Thu, Jul 8, 2010 at 9:55 AM, Stefano Stabellini < stefano.stabellini@eu.citrix.com> wrote:> On Thu, 8 Jul 2010, Bruce Edge wrote: > > This is the same problem as this post: > > http://lists.xensource.com/archives/html/xen-devel/2010-06/msg01114.html > > > > Stefano suggested I retry after Jeremy''s pull. > > > > Sync''d with 2.6.32.16 last night and it looks like the identical problem. > > > > I can boot Ubuntu 10.04 with it''s own native kernel, but not with a > pv-ops kernel. > > > > This is with # CONFIG_XEN_PLATFORM_PCI is not set, .config is attached. > > > > I think that Jeremy didn''t merge the up-to-date PV on HVM branch in > stable-2.6.32.x but only in next. > >I thought that the PV on HVM code was only used if CONFIG_XEN_PLATFORM_PCI=y. Is that not the case? I''ll try xen/next. Thanks -Bruce _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Stefano Stabellini
2010-Jul-08 17:04 UTC
Re: [Xen-devel] 2.6.32.16: hvm domU boot - oops at add_pin_to_irq_node_nopanic
On Thu, 8 Jul 2010, Bruce Edge wrote:> On Thu, Jul 8, 2010 at 9:55 AM, Stefano Stabellini <stefano.stabellini@eu.citrix.com> wrote: > On Thu, 8 Jul 2010, Bruce Edge wrote: > > This is the same problem as this post: > > http://lists.xensource.com/archives/html/xen-devel/2010-06/msg01114.html > > > > Stefano suggested I retry after Jeremy''s pull. > > > > Sync''d with 2.6.32.16 last night and it looks like the identical problem. > > > > I can boot Ubuntu 10.04 with it''s own native kernel, but not with a pv-ops kernel. > > > > This is with # CONFIG_XEN_PLATFORM_PCI is not set, .config is attached. > > > > I think that Jeremy didn''t merge the up-to-date PV on HVM branch in > stable-2.6.32.x but only in next. > > > I thought that the PV on HVM code was only used if CONFIG_XEN_PLATFORM_PCI=y. > Is that not the case? >For the most part yes, however the pv timer can still work even without the platform pci driver and with the pv timer enabled you need another patch to prevent the ioapic initialization code from breaking. This last patch is missing from stable-2.6.32.x. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Bruce Edge
2010-Jul-08 17:56 UTC
Re: [Xen-devel] 2.6.32.16: hvm domU boot - oops at add_pin_to_irq_node_nopanic
On Thu, Jul 8, 2010 at 10:04 AM, Stefano Stabellini < stefano.stabellini@eu.citrix.com> wrote:> On Thu, 8 Jul 2010, Bruce Edge wrote: > > On Thu, Jul 8, 2010 at 9:55 AM, Stefano Stabellini < > stefano.stabellini@eu.citrix.com> wrote: > > On Thu, 8 Jul 2010, Bruce Edge wrote: > > > This is the same problem as this post: > > > > http://lists.xensource.com/archives/html/xen-devel/2010-06/msg01114.html > > > > > > Stefano suggested I retry after Jeremy''s pull. > > > > > > Sync''d with 2.6.32.16 last night and it looks like the identical > problem. > > > > > > I can boot Ubuntu 10.04 with it''s own native kernel, but not with > a pv-ops kernel. > > > > > > This is with # CONFIG_XEN_PLATFORM_PCI is not set, .config is > attached. > > > > > > > I think that Jeremy didn''t merge the up-to-date PV on HVM branch in > > stable-2.6.32.x but only in next. > > > > > > I thought that the PV on HVM code was only used > if CONFIG_XEN_PLATFORM_PCI=y. > > Is that not the case? > > > > For the most part yes, however the pv timer can still work even without > the platform pci driver and with the pv timer enabled you need another > patch to prevent the ioapic initialization code from breaking. This last > patch is missing from stable-2.6.32.x. >Could you give me a pointer to this patch? I''d like to test it to confirm whether it is indeed the problem. -Bruce _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jeremy Fitzhardinge
2010-Jul-08 18:39 UTC
Re: [Xen-devel] 2.6.32.16: hvm domU boot - oops at add_pin_to_irq_node_nopanic
On 07/08/2010 09:59 AM, Bruce Edge wrote:> On Thu, Jul 8, 2010 at 9:55 AM, Stefano Stabellini > <stefano.stabellini@eu.citrix.com > <mailto:stefano.stabellini@eu.citrix.com>> wrote: > > On Thu, 8 Jul 2010, Bruce Edge wrote: > > This is the same problem as this post: > > > http://lists.xensource.com/archives/html/xen-devel/2010-06/msg01114.html > > > > Stefano suggested I retry after Jeremy''s pull. > > > > Sync''d with 2.6.32.16 last night and it looks like the identical > problem. > > > > I can boot Ubuntu 10.04 with it''s own native kernel, but not > with a pv-ops kernel. > > > > This is with # CONFIG_XEN_PLATFORM_PCI is not set, .config is > attached. > > > > I think that Jeremy didn''t merge the up-to-date PV on HVM branch in > stable-2.6.32.x but only in next. > > > I thought that the PV on HVM code was only used > if CONFIG_XEN_PLATFORM_PCI=y. > Is that not the case? > > I''ll try xen/next.Try xen/next-2.6.32; that''s going to be the next stable-2.6.32. J _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Łukasz Oleś
2010-Jul-08 19:25 UTC
Re: [Xen-devel] 2.6.32.16: hvm domU boot - oops at add_pin_to_irq_node_nopanic
On Thursday 08 July 2010 17:39:49 Bruce Edge wrote:> This is the same problem as this post: > http://lists.xensource.com/archives/html/xen-devel/2010-06/msg01114.html > > Stefano suggested I retry after Jeremy''s pull. > > Sync''d with 2.6.32.16 last night and it looks like the identical problem. > > I can boot Ubuntu 10.04 with it''s own native kernel, but not with a pv-ops > kernel.I have identical problem and tried with and without CONFIG_XEN_PLATFORM_PCI option. I''ll test xen/next-2.6.32 and see if it helps. -- Łukasz Oleś _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Łukasz Oleś
2010-Jul-09 09:42 UTC
Re: [Xen-devel] 2.6.32.16: hvm domU boot - oops at add_pin_to_irq_node_nopanic
2010/7/8 Łukasz Oleś <lukaszoles@gmail.com>:> On Thursday 08 July 2010 17:39:49 Bruce Edge wrote: >> This is the same problem as this post: >> http://lists.xensource.com/archives/html/xen-devel/2010-06/msg01114.html >> >> Stefano suggested I retry after Jeremy''s pull. >> >> Sync''d with 2.6.32.16 last night and it looks like the identical problem. >> >> I can boot Ubuntu 10.04 with it''s own native kernel, but not with a pv-ops >> kernel. > > I have identical problem and tried with and without CONFIG_XEN_PLATFORM_PCI > option. > > I''ll test xen/next-2.6.32 and see if it helps. >I tried xen/next-2.6.32 and there is no call trace but now it just hangs. I''m running this kernel as HVM domU, but it has enabled options for dom0. Should this work? Attached kernel config file and logs from xen/stable-2.6.32 xen/next-2.6.32 -- Łukasz Oleś _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Łukasz Oleś
2010-Jul-09 09:54 UTC
Re: [Xen-devel] 2.6.32.16: hvm domU boot - oops at add_pin_to_irq_node_nopanic
W dniu 9 lipca 2010 11:42 użytkownik Łukasz Oleś <lukaszoles@gmail.com> napisał:> 2010/7/8 Łukasz Oleś <lukaszoles@gmail.com>: >> On Thursday 08 July 2010 17:39:49 Bruce Edge wrote: >>> This is the same problem as this post: >>> http://lists.xensource.com/archives/html/xen-devel/2010-06/msg01114.html >>> >>> Stefano suggested I retry after Jeremy''s pull. >>> >>> Sync''d with 2.6.32.16 last night and it looks like the identical problem. >>> >>> I can boot Ubuntu 10.04 with it''s own native kernel, but not with a pv-ops >>> kernel. >> >> I have identical problem and tried with and without CONFIG_XEN_PLATFORM_PCI >> option. >> >> I''ll test xen/next-2.6.32 and see if it helps. >> > > I tried xen/next-2.6.32 and there is no call trace but now it just hangs. > I''m running this kernel as HVM domU, but it has enabled options for > dom0. Should this work? > > Attached kernel config file and logs from xen/stable-2.6.32 xen/next-2.6.32 >Sending also output from xm log This line: "(XEN) hvm.c:3115:d15 Bad HVM op 9." appears when starting domU with kernel from xen/next-2.6.32 -- Łukasz Oleś _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Stefano Stabellini
2010-Jul-09 10:37 UTC
Re: [Xen-devel] 2.6.32.16: hvm domU boot - oops at add_pin_to_irq_node_nopanic
On Thu, 8 Jul 2010, Bruce Edge wrote:> On Thu, Jul 8, 2010 at 10:04 AM, Stefano Stabellini <stefano.stabellini@eu.citrix.com> wrote: > On Thu, 8 Jul 2010, Bruce Edge wrote: > > On Thu, Jul 8, 2010 at 9:55 AM, Stefano Stabellini <stefano.stabellini@eu.citrix.com> wrote: > > On Thu, 8 Jul 2010, Bruce Edge wrote: > > > This is the same problem as this post: > > > http://lists.xensource.com/archives/html/xen-devel/2010-06/msg01114.html > > > > > > Stefano suggested I retry after Jeremy''s pull. > > > > > > Sync''d with 2.6.32.16 last night and it looks like the identical problem. > > > > > > I can boot Ubuntu 10.04 with it''s own native kernel, but not with a pv-ops kernel. > > > > > > This is with # CONFIG_XEN_PLATFORM_PCI is not set, .config is attached. > > > > > > > I think that Jeremy didn''t merge the up-to-date PV on HVM branch in > > stable-2.6.32.x but only in next. > > > > > > I thought that the PV on HVM code was only used if CONFIG_XEN_PLATFORM_PCI=y. > > Is that not the case? > > > > For the most part yes, however the pv timer can still work even without > the platform pci driver and with the pv timer enabled you need another > patch to prevent the ioapic initialization code from breaking. This last > patch is missing from stable-2.6.32.x. > > > Could you give me a pointer to this patch? I''d like to test it to confirm whether it is indeed the problem. >you can checkout my tree from here (vanilla 2.6.34 + pv on hvm patches): git://xenbits.xen.org/people/sstabellini/linux-pvhvm.git branch name 2.6.34-pvhvm-v4. The patches that you need to have are: - "__setup_vector_irq: handle NULL chip_data" 32b5ffd98391cb47c3cc9459c445d9490a523622 - "Fix possible NULL pointer dereference in print_IO_APIC" a57e90eaf9c55da55e3de09ebda99cb2f8a00e40 - "Fix find_unbound_irq in presence of ioapic irqs." d7fc454bce7b63aab43ef0e11d97b206082e4740 BTW I have a new version of the branch (2.6.34-pvhvm-v6) without those patches because I was able to fix the issue in a better way, but I haven''t sent it to the list yet. Jeremey''s PV on HVM branch is based on v4. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Stefano Stabellini
2010-Jul-09 10:46 UTC
Re: [Xen-devel] 2.6.32.16: hvm domU boot - oops at add_pin_to_irq_node_nopanic
On Fri, 9 Jul 2010, Łukasz Oleś wrote:> W dniu 9 lipca 2010 11:42 użytkownik Łukasz Oleś <lukaszoles@gmail.com> napisał: > > 2010/7/8 Łukasz Oleś <lukaszoles@gmail.com>: > >> On Thursday 08 July 2010 17:39:49 Bruce Edge wrote: > >>> This is the same problem as this post: > >>> http://lists.xensource.com/archives/html/xen-devel/2010-06/msg01114.html > >>> > >>> Stefano suggested I retry after Jeremy''s pull. > >>> > >>> Sync''d with 2.6.32.16 last night and it looks like the identical problem. > >>> > >>> I can boot Ubuntu 10.04 with it''s own native kernel, but not with a pv-ops > >>> kernel. > >> > >> I have identical problem and tried with and without CONFIG_XEN_PLATFORM_PCI > >> option. > >> > >> I''ll test xen/next-2.6.32 and see if it helps. > >> > > > > I tried xen/next-2.6.32 and there is no call trace but now it just hangs. > > I''m running this kernel as HVM domU, but it has enabled options for > > dom0. Should this work? > > > > Attached kernel config file and logs from xen/stable-2.6.32 xen/next-2.6.32 > > > > Sending also output from xm log > > This line: "(XEN) hvm.c:3115:d15 Bad HVM op 9." appears when starting > domU with kernel from xen/next-2.6.32That line means that you are running on a Xen version that doesn''t have HVMOP_pagetable_dying, like xen 4.0 testing for example. It shouldn''t caouse any trouble per se. If you are running on xen 4.0, could you please apply to the hypervisor the patch I attached to this email and try one more time? _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Bruce Edge
2010-Jul-09 13:30 UTC
Re: [Xen-devel] 2.6.32.16: hvm domU boot - oops at add_pin_to_irq_node_nopanic
2010/7/9 Łukasz Oleś <lukaszoles@gmail.com>> W dniu 9 lipca 2010 11:42 użytkownik Łukasz Oleś <lukaszoles@gmail.com> > napisał: > > 2010/7/8 Łukasz Oleś <lukaszoles@gmail.com>: > >> On Thursday 08 July 2010 17:39:49 Bruce Edge wrote: > >>> This is the same problem as this post: > >>> > http://lists.xensource.com/archives/html/xen-devel/2010-06/msg01114.html > >>> > >>> Stefano suggested I retry after Jeremy''s pull. > >>> > >>> Sync''d with 2.6.32.16 last night and it looks like the identical > problem. > >>> > >>> I can boot Ubuntu 10.04 with it''s own native kernel, but not with a > pv-ops > >>> kernel. > >> > >> I have identical problem and tried with and without > CONFIG_XEN_PLATFORM_PCI > >> option. > >> > >> I''ll test xen/next-2.6.32 and see if it helps. > >> > > > > I tried xen/next-2.6.32 and there is no call trace but now it just hangs. > > I''m running this kernel as HVM domU, but it has enabled options for > > dom0. Should this work? > > > > Attached kernel config file and logs from xen/stable-2.6.32 > xen/next-2.6.32 > > > > Sending also output from xm log > > This line: "(XEN) hvm.c:3115:d15 Bad HVM op 9." appears when starting > domU with kernel from xen/next-2.6.32 > > -- > Łukasz Oleś > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > >I concur with Łukasz''s results exactly, even the " Bad HVM op 9." too. I''m using xen 4.0.1-rc4-pre -Bruce _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Bruce Edge
2010-Jul-09 14:00 UTC
Re: [Xen-devel] 2.6.32.16: hvm domU boot - oops at add_pin_to_irq_node_nopanic
2010/7/9 Stefano Stabellini <stefano.stabellini@eu.citrix.com>> On Fri, 9 Jul 2010, Łukasz Oleś wrote: > > W dniu 9 lipca 2010 11:42 użytkownik Łukasz Oleś <lukaszoles@gmail.com> > napisał: > > > 2010/7/8 Łukasz Oleś <lukaszoles@gmail.com>: > > >> On Thursday 08 July 2010 17:39:49 Bruce Edge wrote: > > >>> This is the same problem as this post: > > >>> > http://lists.xensource.com/archives/html/xen-devel/2010-06/msg01114.html > > >>> > > >>> Stefano suggested I retry after Jeremy''s pull. > > >>> > > >>> Sync''d with 2.6.32.16 last night and it looks like the identical > problem. > > >>> > > >>> I can boot Ubuntu 10.04 with it''s own native kernel, but not with a > pv-ops > > >>> kernel. > > >> > > >> I have identical problem and tried with and without > CONFIG_XEN_PLATFORM_PCI > > >> option. > > >> > > >> I''ll test xen/next-2.6.32 and see if it helps. > > >> > > > > > > I tried xen/next-2.6.32 and there is no call trace but now it just > hangs. > > > I''m running this kernel as HVM domU, but it has enabled options for > > > dom0. Should this work? > > > > > > Attached kernel config file and logs from xen/stable-2.6.32 > xen/next-2.6.32 > > > > > > > Sending also output from xm log > > > > This line: "(XEN) hvm.c:3115:d15 Bad HVM op 9." appears when starting > > domU with kernel from xen/next-2.6.32 > > That line means that you are running on a Xen version that doesn''t have > HVMOP_pagetable_dying, like xen 4.0 testing for example. It shouldn''t > caouse any trouble per se. > If you are running on xen 4.0, could you please apply to the hypervisor > the patch I attached to this email and try one more time? > > Is this patch required for xen-testing 4.0.1rc3 ?-Bruce _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Stefano Stabellini
2010-Jul-09 14:26 UTC
Re: [Xen-devel] 2.6.32.16: hvm domU boot - oops at add_pin_to_irq_node_nopanic
On Fri, 9 Jul 2010, Bruce Edge wrote:> 2010/7/9 Stefano Stabellini <stefano.stabellini@eu.citrix.com> > On Fri, 9 Jul 2010, Łukasz Oleś wrote: > > W dniu 9 lipca 2010 11:42 użytkownik Łukasz Oleś <lukaszoles@gmail.com> napisał: > > > 2010/7/8 Łukasz Oleś <lukaszoles@gmail.com>: > > >> On Thursday 08 July 2010 17:39:49 Bruce Edge wrote: > > >>> This is the same problem as this post: > > >>> http://lists.xensource.com/archives/html/xen-devel/2010-06/msg01114.html > > >>> > > >>> Stefano suggested I retry after Jeremy''s pull. > > >>> > > >>> Sync''d with 2.6.32.16 last night and it looks like the identical problem. > > >>> > > >>> I can boot Ubuntu 10.04 with it''s own native kernel, but not with a pv-ops > > >>> kernel. > > >> > > >> I have identical problem and tried with and without CONFIG_XEN_PLATFORM_PCI > > >> option. > > >> > > >> I''ll test xen/next-2.6.32 and see if it helps. > > >> > > > > > > I tried xen/next-2.6.32 and there is no call trace but now it just hangs. > > > I''m running this kernel as HVM domU, but it has enabled options for > > > dom0. Should this work? > > > > > > Attached kernel config file and logs from xen/stable-2.6.32 xen/next-2.6.32 > > > > > > > Sending also output from xm log > > > > This line: "(XEN) hvm.c:3115:d15 Bad HVM op 9." appears when starting > > domU with kernel from xen/next-2.6.32 > > That line means that you are running on a Xen version that doesn''t have > HVMOP_pagetable_dying, like xen 4.0 testing for example. It shouldn''t > caouse any trouble per se. > If you are running on xen 4.0, could you please apply to the hypervisor > the patch I attached to this email and try one more time? > > Is this patch required for xen-testing 4.0.1rc3 ? >no it is not required, but it is going to improve PV on HVM performances and it is known to solve some locking issues. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Bruce Edge
2010-Jul-09 16:50 UTC
Re: [Xen-devel] 2.6.32.16: hvm domU boot - oops at add_pin_to_irq_node_nopanic
On Thu, Jul 8, 2010 at 11:39 AM, Jeremy Fitzhardinge <jeremy@goop.org>wrote:> On 07/08/2010 09:59 AM, Bruce Edge wrote: > > On Thu, Jul 8, 2010 at 9:55 AM, Stefano Stabellini > > <stefano.stabellini@eu.citrix.com > > <mailto:stefano.stabellini@eu.citrix.com>> wrote: > > > > On Thu, 8 Jul 2010, Bruce Edge wrote: > > > This is the same problem as this post: > > > > > > http://lists.xensource.com/archives/html/xen-devel/2010-06/msg01114.html > > > > > > Stefano suggested I retry after Jeremy''s pull. > > > > > > Sync''d with 2.6.32.16 last night and it looks like the identical > > problem. > > > > > > I can boot Ubuntu 10.04 with it''s own native kernel, but not > > with a pv-ops kernel. > > > > > > This is with # CONFIG_XEN_PLATFORM_PCI is not set, .config is > > attached. > > > > > > > I think that Jeremy didn''t merge the up-to-date PV on HVM branch in > > stable-2.6.32.x but only in next. > > > > > > I thought that the PV on HVM code was only used > > if CONFIG_XEN_PLATFORM_PCI=y. > > Is that not the case? > > > > I''ll try xen/next. > > Try xen/next-2.6.32; that''s going to be the next stable-2.6.32. > > J >Just for completeness, here''s the boot log from next stable-2.6.32: [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 2.6.32.16 (root@kaan) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #1 SMP Thu Jul 8 16:44:01 PDT 2010 [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32.16 root=/dev/sda1 ro bigphysarea=128000 kdb=on nmi_watchdog=1 init_cpus=0 console=ttyS0,115200n8 [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] AMD AuthenticAMD [ 0.000000] Centaur CentaurHauls [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) [ 0.000000] BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) [ 0.000000] BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved) [ 0.000000] BIOS-e820: 0000000000100000 - 0000000080000000 (usable) [ 0.000000] BIOS-e820: 00000000fc000000 - 0000000100000000 (reserved) [ 0.000000] DMI 2.4 present. [ 0.000000] last_pfn = 0x80000 max_arch_pfn = 0x400000000 [ 0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106 [ 0.000000] Scanning 1 areas for low memory corruption [ 0.000000] modified physical RAM map: [ 0.000000] modified: 0000000000000000 - 0000000000001000 (usable) [ 0.000000] modified: 0000000000001000 - 0000000000006000 (reserved) [ 0.000000] modified: 0000000000006000 - 000000000009fc00 (usable) [ 0.000000] modified: 000000000009fc00 - 00000000000a0000 (reserved) [ 0.000000] modified: 00000000000e0000 - 0000000000100000 (reserved) [ 0.000000] modified: 0000000000100000 - 0000000080000000 (usable) [ 0.000000] modified: 00000000fc000000 - 0000000100000000 (reserved) [ 0.000000] init_memory_mapping: 0000000000000000-0000000080000000 [ 0.000000] RAMDISK: 37768000 - 37fefae6 [ 0.000000] ACPI: RSDP 00000000000ea020 00024 (v02 Xen) [ 0.000000] ACPI: XSDT 00000000fc012cb0 00034 (v01 Xen HVM 00000000 HVML 00000000) [ 0.000000] ACPI: FACP 00000000fc012ad0 000F4 (v04 Xen HVM 00000000 HVML 00000000) [ 0.000000] ACPI: DSDT 00000000fc002c40 0FE0B (v02 Xen HVM 00000000 INTL 20081204) [ 0.000000] ACPI: FACS 00000000fc002c00 00040 [ 0.000000] ACPI: APIC 00000000fc012bd0 000D8 (v02 Xen HVM 00000000 HVML 00000000) [ 0.000000] No NUMA configuration found [ 0.000000] Faking a node at 0000000000000000-0000000080000000 [ 0.000000] Bootmem setup node 0 0000000000000000-0000000080000000 [ 0.000000] NODE_DATA [0000000000009000 - 000000000000dfff] [ 0.000000] bootmap [000000000000e000 - 000000000001dfff] pages 10 [ 0.000000] (7 early reservations) ==> bootmem [0000000000 - 0080000000] [ 0.000000] #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000] [ 0.000000] #1 [0000006000 - 0000008000] TRAMPOLINE ==> [0000006000 - 0000008000] [ 0.000000] #2 [0001000000 - 0001be55d8] TEXT DATA BSS ==> [0001000000 - 0001be55d8] [ 0.000000] #3 [0037768000 - 0037fefae6] RAMDISK ==> [0037768000 - 0037fefae6] [ 0.000000] #4 [000009d800 - 0000100000] BIOS reserved ==> [000009d800 - 0000100000] [ 0.000000] #5 [0001be6000 - 0001be6099] BRK ==> [0001be6000 - 0001be6099] [ 0.000000] #6 [0000008000 - 0000009000] PGTABLE ==> [0000008000 - 0000009000] [ 0.000000] found SMP MP-table at [ffff8800000fbc40] fbc40 [ 0.000000] Zone PFN ranges: [ 0.000000] DMA 0x00000000 -> 0x00001000 [ 0.000000] DMA32 0x00001000 -> 0x00100000 [ 0.000000] Normal 0x00100000 -> 0x00100000 [ 0.000000] Movable zone start PFN for each node [ 0.000000] early_node_map[3] active PFN ranges [ 0.000000] 0: 0x00000000 -> 0x00000001 [ 0.000000] 0: 0x00000006 -> 0x0000009f [ 0.000000] 0: 0x00000100 -> 0x00080000 [ 0.000000] ACPI: PM-Timer IO Port: 0x1f48 [ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x02] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x04] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x06] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x04] lapic_id[0x08] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x05] lapic_id[0x0a] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x06] lapic_id[0x0c] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x07] lapic_id[0x0e] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x08] lapic_id[0x10] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x09] lapic_id[0x12] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x0a] lapic_id[0x14] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x0b] lapic_id[0x16] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x0c] lapic_id[0x18] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x0d] lapic_id[0x1a] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x0e] lapic_id[0x1c] disabled) [ 0.000000] ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0]) [ 0.000000] IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-47 [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 low level) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 low level) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 low level) [ 0.000000] Using ACPI (MADT) for SMP configuration information [ 0.000000] SMP: Allowing 15 CPUs, 14 hotplug CPUs [ 0.000000] Xen version 4.0. [ 0.000000] Xen doesn''t support pvclock on HVM,disable pv timer [ 0.000000] PM: Registered nosave memory: 0000000000001000 - 0000000000006000 [ 0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000 [ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000e0000 [ 0.000000] PM: Registered nosave memory: 00000000000e0000 - 0000000000100000 [ 0.000000] Allocating PCI resources starting at 80000000 (gap: 80000000:7c000000) [ 0.000000] Booting paravirtualized kernel on Xen [ 0.000000] NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:15 nr_node_ids:1 [ 0.000000] PERCPU: Embedded 30 pages/cpu @ffff880003c00000 s91480 r8192 d23208 u131072 [ 0.000000] pcpu-alloc: s91480 r8192 d23208 u131072 alloc=1*2097152 [ 0.000000] pcpu-alloc: [0] 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 -- [ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 516916 [ 0.000000] Policy zone: DMA32 [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32.16 root=/dev/sda1 ro bigphysarea=128000 kdb=on nmi_watchdog=1 init_cpus=0 console=ttyS0,115200n8 [ 0.000000] init_cpus[0]=1 [ 0.000000] setting init process cpumask to 1 [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Initializing CPU#0 [ 0.000000] Checking aperture... [ 0.000000] No AGP bridge found [ 0.000000] Memory: 2045020k/2097152k available (6254k kernel code, 408k absent, 51724k reserved, 3577k data, 840k init) [ 0.000000] SLUB: Genslabs=14, HWalign=64, Order=0-3, MinObjects=0, CPUs=15, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS:4352 nr_irqs:936 [ 0.000000] Console: colour VGA+ 80x25 [ 0.000000] console [ttyS0] enabled [ 0.000000] allocated 20971520 bytes of page_cgroup [ 0.000000] please try ''cgroup_disable=memory'' option if you don''t want memory cgroups [ 0.000000] Fast TSC calibration using PIT [ 0.000000] Detected 2660.600 MHz processor. [ 0.010004] Calibrating delay loop (skipped), value calculated using timer frequency.. 5321.20 BogoMIPS (lpj=26606000) [ 0.020053] kdb version 4.4 by Keith Owens, Scott Lurndal. Copyright SGI, All Rights Reserved kdb_cmd[0]: defcmd archkdb "" "First line arch debugging" kdb_cmd[8]: defcmd archkdbcpu "" "archkdb with only tasks on cpus" kdb_cmd[15]: defcmd archkdbshort "" "archkdb with less detailed backtrace" [ 0.030028] Security Framework initialized [ 0.031872] SELinux: Disabled at boot. [ 0.033710] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes) [ 0.037600] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.040201] Mount-cache hash table entries: 256 [ 0.042320] Initializing cgroup subsys ns [ 0.044135] Initializing cgroup subsys cpuacct [ 0.046174] Initializing cgroup subsys memory [ 0.050007] Initializing cgroup subsys devices [ 0.052022] Initializing cgroup subsys freezer [ 0.054071] Initializing cgroup subsys net_cls [ 0.056094] CPU: L1 I cache: 32K, L1 D cache: 32K [ 0.058432] CPU: L2 cache: 256K [ 0.060004] CPU: L3 cache: 8192K [ 0.061475] CPU 0/0x0 -> Node 0 [ 0.062899] CPU: Unsupported number of siblings 32 [ 0.064966] mce: CPU supports 9 MCE banks [ 0.066959] Performance Events: unsupported p6 CPU model 26 no PMU driver, software events only. [ 0.071519] SMP alternatives: switching to UP code [ 0.087578] ACPI: Core revision 20090903 [ 0.105601] ftrace: converting mcount calls to 0f 1f 44 00 00 [ 0.108300] ftrace: allocating 25167 entries in 99 pages [ 0.130034] Setting APIC routing to physical flat [ 0.133477] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=0 pin2=0 [ 0.238603] CPU0: Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz stepping 04 [ 0.250000] APIC timer registered as dummy, due to nmi_watchdog=1! [ 0.250000] Brought up 1 CPUs [ 0.250000] Total of 1 processors activated (5321.20 BogoMIPS). [ 0.250000] Testing NMI watchdog ... [ 0.442642] WARNING: CPU#0: NMI appears to be stuck (0->0)! [ 0.446743] Please report this to bugzilla.kernel.org, [ 0.450002] and attach the output of the ''dmesg'' command. [ 0.454091] devtmpfs: initialized [ 0.460350] regulator: core version 0.5 [ 0.463259] Time: 6:25:24 Date: 07/09/10 [ 0.466340] NET: Registered protocol family 16 [ 0.469071] ACPI: bus type pci registered [ 0.470304] PCI: Using configuration type 1 for base access [ 0.473632] bio: create slab <bio-0> at 0 [ 0.526829] ACPI: Interpreter enabled [ 0.528758] ACPI: (supports S0 S3 S4 S5) [ 0.530840] ACPI: Using IOAPIC for interrupt routing [ 0.628000] ACPI: No dock devices found. [ 0.630162] ACPI: PCI Root Bridge [PCI0] (0000:00) [ 0.638639] * Found PM-Timer Bug on the chipset. Due to workarounds for a bug, [ 0.638640] * this clock source is slow. Consider trying other clock sources [ 0.641163] pci 0000:00:01.3: quirk: region 1f40-1f7f claimed by PIIX4 ACPI [ 1.126414] ACPI: PCI Interrupt Link [LNKA] (IRQs *5 10 11) [ 1.130239] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11) [ 1.133910] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11) [ 1.137581] ACPI: PCI Interrupt Link [LNKD] (IRQs *5 10 11) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Bruce Edge
2010-Jul-10 21:11 UTC
Re: [Xen-devel] 2.6.32.16: hvm domU boot - oops at add_pin_to_irq_node_nopanic
[This email is either empty or too large to be displayed at this time]
Stefano Stabellini
2010-Jul-12 11:22 UTC
Re: [Xen-devel] 2.6.32.16: hvm domU boot - oops at add_pin_to_irq_node_nopanic
On Sat, 10 Jul 2010, Bruce Edge wrote:> So I tried the same hvm boot using the following 3 branches. > xen/next-2.6.32 > Stefano''s > 2.6.34-pvhvm-v4 > 2.6.34-pvhvm-v6 > > The base xen 4.0.1rc3 did not have the patch Stefano posted later in this thread. > The boot summary is inline and the complete bootlogs are attached. It has a few extra bits required by the .34 kernel, but > is essentially the same one for all 3 cases. > > The gist of it being: > CONFIG_XEN=y > CONFIG_XEN_MAX_DOMAIN_MEMORY=32 > CONFIG_XEN_SAVE_RESTORE=y > # CONFIG_XEN_DEBUG_FS is not set > CONFIG_XEN_BLKDEV_FRONTEND=m > CONFIG_NETXEN_NIC=m > CONFIG_XEN_NETDEV_FRONTEND=m > CONFIG_XEN_KBDDEV_FRONTEND=m > CONFIG_HVC_XEN=y > CONFIG_XEN_FBDEV_FRONTEND=m > CONFIG_XEN_BALLOON=y > CONFIG_XEN_SCRUB_PAGES=y > CONFIG_XEN_DEV_EVTCHN=m > CONFIG_XENFS=m > CONFIG_XEN_COMPAT_XENFS=y > CONFIG_XEN_SYS_HYPERVISOR=y > # CONFIG_XEN_PLATFORM_PCI is not set > > The .config is also attached > > 1) xen/next-2.6.32 - Hangs at the end of the following sequence: > > [ 0.464686] ACPI: bus type pci registered^M > [ 0.467109] PCI: Using configuration type 1 for base access^M > [ 0.470495] bio: create slab <bio-0> at 0^M > [ 0.523248] ACPI: Interpreter enabled^M > [ 0.525249] ACPI: (supports S0 S3 S4 S5)^M > [ 0.527628] ACPI: Using IOAPIC for interrupt routing^M > [ 0.624323] ACPI: No dock devices found.^M > [ 0.626607] ACPI: PCI Root Bridge [PCI0] (0000:00)^M > [ 0.635170] * Found PM-Timer Bug on the chipset. Due to workarounds for a bug,^M > [ 0.635170] * this clock source is slow. Consider trying other clock sources^M > [ 0.641158] pci 0000:00:01.3: quirk: region 1f40-1f7f claimed by PIIX4 ACPI^M > [ 1.115247] ACPI: PCI Interrupt Link [LNKA] (IRQs *5 10 11)^M > [ 1.118966] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)^M > [ 1.121346] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)^M > [ 1.125128] ACPI: PCI Interrupt Link [LNKD] (IRQs *5 10 11)^M > <hang> > > 2) 2.6.34-pvhvm-v4 - boots, with a lot of call traces on the serial console: > > [ 1.880528] WARNING: at arch/x86/xen/mmu.c:1953 xen_hvm_exit_mmap+0x45/0x50()^M > [ 1.884168] Hardware name: HVM domU^M > [ 1.885967] Modules linked in:^M > [ 1.887638] Pid: 48, comm: init Not tainted 2.6.34 #1^M > [ 1.890384] Call Trace:^M > [ 1.891721] [<ffffffff8105cefb>] warn_slowpath_common+0x7b/0xc0^M > [ 1.894804] [<ffffffff8105cf54>] warn_slowpath_null+0x14/0x20^M > [ 1.897820] [<ffffffff81005015>] xen_hvm_exit_mmap+0x45/0x50^M > [ 1.900941] [<ffffffff8110f7b0>] exit_mmap+0x50/0x190^M > [ 1.903569] [<ffffffff8105a5e2>] mmput+0x42/0x110^M > [ 1.906059] [<ffffffff811443a3>] flush_old_exec+0x463/0x620^M > [ 1.908995] [<ffffffff8118436e>] load_elf_binary+0x38e/0x1d20^M > [ 1.912375] [<ffffffff81108ba6>] ? follow_page+0x2d6/0x350^M > [ 1.915210] [<ffffffff81108ba6>] ? follow_page+0x2d6/0x350^M > [ 1.918055] [<ffffffff8110d7cf>] ? __get_user_pages+0x10f/0x430^M > [ 1.921309] [<ffffffff8114386c>] ? get_arg_page+0x5c/0xc0^M > [ 1.924127] [<ffffffff8114528d>] search_binary_handler+0xed/0x310^M > [ 1.927336] [<ffffffff811458e3>] do_execve+0x333/0x410^M > [ 1.930170] [<ffffffff812dff58>] ? strncpy_from_user+0x38/0x60^M > [ 1.933261] Clockevents: could not switch to one-shot mode: lapic is not functional.^M > [ 1.937318] Could not switch to high resolution mode on CPU 0^M > [ 1.940399] [<ffffffff810135da>] sys_execve+0x4a/0x80^M > [ 1.943078] [<ffffffff8100b48a>] stub_execve+0x6a/0xc0^M > [ 1.945737] ---[ end trace 7264d4229303d265 ]---^M > > but eventually gets to a login and appears functional, but the number of call traces coming out during the boot are not > comforting.They are harmless even though they are very annoying. I modified the v6 branch so that this problem should be solved, could you please clone it form scratch and try again?> > 3) 2.6.34-pvhvm-v6 - Same as v4 > > However the root fs of the domU was corrupted after this last test. Possibly the result of using partprobe to get at lvm > block device partitions and mount them to install new kernels, but I had been doing that for a while with no ill effects. >This is really concerning; however considering that you have CONFIG_XEN_PLATFORM_PCI disabled in your config and blkfront is not loaded I cannot see how pv on hvm would have caused it. Without CONFIG_XEN_PLATFORM_PCI pv drivers don''t load so you don''t really have many benefits (or risks); you should enable CONFIG_XEN_PLATFORM_PCI too in order to have the performance improvements. Once you do that you need to change your root= command line option to root=/dev/xvda1 because the partition naming scheme of blkfront is xvd*. If you have data corruptions because of blkfront, check that blkfront and the emulated IDE disks (/dev/hd*) are not enabled simultaneously, if they are please let me know. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Łukasz Oleś
2010-Jul-12 12:56 UTC
Re: [Xen-devel] 2.6.32.16: hvm domU boot - oops at add_pin_to_irq_node_nopanic
W dniu 9 lipca 2010 12:46 użytkownik Stefano Stabellini <stefano.stabellini@eu.citrix.com> napisał:> On Fri, 9 Jul 2010, Łukasz Oleś wrote: >> W dniu 9 lipca 2010 11:42 użytkownik Łukasz Oleś <lukaszoles@gmail.com> napisał: >> > 2010/7/8 Łukasz Oleś <lukaszoles@gmail.com>: >> >> On Thursday 08 July 2010 17:39:49 Bruce Edge wrote: >> >>> This is the same problem as this post: >> >>> http://lists.xensource.com/archives/html/xen-devel/2010-06/msg01114.html >> >>> >> >>> Stefano suggested I retry after Jeremy''s pull. >> >>> >> >>> Sync''d with 2.6.32.16 last night and it looks like the identical problem. >> >>> >> >>> I can boot Ubuntu 10.04 with it''s own native kernel, but not with a pv-ops >> >>> kernel. >> >> >> >> I have identical problem and tried with and without CONFIG_XEN_PLATFORM_PCI >> >> option. >> >> >> >> I''ll test xen/next-2.6.32 and see if it helps. >> >> >> > >> > I tried xen/next-2.6.32 and there is no call trace but now it just hangs. >> > I''m running this kernel as HVM domU, but it has enabled options for >> > dom0. Should this work? >> > >> > Attached kernel config file and logs from xen/stable-2.6.32 xen/next-2.6.32 >> > >> >> Sending also output from xm log >> >> This line: "(XEN) hvm.c:3115:d15 Bad HVM op 9." appears when starting >> domU with kernel from xen/next-2.6.32 > > That line means that you are running on a Xen version that doesn''t have > HVMOP_pagetable_dying, like xen 4.0 testing for example. It shouldn''t > caouse any trouble per se. > If you are running on xen 4.0, could you please apply to the hypervisor > the patch I attached to this email and try one more time? >Could you rebase this patch for the latest xen-4.0-testing? I have problems with running xen-4.0 on my computer. -- Łukasz Oleś _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Stefano Stabellini
2010-Jul-12 13:01 UTC
Re: [Xen-devel] 2.6.32.16: hvm domU boot - oops at add_pin_to_irq_node_nopanic
On Mon, 12 Jul 2010, Łukasz Oleś wrote:> W dniu 9 lipca 2010 12:46 użytkownik Stefano Stabellini > <stefano.stabellini@eu.citrix.com> napisał: > > On Fri, 9 Jul 2010, Łukasz Oleś wrote: > >> W dniu 9 lipca 2010 11:42 użytkownik Łukasz Oleś <lukaszoles@gmail.com> napisał: > >> > 2010/7/8 Łukasz Oleś <lukaszoles@gmail.com>: > >> >> On Thursday 08 July 2010 17:39:49 Bruce Edge wrote: > >> >>> This is the same problem as this post: > >> >>> http://lists.xensource.com/archives/html/xen-devel/2010-06/msg01114.html > >> >>> > >> >>> Stefano suggested I retry after Jeremy''s pull. > >> >>> > >> >>> Sync''d with 2.6.32.16 last night and it looks like the identical problem. > >> >>> > >> >>> I can boot Ubuntu 10.04 with it''s own native kernel, but not with a pv-ops > >> >>> kernel. > >> >> > >> >> I have identical problem and tried with and without CONFIG_XEN_PLATFORM_PCI > >> >> option. > >> >> > >> >> I''ll test xen/next-2.6.32 and see if it helps. > >> >> > >> > > >> > I tried xen/next-2.6.32 and there is no call trace but now it just hangs. > >> > I''m running this kernel as HVM domU, but it has enabled options for > >> > dom0. Should this work? > >> > > >> > Attached kernel config file and logs from xen/stable-2.6.32 xen/next-2.6.32 > >> > > >> > >> Sending also output from xm log > >> > >> This line: "(XEN) hvm.c:3115:d15 Bad HVM op 9." appears when starting > >> domU with kernel from xen/next-2.6.32 > > > > That line means that you are running on a Xen version that doesn''t have > > HVMOP_pagetable_dying, like xen 4.0 testing for example. It shouldn''t > > caouse any trouble per se. > > If you are running on xen 4.0, could you please apply to the hypervisor > > the patch I attached to this email and try one more time? > > > > Could you rebase this patch for the latest xen-4.0-testing? I have > problems with running xen-4.0 on my computer. >just pull from xen-4.0-testing: the patch in question has already been applied as CS 21239. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Bruce Edge
2010-Jul-12 13:41 UTC
Re: [Xen-devel] 2.6.32.16: hvm domU boot - oops at add_pin_to_irq_node_nopanic
On Mon, Jul 12, 2010 at 5:52 AM, Stefano Stabellini < stefano.stabellini@eu.citrix.com> wrote:> Dropped xen-devel. > > On Mon, 12 Jul 2010, Stefano Stabellini wrote: > > This is really concerning; however considering that you have > > CONFIG_XEN_PLATFORM_PCI disabled in your config and blkfront is not > > loaded I cannot see how pv on hvm would have caused it. > > Without CONFIG_XEN_PLATFORM_PCI pv drivers don''t load so you don''t > > really have many benefits (or risks); you should enable > > CONFIG_XEN_PLATFORM_PCI too in order to have the performance > > improvements. > > Once you do that you need to change your root= command line option to > > root=/dev/xvda1 because the partition naming scheme of blkfront is > > xvd*. > > If you have data corruptions because of blkfront, check that blkfront > > and the emulated IDE disks (/dev/hd*) are not enabled simultaneously, > > if they are please let me know. > > > > Only now I actually pushed the version with the fix (the branch is still > 2.6.34-pvhvm-v6), sorry for the time lag. > >I can''t read your branch this morning: %> git clone git://xenbits.xen.org/people/sstabellini/linux-pvhvm.gitlinux-2.6-pvhvm-v6 Initialized empty Git repository in /import/downloads/src/linux-2.6-pvhvm-v6/.git/ xenbits.xen.org[0: 70.42.241.107]: errno=Connection refused fatal: unable to connect a socket (Connection refused) I''ve tried from home and work LANs. -Bruce _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Bruce Edge
2010-Jul-12 14:15 UTC
Re: [Xen-devel] 2.6.32.16: hvm domU boot - oops at add_pin_to_irq_node_nopanic
On Mon, Jul 12, 2010 at 6:41 AM, Bruce Edge <bruce.edge@gmail.com> wrote:> > On Mon, Jul 12, 2010 at 5:52 AM, Stefano Stabellini < > stefano.stabellini@eu.citrix.com> wrote: > >> Dropped xen-devel. >> >> On Mon, 12 Jul 2010, Stefano Stabellini wrote: >> > This is really concerning; however considering that you have >> > CONFIG_XEN_PLATFORM_PCI disabled in your config and blkfront is not >> > loaded I cannot see how pv on hvm would have caused it. >> > Without CONFIG_XEN_PLATFORM_PCI pv drivers don''t load so you don''t >> > really have many benefits (or risks); you should enable >> > CONFIG_XEN_PLATFORM_PCI too in order to have the performance >> > improvements. >> > Once you do that you need to change your root= command line option to >> > root=/dev/xvda1 because the partition naming scheme of blkfront is >> > xvd*. >> > If you have data corruptions because of blkfront, check that blkfront >> > and the emulated IDE disks (/dev/hd*) are not enabled simultaneously, >> > if they are please let me know. >> > >> >> Only now I actually pushed the version with the fix (the branch is still >> 2.6.34-pvhvm-v6), sorry for the time lag. >> >> > I can''t read your branch this morning: > > %> git clone git://xenbits.xen.org/people/sstabellini/linux-pvhvm.gitlinux-2.6-pvhvm-v6 > Initialized empty Git repository in > /import/downloads/src/linux-2.6-pvhvm-v6/.git/ > xenbits.xen.org[0: 70.42.241.107]: errno=Connection refused > fatal: unable to connect a socket (Connection refused) > > I''ve tried from home and work LANs. > >Never mind, it''w working now. -Bruce _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Stefano Stabellini
2010-Jul-12 14:15 UTC
Re: [Xen-devel] 2.6.32.16: hvm domU boot - oops at add_pin_to_irq_node_nopanic
On Mon, 12 Jul 2010, Bruce Edge wrote:> > On Mon, Jul 12, 2010 at 5:52 AM, Stefano Stabellini <stefano.stabellini@eu.citrix.com> wrote: > Dropped xen-devel. > > On Mon, 12 Jul 2010, Stefano Stabellini wrote: > > This is really concerning; however considering that you have > > CONFIG_XEN_PLATFORM_PCI disabled in your config and blkfront is not > > loaded I cannot see how pv on hvm would have caused it. > > Without CONFIG_XEN_PLATFORM_PCI pv drivers don''t load so you don''t > > really have many benefits (or risks); you should enable > > CONFIG_XEN_PLATFORM_PCI too in order to have the performance > > improvements. > > Once you do that you need to change your root= command line option to > > root=/dev/xvda1 because the partition naming scheme of blkfront is > > xvd*. > > If you have data corruptions because of blkfront, check that blkfront > > and the emulated IDE disks (/dev/hd*) are not enabled simultaneously, > > if they are please let me know. > > > > Only now I actually pushed the version with the fix (the branch is still > 2.6.34-pvhvm-v6), sorry for the time lag. > > > I can''t read your branch this morning: > > %> git clone git://xenbits.xen.org/people/sstabellini/linux-pvhvm.git linux-2.6-pvhvm-v6 > Initialized empty Git repository in /import/downloads/src/linux-2.6-pvhvm-v6/.git/ > xenbits.xen.org[0: 70.42.241.107]: errno=Connection refused > fatal: unable to connect a socket (Connection refused) > > I''ve tried from home and work LANs. >yeah, the git daemon was down on xenbits, now it should work.>_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ian Jackson
2010-Jul-12 17:09 UTC
Re: [Xen-devel] 2.6.32.16: hvm domU boot - oops at add_pin_to_irq_node_nopanic
Bruce Edge writes ("Re: [Xen-devel] 2.6.32.16: hvm domU boot - oops at add_pin_to_irq_node_nopanic"):> %> git clone git://xenbits.xen.org/people/sstabellini/linux-pvhvm.gitlinux-2.6-pvhvm-v6The machine had been rebooted and git-daemon was not running. I restarted the daemon and added the missing startup links so hopefully this won''t recur. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Bruce Edge
2010-Jul-12 21:34 UTC
Re: [Xen-devel] 2.6.32.16: hvm domU boot - oops at add_pin_to_irq_node_nopanic
On Mon, Jul 12, 2010 at 5:52 AM, Stefano Stabellini < stefano.stabellini@eu.citrix.com> wrote:> Dropped xen-devel. > > On Mon, 12 Jul 2010, Stefano Stabellini wrote: > > This is really concerning; however considering that you have > > CONFIG_XEN_PLATFORM_PCI disabled in your config and blkfront is not > > loaded I cannot see how pv on hvm would have caused it. > > Without CONFIG_XEN_PLATFORM_PCI pv drivers don''t load so you don''t > > really have many benefits (or risks); you should enable > > CONFIG_XEN_PLATFORM_PCI too in order to have the performance > > improvements. > > Once you do that you need to change your root= command line option to > > root=/dev/xvda1 because the partition naming scheme of blkfront is > > xvd*. > > If you have data corruptions because of blkfront, check that blkfront > > and the emulated IDE disks (/dev/hd*) are not enabled simultaneously, > > if they are please let me know. > > > > Only now I actually pushed the version with the fix (the branch is still > 2.6.34-pvhvm-v6), sorry for the time lag. > >It works!!! What''s the prognosis regarding getting this pv-on-hvm change set integrated into a more mainline branch in the near future? Thanks for the help Stefano. Here''s the boot seq if it''s of any benefit to anyone: Starting up ... [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 2.6.34 (root@tonic) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #1 SMP Mon Jul 12 10:07:52 PDT 2010 [ 0.000000] Command line: root=/dev/xvda1 ro bigphysarea=128000 kdb=on nmi_watchdog=1 init_cpus=0 console=ttyS0,115200n8 [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) [ 0.000000] BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) [ 0.000000] BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved) [ 0.000000] BIOS-e820: 0000000000100000 - 0000000080000000 (usable) [ 0.000000] BIOS-e820: 00000000fc000000 - 0000000100000000 (reserved) [ 0.000000] NX (Execute Disable) protection: active [ 0.000000] DMI 2.4 present. [ 0.000000] No AGP bridge found [ 0.000000] last_pfn = 0x80000 max_arch_pfn = 0x400000000 [ 0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106 [ 0.000000] Scanning 1 areas for low memory corruption [ 0.000000] modified physical RAM map: [ 0.000000] modified: 0000000000000000 - 0000000000010000 (reserved) [ 0.000000] modified: 0000000000010000 - 000000000009fc00 (usable) [ 0.000000] modified: 000000000009fc00 - 00000000000a0000 (reserved) [ 0.000000] modified: 00000000000e0000 - 0000000000100000 (reserved) [ 0.000000] modified: 0000000000100000 - 0000000080000000 (usable) [ 0.000000] modified: 00000000fc000000 - 0000000100000000 (reserved) [ 0.000000] found SMP MP-table at [ffff8800000fbc40] fbc40 [ 0.000000] init_memory_mapping: 0000000000000000-0000000080000000 [ 0.000000] RAMDISK: 37788000 - 37ff0000 [ 0.000000] ACPI: RSDP 00000000000ea020 00024 (v02 Xen) [ 0.000000] ACPI: XSDT 00000000fc012cb0 00034 (v01 Xen HVM 00000000 HVML 00000000) [ 0.000000] ACPI: FACP 00000000fc012ad0 000F4 (v04 Xen HVM 00000000 HVML 00000000) [ 0.000000] ACPI: DSDT 00000000fc002c40 0FE0B (v02 Xen HVM 00000000 INTL 20081204) [ 0.000000] ACPI: FACS 00000000fc002c00 00040 [ 0.000000] ACPI: APIC 00000000fc012bd0 000D8 (v02 Xen HVM 00000000 HVML 00000000) [ 0.000000] No NUMA configuration found [ 0.000000] Faking a node at 0000000000000000-0000000080000000 [ 0.000000] Initmem setup node 0 0000000000000000-0000000080000000 [ 0.000000] NODE_DATA [0000000001ccc0c0 - 0000000001cd10bf] [ 0.000000] Zone PFN ranges: [ 0.000000] DMA 0x00000010 -> 0x00001000 [ 0.000000] DMA32 0x00001000 -> 0x00100000 [ 0.000000] Normal empty [ 0.000000] Movable zone start PFN for each node [ 0.000000] early_node_map[2] active PFN ranges [ 0.000000] 0: 0x00000010 -> 0x0000009f [ 0.000000] 0: 0x00000100 -> 0x00080000 [ 0.000000] ACPI: PM-Timer IO Port: 0x1f48 [ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x02] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x04] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x06] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x04] lapic_id[0x08] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x05] lapic_id[0x0a] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x06] lapic_id[0x0c] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x07] lapic_id[0x0e] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x08] lapic_id[0x10] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x09] lapic_id[0x12] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x0a] lapic_id[0x14] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x0b] lapic_id[0x16] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x0c] lapic_id[0x18] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x0d] lapic_id[0x1a] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x0e] lapic_id[0x1c] disabled) [ 0.000000] ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0]) [ 0.000000] IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-47 [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 low level) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 low level) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 low level) [ 0.000000] Using ACPI (MADT) for SMP configuration information [ 0.000000] SMP: Allowing 15 CPUs, 14 hotplug CPUs [ 0.000000] Xen version 4.0. [ 0.000000] Netfront and the Xen platform PCI driver have been compiled for this kernel: unplug emulated NICs. [ 0.000000] Blkfront and the Xen platform PCI driver have been compiled for this kernel: unplug emulated disks. [ 0.000000] You might have to change the root device [ 0.000000] from /dev/hd[a-d] to /dev/xvd[a-d] [ 0.000000] in your root= kernel command line option [ 0.000000] Xen doesn''t support pvclock on HVM,disable pv timer [ 0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000 [ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000e0000 [ 0.000000] PM: Registered nosave memory: 00000000000e0000 - 0000000000100000 [ 0.000000] Allocating PCI resources starting at 80000000 (gap: 80000000:7c000000) [ 0.000000] Booting paravirtualized kernel on Xen [ 0.000000] setup_percpu: NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:15 nr_node_ids:1 [ 0.000000] PERCPU: Embedded 30 pages/cpu @ffff880001e00000 s90600 r8192 d24088 u131072 [ 0.000000] pcpu-alloc: s90600 r8192 d24088 u131072 alloc=1*2097152 [ 0.000000] pcpu-alloc: [0] 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 -- [ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 517007 [ 0.000000] Policy zone: DMA32 [ 0.000000] Kernel command line: root=/dev/xvda1 ro bigphysarea=128000 kdb=on nmi_watchdog=1 init_cpus=0 console=ttyS0,115200n8 [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Checking aperture... [ 0.000000] No AGP bridge found [ 0.000000] Subtract (54 early reservations) [ 0.000000] #1 [0001000000 - 0001ccbbd8] TEXT DATA BSS [ 0.000000] #2 [0037788000 - 0037ff0000] RAMDISK [ 0.000000] #3 [0001ccc000 - 0001ccc099] BRK [ 0.000000] #4 [00000fbc50 - 0000100000] BIOS reserved [ 0.000000] #5 [00000fbc40 - 00000fbc50] MP-table mpf [ 0.000000] #6 [000009d800 - 00000fbb70] BIOS reserved [ 0.000000] #7 [00000fbb70 - 00000fbc40] MP-table mpc [ 0.000000] #8 [0000010000 - 0000012000] TRAMPOLINE [ 0.000000] #9 [0000012000 - 0000016000] ACPI WAKEUP [ 0.000000] #10 [0000016000 - 0000017000] PGTABLE [ 0.000000] #11 [0001ccc0c0 - 0001cd10c0] NODE_DATA [ 0.000000] #12 [0001cd10c0 - 0001cd20c0] BOOTMEM [ 0.000000] #13 [0000017000 - 0000017180] BOOTMEM [ 0.000000] #14 [00024d3000 - 00024d4000] BOOTMEM [ 0.000000] #15 [00024d4000 - 00024d5000] BOOTMEM [ 0.000000] #16 [0002600000 - 0004200000] MEMMAP 0 [ 0.000000] #17 [0001cd20c0 - 0001cea0c0] BOOTMEM [ 0.000000] #18 [0001cea0c0 - 0001d020c0] BOOTMEM [ 0.000000] #19 [0001d03000 - 0001d04000] BOOTMEM [ 0.000000] #20 [0001ccbc00 - 0001ccbc43] BOOTMEM [ 0.000000] #21 [0001d04000 - 0001d05000] BOOTMEM [ 0.000000] #22 [0001ccbc80 - 0001ccbdd0] BOOTMEM [ 0.000000] #23 [0001ccbe00 - 0001ccbe68] BOOTMEM [ 0.000000] #24 [0001ccbe80 - 0001ccbee8] BOOTMEM [ 0.000000] #25 [0001ccbf00 - 0001ccbf68] BOOTMEM [ 0.000000] #26 [0001ccbf80 - 0001ccbfe8] BOOTMEM [ 0.000000] #27 [0001d020c0 - 0001d02128] BOOTMEM [ 0.000000] #28 [0001d02140 - 0001d02160] BOOTMEM [ 0.000000] #29 [0001d02180 - 0001d021e1] BOOTMEM [ 0.000000] #30 [0001d02200 - 0001d02261] BOOTMEM [ 0.000000] #31 [0001e00000 - 0001e1e000] BOOTMEM [ 0.000000] #32 [0001e20000 - 0001e3e000] BOOTMEM [ 0.000000] #33 [0001e40000 - 0001e5e000] BOOTMEM [ 0.000000] #34 [0001e60000 - 0001e7e000] BOOTMEM [ 0.000000] #35 [0001e80000 - 0001e9e000] BOOTMEM [ 0.000000] #36 [0001ea0000 - 0001ebe000] BOOTMEM [ 0.000000] #37 [0001ec0000 - 0001ede000] BOOTMEM [ 0.000000] #38 [0001ee0000 - 0001efe000] BOOTMEM [ 0.000000] #39 [0001f00000 - 0001f1e000] BOOTMEM [ 0.000000] #40 [0001f20000 - 0001f3e000] BOOTMEM [ 0.000000] #41 [0001f40000 - 0001f5e000] BOOTMEM [ 0.000000] #42 [0001f60000 - 0001f7e000] BOOTMEM [ 0.000000] #43 [0001f80000 - 0001f9e000] BOOTMEM [ 0.000000] #44 [0001fa0000 - 0001fbe000] BOOTMEM [ 0.000000] #45 [0001fc0000 - 0001fde000] BOOTMEM [ 0.000000] #46 [0001d02280 - 0001d02288] BOOTMEM [ 0.000000] #47 [0001d022c0 - 0001d022c8] BOOTMEM [ 0.000000] #48 [0001d02300 - 0001d0233c] BOOTMEM [ 0.000000] #49 [0001d02340 - 0001d023b8] BOOTMEM [ 0.000000] #50 [0001d023c0 - 0001d024d0] BOOTMEM [ 0.000000] #51 [0001d02500 - 0001d02548] BOOTMEM [ 0.000000] #52 [0001d02580 - 0001d025c8] BOOTMEM [ 0.000000] #53 [0001d05000 - 0001d0d000] BOOTMEM [ 0.000000] Memory: 2044208k/2097152k available (6087k kernel code, 452k absent, 52492k reserved, 4962k data, 820k init) [ 0.000000] SLUB: Genslabs=14, HWalign=64, Order=0-3, MinObjects=0, CPUs=15, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS:4352 nr_irqs:936 [ 0.000000] Console: colour VGA+ 80x25 [ 0.000000] console [ttyS0] enabled [ 0.000000] allocated 20971520 bytes of page_cgroup [ 0.000000] please try ''cgroup_disable=memory'' option if you don''t want memory cgroups [ 0.000000] Fast TSC calibration using PIT [ 0.000000] Detected 2660.070 MHz processor. [ 0.020004] Calibrating delay loop (skipped), value calculated using timer frequency.. 5320.14 BogoMIPS (lpj=26600700) [ 0.024799] Security Framework initialized [ 0.026690] SELinux: Disabled at boot. [ 0.028686] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes) [ 0.030440] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.033805] Mount-cache hash table entries: 256 [ 0.035977] Initializing cgroup subsys ns [ 0.040005] Initializing cgroup subsys cpuacct [ 0.041998] Initializing cgroup subsys memory [ 0.043961] Initializing cgroup subsys devices [ 0.046121] Initializing cgroup subsys freezer [ 0.048266] Initializing cgroup subsys net_cls [ 0.050048] CPU: Unsupported number of siblings 32 [ 0.052132] mce: CPU supports 9 MCE banks [ 0.054109] Performance Events: unsupported p6 CPU model 26 no PMU driver, software events only. [ 0.058398] SMP alternatives: switching to UP code [ 0.074716] ACPI: Core revision 20100121 [ 0.092838] ftrace: converting mcount calls to 0f 1f 44 00 00 [ 0.095621] ftrace: allocating 22385 entries in 88 pages [ 0.110029] Setting APIC routing to physical flat [ 0.121164] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=0 pin2=0 [ 0.224288] CPU0: Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz stepping 04 [ 0.230000] APIC timer registered as dummy, due to nmi_watchdog=1! [ 0.230000] Brought up 1 CPUs [ 0.230000] Total of 1 processors activated (5320.14 BogoMIPS). [ 0.230000] Testing NMI watchdog ... [ 0.421963] WARNING: CPU#0: NMI appears to be stuck (0->0)! [ 0.425909] Please report this to bugzilla.kernel.org, [ 0.428563] and attach the output of the ''dmesg'' command. [ 0.430077] devtmpfs: initialized [ 0.434855] regulator: core version 0.5 [ 0.436899] Time: 14:31:52 Date: 07/12/10 [ 0.440030] NET: Registered protocol family 16 [ 0.442408] ACPI: bus type pci registered [ 0.444765] PCI: Using configuration type 1 for base access [ 0.448079] bio: create slab <bio-0> at 0 [ 0.458901] ACPI: Interpreter enabled [ 0.460003] ACPI: (supports S0 S3 S4 S5) [ 0.462335] ACPI: Using IOAPIC for interrupt routing [ 0.562047] ACPI: No dock devices found. [ 0.564056] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug [ 0.568845] ACPI: PCI Root Bridge [PCI0] (0000:00) [ 0.570313] pci_root PNP0A03:00: host bridge window [io 0x0000-0x0cf7] [ 0.573642] pci_root PNP0A03:00: host bridge window [io 0x0d00-0xffff] [ 0.577024] pci_root PNP0A03:00: host bridge window [mem 0x000a0000-0x000bffff] [ 0.580003] pci_root PNP0A03:00: host bridge window [mem 0xf0000000-0xfbffffff] [ 0.591995] * Found PM-Timer Bug on the chipset. Due to workarounds for a bug, [ 0.591996] * this clock source is slow. Consider trying other clock sources [ 0.600527] pci 0000:00:01.3: quirk: [io 0x1f40-0x1f7f] claimed by PIIX4 ACPI [ 1.024689] ACPI: PCI Interrupt Link [LNKA] (IRQs *5 10 11) [ 1.028399] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11) [ 1.031347] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11) [ 1.034999] ACPI: PCI Interrupt Link [LNKD] (IRQs *5 10 11) [ 1.038677] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none [ 1.040003] vgaarb: loaded [ 1.041471] SCSI subsystem initialized [ 1.043481] usbcore: registered new interface driver usbfs [ 1.050014] usbcore: registered new interface driver hub [ 1.052719] usbcore: registered new device driver usb [ 1.055417] ACPI: WMI: Mapper loaded [ 1.057298] PCI: Using ACPI for IRQ routing [ 1.060486] NetLabel: Initializing [ 1.062253] NetLabel: domain hash size = 128 [ 1.064481] NetLabel: protocols = UNLABELED CIPSOv4 [ 1.067047] NetLabel: unlabeled traffic allowed by default [ 1.070007] Switching to clocksource tsc [ 1.073022] pnp: PnP ACPI init [ 1.074614] ACPI: bus type pnp registered [ 1.119673] pnp: PnP ACPI: found 12 devices [ 1.121816] ACPI: ACPI bus type pnp unregistered [ 1.124186] system 00:00: [mem 0x00000000-0x0009ffff] could not be reserved [ 1.127850] system 00:02: [io 0x10c0-0x1141] has been reserved [ 1.130827] system 00:02: [io 0xb044-0xb047] has been reserved [ 1.133821] system 00:03: [io 0x08a0-0x08a3] has been reserved [ 1.136978] system 00:03: [io 0x0cc0-0x0ccf] has been reserved [ 1.140039] system 00:03: [io 0x04d0-0x04d1] has been reserved [ 1.147719] NET: Registered protocol family 2 [ 1.150163] IP route cache hash table entries: 65536 (order: 7, 524288 bytes) [ 1.154170] TCP established hash table entries: 262144 (order: 10, 4194304 bytes) [ 1.158821] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes) [ 1.162407] TCP: Hash tables configured (established 262144 bind 65536) [ 1.165818] TCP reno registered [ 1.167611] UDP hash table entries: 1024 (order: 3, 32768 bytes) [ 1.170733] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes) [ 1.174072] NET: Registered protocol family 1 [ 1.176402] RPC: Registered udp transport module. [ 1.178971] RPC: Registered tcp transport module. [ 1.181366] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 1.184646] pci 0000:00:00.0: Limiting direct PCI/PCI transfers [ 1.187887] pci 0000:00:01.0: PIIX3: Enabling Passive Release [ 1.190870] pci 0000:00:01.0: Activating ISA DMA hang workarounds [ 1.194602] Trying to unpack rootfs image as initramfs... [ 1.338937] Freeing initrd memory: 8608k freed [ 1.343521] Scanning for low memory corruption every 60 seconds [ 1.348211] audit: initializing netlink socket (disabled) [ 1.352210] type=2000 audit(1278945112.348:1): initialized [ 1.367150] HugeTLB registered 2 MB page size, pre-allocated 0 pages [ 1.373046] VFS: Disk quotas dquot_6.5.2 [ 1.375286] Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 1.379351] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 1.382689] fuse init (API version 7.13) [ 1.384785] msgmni has been set to 4009 [ 1.387046] alg: No test for stdrng (krng) [ 1.389240] io scheduler noop registered [ 1.391250] io scheduler deadline registered [ 1.393472] io scheduler cfq registered (default) [ 1.395971] pci_hotplug: PCI Hot Plug PCI Core version: 0.5 [ 1.399000] pciehp: PCI Express Hot Plug Controller Driver version: 0.4 [ 1.402404] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0 [ 1.406189] ACPI: Power Button [PWRF] [ 1.408271] input: Sleep Button as /devices/LNXSYSTM:00/LNXSLPBN:00/input/input1 [ 1.411977] ACPI: Sleep Button [SLPF] [ 1.462619] xen-platform-pci 0000:00:03.0: PCI INT A -> GSI 28 (level, low) -> IRQ 28 [ 1.466752] Grant table initialized [ 1.470805] Linux agpgart interface v0.103 [ 1.473783] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 1.478529] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 1.483405] 00:0a: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 1.486931] brd: module loaded [ 1.488975] loop: module loaded [ 1.491170] scsi0 : ata_piix [ 1.492711] scsi1 : ata_piix [ 1.494254] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc560 irq 14 [ 1.497891] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc568 irq 15 [ 1.503284] Fixed MDIO Bus: probed [ 1.505095] PPP generic driver version 2.4.2 [ 1.507454] tun: Universal TUN/TAP device driver, 1.6 [ 1.510087] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> [ 1.513301] ehci_hcd: USB 2.0 ''Enhanced'' Host Controller (EHCI) Driver [ 1.516668] ohci_hcd: USB 1.1 ''Open'' Host Controller (OHCI) Driver [ 1.519982] uhci_hcd: USB Universal Host Controller Interface driver [ 1.523274] uhci_hcd 0000:00:01.2: PCI INT D -> GSI 23 (level, low) -> IRQ 23 [ 1.527150] uhci_hcd 0000:00:01.2: UHCI Host Controller [ 1.529962] uhci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 1 [ 1.533962] uhci_hcd 0000:00:01.2: irq 23, io base 0x0000c540 [ 1.537852] hub 1-0:1.0: USB hub found [ 1.539780] hub 1-0:1.0: 2 ports detected [ 1.542008] PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12 [ 1.547743] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 1.550336] serio: i8042 AUX port at 0x60,0x64 irq 12 [ 1.552952] mice: PS/2 mouse device common for all mice [ 1.556366] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input2 [ 1.560923] rtc_cmos 00:05: rtc core: registered rtc_cmos as rtc0 [ 1.564060] rtc0: alarms up to one day, 114 bytes nvram [ 1.566955] device-mapper: uevent: version 1.0.3 [ 1.569939] device-mapper: ioctl: 4.17.0-ioctl (2010-03-05) initialised: dm-devel@redhat.com [ 1.574228] device-mapper: multipath: version 1.1.1 loaded [ 1.577193] device-mapper: multipath round-robin: version 1.0.0 loaded [ 1.580717] cpuidle: using governor ladder [ 1.582818] cpuidle: using governor menu [ 1.585035] TCP cubic registered [ 1.586825] NET: Registered protocol family 10 [ 1.589525] lo: Disabled Privacy Extensions [ 1.591810] NET: Registered protocol family 17 [ 1.594163] registered taskstats version 1 [ 1.597829] XENBUS: Device with no driver: device/vbd/51712 [ 1.600642] XENBUS: Device with no driver: device/vif/0 [ 1.603286] XENBUS: Device with no driver: device/pci/0 [ 1.605979] XENBUS: Device with no driver: device/console/0 [ 1.609003] Magic number: 2:868:535 [ 1.610883] bdi 1:13: hash matches [ 1.612663] rtc_cmos 00:05: setting system clock to 2010-07-12 14:31:53 UTC (1278945113) [ 1.616885] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found [ 1.619998] EDD information not available. [ 1.661022] Freeing unused kernel memory: 820k freed [ 1.666457] Write protecting the kernel read-only data: 10240k [ 1.672191] Freeing unused kernel memory: 36k freed [ 1.675309] Freeing unused kernel memory: 1384k freed Loading, please wait... Begin: Loading essential drivers... ... [ 1.690947] udev: starting version 151 [ 1.741388] Initialising Xen virtual ethernet driver. [ 1.782675] blkfront: xvda: barriers enabled [ 1.785496] xvda: xvda1 xvda2 < [ 1.800821] FDC 0 is a S82078B [ 1.803948] xvda5 > [ 1.857955] usb 1-2: new full speed USB device using uhci_hcd and address 2 FATAL: Error inserting xen_kbdfront (/lib/modules/2.6.34/kernel/drivers/input/xen-kbdfront.ko): No such device FATAL: Error inserting xen_fbfront (/lib/modules/2.6.34/kernel/drivers/video/xen-fbfront.ko): No such device Done. Begin: Running /scripts/init-premount ... Done. Begin: Mounting root file system... ... Begin: Running /scripts/local-top ... Done. [ 1.937943] Clockevents: could not switch to one-shot mode: lapic is not functional. [ 1.947178] Could not switch to high resolution mode on CPU 0 Begin: Running /scripts/local-premount ... Done. [ 1.976747] EXT4-fs (xvda1): mounted filesystem with ordered data mode Begin: Running /scripts/local-bottom ... Done. Done. Begin: Running /scripts/init-bottom ... Done. init: ureadahead main process (302) terminated with status 5 [ 5.056614] piix4_smbus 0000:00:01.3: SMBus base address uninitialized - upgrade BIOS or use force_addr=0xaddr fsck from util-linux-ng 2.17.2 e2fsck 1.41.11 (14-Mar-2010) /dev/xvda1: clean, 77430/288576 files, 391507/1153280 blocks * Enable login on console [ OK ] * Check for hostname changes... [ OK ] * Get system service addresses mount.nfs: an incorrect mount option was specified mount.nfs: an incorrect mount option was specified [ OK ] * Setting sensors limits No sensors found! Make sure you loaded all the kernel drivers you need. Try sensors-detect to find out which these are. No sensors found! Make sure you loaded all the kernel drivers you need. Try sensors-detect to find out which these are. [ OK ] * Initializing random number generator... [ OK ] * Setting up X server socket directory /tmp/.X11-unix... [ OK ] * Setting up ICE socket directory /tmp/.ICE-unix... [ OK ] * Not starting fancontrol; run pwmconfig first. * Starting internet superserver inetd [ OK ] Starting openntpd: * Starting network management services: * Starting the system activity data collector sadc [ OK ] * Setting core file location... [ OK ] * Restoring resolver state... [ OK ] * Checking tomcat configuration ...done. * Starting Tomcat servlet engine tomcat6 Using CATALINA_BASE: /var/lib/tomcat6 Using CATALINA_HOME: /usr/share/tomcat6 Using CATALINA_TMPDIR: /tmp/tomcat6-tmp Using JRE_HOME: /usr/lib/jvm/java-6-openjdk Using CLASSPATH: /usr/share/tomcat6/bin/bootstrap.jar [ OK ] Starting statistics collection and monitoring daemon: collectd. * Recording successful boot for GRUB ...done. * Running local boot scripts (/etc/rc.local) [ OK ] mountall: Plymouth command failed mountall: Disconnected from Plymouth 6.0.14-01 dpm login: root Password: Last login: Mon Jul 12 10:27:17 EDT 2010 on ttyS0 Linux kaan-01-dpm 2.6.34 #1 SMP Mon Jul 12 10:07:52 PDT 2010 x86_64 GNU/Linux DPM-8800 6.0.14-01 Welcome to Ubuntu! * Documentation: https://help.ubuntu.com/ kaan-01-dpm:~# lspci 00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02) 00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II] 00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II] 00:01.2 USB Controller: Intel Corporation 82371SB PIIX3 USB [Natoma/Triton II] (rev 01) 00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 01) 00:02.0 VGA compatible controller: Cirrus Logic GD 5446 00:03.0 Class ff80: XenSource, Inc. Xen Platform Device (rev 01) 00:05.0 Fibre Channel: PMC-Sierra Inc. Device 8032 (rev 05) 00:06.0 Fibre Channel: PMC-Sierra Inc. Device 8032 (rev 05) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Stefano Stabellini
2010-Jul-13 10:40 UTC
Re: [Xen-devel] 2.6.32.16: hvm domU boot - oops at add_pin_to_irq_node_nopanic
On Mon, 12 Jul 2010, Bruce Edge wrote:> It works!!! >Great!> What''s the prognosis regarding getting this pv-on-hvm change set integrated into a more mainline branch in the near > future? >the branch on Jeremy''s tree (merged into xen/next) is obviously lagging behind, but I expected it to work. I''ll try to figure out what went wrong with the merge. Meanwhile I am also working to get the whole series upstream and hopefully it will be soon. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Łukasz Oleś
2010-Jul-15 10:49 UTC
Re: [Xen-devel] 2.6.32.16: hvm domU boot - oops at add_pin_to_irq_node_nopanic
W dniu 12 lipca 2010 15:01 użytkownik Stefano Stabellini <stefano.stabellini@eu.citrix.com> napisał:> On Mon, 12 Jul 2010, Łukasz Oleś wrote: >> W dniu 9 lipca 2010 12:46 użytkownik Stefano Stabellini >> <stefano.stabellini@eu.citrix.com> napisał: >> > On Fri, 9 Jul 2010, Łukasz Oleś wrote: >> >> W dniu 9 lipca 2010 11:42 użytkownik Łukasz Oleś <lukaszoles@gmail.com> napisał: >> >> > 2010/7/8 Łukasz Oleś <lukaszoles@gmail.com>: >> >> >> On Thursday 08 July 2010 17:39:49 Bruce Edge wrote: >> >> >>> This is the same problem as this post: >> >> >>> http://lists.xensource.com/archives/html/xen-devel/2010-06/msg01114.html >> >> >>> >> >> >>> Stefano suggested I retry after Jeremy''s pull. >> >> >>> >> >> >>> Sync''d with 2.6.32.16 last night and it looks like the identical problem. >> >> >>> >> >> >>> I can boot Ubuntu 10.04 with it''s own native kernel, but not with a pv-ops >> >> >>> kernel. >> >> >> >> >> >> I have identical problem and tried with and without CONFIG_XEN_PLATFORM_PCI >> >> >> option. >> >> >> >> >> >> I''ll test xen/next-2.6.32 and see if it helps. >> >> >> >> >> > >> >> > I tried xen/next-2.6.32 and there is no call trace but now it just hangs. >> >> > I''m running this kernel as HVM domU, but it has enabled options for >> >> > dom0. Should this work? >> >> > >> >> > Attached kernel config file and logs from xen/stable-2.6.32 xen/next-2.6.32 >> >> > >> >> >> >> Sending also output from xm log >> >> >> >> This line: "(XEN) hvm.c:3115:d15 Bad HVM op 9." appears when starting >> >> domU with kernel from xen/next-2.6.32 >> > >> > That line means that you are running on a Xen version that doesn''t have >> > HVMOP_pagetable_dying, like xen 4.0 testing for example. It shouldn''t >> > caouse any trouble per se. >> > If you are running on xen 4.0, could you please apply to the hypervisor >> > the patch I attached to this email and try one more time? >> > >> >> Could you rebase this patch for the latest xen-4.0-testing? I have >> problems with running xen-4.0 on my computer. >> > > just pull from xen-4.0-testing: the patch in question has already been > applied as CS 21239. >Yes, in latest xen-4.0-testing this line doesn''t occur thx -- Łukasz Oleś _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel