Re: Bug#906189: linux-image-4.17.0-1-amd64: Laptop does not suspend in 4.17 - worked up to 4.16

2018-09-07 Thread Ritesh Raj Sarraf
On Fri, 2018-09-07 at 09:32 +0200, Christoph Haas wrote:
> Does it suffice to know that the problem does not occur any more with
> kernel 4.19.0-rc2+?
> 

IMO, if the issue is not seen with 4.19, you may want to continue test
and ensure that, till the final 4.19 release.

Given that 4.19 is going to be the next LTS kernel, it is the one that
should end in Debian Buster, probably.

> I could continue with the "git bisect" but it would take days. :(
-- 
Given the large number of mailing lists I follow, I request you to CC
me in replies for quicker response




Bug#906189: linux-image-4.17.0-1-amd64: Laptop does not suspend in 4.17 - worked up to 4.16

2018-09-07 Thread Christoph Haas
Does it suffice to know that the problem does not occur any more with
kernel 4.19.0-rc2+?

I could continue with the "git bisect" but it would take days. :(




signature.asc
Description: OpenPGP digital signature


Bug#906189: linux-image-4.17.0-1-amd64: Laptop does not suspend in 4.17 - worked up to 4.16

2018-09-03 Thread Christoph Haas
git-bisect takes ages. I got this far yet:

- 4.16.0-2 = good
- 4.17.0-3 = bad
- 4.19.0-rc2 = good





signature.asc
Description: OpenPGP digital signature


Bug#906189: linux-image-4.17.0-1-amd64: Laptop does not suspend in 4.17 - worked up to 4.16

2018-09-03 Thread Christoph Haas
I will try with bisect. Hass been a while that I compiled my kernel from
source. :)

I have not yet reported the problem to upstream mailing lists. Seems
though that the power optimizations added with kernel 4.17 would cause this.

Will report back.




signature.asc
Description: OpenPGP digital signature


Bug#906189: linux-image-4.17.0-1-amd64: Laptop does not suspend in 4.17 - worked up to 4.16

2018-09-02 Thread Paul Wise
On Wed, 15 Aug 2018 12:32:16 +0200 Christoph Haas wrote:

> Booting into 4.16.0-2-amd64 works well.
> 
> Linux kernel image 4.17.0-2 shows the mentioned problem.

This sounds like a job for git bisect:

https://wiki.debian.org/DebianKernel/GitBisect

-- 
bye,
pabs

https://wiki.debian.org/PaulWise



signature.asc
Description: This is a digitally signed message part


Bug#906189: linux-image-4.17.0-1-amd64: Laptop does not suspend in 4.17 - worked up to 4.16

2018-08-31 Thread Ben Hutchings
Control: tag -1 moreinfo

On Wed, 2018-08-15 at 12:32 +0200, Christoph Haas wrote:
> Package: src:linux
> Version: 4.17.8-1
> Severity: important
> 
> Dear Maintainer,
> 
> I am using Debian Sid. Since the upgrade to linux-image-4.17.x I cannot
> suspend my Lenovo X230 laptop any more. I close the lid or run
> "systemctl suspend" to suspend the laptop but the laptop's power LED
> blinks and after a few seconds the laptop resumes automatically.
> This effect is easily reproducible.
> 
> Booting into 4.16.0-2-amd64 works well.
> 
> Linux kernel image 4.17.0-2 shows the mentioned problem.
> 
> It appears the multiple people on the internet ran into this problem. I
> did not find a workaround to this problem and will work with 4.16 now.
[...]

Has this been reported upstream (Bugzilla or an upstream mailing list)?

You didn't include any kernel log messages for the failed suspend,
which might help to explain this.

Ben.

-- 
Ben Hutchings
Lowery's Law:
If it jams, force it. If it breaks, it needed replacing anyway.




signature.asc
Description: This is a digitally signed message part


Processed: Re: Bug#906189: linux-image-4.17.0-1-amd64: Laptop does not suspend in 4.17 - worked up to 4.16

2018-08-31 Thread Debian Bug Tracking System
Processing control commands:

> tag -1 moreinfo
Bug #906189 [src:linux] linux-image-4.17.0-1-amd64: Laptop does not suspend in 
4.17 - worked up to 4.16
Added tag(s) moreinfo.

-- 
906189: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906189
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#906189: linux-image-4.17.0-1-amd64: Laptop does not suspend in 4.17 - worked up to 4.16

2018-08-31 Thread David Bremner
Felix Hagemann  writes:

> Package: src:linux
> Version: 4.17.17-1
> Followup-For: Bug #906189
>
> Dear Maintainer,
>
> I do see exactly the same behaviour on a Thinkpad X1 Carbon (Gen. 2).
>

I had the same problem on my dell e7270, but it was fixed by a BIOS
upgrade. Something to try?

d



Bug#906189: linux-image-4.17.0-1-amd64: Laptop does not suspend in 4.17 - worked up to 4.16

2018-08-20 Thread Felix Hagemann
Package: src:linux
Version: 4.17.17-1
Followup-For: Bug #906189

Dear Maintainer,

I do see exactly the same behaviour on a Thinkpad X1 Carbon (Gen. 2).

Suspend works fine:
Linux slack 4.16.0-2-amd64 #1 SMP Debian 4.16.16-2 (2018-06-22) x86_64 GNU/Linux
Suspend works for the first time after reboot but then fails for all
following attempts:
Linux slack 4.17.0-1-amd64 #1 SMP Debian 4.17.8-1 (2018-07-20) x86_64 GNU/Linux
Linux slack 4.17.0-3-amd64 #1 SMP Debian 4.17.17-1 (2018-08-18) x86_64 GNU/Linux

Interesting enough the laptop immediately resumes when using:
# echo mem > /sys/power/state
But using
# echo mem > /sys/power/state;echo mem > /sys/power/state
it comes back on immediately after the first suspend and then
succesfully goes to sleep with the second try.

-- Package-specific info:
** Version:
Linux version 4.17.0-3-amd64 (debian-kernel@lists.debian.org) (gcc
version 7.3.0 (Debian 7.3.0-28)) #1 SMP Debian 4.17.17-1 (2018-08-18)

** Command line:
BOOT_IMAGE=/boot/vmlinuz-4.17.0-3-amd64
root=/dev/mapper/vg_slack-lv_root ro quiet

** Not tainted

** Kernel log:
[   85.350066] wlan0: authenticated
[   85.352310] wlan0: associate with 5c:49:79:73:91:eb (try 1/3)
[   85.362865] wlan0: RX AssocResp from 5c:49:79:73:91:eb (capab=0x431
status=0 aid=5)
[   85.381713] wlan0: associated
[   85.408317] usb 3-4: new high-speed USB device number 7 using xhci_hcd
[   85.431901] Freezing user space processes ... (elapsed 0.002 seconds) done.
[   85.434511] OOM killer disabled.
[   85.434513] Freezing remaining freezable tasks ...
[   85.557238] usb 3-4: New USB device found, idVendor=0bdb,
idProduct=1927, bcdDevice= 1.00
[   85.557245] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[   85.557249] usb 3-4: Product: H5321 gw
[   85.557253] usb 3-4: Manufacturer: Lenovo
[   85.557256] usb 3-4: SerialNumber: 743D769FC0F77BC0
[   85.558717] usbhid 3-4:1.0: can't add hid device: -71
[   85.558743] usbhid: probe of 3-4:1.0 failed with error -71
[   85.562878] (elapsed 0.128 seconds) done.
[   85.562932] Suspending console(s) (use no_console_suspend to debug)
[   85.563443] wlan0: deauthenticating from 5c:49:79:73:91:eb by local
choice (Reason: 3=DEAUTH_LEAVING)
[   85.880483] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[   85.880636] sd 0:0:0:0: [sda] Stopping disk
[   86.197454] ACPI: EC: interrupt blocked
[   86.237253] ACPI: Preparing to enter system sleep state S3
[   86.241252] ACPI: EC: event blocked
[   86.241254] ACPI: EC: EC stopped
[   86.241255] PM: Saving platform NVS memory
[   86.241282] Disabling non-boot CPUs ...
[   86.258030] smpboot: CPU 1 is now offline
[   86.282016] smpboot: CPU 2 is now offline
[   86.309868] smpboot: CPU 3 is now offline
[   86.313662] ACPI: Low-level resume complete
[   86.313718] ACPI: EC: EC started
[   86.313718] PM: Restoring platform NVS memory
[   86.314085] Enabling non-boot CPUs ...
[   86.314133] x86: Booting SMP configuration:
[   86.314134] smpboot: Booting Node 0 Processor 1 APIC 0x1
[   86.316889]  cache: parent cpu1 should not be sleeping
[   86.317267] CPU1 is up
[   86.317337] smpboot: Booting Node 0 Processor 2 APIC 0x2
[   86.319957]  cache: parent cpu2 should not be sleeping
[   86.320391] CPU2 is up
[   86.320453] smpboot: Booting Node 0 Processor 3 APIC 0x3
[   86.323091]  cache: parent cpu3 should not be sleeping
[   86.323541] CPU3 is up
[   86.328479] ACPI: Waking up from system sleep state S3
[   86.335259] ACPI: EC: interrupt unblocked
[   86.355401] sdhci-pci :02:00.0: MMC controller base frequency
changed to 50Mhz.
[   86.404470] ACPI: EC: event unblocked
[   86.404952] sd 0:0:0:0: [sda] Starting disk
[   86.417725] iwlwifi :03:00.0: Radio type=0x1-0x2-0x0
[   86.650793] usb 3-4: reset high-speed USB device number 7 using xhci_hcd
[   86.658612] usb 1-1.4: reset full-speed USB device number 5 using ehci-pci
[   86.717278] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[   86.717405] iwlwifi :03:00.0: Radio type=0x1-0x2-0x0
[   86.719982] ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
[   86.719989] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE
LOCK) filtered out
[   86.739908] ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
[   86.739919] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE
LOCK) filtered out
[   86.749873] ata1.00: configured for UDMA/133
[   86.799699] dpm_run_callback(): usb_dev_resume+0x0/0x10 [usbcore] returns -5
[   86.799714] PM: Device 3-4 failed to resume async: error -5
[   86.846652] usb 1-1.6: reset high-speed USB device number 6 using ehci-pci
[   87.034685] usb 1-1.3: reset full-speed USB device number 4 using ehci-pci
[   87.099329] psmouse serio1: synaptics: queried max coordinates: x
[..5678], y [..4732]
[   87.131119] psmouse serio1: synaptics: queried min coordinates: x
[1264..], y [1124..]
[   87.222654] usb 1-1.2: reset full-speed USB device number 3 using ehci-pci
[   87.408102] OOM killer enabled.
[   87.408104] Restarting tasks 

Bug#906189: linux-image-4.17.0-1-amd64: Laptop does not suspend in 4.17 - worked up to 4.16

2018-08-15 Thread Christoph Haas
Package: src:linux
Version: 4.17.8-1
Severity: important

Dear Maintainer,

I am using Debian Sid. Since the upgrade to linux-image-4.17.x I cannot
suspend my Lenovo X230 laptop any more. I close the lid or run
"systemctl suspend" to suspend the laptop but the laptop's power LED
blinks and after a few seconds the laptop resumes automatically.
This effect is easily reproducible.

Booting into 4.16.0-2-amd64 works well.

Linux kernel image 4.17.0-2 shows the mentioned problem.

It appears the multiple people on the internet ran into this problem. I
did not find a workaround to this problem and will work with 4.16 now.


-- Package-specific info:
** Kernel log: boot messages should be attached

** Model information
sys_vendor: LENOVO
product_name: 23252DG
product_version: ThinkPad X230
chassis_vendor: LENOVO
chassis_version: Not Available
bios_vendor: LENOVO
bios_version: G2ETB0WW (2.70 )
board_vendor: LENOVO
board_name: 23252DG
board_version: Not Defined

** PCI devices:
00:00.0 Host bridge [0600]: Intel Corporation 3rd Gen Core processor DRAM 
Controller [8086:0154] (rev 09)
Subsystem: Lenovo 3rd Gen Core processor DRAM Controller [17aa:21fa]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR- 
Kernel driver in use: ivb_uncore

00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core 
processor Graphics Controller [8086:0166] (rev 09) (prog-if 00 [VGA controller])
Subsystem: Lenovo 3rd Gen Core processor Graphics Controller [17aa:21fa]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR- 
Kernel driver in use: i915
Kernel modules: i915

00:14.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset 
Family USB xHCI Host Controller [8086:1e31] (rev 04) (prog-if 30 [XHCI])
Subsystem: Lenovo 7 Series/C210 Series Chipset Family USB xHCI Host 
Controller [17aa:21fa]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
SERR- 
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci

00:16.0 Communication controller [0780]: Intel Corporation 7 Series/C216 
Chipset Family MEI Controller #1 [8086:1e3a] (rev 04)
Subsystem: Lenovo 7 Series/C216 Chipset Family MEI Controller 
[17aa:21fa]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- 
Kernel driver in use: mei_me
Kernel modules: mei_me

00:16.3 Serial controller [0700]: Intel Corporation 7 Series/C210 Series 
Chipset Family KT Controller [8086:1e3d] (rev 04) (prog-if 02 [16550])
Subsystem: Lenovo 7 Series/C210 Series Chipset Family KT Controller 
[17aa:21fa]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR- 
Kernel driver in use: serial

00:19.0 Ethernet controller [0200]: Intel Corporation 82579LM Gigabit Network 
Connection [8086:1502] (rev 04)
Subsystem: Lenovo 82579LM Gigabit Network Connection (Lewisville) 
[17aa:21f3]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- 
Kernel driver in use: e1000e
Kernel modules: e1000e

00:1a.0 USB controller [0c03]: Intel Corporation 7 Series/C216 Chipset Family 
USB Enhanced Host Controller #2 [8086:1e2d] (rev 04) (prog-if 20 [EHCI])
Subsystem: Lenovo 7 Series/C216 Chipset Family USB Enhanced Host 
Controller [17aa:21fa]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
SERR- 
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci

00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C216 Chipset Family 
High Definition Audio Controller [8086:1e20] (rev 04)
Subsystem: Lenovo 7 Series/C216 Chipset Family High Definition Audio 
Controller [17aa:21fa]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- 
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

00:1c.0 PCI bridge [0604]: Intel Corporation 7 Series/C216 Chipset Family PCI 
Express Root Port 1 [8086:1e10] (rev c4) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+