On Sat, Jun 19, 2010 at 07:19:32AM -0700, Bruce Edge wrote:
> This is a 2.6.32x pv-ops with essentially pasi's config, modified enough
> to get past the
>
> [1]http://old.nabble.com/Re:--Xen-users--xen-stable-2.6.32.x-compilation-failure-in-do_hvm_suspend()-td28550826.html
> problem
>
The latest example .config should work without modifications:
http://pasik.reaktio.net/xen/pv_ops-dom0-debug/config-2.6.32.15-pvops-dom0-xen-stable-x86_64
-- Pasi
> Started domain dpm (id=15)
> Initializing cgroup subsys cpuset
> Initializing cgroup subsys cpu
> Linux version 2.6.32.15 (root@kaan) (gcc version 4.3.3 (Ubuntu
> 4.3.3-5ubuntu4) ) #1 SMP Fri Jun 18 17:01:34 PDT 2010
> Command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32.15
> root=UUID=4d2c0dbc-296e-40be-bdbc-955437414fcb ro bigphysarea=128000
> kdb=on nmi_watchdog=1 init_cpus=0 console=ttyS0,115200n8 selinux=0
> cgroup_disable=memory
> KERNEL supported cpus:
> Intel GenuineIntel
> AMD AuthenticAMD
> Centaur CentaurHauls
> BIOS-provided physical RAM map:
> BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
> BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
> BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
> BIOS-e820: 0000000000100000 - 0000000080000000 (usable)
> BIOS-e820: 00000000fc000000 - 0000000100000000 (reserved)
> DMI 2.4 present.
> last_pfn = 0x80000 max_arch_pfn = 0x400000000
> x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
> init_memory_mapping: 0000000000000000-0000000080000000
> RAMDISK: 3469c000 - 37fef46b
> ACPI: RSDP 00000000000ea020 00024 (v02 Xen)
> ACPI: XSDT 00000000fc012cb0 00034 (v01 Xen HVM 00000000 HVML
> 00000000)
> ACPI: FACP 00000000fc012ad0 000F4 (v04 Xen HVM 00000000 HVML
> 00000000)
> ACPI: DSDT 00000000fc002c40 0FE0B (v02 Xen HVM 00000000 INTL
> 20081204)
> ACPI: FACS 00000000fc002c00 00040
> ACPI: APIC 00000000fc012bd0 000D8 (v02 Xen HVM 00000000 HVML
> 00000000)
> No NUMA configuration found
> Faking a node at 0000000000000000-0000000080000000
> Bootmem setup node 0 0000000000000000-0000000080000000
> NODE_DATA [0000000000009000 - 0000000000020fff]
> bootmap [0000000000021000 - 0000000000030fff] pages 10
> (7 early reservations) ==> bootmem [0000000000 - 0080000000]
> #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 -
> 0000001000]
> #1 [0000006000 - 0000008000] TRAMPOLINE ==> [0000006000 -
> 0000008000]
> #2 [0001000000 - 00027308b8] TEXT DATA BSS ==> [0001000000 -
> 00027308b8]
> #3 [003469c000 - 0037fef46b] RAMDISK ==> [003469c000 -
> 0037fef46b]
> #4 [000009fc00 - 0000100000] BIOS reserved ==> [000009fc00 -
> 0000100000]
> #5 [0002731000 - 00027310a1] BRK ==> [0002731000 -
> 00027310a1]
> #6 [0000008000 - 0000009000] PGTABLE ==> [0000008000 -
> 0000009000]
> found SMP MP-table at [ffff8800000fbc40] fbc40
> Zone PFN ranges:
> DMA 0x00000000 -> 0x00001000
> DMA32 0x00001000 -> 0x00100000
> Normal 0x00100000 -> 0x00100000
> Movable zone start PFN for each node
> early_node_map[2] active PFN ranges
> 0: 0x00000000 -> 0x0000009f
> 0: 0x00000100 -> 0x00080000
> ACPI: PM-Timer IO Port: 0x1f48
> ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
> ACPI: LAPIC (acpi_id[0x01] lapic_id[0x02] disabled)
> ACPI: LAPIC (acpi_id[0x02] lapic_id[0x04] disabled)
> ACPI: LAPIC (acpi_id[0x03] lapic_id[0x06] disabled)
> ACPI: LAPIC (acpi_id[0x04] lapic_id[0x08] disabled)
> ACPI: LAPIC (acpi_id[0x05] lapic_id[0x0a] disabled)
> ACPI: LAPIC (acpi_id[0x06] lapic_id[0x0c] disabled)
> ACPI: LAPIC (acpi_id[0x07] lapic_id[0x0e] disabled)
> ACPI: LAPIC (acpi_id[0x08] lapic_id[0x10] disabled)
> ACPI: LAPIC (acpi_id[0x09] lapic_id[0x12] disabled)
> ACPI: LAPIC (acpi_id[0x0a] lapic_id[0x14] disabled)
> ACPI: LAPIC (acpi_id[0x0b] lapic_id[0x16] disabled)
> ACPI: LAPIC (acpi_id[0x0c] lapic_id[0x18] disabled)
> ACPI: LAPIC (acpi_id[0x0d] lapic_id[0x1a] disabled)
> ACPI: LAPIC (acpi_id[0x0e] lapic_id[0x1c] disabled)
> ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
> IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-47
> ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
> ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 low level)
> ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 low level)
> ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 low level)
> Using ACPI (MADT) for SMP configuration information
> SMP: Allowing 15 CPUs, 14 hotplug CPUs
> Xen version 4.0.
> PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
> PM: Registered nosave memory: 00000000000a0000 - 00000000000e0000
> PM: Registered nosave memory: 00000000000e0000 - 0000000000100000
> Allocating PCI resources starting at 80000000 (gap: 80000000:7c000000)
> Booting paravirtualized kernel on Xen
> NR_CPUS:512 nr_cpumask_bits:512 nr_cpu_ids:15 nr_node_ids:1
> PERCPU: Embedded 478 pages/cpu @ffff880006000000 s1927128 r8192 d22568
> u2097152
> pcpu-alloc: s1927128 r8192 d22568 u2097152 alloc=1*2097152
> pcpu-alloc: [0] 00 [0] 01 [0] 02 [0] 03 [0] 04 [0] 05 [0] 06 [0] 07
> pcpu-alloc: [0] 08 [0] 09 [0] 10 [0] 11 [0] 12 [0] 13 [0] 14
> Built 1 zonelists in Node order, mobility grouping on. Total pages:
> 510779
> Policy zone: DMA32
> Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32.15
> root=UUID=4d2c0dbc-296e-40be-bdbc-955437414fcb ro bigphysarea=128000
> kdb=on nmi_watchdog=1 init_cpus=0 console=ttyS0,115200n8 selinux=0
> cgroup_disable=memory
> init_cpus[0]=1
> setting init process cpumask to 81769470
> Disabling memory control group subsystem
> PID hash table entries: 4096 (order: 3, 32768 bytes)
> Initializing CPU#0
> Checking aperture...
> No AGP bridge found
> Memory: 1932012k/2097152k available (4878k kernel code, 388k absent,
> 164752k reserved, 3489k data, 3392k init)
> SLUB: Genslabs=14, HWalign=64, Order=0-3, MinObjects=0, CPUs=15, Nodes=1
> Hierarchical RCU implementation.
> NR_IRQS:4352 nr_irqs:936
> xen map irq failed -38
> xen map irq failed -38
> xen map irq failed -38
> xen map irq failed -38
> xen map irq failed -38
> xen map irq failed -38
> xen map irq failed -38
> xen map irq failed -38
> xen map irq failed -38
> xen map irq failed -38
> xen map irq failed -38
> xen map irq failed -38
> xen map irq failed -38
> xen map irq failed -38
> xen map irq failed -38
> ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
> ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 low level)
> ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 low level)
> ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 low level)
> Console: colour VGA+ 80x25
> console [ttyS0] enabled
> Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
> ... MAX_LOCKDEP_SUBCLASSES: 8
> ... MAX_LOCK_DEPTH: 48
> ... MAX_LOCKDEP_KEYS: 8191
> ... CLASSHASH_SIZE: 4096
> ... MAX_LOCKDEP_ENTRIES: 16384
> ... MAX_LOCKDEP_CHAINS: 32768
> ... CHAINHASH_SIZE: 16384
> memory used by lock dependency info: 6367 kB
> per task-struct memory footprint: 2688 bytes
> Fast TSC calibration using PIT
> Detected 2533.594 MHz processor.
> Calibrating delay loop (skipped), value calculated using timer frequency..
> 5067.18 BogoMIPS (lpj=2533594)
> 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
> Security Framework initialized
> SELinux: Disabled at boot.
> Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
> Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
> Mount-cache hash table entries: 256
> Initializing cgroup subsys ns
> Initializing cgroup subsys cpuacct
> Initializing cgroup subsys memory
> Initializing cgroup subsys devices
> Initializing cgroup subsys freezer
> Initializing cgroup subsys net_cls
> CPU: L1 I cache: 32K, L1 D cache: 32K
> CPU: L2 cache: 256K
> CPU: L3 cache: 8192K
> CPU 0/0x0 -> Node 0
> CPU: Unsupported number of siblings 32
> mce: CPU supports 9 MCE banks
> Performance Events: unsupported p6 CPU model 26 no PMU driver, software
> events only.
> lockdep: fixing up alternatives.
> SMP alternatives: switching to UP code
> ACPI: Core revision 20090903
> ftrace: converting mcount calls to 0f 1f 44 00 00
> ftrace: allocating 24649 entries in 97 pages
> Setting APIC routing to physical flat
> BUG: unable to handle kernel NULL pointer dereference at (null)
> IP: [<ffffffff8102ba2e>] add_pin_to_irq_node_nopanic+0x10/0x81
> PGD 0
> Oops: 0000 [#1] SMP
> last sysfs file:
> Entering kdb (current=0xffff88007f4c0000, pid 1) on processor 0 Oops:
> <NULL>
> due to oops @ 0xffffffff8102ba2e
> r15 = 0x0000000000000000 r14 = 0x0000000000000001
> r13 = 0x0000000000000001 r12 = 0xffffffff81747480
> bp = 0xffff88007f4bbe00 bx = 0x0000000000000005
> r11 = 0xffff88007f4bbe00 r10 = 0xffff88007f4c0000
> r9 = 0x0000000000000046 r8 = 0xffff88007f4bbe00
> ax = 0xffffffff81747480 cx = 0x0000000000000001
> dx = 0x0000000000000000 si = 0x0000000000000000
> di = 0x0000000000000000 orig_ax = 0xffffffffffffffff
> ip = 0xffffffff8102ba2e cs = 0x0000000000000010
> flags = 0x0000000000010282 sp = 0xffff88007f4bbdd0
> ss = 0x0000000000000018 ®s = 0xffff88007f4bbd38
> [0]kdb>
> [0]kdb>
> [0]kdb>
> [0]kdb> bt
> Stack traceback for pid 1
> 0xffff88007f4c0000 1 0 1 0 R 0xffff88007f4c0560
> *swapper
> sp ip Function (args)
> bb_parse_opcode: no match at [kernel]kdb_save_running 0xffffffff8124668f -
> 'push'
> bb_parse_opcode: no match at [kernel]kdb_save_running 0xffffffff81246690 -
> 'mov'
> bb_parse_opcode: no match at [kernel]kdb_save_running 0xffffffff81246693 -
> 'nop'
> bb_parse_opcode: no match at [kernel]kdb_save_running 0xffffffff81246695 -
> 'add'
> bb_parse_opcode: no match at [kernel]kdb_save_running 0xffffffff81246698 -
> 'mov'
> kdb_bb: address 0xffff88007f4bba48 not recognised
> Using old style backtrace, unreliable with no arguments
> sp ip Function (args)
> 0xffff88007f4bbdb8 0xffffffff8102ba2e add_pin_to_irq_node_nopanic+0x10
> 0xffff88007f4bbe08 0xffffffff8102c9a1 add_pin_to_irq_node+0xe
> 0xffff88007f4bbe18 0xffffffff81a162fb setup_IO_APIC_irqs+0x1a4
> 0xffff88007f4bbe68 0xffffffff81a163c7 setup_IO_APIC+0x43
> 0xffff88007f4bbe88 0xffffffff81a11a74 native_smp_prepare_cpus+0x1d7
> 0xffff88007f4bbed8 0xffffffff81a048a6 kernel_init+0x75
> 0xffff88007f4bbf48 0xffffffff81013faa child_rip+0xa
> [0]kdb>
> [0]kdb>
> [0]kdb>
> [0]kdb>
> This domU works with bare-metal kernels, this is the first time I've
> attempted to use pv-ops kernel for this domU.
> -Bruce
>
> References
>
> Visible links
> 1.
> http://old.nabble.com/Re:--Xen-users--xen-stable-2.6.32.x-compilation-failure-in-do_hvm_suspend()-td28550826.html
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|