Bug 66551 - 3.12 or later kernel always reboot when need shutdown machine
Summary: 3.12 or later kernel always reboot when need shutdown machine
Status: CLOSED DUPLICATE of bug 66171
Alias: None
Product: ACPI
Classification: Unclassified
Component: Power-Off (show other bugs)
Hardware: All Linux
: P1 high
Assignee: Sarah Sharp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-05 03:44 UTC by littlebat
Modified: 2013-12-09 17:12 UTC (History)
3 users (show)

See Also:
Kernel Version: 3.12.1, 3.12.2, 3.13.0-rc2
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments

Description littlebat 2013-12-05 03:44:40 UTC
Kernel 3.11 in Debian Jessie no this problem. It seems some changes of new kernel break the shutdown function on my machine.

I have reported this bug in Debian BTS: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731313 , someone sugguest me report here too. Copy it below:

When I shutdown machine use gnome shutdown menu item or execute "sudo shutdown -h now" in terminal,
the machine always reboot. I must press poweroff button on the mainframe box several seconds to shutdown machine.

Modify mac address and ip information below for privacy.

Hardware information:
Asrock Z87 Pro3 Motherboard, i7-4770 Haswell CPU, 
one single Kingston DDR3 1600 8GB memory,  
two West Data WD10EZEX 1T hard disk drivers assembled as Linux software raid. 

Compile 3.12.2 kernel no difference. Kernel 3.11 in Jessie no this problem.

-- Package-specific info:
** Version:
Linux version 3.12-trunk-amd64 (debian-kernel@lists.debian.org) (gcc version 4.8.1 (Debian 4.8.1-10) ) #1 SMP Debian 3.12-1~exp1 (2013-11-17)

** Command line:
BOOT_IMAGE=/vmlinuz-3.12-trunk-amd64 root=/dev/mapper/fast-root ro quiet

** Not tainted

** Kernel log:
[    5.004930] microcode: CPU0 sig=0x306c3, pf=0x2, revision=0x7
[    5.025348] platform microcode: firmware: agent loaded intel-ucode/06-3c-03 into memory
[    5.025358] microcode: CPU0 sig=0x306c3, pf=0x2, revision=0x7
[    5.026772] microcode: CPU0 updated to revision 0x16, date = 2013-08-07
[    5.026776] microcode: CPU1 sig=0x306c3, pf=0x2, revision=0x7
[    5.026783] platform microcode: firmware: agent loaded intel-ucode/06-3c-03 into memory
[    5.026789] microcode: CPU1 sig=0x306c3, pf=0x2, revision=0x7
[    5.027481] microcode: CPU1 updated to revision 0x16, date = 2013-08-07
[    5.027487] microcode: CPU2 sig=0x306c3, pf=0x2, revision=0x7
[    5.027494] platform microcode: firmware: agent loaded intel-ucode/06-3c-03 into memory
[    5.027500] microcode: CPU2 sig=0x306c3, pf=0x2, revision=0x7
[    5.028196] microcode: CPU2 updated to revision 0x16, date = 2013-08-07
[    5.028200] microcode: CPU3 sig=0x306c3, pf=0x2, revision=0x7
[    5.028206] platform microcode: firmware: agent loaded intel-ucode/06-3c-03 into memory
[    5.028213] microcode: CPU3 sig=0x306c3, pf=0x2, revision=0x7
[    5.028914] microcode: CPU3 updated to revision 0x16, date = 2013-08-07
[    5.028918] microcode: CPU4 sig=0x306c3, pf=0x2, revision=0x7
[    5.028924] platform microcode: firmware: agent loaded intel-ucode/06-3c-03 into memory
[    5.028931] microcode: CPU4 sig=0x306c3, pf=0x2, revision=0x7
[    5.029664] microcode: CPU4 updated to revision 0x16, date = 2013-08-07
[    5.029669] microcode: CPU5 sig=0x306c3, pf=0x2, revision=0x7
[    5.029681] platform microcode: firmware: agent loaded intel-ucode/06-3c-03 into memory
[    5.029691] microcode: CPU5 sig=0x306c3, pf=0x2, revision=0x7
[    5.030428] microcode: CPU5 updated to revision 0x16, date = 2013-08-07
[    5.030448] microcode: CPU6 sig=0x306c3, pf=0x2, revision=0x7
[    5.030458] platform microcode: firmware: agent loaded intel-ucode/06-3c-03 into memory
[    5.030467] microcode: CPU6 sig=0x306c3, pf=0x2, revision=0x7
[    5.031197] microcode: CPU6 updated to revision 0x16, date = 2013-08-07
[    5.031203] microcode: CPU7 sig=0x306c3, pf=0x2, revision=0x7
[    5.031213] platform microcode: firmware: agent loaded intel-ucode/06-3c-03 into memory
[    5.031222] microcode: CPU7 sig=0x306c3, pf=0x2, revision=0x7
[    5.031949] microcode: CPU7 updated to revision 0x16, date = 2013-08-07
[    5.031970] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
[    5.037294] input: Power Button as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input4
[    5.037298] ACPI: Power Button [PWRB]
[    5.037327] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input5
[    5.037329] ACPI: Power Button [PWRF]
[    5.037443] ACPI: Requesting acpi_cpufreq
[    5.047640] wmi: Mapper loaded
[    5.056338] input: PC Speaker as /devices/platform/pcspkr/input/input6
[    5.105983] ACPI Warning: 0x000000000000f040-0x000000000000f05f SystemIO conflicts with Region \_SB_.PCI0.SBUS.SMBI 1 (20130725/utaddress-251)
[    5.105987] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[    5.123255] [drm] Initialized drm 1.1.0 20060810
[    5.197158] alg: No test for __gcm-aes-aesni (__driver-gcm-aes-aesni)
[    5.201549] mei_me 0000:00:16.0: setting latency timer to 64
[    5.201576] mei_me 0000:00:16.0: irq 45 for MSI/MSI-X
[    5.246082] [drm] Memory usable by graphics device = 2048M
[    5.246086] i915 0000:00:02.0: setting latency timer to 64
[    5.263434] i915 0000:00:02.0: irq 46 for MSI/MSI-X
[    5.263438] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[    5.263439] [drm] Driver supports precise vblank timestamp query.
[    5.263476] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    5.270023] alg: No test for crc32 (crc32-pclmul)
[    5.614582] fbcon: inteldrmfb (fb0) is primary device
[    5.616521] psmouse serio1: alps: Unknown ALPS touchpad: E7=10 00 64, EC=10 00 64
[    5.782596] Console: switching to colour frame buffer device 240x67
[    5.785257] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[    5.785258] i915 0000:00:02.0: registered panic notifier
[    5.825247] acpi device:57: registered as cooling_device8
[    5.825268] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[    5.825288] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input8
[    5.825299] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
[    5.825412] snd_hda_intel 0000:00:1b.0: irq 47 for MSI/MSI-X
[    6.014838] iTCO_vendor_support: vendor-support=0
[    6.015108] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.10
[    6.015129] iTCO_wdt: Found a Lynx Point TCO device (Version=2, TCOBASE=0x1860)
[    6.015181] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[    6.095076] input: HDA Intel PCH Line Out Side as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14
[    6.095112] input: HDA Intel PCH Line Out CLFE as /devices/pci0000:00/0000:00:1b.0/sound/card0/input13
[    6.095137] input: HDA Intel PCH Line Out Surround as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
[    6.095163] input: HDA Intel PCH Line Out Front as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
[    6.095188] input: HDA Intel PCH Line as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
[    6.095214] input: HDA Intel PCH Rear Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input9
[    6.212296] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input7
[    6.798983] [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off
[    9.119259] EXT4-fs (dm-0): re-mounted. Opts: (null)
[    9.354226] EXT4-fs (dm-0): re-mounted. Opts: errors=remount-ro
[    9.448108] fuse init (API version 7.22)
[   10.776449] Adding 8388604k swap on /dev/mapper/fast-swap.  Priority:-1 extents:1 across:8388604k 
[   11.435498] EXT4-fs (md1p1): mounted filesystem with ordered data mode. Opts: (null)
[   11.656797] EXT4-fs (dm-2): mounted filesystem with ordered data mode. Opts: (null)
[   11.773176] EXT4-fs (dm-3): mounted filesystem with ordered data mode. Opts: (null)
[   12.214661] e1000e 0000:00:19.0: irq 43 for MSI/MSI-X
[   12.318133] e1000e 0000:00:19.0: irq 43 for MSI/MSI-X
[   12.318242] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   13.858311] e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: Rx/Tx
[   13.858315] e1000e 0000:00:19.0 eth0: 10/100 speed: disabling TSO
[   13.858342] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   18.708730] systemd-logind[3501]: New seat seat0.
[   18.715439] systemd-logind[3501]: Watching system buttons on /dev/input/event3 (Power Button)
[   18.715467] systemd-logind[3501]: Watching system buttons on /dev/input/event5 (Video Bus)
[   18.715492] systemd-logind[3501]: Watching system buttons on /dev/input/event2 (Power Button)
[   18.715845] systemd-logind[3501]: New session 1 of user Debian-gdm.
[   18.715887] systemd-logind[3501]: Linked /tmp/.X11-unix/X0 to /run/user/112/X11-display.
[   53.359215] systemd-logind[3501]: New session 2 of user mdx.
[   53.359259] systemd-logind[3501]: Linked /tmp/.X11-unix/X0 to /run/user/1000/X11-display.
[  160.711287] systemd-logind[3501]: Removed session 1.
[  172.506976] systemd-logind[3501]: New session 3 of user Debian-gdm.
[  172.507031] systemd-logind[3501]: Linked /tmp/.X11-unix/X0 to /run/user/112/X11-display.
[  184.063539] systemd-logind[3501]: New session 4 of user mdx.

** Model information
sys_vendor: To Be Filled By O.E.M.
product_name: To Be Filled By O.E.M.
product_version: To Be Filled By O.E.M.
chassis_vendor: To Be Filled By O.E.M.
chassis_version: To Be Filled By O.E.M.
bios_vendor: American Megatrends Inc.
bios_version: P2.20
board_vendor: ASRock
board_name: Z87 Pro3
board_version:         

** Loaded modules:
cpufreq_powersave
binfmt_misc
fuse
snd_hda_codec_realtek
mxm_wmi
iTCO_wdt
iTCO_vendor_support
evdev
x86_pkg_temp_thermal
snd_hda_intel
snd_hda_codec
coretemp
kvm_intel
kvm
snd_hwdep
crc32_pclmul
crc32c_intel
ghash_clmulni_intel
i915
snd_pcm
psmouse
mei_me
aesni_intel
mei
aes_x86_64
ablk_helper
snd_page_alloc
cryptd
video
lrw
gf128mul
snd_seq
drm_kms_helper
drm
serio_raw
i2c_algo_bit
i2c_i801
i2c_core
pcspkr
wmi
glue_helper
processor
button
snd_seq_device
snd_timer
thermal_sys
microcode
snd
lpc_ich
mfd_core
soundcore
ext4
crc16
mbcache
jbd2
dm_mod
raid1
raid0
md_mod
sg
sd_mod
crc_t10dif
crct10dif_common
hid_generic
usbhid
hid
ahci
libahci
libata
ehci_pci
ehci_hcd
e1000e
scsi_mod
xhci_hcd
ptp
pps_core
usbcore
usb_common

** Network interface configuration:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
    address ***.***.***.***
    netmask 255.255.255.0
    gateway 192.168.1.1
    ethernet-wol g

** Network status:
*** IP interfaces and addresses:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether **:**:**:**:**:** brd ff:ff:ff:ff:ff:ff
    inet ***.***.***.***/24 brd 192.168.1.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 ****::****:****:****:****/64 scope link 
       valid_lft forever preferred_lft forever

*** Device statistics:
Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed
  eth0: 2295360    4496    0    0    0     0          0      1111   149456    1422    0    0    0     0       0          0
    lo:    1920      32    0    0    0     0          0         0     1920      32    0    0    0     0       0          0

*** Protocol statistics:
Ip:
    2610 total packets received
    0 forwarded
    0 incoming packets discarded
    2596 incoming packets delivered
    1394 requests sent out
Icmp:
    0 ICMP messages received
    0 input ICMP message failed.
    ICMP input histogram:
    7 ICMP messages sent
    0 ICMP messages failed
    ICMP output histogram:
        destination unreachable: 7
IcmpMsg:
        OutType3: 7
Tcp:
    55 active connections openings
    0 passive connection openings
    16 failed connection attempts
    1 connection resets received
    0 connections established
    1289 segments received
    1219 segments send out
    3 segments retransmited
    2 bad segments received.
    29 resets sent
Udp:
    1177 packets received
    7 packets to unknown port received.
    0 packet receive errors
    176 packets sent
UdpLite:
TcpExt:
    17 TCP sockets finished time wait in fast timer
    13 delayed acks sent
    20 packets directly queued to recvmsg prequeue.
    4291 bytes directly received in process context from prequeue
    574 packet headers predicted
    94 acknowledgments not containing data payload received
    37 predicted acknowledgments
    1 times recovered from packet loss by selective acknowledgements
    Detected reordering 1 times using FACK
    Detected reordering 1 times using time stamp
    1 congestion windows fully recovered without slow start
    1 fast retransmits
    2 forward retransmits
    1 DSACKs sent for old packets
    3 DSACKs received
    2 connections reset due to unexpected data
    1 connections reset due to early user close
    TCPDSACKIgnoredNoUndo: 3
    TCPSackMerged: 1
    TCPSackShiftFallback: 11
    TCPRcvCoalesce: 152
    TCPOFOQueue: 239
    TCPChallengeACK: 2
    TCPSYNChallenge: 2
IpExt:
    InMcastPkts: 1115
    OutMcastPkts: 21
    InBcastPkts: 106
    InOctets: 2128689
    OutOctets: 119541
    InMcastOctets: 312040
    OutMcastOctets: 3237
    InBcastOctets: 12884
    InNoECTPkts: 2835
    InECT0Pkts: 1


** PCI devices:
00:00.0 Host bridge [0600]: Intel Corporation 4th Gen Core Processor DRAM Controller [8086:0c00] (rev 06)
	Subsystem: ASRock Incorporation Device [1849:0c00]
	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-
	Latency: 0
	Capabilities: <access denied>

00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412] (rev 06) (prog-if 00 [VGA controller])
	Subsystem: ASRock Incorporation Device [1849:0412]
	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-
	Latency: 0
	Interrupt: pin A routed to IRQ 46
	Region 0: Memory at f0000000 (64-bit, non-prefetchable) [size=4M]
	Region 2: Memory at e0000000 (64-bit, prefetchable) [size=256M]
	Region 4: I/O ports at f000 [size=64]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: <access denied>
	Kernel driver in use: i915

00:14.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI [8086:8c31] (rev 05) (prog-if 30 [XHCI])
	Subsystem: ASRock Incorporation Device [1849:8c31]
	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
	Interrupt: pin A routed to IRQ 42
	Region 0: Memory at f0420000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: xhci_hcd

00:16.0 Communication controller [0780]: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 [8086:8c3a] (rev 04)
	Subsystem: ASRock Incorporation Device [1849:8c3a]
	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-
	Latency: 0
	Interrupt: pin A routed to IRQ 45
	Region 0: Memory at f043b000 (64-bit, non-prefetchable) [size=16]
	Capabilities: <access denied>
	Kernel driver in use: mei_me

00:19.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection I217-V [8086:153b] (rev 05)
	Subsystem: ASRock Incorporation Device [1849:153b]
	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-
	Latency: 0
	Interrupt: pin A routed to IRQ 43
	Region 0: Memory at f0400000 (32-bit, non-prefetchable) [size=128K]
	Region 1: Memory at f0439000 (32-bit, non-prefetchable) [size=4K]
	Region 2: I/O ports at f080 [size=32]
	Capabilities: <access denied>
	Kernel driver in use: e1000e

00:1a.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 [8086:8c2d] (rev 05) (prog-if 20 [EHCI])
	Subsystem: ASRock Incorporation Device [1849:8c2d]
	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
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at f0438000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: <access denied>
	Kernel driver in use: ehci-pci

00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 05)
	Subsystem: ASRock Incorporation Device [1849:d892]
	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-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 47
	Region 0: Memory at f0430000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel

00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 [8086:8c10] (rev d5) (prog-if 00 [Normal decode])
	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-
	Latency: 0, Cache Line Size: 64 bytes
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
	BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1c.6 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev d5) (prog-if 01 [Subtractive decode])
	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-
	Latency: 0, Cache Line Size: 64 bytes
	Bus: primary=00, secondary=02, subordinate=03, sec-latency=32
	Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
	BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: <access denied>

00:1d.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 [8086:8c26] (rev 05) (prog-if 20 [EHCI])
	Subsystem: ASRock Incorporation Device [1849:8c26]
	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
	Interrupt: pin A routed to IRQ 23
	Region 0: Memory at f0437000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: <access denied>
	Kernel driver in use: ehci-pci

00:1f.0 ISA bridge [0601]: Intel Corporation Z87 Express LPC Controller [8086:8c44] (rev 05)
	Subsystem: ASRock Incorporation Device [1849:8c44]
	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
	Capabilities: <access denied>
	Kernel driver in use: lpc_ich

00:1f.2 SATA controller [0106]: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] [8086:8c02] (rev 05) (prog-if 01 [AHCI 1.0])
	Subsystem: ASRock Incorporation Device [1849:8c02]
	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
	Interrupt: pin B routed to IRQ 44
	Region 0: I/O ports at f0d0 [size=8]
	Region 1: I/O ports at f0c0 [size=4]
	Region 2: I/O ports at f0b0 [size=8]
	Region 3: I/O ports at f0a0 [size=4]
	Region 4: I/O ports at f060 [size=32]
	Region 5: Memory at f0436000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: <access denied>
	Kernel driver in use: ahci

00:1f.3 SMBus [0c05]: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller [8086:8c22] (rev 05)
	Subsystem: ASRock Incorporation Device [1849:8c22]
	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 C routed to IRQ 18
	Region 0: Memory at f0435000 (64-bit, non-prefetchable) [size=256]
	Region 4: I/O ports at f040 [size=32]

02:00.0 PCI bridge [0604]: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge [1b21:1080] (rev 03) (prog-if 01 [Subtractive decode])
	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-
	Latency: 0, Cache Line Size: 64 bytes
	Bus: primary=02, secondary=03, subordinate=03, sec-latency=32
	Secondary status: 66MHz+ FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
	BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: <access denied>


** USB devices:
Bus 004 Device 002: ID 8087:8000 Intel Corp. 
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 8087:8008 Intel Corp. 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 04d9:1603 Holtek Semiconductor, Inc. Keyboard
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


-- System Information:
Debian Release: jessie/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.12-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-image-3.12-trunk-amd64 depends on:
ii  debconf [debconf-2.0]                   1.5.52
ii  initramfs-tools [linux-initramfs-tool]  0.115
ii  kmod                                    9-3
ii  linux-base                              3.5
ii  module-init-tools                       9-3

Versions of packages linux-image-3.12-trunk-amd64 recommends:
ii  firmware-linux-free  3.2

Versions of packages linux-image-3.12-trunk-amd64 suggests:
pn  debian-kernel-handbook  <none>
ii  grub-pc                 1.99-27+deb7u2
pn  linux-doc-3.12          <none>

Versions of packages linux-image-3.12-trunk-amd64 is related to:
pn  firmware-atheros        <none>
pn  firmware-bnx2           <none>
pn  firmware-bnx2x          <none>
pn  firmware-brcm80211      <none>
pn  firmware-intelwimax     <none>
pn  firmware-ipw2x00        <none>
pn  firmware-ivtv           <none>
pn  firmware-iwlwifi        <none>
pn  firmware-libertas       <none>
pn  firmware-linux          <none>
pn  firmware-linux-nonfree  <none>
pn  firmware-myricom        <none>
pn  firmware-netxen         <none>
pn  firmware-qlogic         <none>
pn  firmware-ralink         <none>
pn  firmware-realtek        <none>
pn  xen-hypervisor          <none>

-- debconf-show failed

I tested on lastest 3.13.0-rc2, the same issue. Use
config-3.12-trunk-amd64 as .config, then do make olddefconfig.

I also tested on 3.12.2, the same issue. Use working well kernel
config-3.11-2-amd64 as .config, then do make olddefconfig.

It seems some changes of new kernel break the shutdown function on my
machine.
Comment 1 Lan Tianyu 2013-12-05 07:45:04 UTC
This should be a regression. Could you do a bisect between v3.11 and v3.12?
Comment 2 littlebat 2013-12-05 08:26:11 UTC
Ok, I will try. But need some time learn about "git bisect" first, I am not a professional programmer.
Comment 3 Lan Tianyu 2013-12-05 09:11:25 UTC
You can follow this link
http://wiki.gentoo.org/wiki/Kernel_git-bisect

The git source is
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Comment 4 littlebat 2013-12-06 08:37:22 UTC
Ok, finish "git bisect", before bisect, v3.12-rc5 good and v3.12-rc6 bad,
 bisect log as below, thank your link:

Bisecting: 70 revisions left to test after this (roughly 6 steps)
[57a8f0cdb87da776bf0e4ce7554a9133854fa779] mm: revert mremap pud_free anti-fix
Bisecting: 43 revisions left to test after this (roughly 5 steps)
[7b4a51550981d7602a5e1209b53a67c817c85999] Merge tag 'tty-3.12-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
Bisecting: 22 revisions left to test after this (roughly 5 steps)
[83f11a9cf2578b104c0daf18fc9c7d33c3d6d53a] Merge tag 'driver-core-3.12-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
Bisecting: 10 revisions left to test after this (roughly 3 steps)
[f4c19b8e165cff1a6607c21f8809441d61cab7ec] USB: serial: option: add support for Inovia SEW858 device
Bisecting: 5 revisions left to test after this (roughly 2 steps)
[638298dc66ea36623dbc2757a24fc2c4ab41b016] xhci: Fix spurious wakeups after S5 on Haswell
Bisecting: 1 revision left to test after this (roughly 1 step)
[455f58925247e8a1a1941e159f3636ad6ee4c90b] xhci: quirk for extra long delay for S4
Bisecting: 0 revisions left to test after this (roughly 0 steps)
[e459933967aef650c25b3cbe1ff88c8047cac543] xhci: fix write to USB3_PSSEN and XUSB2PRM pci config registers
638298dc66ea36623dbc2757a24fc2c4ab41b016 is the first bad commit
commit 638298dc66ea36623dbc2757a24fc2c4ab41b016
Author: Takashi Iwai <tiwai@suse.de>
Date:   Thu Sep 12 08:11:06 2013 +0200

    xhci: Fix spurious wakeups after S5 on Haswell
    
    Haswell LynxPoint and LynxPoint-LP with the recent Intel BIOS show
    mysterious wakeups after shutdown occasionally.  After discussing with
    BIOS engineers, they explained that the new BIOS expects that the
    wakeup sources are cleared and set to D3 for all wakeup devices when
    the system is going to sleep or power off, but the current xhci driver
    doesn't do this properly (partly intentionally).
    
    This patch introduces a new quirk, XHCI_SPURIOUS_WAKEUP, for
    fixing the spurious wakeups at S5 by calling xhci_reset() in the xhci
    shutdown ops as done in xhci_stop(), and setting the device to PCI D3
    at shutdown and remove ops.
    
    The PCI D3 call is based on the initial fix patch by Oliver Neukum.
    
    [Note: Sarah changed the quirk name from XHCI_HSW_SPURIOUS_WAKEUP to
    XHCI_SPURIOUS_WAKEUP, since none of the other quirks have system names
    in them.  Sarah also fixed a collision with a quirk submitted around the
    same time, by changing the xhci->quirks bit from 17 to 18.]
    
    This patch should be backported to kernels as old as 3.0, that
    contain the commit 1c12443ab8eba71a658fae4572147e56d1f84f66 "xhci: Add
    Lynx Point to list of Intel switchable hosts."
    
    Cc: Oliver Neukum <oneukum@suse.de>
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
    Cc: stable@vger.kernel.org

:040000 040000 6ba54ba0725b8b93e1beff0ed0c8ac0a729f7502 8330c3a748392abc47843a538752d06048ecc0db M	drivers
Comment 5 littlebat 2013-12-06 14:32:44 UTC
And, this is "git bisect log" output:

root@jess:/usr/src/linux# git bisect log
git bisect start
# bad: [31d141e3a666269a3b6fcccddb0351caf7454240] Linux 3.12-rc6
git bisect bad 31d141e3a666269a3b6fcccddb0351caf7454240
# good: [61e6cfa80de5760bbe406f4e815b7739205754d2] Linux 3.12-rc5
git bisect good 61e6cfa80de5760bbe406f4e815b7739205754d2
# good: [57a8f0cdb87da776bf0e4ce7554a9133854fa779] mm: revert mremap pud_free anti-fix
git bisect good 57a8f0cdb87da776bf0e4ce7554a9133854fa779
# good: [7b4a51550981d7602a5e1209b53a67c817c85999] Merge tag 'tty-3.12-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
git bisect good 7b4a51550981d7602a5e1209b53a67c817c85999
# bad: [83f11a9cf2578b104c0daf18fc9c7d33c3d6d53a] Merge tag 'driver-core-3.12-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
git bisect bad 83f11a9cf2578b104c0daf18fc9c7d33c3d6d53a
# bad: [f4c19b8e165cff1a6607c21f8809441d61cab7ec] USB: serial: option: add support for Inovia SEW858 device
git bisect bad f4c19b8e165cff1a6607c21f8809441d61cab7ec
# bad: [638298dc66ea36623dbc2757a24fc2c4ab41b016] xhci: Fix spurious wakeups after S5 on Haswell
git bisect bad 638298dc66ea36623dbc2757a24fc2c4ab41b016
# good: [455f58925247e8a1a1941e159f3636ad6ee4c90b] xhci: quirk for extra long delay for S4
git bisect good 455f58925247e8a1a1941e159f3636ad6ee4c90b
# good: [e459933967aef650c25b3cbe1ff88c8047cac543] xhci: fix write to USB3_PSSEN and XUSB2PRM pci config registers
git bisect good e459933967aef650c25b3cbe1ff88c8047cac543
# first bad commit: [638298dc66ea36623dbc2757a24fc2c4ab41b016] xhci: Fix spurious wakeups after S5 on Haswell
root@jess:/usr/src/linux# 

And, I double checked the good and bad kernel:
Kernel of "git checkout e459933967aef650c25b3cbe1ff88c8047cac543" is good, kernel of "git checkout 638298dc66ea36623dbc2757a24fc2c4ab41b016" is bad.

Additionally, I have another power management issue reported into Debian bug tracking system. I don't know if it is related to this bug. See also: pm-utils: The second time resume from hibernate state fail at display no signal http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=730018
Comment 6 Niklas Schnelle 2013-12-07 13:11:53 UTC
I am hitting this same problem now on 3.13-rc2
Comment 7 Lan Tianyu 2013-12-08 12:30:59 UTC
This bug is duplicated with bug 66171 which is also caused by this commit.

*** This bug has been marked as a duplicate of bug 66171 ***

Note You need to log in before you can comment on or make changes to this bug.