[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#582212: marked as done (linux-image-2.6.32-3-amd64: acpid doesn't get power button events on kvm (from stable) guests)



Your message dated Tue, 12 Apr 2011 17:16:40 +0200
with message-id <20110412151640.GA10281@vip.manty.net>
and subject line Summary
has caused the Debian Bug report #582212,
regarding linux-image-2.6.32-3-amd64: acpid doesn't get power button events on kvm (from stable) guests
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
582212: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=582212
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: linux-2.6
Version: 2.6.32-9
Severity: normal


After upgrading from stable to testing the acpi power button signal from kvm
doesn't arrive any longer to the acpid on this machine.

This machine, the guest machine, works ok if I run the 2.6.26 kernel from
stable (the rest of the packages on the machine now being pure squeeze) but
doesn't poweroff if I switch to 2.6.32-3-amd64 or 2.6.32-5-amd64. I tried to
add a catch all event on the acpid config but it didn't even got run then
using the 2.6.32 kernels.

Like I say with 2.6.26 it works ok, weird thing is that 2.6.32 detects the
acpi power button, it may be a problem with the kvm on stable, but then why
does it work ok with 2.6.26?

Host machine runs lenny amd64 with kvm 72+dfsg-5~lenny5 being called with
this options to launch the guest machine:

kvm -smp 1 -usbdevice tablet -drive file=hd.img,if=virtio,boot=on -m 2048 -boot c -vnc localhost:6 -net nic,macaddr=XXX,model=virtio -net tap,ifname=tap6,script=no,downscript=no -k es -monitor unix:socket,server,nowait

If you need more info to debug this please ask for it.

Regards.

-- Package-specific info:
** Version:
Linux version 2.6.32-3-amd64 (Debian 2.6.32-9) (maks@debian.org) (gcc version 4.3.4 (Debian 4.3.4-8) ) #1 SMP Wed Feb 24 18:07:42 UTC 2010

** Command line:
BOOT_IMAGE=/boot/vmlinuz-2.6.32-3-amd64 root=UUID=db6413bc-997e-41b9-a76e-107d24a0432d ro quiet

** Not tainted

** Kernel log:
[    0.120620] ACPI: (supports S0 S5)
[    0.120633] ACPI: Using IOAPIC for interrupt routing
[    0.124496] ACPI: No dock devices found.
[    0.124654] ACPI: PCI Root Bridge [PCI0] (0000:00)
[    0.125718] pci 0000:00:01.1: reg 20 io port: [0xc000-0xc00f]
[    0.126104] pci 0000:00:01.2: reg 20 io port: [0xc020-0xc03f]
[    0.126582] pci 0000:00:01.3: quirk: region b000-b03f claimed by PIIX4 ACPI
[    0.126595] pci 0000:00:01.3: quirk: region b100-b10f claimed by PIIX4 SMB
[    0.127043] pci 0000:00:02.0: reg 10 32bit mmio pref: [0xf0000000-0xf1ffffff]
[    0.127096] pci 0000:00:02.0: reg 14 32bit mmio: [0xf2000000-0xf2000fff]
[    0.127438] pci 0000:00:03.0: reg 10 io port: [0xc040-0xc05f]
[    0.127815] pci 0000:00:04.0: reg 10 io port: [0xc080-0xc0bf]
[    0.128345] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[    0.131602] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
[    0.131708] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
[    0.131805] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
[    0.131902] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
[    0.132055] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
[    0.132059] vgaarb: loaded
[    0.132161] PCI: Using ACPI for IRQ routing
[    0.132448] Switching to clocksource kvm-clock
[    0.134305] pnp: PnP ACPI init
[    0.134319] ACPI: bus type pnp registered
[    0.135347] pnp: PnP ACPI: found 7 devices
[    0.135349] ACPI: ACPI bus type pnp unregistered
[    0.139684] pci_bus 0000:00: resource 0 io:  [0x00-0xffff]
[    0.139687] pci_bus 0000:00: resource 1 mem: [0x000000-0xffffffffffffffff]
[    0.139732] NET: Registered protocol family 2
[    0.140229] IP route cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.145142] TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
[    0.150489] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[    0.151879] TCP: Hash tables configured (established 262144 bind 65536)
[    0.151882] TCP reno registered
[    0.152144] NET: Registered protocol family 1
[    0.152165] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[    0.152202] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[    0.152281] pci 0000:00:02.0: Boot video device
[    0.152340] Unpacking initramfs...
[    0.369359] Freeing initrd memory: 7360k freed
[    0.373801] audit: initializing netlink socket (disabled)
[    0.373816] type=2000 audit(1274249541.371:1): initialized
[    0.374130] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.375813] VFS: Disk quotas dquot_6.5.2
[    0.375865] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.375981] msgmni has been set to 4022
[    0.376289] alg: No test for stdrng (krng)
[    0.376346] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    0.376349] io scheduler noop registered
[    0.376351] io scheduler anticipatory registered
[    0.376353] io scheduler deadline registered
[    0.376387] io scheduler cfq registered (default)
[    0.378425] Linux agpgart interface v0.103
[    0.378428] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.378648] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16450
[    0.379097] 00:06: ttyS0 at I/O 0x3f8 (irq = 4) is a 16450
[    0.379248] input: Macintosh mouse button emulation as /devices/virtual/input/input0
[    0.379302] PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[    0.380147] serio: i8042 KBD port at 0x60,0x64 irq 1
[    0.380154] serio: i8042 AUX port at 0x60,0x64 irq 12
[    0.380289] mice: PS/2 mouse device common for all mice
[    0.380715] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
[    0.381048] rtc_cmos 00:01: rtc core: registered rtc_cmos as rtc0
[    0.381152] rtc0: alarms up to one day, 114 bytes nvram
[    0.381164] cpuidle: using governor ladder
[    0.381166] cpuidle: using governor menu
[    0.381175] No iBFT detected.
[    0.381614] TCP cubic registered
[    0.381772] NET: Registered protocol family 10
[    0.382838] lo: Disabled Privacy Extensions
[    0.383098] Mobile IPv6
[    0.383100] NET: Registered protocol family 17
[    0.383184] PM: Resume from disk failed.
[    0.383190] registered taskstats version 1
[    0.383608] rtc_cmos 00:01: setting system clock to 2010-05-19 06:12:21 UTC (1274249541)
[    0.383658] Freeing unused kernel memory: 580k freed
[    0.384026] Write protecting the kernel read-only data: 4144k
[    0.879356] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
[    0.879425] virtio-pci 0000:00:03.0: PCI INT A -> Link[LNKC] -> GSI 11 (level, high) -> IRQ 11
[    0.880848] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
[    0.880867] ACPI: Power Button [PWRF]
[    0.883325] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 10
[    0.883356] virtio-pci 0000:00:04.0: PCI INT A -> Link[LNKD] -> GSI 10 (level, high) -> IRQ 10
[    0.887643] SCSI subsystem initialized
[    0.915234]  vda: vda1 vda2
[    0.922647] libata version 3.00 loaded.
[    0.924460] FDC 0 is a S82078B
[    0.938342] Uniform Multi-Platform E-IDE driver
[    1.059730] PM: Starting manual resume from disk
[    1.059734] PM: Resume from partition 254:2
[    1.059736] PM: Checking hibernation image.
[    1.059914] PM: Error -22 checking image file
[    1.059916] PM: Resume from disk failed.
[    1.084557] kjournald starting.  Commit interval 5 seconds
[    1.084570] EXT3-fs: mounted filesystem with ordered data mode.
[    1.322063] udev: starting version 153
[    1.498180] input: PC Speaker as /devices/platform/pcspkr/input/input3
[    1.555696] piix4_smbus 0000:00:01.3: SMBus Host Controller at 0xb100, revision 0
[    2.009992] Adding 1148636k swap on /dev/vda2.  Priority:-1 extents:1 across:1148636k 
[    2.066909] EXT3 FS on vda1, internal journal
[   13.143198] eth0: no IPv6 routers present

** Model information
sys_vendor: 
product_name: 
product_version: 
chassis_vendor: 
chassis_version: 
bios_vendor: QEMU
bios_version: QEMU

** Loaded modules:
Module                  Size  Used by
i2c_piix4               8328  0 
pcspkr                  1699  0 
i2c_core               15584  1 i2c_piix4
ext3                  106486  1 
jbd                    37053  1 ext3
mbcache                 4970  1 ext3
ide_pci_generic         2788  0 
ide_core               76850  1 ide_pci_generic
ata_generic             2983  0 
virtio_blk              4209  3 
virtio_net             10529  0 
libata                132183  1 ata_generic
floppy                 49087  0 
button                  4634  0 
virtio_pci              5503  0 
virtio_ring             3258  1 virtio_pci
virtio                  3309  3 virtio_blk,virtio_net,virtio_pci
scsi_mod              121925  1 libata

** Network interface configuration:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
	address 10.10.54.234
	netmask 255.255.255.248
	gateway 10.10.54.233

** Network status:
*** Device statistics:
Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed
    lo:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
  eth0:14637292   10482    0    0    0     0          0         0   326372    4250    0    0    0     0       0          0

*** Protocol statistics:
Ip:
    10477 total packets received
    0 forwarded
    0 incoming packets discarded
    10477 incoming packets delivered
    4240 requests sent out
Icmp:
    0 ICMP messages received
    0 input ICMP message failed.
    ICMP input histogram:
    0 ICMP messages sent
    0 ICMP messages failed
    ICMP output histogram:
Tcp:
    28 active connections openings
    2 passive connection openings
    0 failed connection attempts
    0 connection resets received
    1 connections established
    10455 segments received
    4218 segments send out
    0 segments retransmited
    0 bad segments received.
    0 resets sent
Udp:
    22 packets received
    0 packets to unknown port received.
    0 packet receive errors
    22 packets sent
UdpLite:
TcpExt:
    4 delayed acks sent
    4 packets directly queued to recvmsg prequeue.
    9719 packet headers predicted
    100 acknowledgments not containing data payload received
    200 predicted acknowledgments
IpExt:
    InOctets: 14490334
    OutOctets: 266448

*** Device features:
eth0: 0x20
lo: 0x13865

** PCI devices:
00:00.0 Host bridge [0600]: Intel Corporation 440FX - 82441FX PMC [Natoma] [8086:1237] (rev 02)
	Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-

00:01.0 ISA bridge [0601]: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II] [8086:7000]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0

00:01.1 IDE interface [0101]: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II] [8086:7010] (prog-if 80 [Master])
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64
	Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
	Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable) [size=1]
	Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
	Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) [size=1]
	Region 4: I/O ports at c000 [size=16]

00:01.2 USB Controller [0c03]: Intel Corporation 82371SB PIIX3 USB [Natoma/Triton II] [8086:7020] (rev 01) (prog-if 00 [UHCI])
	Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin D routed to IRQ 11
	Region 4: I/O ports at c020 [size=32]

00:01.3 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 03)
	Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin A routed to IRQ 9
	Kernel driver in use: piix4_smbus

00:02.0 VGA compatible controller [0300]: Cirrus Logic GD 5446 [1013:00b8] (prog-if 00 [VGA controller])
	Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Region 0: Memory at f0000000 (32-bit, prefetchable) [size=32M]
	Region 1: Memory at f2000000 (32-bit, non-prefetchable) [size=4K]
	Expansion ROM at <unassigned> [disabled]

00:03.0 Ethernet controller [0200]: Qumranet, Inc. Virtio network device [1af4:1000]
	Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin A routed to IRQ 11
	Region 0: I/O ports at c040 [size=32]
	Kernel driver in use: virtio-pci

00:04.0 Mass storage controller [0180]: Qumranet, Inc. Virtio block device [1af4:1001]
	Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin A routed to IRQ 10
	Region 0: I/O ports at c080 [size=64]
	Kernel driver in use: virtio-pci


** Sound cards:

-- System Information:
Debian Release: squeeze/sid
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-3-amd64 (SMP w/1 CPU core)
Locale: LANG=es_ES@euro, LC_CTYPE=es_ES@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-image-2.6.32-3-amd64 depends on:
ii  debconf [debconf-2.0]        1.5.32      Debian configuration management sy
ii  initramfs-tools [linux-initr 0.93.4      tools for generating an initramfs
ii  module-init-tools            3.12~pre2-3 tools for managing Linux kernel mo

Versions of packages linux-image-2.6.32-3-amd64 recommends:
pn  firmware-linux-free           <none>     (no description available)

Versions of packages linux-image-2.6.32-3-amd64 suggests:
ii  grub                          0.97-61    GRand Unified Bootloader (dummy pa
pn  linux-doc-2.6.32              <none>     (no description available)

Versions of packages linux-image-2.6.32-3-amd64 is related to:
pn  firmware-bnx2                 <none>     (no description available)
pn  firmware-bnx2x                <none>     (no description available)
pn  firmware-ipw2x00              <none>     (no description available)
pn  firmware-ivtv                 <none>     (no description available)
pn  firmware-iwlwifi              <none>     (no description available)
pn  firmware-linux                <none>     (no description available)
pn  firmware-linux-nonfree        <none>     (no description available)
pn  firmware-qlogic               <none>     (no description available)
pn  firmware-ralink               <none>     (no description available)

-- debconf information:
  shared/kernel-image/really-run-bootloader: true
  linux-image-2.6.32-3-amd64/prerm/removing-running-kernel-2.6.32-3-amd64: true
  linux-image-2.6.32-3-amd64/postinst/bootloader-test-error-2.6.32-3-amd64:
  linux-image-2.6.32-3-amd64/postinst/missing-firmware-2.6.32-3-amd64:
  linux-image-2.6.32-3-amd64/prerm/would-invalidate-boot-loader-2.6.32-3-amd64: true
  linux-image-2.6.32-3-amd64/postinst/depmod-error-initrd-2.6.32-3-amd64: false
  linux-image-2.6.32-3-amd64/postinst/bootloader-error-2.6.32-3-amd64:



--- End Message ---
--- Begin Message ---
For acpid to be able to receive the signals on recent kernels we need:

evdev kernel module loaded
recent enough acpi packages

That's it.

Sorry for all the noise :-)

Regards...
-- 
Manty/BestiaTester -> http://manty.net


--- End Message ---

Reply to: