* xen 4.1.0 + 3.0-rc3 pvops: virtualbox doesn't power off
@ 2011-06-15 0:33 Sven Köhler
2011-06-15 12:41 ` Konrad Rzeszutek Wilk
0 siblings, 1 reply; 5+ messages in thread
From: Sven Köhler @ 2011-06-15 0:33 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1: Type: text/plain, Size: 602 bytes --]
Hi,
I'm running xen 4.1.0 and 3.0-rc3 pvops dom0 with vga text console patch
inside virtualbox (both xen and dom0 kernel 64bit).
It doesn't power off. I see the "Power down." message by the kernel,
then nothing happens. Reboot works fine. Same kernel on bare metal
(still inside virtalbox) powers off fine. Also 2.6.39.x from konrad's
tree power's off fine, with or without xen.
Also tried xen 3.4.3 hypervisor: same result.
Nor sure, if the problem exists on real hardware either.
I attached xm dmesg, kernel dmesg and kernel config.
I'll try to provide serial logs, if needed.
Regards,
Sven
[-- Attachment #2: config.gz --]
[-- Type: application/x-gzip, Size: 12196 bytes --]
[-- Attachment #3: dmesg --]
[-- Type: text/plain, Size: 22800 bytes --]
[ 0.000000] Linux version 3.0.0-rc3 (root@localhost) (gcc version 4.4.5 (Gentoo 4.4.5 p1.2, pie-0.4.5) ) #1 SMP Tue Jun 14 01:37:08 CEST 2011
[ 0.000000] Command line: root=/dev/sda1 ro
[ 0.000000] Disabled fast string operations
[ 0.000000] released 0 pages of unused memory
[ 0.000000] 1-1 mapping on a0->100
[ 0.000000] 1-1 mapping on 7fff0->100000
[ 0.000000] Set 524400 page(s) to 1-1 mapping.
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] Xen: 0000000000000000 - 000000000009f000 (usable)
[ 0.000000] Xen: 000000000009fc00 - 0000000000100000 (reserved)
[ 0.000000] Xen: 0000000000100000 - 0000000020000000 (usable)
[ 0.000000] Xen: 0000000020000000 - 000000007fff0000 (unusable)
[ 0.000000] Xen: 000000007fff0000 - 0000000080000000 (ACPI data)
[ 0.000000] Xen: 00000000fec00000 - 00000000fec01000 (reserved)
[ 0.000000] Xen: 00000000fee00000 - 00000000fee01000 (reserved)
[ 0.000000] Xen: 00000000fffc0000 - 0000000100000000 (reserved)
[ 0.000000] Xen: 0000000100000000 - 000000015fff0000 (usable)
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] DMI 2.5 present.
[ 0.000000] DMI: innotek GmbH VirtualBox, BIOS VirtualBox 12/01/2006
[ 0.000000] e820 update range: 0000000000000000 - 0000000000010000 (usable) ==> (reserved)
[ 0.000000] e820 remove range: 00000000000a0000 - 0000000000100000 (usable)
[ 0.000000] No AGP bridge found
[ 0.000000] last_pfn = 0x15fff0 max_arch_pfn = 0x400000000
[ 0.000000] last_pfn = 0x20000 max_arch_pfn = 0x400000000
[ 0.000000] initial memory mapped : 0 - 016e3000
[ 0.000000] Base memory trampoline at [ffff88000009d000] 9d000 size 8192
[ 0.000000] init_memory_mapping: 0000000000000000-0000000020000000
[ 0.000000] 0000000000 - 0020000000 page 4k
[ 0.000000] kernel direct mapping tables up to 20000000 @ 1fefe000-20000000
[ 0.000000] xen: setting RW the range 1ffec000 - 20000000
[ 0.000000] init_memory_mapping: 0000000100000000-000000015fff0000
[ 0.000000] 0100000000 - 015fff0000 page 4k
[ 0.000000] kernel direct mapping tables up to 15fff0000 @ 1f3f7000-1fefe000
[ 0.000000] xen: setting RW the range 1f6f9000 - 1fefe000
[ 0.000000] ACPI: RSDP 00000000000e0000 00024 (v02 VBOX )
[ 0.000000] ACPI: XSDT 000000007fff0030 0003C (v01 VBOX VBOXXSDT 00000001 ASL 00000061)
[ 0.000000] ACPI: FACP 000000007fff00f0 000F4 (v04 VBOX VBOXFACP 00000001 ASL 00000061)
[ 0.000000] ACPI: DSDT 000000007fff0470 01A63 (v01 VBOX VBOXBIOS 00000002 INTL 20100528)
[ 0.000000] ACPI: FACS 000000007fff0200 00040
[ 0.000000] ACPI: APIC 000000007fff0240 00054 (v02 VBOX VBOXAPIC 00000001 ASL 00000061)
[ 0.000000] ACPI: SSDT 000000007fff02a0 001CC (v01 VBOX VBOXCPUT 00000002 INTL 20100528)
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0x00000010 -> 0x00001000
[ 0.000000] DMA32 0x00001000 -> 0x00100000
[ 0.000000] Normal 0x00100000 -> 0x0015fff0
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[3] active PFN ranges
[ 0.000000] 0: 0x00000010 -> 0x0000009f
[ 0.000000] 0: 0x00000100 -> 0x00020000
[ 0.000000] 0: 0x00100000 -> 0x0015fff0
[ 0.000000] On node 0 totalpages: 524159
[ 0.000000] DMA zone: 56 pages used for memmap
[ 0.000000] DMA zone: 2 pages reserved
[ 0.000000] DMA zone: 3925 pages, LIFO batch:0
[ 0.000000] DMA32 zone: 14280 pages used for memmap
[ 0.000000] DMA32 zone: 112696 pages, LIFO batch:31
[ 0.000000] Normal zone: 5376 pages used for memmap
[ 0.000000] Normal zone: 387824 pages, LIFO batch:31
[ 0.000000] ACPI: PM-Timer IO Port: 0x4008
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[ 0.000000] BIOS bug: APIC version is 0 for CPU 0/0x0, fixing up to 0x10
[ 0.000000] ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
[ 0.000000] IOAPIC[0]: apic_id 1, version 255, address 0xfec00000, GSI 0-255
[ 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 9 global_irq 9 high level)
[ 0.000000] ACPI: IRQ0 used by override.
[ 0.000000] ACPI: IRQ2 used by override.
[ 0.000000] ACPI: IRQ9 used by override.
[ 0.000000] Using ACPI (MADT) for SMP configuration information
[ 0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs
[ 0.000000] nr_irqs_gsi: 272
[ 0.000000] Allocating PCI resources starting at 80000000 (gap: 80000000:7ec00000)
[ 0.000000] Booting paravirtualized kernel on Xen
[ 0.000000] Xen version: 4.1.0 (preserve-AD)
[ 0.000000] setup_percpu: NR_CPUS:16 nr_cpumask_bits:16 nr_cpu_ids:1 nr_node_ids:1
[ 0.000000] PERCPU: Embedded 26 pages/cpu @ffff88001febc000 s74752 r8192 d23552 u106496
[ 0.000000] pcpu-alloc: s74752 r8192 d23552 u106496 alloc=26*4096
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 504445
[ 0.000000] Kernel command line: root=/dev/sda1 ro
[ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.000000] Placing 64MB software IO TLB between ffff880019200000 - ffff88001d200000
[ 0.000000] software IO TLB at phys 0x19200000 - 0x1d200000
[ 0.000000] Memory: 414724k/5767104k available (3396k kernel code, 3670468k absent, 1681912k reserved, 1567k data, 468k init)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:768
[ 0.000000] xen: sci override: global_irq=9 trigger=0 polarity=0
[ 0.000000] xen: registering gsi 9 triggering 0 polarity 0
[ 0.000000] xen: --> pirq=9 -> irq=9
[ 0.000000] xen: acpi sci 9
[ 0.000000] xen: --> pirq=1 -> irq=1
[ 0.000000] xen: --> pirq=2 -> irq=2
[ 0.000000] xen: --> pirq=3 -> irq=3
[ 0.000000] xen: --> pirq=4 -> irq=4
[ 0.000000] xen: --> pirq=5 -> irq=5
[ 0.000000] xen: --> pirq=6 -> irq=6
[ 0.000000] xen: --> pirq=7 -> irq=7
[ 0.000000] xen: --> pirq=8 -> irq=8
[ 0.000000] xen_map_pirq_gsi: returning irq 9 for gsi 9
[ 0.000000] xen: --> pirq=9 -> irq=9
[ 0.000000] xen: --> pirq=10 -> irq=10
[ 0.000000] xen: --> pirq=11 -> irq=11
[ 0.000000] xen: --> pirq=12 -> irq=12
[ 0.000000] xen: --> pirq=13 -> irq=13
[ 0.000000] xen: --> pirq=14 -> irq=14
[ 0.000000] xen: --> pirq=15 -> irq=15
[ 0.000000] Console: colour VGA+ 80x25
[ 0.000000] console [tty0] enabled
[ 0.000000] Xen: using vcpuop timer interface
[ 0.000000] installing Xen timer for CPU 0
[ 0.000000] Detected 2501.922 MHz processor.
[ 0.010000] Calibrating delay loop (skipped), value calculated using timer frequency.. 5003.84 BogoMIPS (lpj=25019220)
[ 0.010000] pid_max: default: 32768 minimum: 301
[ 0.010000] Mount-cache hash table entries: 256
[ 0.010000] Disabled fast string operations
[ 0.010000] SMP alternatives: switching to UP code
[ 0.010031] Freeing SMP alternatives: 20k freed
[ 0.010743] ACPI: Core revision 20110413
[ 0.012667] Performance Events: unsupported p6 CPU model 37 no PMU driver, software events only.
[ 0.014210] Brought up 1 CPUs
[ 0.015156] xor: automatically using best checksumming function: generic_sse
[ 0.060012] generic_sse: 2707.200 MB/sec
[ 0.060694] xor: using function: generic_sse (2707.200 MB/sec)
[ 0.061503] Grant table initialized
[ 0.062213] NET: Registered protocol family 16
[ 0.063073] ACPI: bus type pci registered
[ 0.063824] PCI: Using configuration type 1 for base access
[ 0.065146] bio: create slab <bio-0> at 0
[ 0.230000] raid6: int64x1 2455 MB/s
[ 0.400000] raid6: int64x2 2900 MB/s
[ 0.570021] raid6: int64x4 2172 MB/s
[ 0.740051] raid6: int64x8 2128 MB/s
[ 0.910024] raid6: sse2x1 5591 MB/s
[ 1.080045] raid6: sse2x2 7306 MB/s
[ 1.250000] raid6: sse2x4 7785 MB/s
[ 1.250637] raid6: using algorithm sse2x4 (7785 MB/s)
[ 1.251899] ACPI: EC: Look up EC in DSDT
[ 1.252429] ACPI: Executed 1 blocks of module-level executable AML code
[ 1.256991] ACPI: Interpreter enabled
[ 1.257625] ACPI: (supports S0 S5)
[ 1.258411] ACPI: Using IOAPIC for interrupt routing
[ 1.261348] ACPI: No dock devices found.
[ 1.262207] PCI: Ignoring host bridge windows from ACPI; if necessary, use "pci=use_crs" and report a bug
[ 1.263585] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[ 1.265666] pci_root PNP0A03:00: host bridge window [io 0x0000-0x0cf7] (ignored)
[ 1.265670] pci_root PNP0A03:00: host bridge window [io 0x0d00-0xffff] (ignored)
[ 1.265672] pci_root PNP0A03:00: host bridge window [mem 0x000a0000-0x000bffff] (ignored)
[ 1.265674] pci_root PNP0A03:00: host bridge window [mem 0x80000000-0xffdfffff] (ignored)
[ 1.265741] pci 0000:00:00.0: [8086:1237] type 0 class 0x000600
[ 1.266328] pci 0000:00:01.0: [8086:7000] type 0 class 0x000601
[ 1.267358] pci 0000:00:02.0: [80ee:beef] type 0 class 0x000300
[ 1.270000] pci 0000:00:02.0: reg 10: [mem 0xe0000000-0xe07fffff pref]
[ 1.270000] pci 0000:00:03.0: [1022:2000] type 0 class 0x000200
[ 1.270000] pci 0000:00:03.0: reg 10: [io 0xd000-0xd01f]
[ 1.270000] pci 0000:00:03.0: reg 14: [mem 0xf0000000-0xf0000fff]
[ 1.270000] pci 0000:00:03.0: reg 18: [mem 0xf0080000-0xf00fffff]
[ 1.270164] pci 0000:00:04.0: [80ee:cafe] type 0 class 0x000880
[ 1.272329] pci 0000:00:04.0: reg 10: [io 0xd020-0xd03f]
[ 1.274412] pci 0000:00:04.0: reg 14: [mem 0xf0400000-0xf07fffff]
[ 1.276425] pci 0000:00:04.0: reg 18: [mem 0xf0800000-0xf0803fff pref]
[ 1.280000] pci 0000:00:06.0: [106b:003f] type 0 class 0x000c03
[ 1.280000] pci 0000:00:06.0: reg 10: [mem 0xf0804000-0xf0804fff]
[ 1.280094] pci 0000:00:07.0: [8086:7113] type 0 class 0x000680
[ 1.280872] pci 0000:00:0b.0: [8086:265c] type 0 class 0x000c03
[ 1.282967] pci 0000:00:0b.0: reg 10: [mem 0xf0805000-0xf0805fff]
[ 1.290131] pci 0000:00:0d.0: [8086:2829] type 0 class 0x000106
[ 1.292444] pci 0000:00:0d.0: reg 10: [io 0xd040-0xd047]
[ 1.296885] pci 0000:00:0d.0: reg 18: [io 0xd050-0xd057]
[ 1.300000] pci 0000:00:0d.0: reg 20: [io 0xd060-0xd06f]
[ 1.300000] pci 0000:00:0d.0: reg 24: [mem 0xf0806000-0xf0807fff]
[ 1.300000] pci_bus 0000:00: on NUMA node 0
[ 1.300000] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[ 1.301309] pci0000:00: Unable to request _OSC control (_OSC support mask: 0x1e)
[ 1.305682] ACPI: PCI Interrupt Link [LNKA] (IRQs *5 9 10 11)
[ 1.307249] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 9 10 *11)
[ 1.308581] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 9 *10 11)
[ 1.309892] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 *9 10 11)
[ 1.310051] xen/balloon: Initialising balloon driver.
[ 1.310957] last_pfn = 0x15fff0 max_arch_pfn = 0x400000000
[ 1.318386] xen-balloon: Initialising balloon driver.
[ 1.319260] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
[ 1.320000] vgaarb: loaded
[ 1.320000] vgaarb: bridge control possible 0000:00:02.0
[ 1.320110] SCSI subsystem initialized
[ 1.320760] libata version 3.00 loaded.
[ 1.320798] usbcore: registered new interface driver usbfs
[ 1.321509] usbcore: registered new interface driver hub
[ 1.322274] usbcore: registered new device driver usb
[ 1.323049] PCI: Using ACPI for IRQ routing
[ 1.323763] PCI: pci_cache_line_size set to 64 bytes
[ 1.323978] reserve RAM buffer: 000000000009f000 - 000000000009ffff
[ 1.323981] reserve RAM buffer: 000000015fff0000 - 000000015fffffff
[ 1.324104] Switching to clocksource xen
[ 1.324822] pnp: PnP ACPI init
[ 1.325431] ACPI: bus type pnp registered
[ 1.326173] pnp 00:00: [bus 00-ff]
[ 1.326176] pnp 00:00: [io 0x0cf8-0x0cff]
[ 1.326178] pnp 00:00: [io 0x0000-0x0cf7 window]
[ 1.326180] pnp 00:00: [io 0x0d00-0xffff window]
[ 1.326182] pnp 00:00: [mem 0x000a0000-0x000bffff window]
[ 1.326184] pnp 00:00: [mem 0x80000000-0xffdfffff window]
[ 1.326214] pnp 00:00: Plug and Play ACPI device, IDs PNP0a03 (active)
[ 1.326234] pnp 00:01: [io 0x0060]
[ 1.326236] pnp 00:01: [io 0x0064]
[ 1.326245] xen: registering gsi 1 triggering 1 polarity 0
[ 1.326248] xen_map_pirq_gsi: returning irq 1 for gsi 1
[ 1.326953] xen: --> pirq=1 -> irq=1
[ 1.326997] pnp 00:01: [irq 1]
[ 1.327018] pnp 00:01: Plug and Play ACPI device, IDs PNP0303 (active)
[ 1.327030] pnp 00:02: [io 0x0000-0x000f]
[ 1.327032] pnp 00:02: [io 0x0080-0x008f]
[ 1.327034] pnp 00:02: [io 0x00c0-0x00df]
[ 1.327035] pnp 00:02: [dma 4]
[ 1.327049] pnp 00:02: Plug and Play ACPI device, IDs PNP0200 (active)
[ 1.327096] xen: registering gsi 12 triggering 1 polarity 0
[ 1.327099] xen_map_pirq_gsi: returning irq 12 for gsi 12
[ 1.327796] xen: --> pirq=12 -> irq=12
[ 1.327820] pnp 00:03: [irq 12]
[ 1.327839] pnp 00:03: Plug and Play ACPI device, IDs PNP0f03 (active)
[ 1.327858] pnp 00:04: [io 0x0378-0x037f]
[ 1.327860] pnp 00:04: [io 0x0778-0x077f]
[ 1.327861] xen: registering gsi 7 triggering 1 polarity 0
[ 1.327863] xen_map_pirq_gsi: returning irq 7 for gsi 7
[ 1.328571] xen: --> pirq=7 -> irq=7
[ 1.328605] pnp 00:04: [irq 7]
[ 1.328643] pnp 00:04: Plug and Play ACPI device, IDs PNP0400 (active)
[ 1.329586] pnp: PnP ACPI: found 5 devices
[ 1.330000] ACPI: ACPI bus type pnp unregistered
[ 1.330000] Switched to NOHz mode on CPU #0
[ 1.331673] PM-Timer failed consistency check (0x0xffffff) - aborting.
[ 1.332428] PCI: max bus depth: 0 pci_try_num: 1
[ 1.332437] pci_bus 0000:00: resource 0 [io 0x0000-0xffff]
[ 1.332439] pci_bus 0000:00: resource 1 [mem 0x00000000-0xfffffffff]
[ 1.332490] NET: Registered protocol family 2
[ 1.333279] IP route cache hash table entries: 16384 (order: 5, 131072 bytes)
[ 1.335078] TCP established hash table entries: 65536 (order: 8, 1048576 bytes)
[ 1.336323] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[ 1.338001] TCP: Hash tables configured (established 65536 bind 65536)
[ 1.338921] TCP reno registered
[ 1.339562] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[ 1.340122] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[ 1.341249] NET: Registered protocol family 1
[ 1.341917] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[ 1.342662] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[ 1.343448] pci 0000:00:02.0: Boot video device
[ 1.344129] PCI: CLS 64 bytes, default 64
[ 1.344241] platform rtc_cmos: registered platform RTC device (no PNP device found)
[ 1.348721] msgmni has been set to 810
[ 1.349537] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[ 1.350648] io scheduler noop registered
[ 1.351035] io scheduler deadline registered
[ 1.351792] io scheduler cfq registered (default)
[ 1.352765] ACPI: AC Adapter [AC] (on-line)
[ 1.353531] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[ 1.354817] ACPI: Power Button [PWRF]
[ 1.355713] input: Sleep Button as /devices/LNXSYSTM:00/LNXSLPBN:00/input/input1
[ 1.356910] ACPI: Sleep Button [SLPF]
[ 1.357570] ACPI: acpi_idle registered with cpuidle
[ 1.358723] Event-channel device installed.
[ 1.360701] ACPI: Battery Slot [BAT0] (battery present)
[ 1.362241] ahci 0000:00:0d.0: version 3.0
[ 1.362287] xen: registering gsi 21 triggering 0 polarity 1
[ 1.362298] xen: --> pirq=21 -> irq=21
[ 1.362335] ahci 0000:00:0d.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
[ 1.363256] ahci: SSS flag set, parallel bus scan disabled
[ 1.364116] ahci 0000:00:0d.0: AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl SATA mode
[ 1.365350] ahci 0000:00:0d.0: flags: 64bit ncq stag only ccc
[ 1.368061] scsi0 : ahci
[ 1.368919] scsi1 : ahci
[ 1.369598] ata1: SATA max UDMA/133 abar m8192@0xf0806000 port 0xf0806100 irq 21
[ 1.370101] ata2: SATA max UDMA/133 abar m8192@0xf0806000 port 0xf0806180 irq 21
[ 1.370101] pcnet32: pcnet32.c:v1.35 21.Apr.2008 tsbogend@alpha.franken.de
[ 1.372695] xen: registering gsi 19 triggering 0 polarity 1
[ 1.372712] xen: --> pirq=19 -> irq=19
[ 1.372742] pcnet32 0000:00:03.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[ 1.373682] pcnet32: PCnet/FAST III 79C973 at 0xd000, 08:00:27:87:89:59 assigned IRQ 19
[ 1.375346] pcnet32: Found PHY 0022:561b at address 0
[ 1.376237] pcnet32: eth0: registered as PCnet/FAST III 79C973
[ 1.377491] pcnet32: 1 cards_found
[ 1.378811] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.379680] xen: registering gsi 19 triggering 0 polarity 1
[ 1.379693] xen_map_pirq_gsi: returning irq 19 for gsi 19
[ 1.380102] xen: --> pirq=19 -> irq=19
[ 1.380131] Already setup the GSI :19
[ 1.380764] ehci_hcd 0000:00:0b.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[ 1.381595] ehci_hcd 0000:00:0b.0: EHCI Host Controller
[ 1.382357] ehci_hcd 0000:00:0b.0: new USB bus registered, assigned bus number 1
[ 1.383878] ehci_hcd 0000:00:0b.0: irq 19, io mem 0xf0805000
[ 1.400168] ehci_hcd 0000:00:0b.0: USB 2.0 started, EHCI 1.00
[ 1.400975] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.401767] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.402969] usb usb1: Product: EHCI Host Controller
[ 1.408444] usb usb1: Manufacturer: Linux 3.0.0-rc3 ehci_hcd
[ 1.409293] usb usb1: SerialNumber: 0000:00:0b.0
[ 1.410213] hub 1-0:1.0: USB hub found
[ 1.410954] hub 1-0:1.0: 8 ports detected
[ 1.411806] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.412736] xen: registering gsi 22 triggering 0 polarity 1
[ 1.412747] xen: --> pirq=22 -> irq=22
[ 1.412778] ohci_hcd 0000:00:06.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[ 1.413783] ohci_hcd 0000:00:06.0: OHCI Host Controller
[ 1.414563] ohci_hcd 0000:00:06.0: new USB bus registered, assigned bus number 2
[ 1.416006] ohci_hcd 0000:00:06.0: irq 22, io mem 0xf0804000
[ 1.470522] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.471617] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.473277] usb usb2: Product: OHCI Host Controller
[ 1.474217] usb usb2: Manufacturer: Linux 3.0.0-rc3 ohci_hcd
[ 1.475207] usb usb2: SerialNumber: 0000:00:06.0
[ 1.476264] hub 2-0:1.0: USB hub found
[ 1.477145] hub 2-0:1.0: 8 ports detected
[ 1.478482] uhci_hcd: USB Universal Host Controller Interface driver
[ 1.479348] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12
[ 1.482753] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 1.483747] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 1.484727] mousedev: PS/2 mouse device common for all mice
[ 1.485811] md: linear personality registered for level -1
[ 1.486785] md: raid0 personality registered for level 0
[ 1.487733] md: raid1 personality registered for level 1
[ 1.488391] md: raid10 personality registered for level 10
[ 1.490093] md: raid6 personality registered for level 6
[ 1.491087] md: raid5 personality registered for level 5
[ 1.491859] md: raid4 personality registered for level 4
[ 1.491859] cpuidle: using governor ladder
[ 1.491859] cpuidle: using governor menu
[ 1.494899] usbcore: registered new interface driver usbhid
[ 1.495911] usbhid: USB HID core driver
[ 1.496892] TCP cubic registered
[ 1.497695] NET: Registered protocol family 17
[ 1.498671] Kernel not built with RTC support, ALARM timers will not wake from suspend
[ 1.501771] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input2
[ 1.720350] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 1.722733] ata1.00: ATA-6: VBOX HARDDISK, 1.0, max UDMA/133
[ 1.724444] ata1.00: 12582912 sectors, multi 128: LBA48 NCQ (depth 31/32)
[ 1.726792] ata1.00: configured for UDMA/133
[ 1.728513] scsi 0:0:0:0: Direct-Access ATA VBOX HARDDISK 1.0 PQ: 0 ANSI: 5
[ 1.735294] sd 0:0:0:0: [sda] 12582912 512-byte logical blocks: (6.44 GB/6.00 GiB)
[ 1.739903] sd 0:0:0:0: [sda] Write Protect is off
[ 1.740668] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 1.741863] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 1.746106] sda: sda1 sda2
[ 1.748627] sd 0:0:0:0: [sda] Attached SCSI disk
[ 1.830338] usb 2-1: new full speed USB device number 2 using ohci_hcd
[ 2.030953] usb 2-1: New USB device found, idVendor=80ee, idProduct=0021
[ 2.032964] usb 2-1: New USB device strings: Mfr=1, Product=3, SerialNumber=0
[ 2.035156] usb 2-1: Product: USB Tablet
[ 2.036752] usb 2-1: Manufacturer: VirtualBox
[ 2.047300] input: VirtualBox USB Tablet as /devices/pci0000:00/0000:00:06.0/usb2/2-1/2-1:1.0/input/input3
[ 2.050904] generic-usb 0003:80EE:0021.0001: input: USB HID v1.10 Mouse [VirtualBox USB Tablet] on usb-0000:00:06.0-1/input0
[ 2.080462] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 2.083025] ata2.00: ATAPI: VBOX CD-ROM, 1.0, max UDMA/133
[ 2.084503] ata2.00: applying bridge limits
[ 2.086369] ata2.00: configured for UDMA/100
[ 2.088875] scsi 1:0:0:0: CD-ROM VBOX CD-ROM 1.0 PQ: 0 ANSI: 5
[ 2.092418] md: Waiting for all devices to be available before autodetect
[ 2.094290] md: If you don't use raid, use raid=noautodetect
[ 2.096683] md: Autodetecting RAID arrays.
[ 2.098540] md: Scanned 0 and added 0 devices.
[ 2.100135] md: autorun ...
[ 2.101798] md: ... autorun DONE.
[ 2.105364] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[ 2.117655] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[ 2.120706] VFS: Mounted root (ext3 filesystem) readonly on device 8:1.
[ 2.124137] Freeing unused kernel memory: 468k freed
[ 2.939306] udevd (132): /proc/132/oom_adj is deprecated, please use /proc/132/oom_score_adj instead.
[ 2.939321] udev: starting version 141
[ 3.455791] sr0: scsi3-mmc drive: 32x/32x xa/form2 tray
[ 3.455796] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 3.455889] sr 1:0:0:0: Attached scsi CD-ROM sr0
[ 3.981720] Real Time Clock Driver v1.12b
[ 4.690081] EXT4-fs (sda1): re-mounted. Opts: (null)
[ 7.598794] pcnet32 0000:00:03.0: eth0: link up, 100Mbps, full-duplex
[ 12.656899] Adding 524284k swap on /dev/sda2. Priority:-1 extents:1 across:524284k
[ 13.030448] XENBUS: Unable to read cpu state
[ 28.758205] Bridge firewalling registered
[-- Attachment #4: xm_dmesg --]
[-- Type: text/plain, Size: 3338 bytes --]
__ __ _ _ _ ___
\ \/ /___ _ __ | || | / | / _ \
\ // _ \ '_ \ | || |_ | || | | |
/ \ __/ | | | |__ _|| || |_| |
/_/\_\___|_| |_| |_|(_)_(_)___/
(XEN) Xen version 4.1.0 (@) (gcc version 4.4.5 (Gentoo 4.4.5 p1.2, pie-0.4.5) ) Wed Jun 1 03:04:41 CEST 2011
(XEN) Latest ChangeSet: unavailable
(XEN) Bootloader: GNU GRUB 0.97
(XEN) Command line: dom0_mem=512M cpufreq=xen:ondemand
(XEN) Video information:
(XEN) VGA is text mode 80x25, font 8x16
(XEN) Disc information:
(XEN) Found 1 MBR signatures
(XEN) Found 1 EDD information structures
(XEN) Xen-e820 RAM map:
(XEN) 0000000000000000 - 000000000009fc00 (usable)
(XEN) 000000000009fc00 - 00000000000a0000 (reserved)
(XEN) 00000000000f0000 - 0000000000100000 (reserved)
(XEN) 0000000000100000 - 000000007fff0000 (usable)
(XEN) 000000007fff0000 - 0000000080000000 (ACPI data)
(XEN) 00000000fffc0000 - 0000000100000000 (reserved)
(XEN) System RAM: 2047MB (2096700kB)
(XEN) ACPI: RSDP 000E0000, 0024 (r2 VBOX )
(XEN) ACPI: XSDT 7FFF0030, 003C (r1 VBOX VBOXXSDT 1 ASL 61)
(XEN) ACPI: FACP 7FFF00F0, 00F4 (r4 VBOX VBOXFACP 1 ASL 61)
(XEN) ACPI: DSDT 7FFF0470, 1A63 (r1 VBOX VBOXBIOS 2 INTL 20100528)
(XEN) ACPI: FACS 7FFF0200, 0040
(XEN) ACPI: APIC 7FFF0240, 0054 (r2 VBOX VBOXAPIC 1 ASL 61)
(XEN) ACPI: SSDT 7FFF02A0, 01CC (r1 VBOX VBOXCPUT 2 INTL 20100528)
(XEN) Domain heap initialised
(XEN) Processor #0 6:5 APIC version 20
(XEN) IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-23
(XEN) Enabling APIC mode: Flat. Using 1 I/O APICs
(XEN) Table is not found!
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Detected 2501.923 MHz processor.
(XEN) Initing memory sharing.
(XEN) I/O virtualisation disabled
(XEN) ENABLING IO-APIC IRQs
(XEN) -> Using new ACK method
(XEN) Platform timer appears to have unexpectedly wrapped 10 or more times.
(XEN) Platform timer is 3.579MHz ACPI PM Timer
(XEN) Allocated console ring of 16 KiB.
(XEN) Brought up 1 CPUs
(XEN) CPUIDLE: disabled due to no HPET. Force enable with 'cpuidle'.
(XEN) xenoprof: Initialization failed. Intel processor family 6 model 37is not supported
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Xen kernel: 64-bit, lsb, compat32
(XEN) Dom0 kernel: 64-bit, PAE, lsb, paddr 0x1000000 -> 0x16e3000
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN) Dom0 alloc.: 000000007a000000->000000007c000000 (122880 pages to be allocated)
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN) Loaded kernel: ffffffff81000000->ffffffff816e3000
(XEN) Init. ramdisk: ffffffff816e3000->ffffffff816e3000
(XEN) Phys-Mach map: ffffffff816e3000->ffffffff817e3000
(XEN) Start info: ffffffff817e3000->ffffffff817e34b4
(XEN) Page tables: ffffffff817e4000->ffffffff817f5000
(XEN) Boot stack: ffffffff817f5000->ffffffff817f6000
(XEN) TOTAL: ffffffff80000000->ffffffff81c00000
(XEN) ENTRY ADDRESS: ffffffff814ed200
(XEN) Dom0 has maximum 1 VCPUs
(XEN) Scrubbing Free RAM: ...............done.
(XEN) Xen trace buffers: disabled
(XEN) Std. Loglevel: Errors and warnings
(XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings)
(XEN) Xen is relinquishing VGA console.
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen)
(XEN) Freed 228kB init memory.
[-- Attachment #5: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: xen 4.1.0 + 3.0-rc3 pvops: virtualbox doesn't power off
2011-06-15 0:33 xen 4.1.0 + 3.0-rc3 pvops: virtualbox doesn't power off Sven Köhler
@ 2011-06-15 12:41 ` Konrad Rzeszutek Wilk
2011-06-15 18:14 ` Sven Köhler
0 siblings, 1 reply; 5+ messages in thread
From: Konrad Rzeszutek Wilk @ 2011-06-15 12:41 UTC (permalink / raw)
To: Sven Köhler; +Cc: xen-devel
[-- Attachment #1: Type: text/plain, Size: 628 bytes --]
On Wed, Jun 15, 2011 at 02:33:28AM +0200, Sven Köhler wrote:
> Hi,
>
> I'm running xen 4.1.0 and 3.0-rc3 pvops dom0 with vga text console patch
> inside virtualbox (both xen and dom0 kernel 64bit).
>
> It doesn't power off. I see the "Power down." message by the kernel,
> then nothing happens. Reboot works fine. Same kernel on bare metal
> (still inside virtalbox) powers off fine. Also 2.6.39.x from konrad's
> tree power's off fine, with or without xen.
You probably need the patch titled "xen: When calling power_off, don't call the halt function."
see attached patch and please tell me whether it works.
[-- Attachment #2: 9734ef061dacd34c12015032261566e72a5b0e95.patch --]
[-- Type: text/x-diff, Size: 1213 bytes --]
commit 9734ef061dacd34c12015032261566e72a5b0e95
Author: Tom Goetz <tom.goetz@virtualcomputer.com>
Date: Mon May 16 15:06:26 2011 -0400
xen: When calling power_off, don't call the halt function.
.. As it won't actually power off the machine.
Signed-off-by: Tom Goetz <tom.goetz@virtualcomputer.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c
index e3c6a06..5584fb1 100644
--- a/arch/x86/xen/enlighten.c
+++ b/arch/x86/xen/enlighten.c
@@ -1033,6 +1033,13 @@ static void xen_machine_halt(void)
xen_reboot(SHUTDOWN_poweroff);
}
+static void xen_machine_power_off(void)
+{
+ if (pm_power_off)
+ pm_power_off();
+ xen_reboot(SHUTDOWN_poweroff);
+}
+
static void xen_crash_shutdown(struct pt_regs *regs)
{
xen_reboot(SHUTDOWN_crash);
@@ -1058,7 +1065,7 @@ int xen_panic_handler_init(void)
static const struct machine_ops __initdata xen_machine_ops = {
.restart = xen_restart,
.halt = xen_machine_halt,
- .power_off = xen_machine_halt,
+ .power_off = xen_machine_power_off,
.shutdown = xen_machine_halt,
.crash_shutdown = xen_crash_shutdown,
.emergency_restart = xen_emergency_restart,
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: xen 4.1.0 + 3.0-rc3 pvops: virtualbox doesn't power off
2011-06-15 12:41 ` Konrad Rzeszutek Wilk
@ 2011-06-15 18:14 ` Sven Köhler
2011-06-15 19:21 ` Konrad Rzeszutek Wilk
0 siblings, 1 reply; 5+ messages in thread
From: Sven Köhler @ 2011-06-15 18:14 UTC (permalink / raw)
To: Konrad Rzeszutek Wilk; +Cc: xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 819 bytes --]
Am 15.06.2011 14:41, schrieb Konrad Rzeszutek Wilk:
> On Wed, Jun 15, 2011 at 02:33:28AM +0200, Sven Köhler wrote:
>> Hi,
>>
>> I'm running xen 4.1.0 and 3.0-rc3 pvops dom0 with vga text console patch
>> inside virtualbox (both xen and dom0 kernel 64bit).
>>
>> It doesn't power off. I see the "Power down." message by the kernel,
>> then nothing happens. Reboot works fine. Same kernel on bare metal
>> (still inside virtalbox) powers off fine. Also 2.6.39.x from konrad's
>> tree power's off fine, with or without xen.
>
> You probably need the patch titled "xen: When calling power_off, don't call the halt function."
>
> see attached patch and please tell me whether it works.
Yes, with patch applied, 3.0-rc3 powers off fine.
Is this in queue for 3.0-rcX or for 3.1?
Regards,
Sven
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: xen 4.1.0 + 3.0-rc3 pvops: virtualbox doesn't power off
2011-06-15 18:14 ` Sven Köhler
@ 2011-06-15 19:21 ` Konrad Rzeszutek Wilk
2011-06-15 20:04 ` Sven Köhler
0 siblings, 1 reply; 5+ messages in thread
From: Konrad Rzeszutek Wilk @ 2011-06-15 19:21 UTC (permalink / raw)
To: Sven Köhler; +Cc: xen-devel
On Wed, Jun 15, 2011 at 08:14:42PM +0200, Sven Köhler wrote:
> Am 15.06.2011 14:41, schrieb Konrad Rzeszutek Wilk:
> > On Wed, Jun 15, 2011 at 02:33:28AM +0200, Sven Köhler wrote:
> >> Hi,
> >>
> >> I'm running xen 4.1.0 and 3.0-rc3 pvops dom0 with vga text console patch
> >> inside virtualbox (both xen and dom0 kernel 64bit).
> >>
> >> It doesn't power off. I see the "Power down." message by the kernel,
> >> then nothing happens. Reboot works fine. Same kernel on bare metal
> >> (still inside virtalbox) powers off fine. Also 2.6.39.x from konrad's
> >> tree power's off fine, with or without xen.
> >
> > You probably need the patch titled "xen: When calling power_off, don't call the halt function."
> >
> > see attached patch and please tell me whether it works.
>
> Yes, with patch applied, 3.0-rc3 powers off fine.
>
> Is this in queue for 3.0-rcX or for 3.1?
It is now on the queue. Thank you for testing it. Can I stick
Reported-by/Tested-by on the patch?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: xen 4.1.0 + 3.0-rc3 pvops: virtualbox doesn't power off
2011-06-15 19:21 ` Konrad Rzeszutek Wilk
@ 2011-06-15 20:04 ` Sven Köhler
0 siblings, 0 replies; 5+ messages in thread
From: Sven Köhler @ 2011-06-15 20:04 UTC (permalink / raw)
To: Konrad Rzeszutek Wilk; +Cc: xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 321 bytes --]
Am 15.06.2011 21:21, schrieb Konrad Rzeszutek Wilk:
> On Wed, Jun 15, 2011 at 08:14:42PM +0200, Sven Köhler wrote:
>> Is this in queue for 3.0-rcX or for 3.1?
>
> It is now on the queue. Thank you for testing it. Can I stick
> Reported-by/Tested-by on the patch?
Yes, that's OK with me.
Regards,
Sven
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-06-15 20:04 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-15 0:33 xen 4.1.0 + 3.0-rc3 pvops: virtualbox doesn't power off Sven Köhler
2011-06-15 12:41 ` Konrad Rzeszutek Wilk
2011-06-15 18:14 ` Sven Köhler
2011-06-15 19:21 ` Konrad Rzeszutek Wilk
2011-06-15 20:04 ` Sven Köhler
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.