[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2021-02-10 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the kernel in -proposed solves
the problem. Please test the kernel and update this bug with the
results. If the problem is solved, change the tag 'verification-needed-
groovy' to 'verification-done-groovy'. If the problem still exists,
change the tag 'verification-needed-groovy' to 'verification-failed-
groovy'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: verification-needed-groovy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2021-02-03 Thread Timo Aaltonen
** Tags removed: verification-needed-groovy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2021-02-03 Thread Eugene Crosser
I understand that it's fixed in the mainline quite a while ago, no?
Don't get it why is "verification-needed" now...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2021-01-28 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the kernel in -proposed solves
the problem. Please test the kernel and update this bug with the
results. If the problem is solved, change the tag 'verification-needed-
groovy' to 'verification-done-groovy'. If the problem still exists,
change the tag 'verification-needed-groovy' to 'verification-failed-
groovy'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: verification-needed-groovy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-06-25 Thread Launchpad Bug Tracker
This bug was fixed in the package linux-oem-osp1 - 5.0.0-1059.64

---
linux-oem-osp1 (5.0.0-1059.64) bionic; urgency=medium

  [ Ubuntu: 5.0.0-52.56 ]

  * CVE-2020-0543
- SAUCE: x86/cpu: Add a steppings field to struct x86_cpu_id
- SAUCE: x86/cpu: Add 'table' argument to cpu_matches()
- SAUCE: x86/speculation: Add Special Register Buffer Data Sampling (SRBDS)
  mitigation
- SAUCE: x86/speculation: Add SRBDS vulnerability and mitigation 
documentation
- SAUCE: x86/speculation: Add Ivy Bridge to affected list

linux-oem-osp1 (5.0.0-1054.59) bionic; urgency=medium

  * bionic/linux-oem-osp1: 5.0.0-1054.59 -proposed tracker (LP:
#1881221)

  * Speed up the process of s3 resume (LP: #1876844)
- PCI/PM: Adjust pcie_wait_for_link_delay() for caller delay
- PCI/PM: Assume ports without DLL Link Active train links in 100 ms

linux-oem-osp1 (5.0.0-1053.58) bionic; urgency=medium

  * bionic/linux-oem-osp1: 5.0.0-1053.58 -proposed tracker (LP:
#1878822)

  * rtl8723bu wifi issue after being turned off (LP: #1878296)
- rtl8xxxu: Improve TX performance of RTL8723BU on rtl8xxxu driver
- rtl8xxxu: add bluetooth co-existence support for single antenna
- rtl8xxxu: remove set but not used variable 'rate_mask'
- rtl8xxxu: Remove set but not used variable 'vif', 'dev', 'len'

  * Fix Pericom USB controller OHCI/EHCI PME# defect (LP: #1879321)
- serial: 8250_pci: Move Pericom IDs to pci_ids.h
- PCI: Avoid Pericom USB controller OHCI/EHCI PME# defect

  * Don't register platform::micmute if the related tokens don't exist
(LP: #1877275)
- SAUCE: platform/x86: dell-laptop: don't register platform::micmute if the
  related tokens don't exist

  [ Ubuntu: 5.0.0-49.53 ]

  * disco/linux: 5.0.0-49.53 -proposed tracker (LP: #1878826)
  * Disco update: upstream stable patchset 2020-05-14 (LP: #1878681)
- remoteproc: Fix wrong rvring index computation
- mtd: cfi: fix deadloop in cfi_cmdset_0002.c do_write_buffer
- binder: take read mode of mmap_sem in binder_alloc_free_page()
- usb: dwc3: gadget: Do link recovery for SS and SSP
- usb: gadget: udc: bdc: Remove unnecessary NULL checks in bdc_req_complete
- iio:ad7797: Use correct attribute_group
- ASoC: q6dsp6: q6afe-dai: add missing channels to MI2S DAIs
- ASoC: tas571x: disable regulators on failed probe
- ASoC: wm8960: Fix wrong clock after suspend & resume
- nfsd: memory corruption in nfsd4_lock()
- i2c: altera: use proper variable to hold errno
- rxrpc: Fix DATA Tx to disable nofrag for UDP on AF_INET6 socket
- net/cxgb4: Check the return from t4_query_params properly
- xfs: acquire superblock freeze protection on eofblocks scans
- svcrdma: Fix trace point use-after-free race
- svcrdma: Fix leak of svc_rdma_recv_ctxt objects
- PCI: Avoid ASMedia XHCI USB PME# from D0 defect
- PCI: Move Apex Edge TPU class quirk to fix BAR assignment
- ARM: dts: bcm283x: Disable dsi0 node
- cpumap: Avoid warning when CONFIG_DEBUG_PER_CPU_MAPS is enabled
- net/mlx5: Fix failing fw tracer allocation on s390
- perf/core: fix parent pid/tid in task exit events
- bpf, x86_32: Fix incorrect encoding in BPF_LDX zero-extension
- mm: shmem: disable interrupt when acquiring info->lock in userfaultfd_copy
  path
- xfs: clear PF_MEMALLOC before exiting xfsaild thread
- bpf, x86: Fix encoding for lower 8-bit registers in BPF_STX BPF_B
- net: fec: set GPR bit on suspend by DT configuration.
- x86: hyperv: report value of misc_features
- xfs: fix partially uninitialized structure in xfs_reflink_remap_extent
- ALSA: hda: Keep the controller initialization even if no codecs found
- ALSA: hda: Explicitly permit using autosuspend if runtime PM is supported
- scsi: target: fix PR IN / READ FULL STATUS for FC
- scsi: target: tcmu: reset_ring should reset TCMU_DEV_BIT_BROKEN
- objtool: Fix CONFIG_UBSAN_TRAP unreachable warnings
- objtool: Support Clang non-section symbols in ORC dump
- xen/xenbus: ensure xenbus_map_ring_valloc() returns proper grant status
- ALSA: hda: call runtime_allow() for all hda controllers
- arm64: Delete the space separator in __emit_inst
- ext4: use matching invalidatepage in ext4_writepage
- ext4: increase wait time needed before reuse of deleted inode numbers
- ext4: convert BUG_ON's to WARN_ON's in mballoc.c
- hwmon: (jc42) Fix name to have no illegal characters
- bpf, x86_32: Fix clobbering of dst for BPF_JSET
- qed: Fix use after free in qed_chain_free
- ext4: check for non-zero journal inum in ext4_calculate_overhead
- printk: queue wake_up_klogd irq_work only if per-CPU areas are ready
- kbuild: fix DT binding schema rule again to avoid needless rebuilds
- usb: gadget: udc: atmel: Fix vbus disconnect handling
- afs: Fix to actually set AFS_SERVER_FL_HAVE_EPOCH
- s390/ftrace: fix potential crashes when 

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-05-19 Thread Kai-Heng Feng
Bin, can you please file a separate bug? I plan to pull Aaron's more
generic fix.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-05-19 Thread Bin Li
Tried on ThinkPad X13 Yoga with 5.0.0-1050.55 kernel on bionic, this
issue is not fixed.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-04-28 Thread Launchpad Bug Tracker
This bug was fixed in the package linux-oem-osp1 - 5.0.0-1050.55

---
linux-oem-osp1 (5.0.0-1050.55) bionic; urgency=medium

  * bionic/linux-oem-osp1: 5.0.0-1050.55 -proposed tracker (LP:
#1874611)

  * alsa/sof: external mic can't be deteced on Lenovo and HP laptops
(LP: #1872569)
- SAUCE: ASoC: intel/skl/hda - set autosuspend timeout for hda codecs

 -- Chia-Lin Kao (AceLan)   Fri, 24 Apr 2020
18:25:45 +0800

** Changed in: linux-oem-osp1 (Ubuntu Bionic)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-04-28 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 5.3.0-51.44

---
linux (5.3.0-51.44) eoan; urgency=medium

  * CVE-2020-11884
- SAUCE: s390/mm: fix page table upgrade vs 2ndary address mode accesses

 -- Thadeu Lima de Souza Cascardo   Wed, 22 Apr
2020 17:35:41 -0300

** Changed in: linux (Ubuntu Eoan)
   Status: Fix Committed => Fix Released

** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2020-11884

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-04-10 Thread AceLan Kao
** Changed in: linux-oem-osp1 (Ubuntu Bionic)
   Status: Confirmed => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-04-07 Thread roland via ubuntu-bugs
I've updated the tag to verification-done-eoan.
I was able to suspend three times in a row.

Specs:
ThinkPad X1C7 ubuntu 19.10 eoan

** Tags removed: verification-needed-eoan
** Tags added: verification-done-eoan

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-04-07 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: linux-oem-osp1 (Ubuntu Bionic)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-04-07 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: linux-oem-osp1 (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-04-07 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the kernel in -proposed solves
the problem. Please test the kernel and update this bug with the
results. If the problem is solved, change the tag 'verification-needed-
eoan' to 'verification-done-eoan'. If the problem still exists, change
the tag 'verification-needed-eoan' to 'verification-failed-eoan'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: verification-needed-eoan

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-04-02 Thread Khaled El Mously
** Changed in: linux (Ubuntu Eoan)
   Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-04-01 Thread AaronMa
** Description changed:

+ === SRU Justification Fix===
+ 
+ [Impact]
+ Some ThinkPads failed to suspend to s2idle when ethernet disconnected.
+ 
+ [Fix]
+ I219 chip of some platforms is controlled by ME, which needs more time
+ when setting ULP mode. Wait for ME to finish setting ULP mode.
+ 
+ [Test]
+ Verified on hw, and user reported s2idle works.
+ 
+ [Regression Potential]
+ Low, Increase timeout and breaks with condition,
+ no impacts for who don't need this long wait.
+ 
+ Bionic doesn't introduce the commit f15bb6dde738cc8fa0, no need for
+ this.
+ 
  === SRU Justification ===
  
  [Impact]
  Lenovo X1 Carbon 7th can only susped (s2idle) once, subsquent suspends
  are blocked by failed e1000e resume routine.
  
  [Fix]
  It's not root caused yet by Intel, so disable the s0ix flow on X1 Carbon
  7th as a temporary workaround.
  
  [Test]
  After applying the DMI quirk patch, e1000e keeps working, so it doesn't
  block s2idle anymore.
  User also confimred the workaround works.
  
  [Regression Potential]
  Low. It limits to a specific model, and I can confirm s0ix can still be
  reached withouth this feature.
  
  === Original Bug Report ===
  
  5.4.0-16 and 5.4.0-17 go to suspend when the lid is closed, but *only
  once* after boot. On subsequent attempts, when the lid it closed,
  backlight and wifi are turned off, but system does not suspend.
  
  First successful suspend:
  [ 147.413295] PM: suspend entry (s2idle)
  [ 147.416601] Filesystems sync: 0.003 seconds
  [ 147.419371] Freezing user space processes ... (elapsed 0.001 seconds) done.
  [ 147.421210] OOM killer disabled.
  [ 147.421210] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) 
done.
  [ 147.422375] printk: Suspending console(s) (use no_console_suspend to debug)
  [ 147.422630] wlp0s20f3: deauthenticating from 18:d6:c7:61:95:c2 by local 
choice (Reason: 3=DEAUTH_LEAVING)
  [ 147.527810] e1000e: EEE TX LPI TIMER: 0011
  [ 150.246317] ACPI: EC: interrupt blocked
  [ 881.134544] ACPI: EC: interrupt unblocked
  [ 883.933255] iwlwifi :00:14.3: Applying debug destination EXTERNAL_DRAM
  [ 884.047802] iwlwifi :00:14.3: Applying debug destination EXTERNAL_DRAM
  [ 884.112730] iwlwifi :00:14.3: FW already configured (0) - re-configuring
  [ 886.815475] e1000e :00:1f.6 enp0s31f6: PHY Wakeup cause - Unicast Packet
  [ 887.485832] e1000e :00:1f.6 enp0s31f6: Hardware Error
  [ 888.016931] OOM killer enabled.
  [ 888.016932] Restarting tasks ... done.
  [ 888.060613] PM: suspend exit
  
  Second unsuccessful suspend:
  [ 907.584802] PM: suspend entry (s2idle)
  [ 907.589779] Filesystems sync: 0.004 seconds
  [ 907.591416] Freezing user space processes ... (elapsed 0.002 seconds) done.
  [ 907.593518] OOM killer disabled.
  [ 907.593518] Freezing remaining freezable tasks ... (elapsed 0.328 seconds) 
done.
  [ 907.921560] printk: Suspending console(s) (use no_console_suspend to debug)
  [ 907.922127] wlp0s20f3: deauthenticating from 18:d6:c7:61:95:c2 by local 
choice (Reason: 3=DEAUTH_LEAVING)
  [ 908.024438] e1000e: EEE TX LPI TIMER: 0011
  [ 909.916364] PM: pci_pm_suspend(): e1000e_pm_suspend+0x0/0x80 [e1000e] 
returns -2
  [ 909.916367] PM: dpm_run_callback(): pci_pm_suspend+0x0/0x150 returns -2
  [ 909.916369] PM: Device :00:1f.6 failed to suspend async: error -2
  [ 911.183052] PM: Some devices failed to suspend, or early wake event detected
  [ 911.197091] iwlwifi :00:14.3: Applying debug destination EXTERNAL_DRAM
  [ 911.314903] iwlwifi :00:14.3: Applying debug destination EXTERNAL_DRAM
  [ 911.382438] iwlwifi :00:14.3: FW already configured (0) - re-configuring
  [ 911.413624] OOM killer enabled.
  [ 911.413625] Restarting tasks ... done.
  [ 911.462021] PM: suspend exit
  
  It looks like Ethernet driver prevents suspend. Ethernet is not
  connected (I do not have the adaptor).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-03-31 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 5.4.0-21.25

---
linux (5.4.0-21.25) focal; urgency=medium

  * CVE-2020-8835
- SAUCE: bpf: undo incorrect __reg_bound_offset32 handling

 -- Thadeu Lima de Souza Cascardo   Thu, 26 Mar
2020 17:51:28 -0300

** Changed in: linux (Ubuntu Focal)
   Status: Triaged => Fix Released

** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2020-8835

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-03-25 Thread Kai-Heng Feng
It'll be in Eoan kernel when it's "Fix committed".

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-03-25 Thread roland via ubuntu-bugs
About comment #23 It's won't work. I'm on Eoan, the proposed kernel is
for focal.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-03-25 Thread Eugene Crosser
Using the kernel package from -proposed makes suspend work normally as
well.

Linux journex 5.4.0-20-generic #24-Ubuntu SMP Mon Mar 23 20:55:46 UTC
2020 x86_64 x86_64 x86_64 GNU/Linux

Though I guess that 5.4.0-20 uses the "workaround", and it may be better
to apply the "proper fix" from comment 21?

In any case, I am marking it "verification-done" because it does indeed
work.

** Tags removed: verification-needed-focal
** Tags added: verification-done-focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-03-25 Thread roland via ubuntu-bugs
I've just tested on Eoan with the proposed branch.

It didn't resolve my issue. I'll give it some time today to see if the new 
kernel 
gets released.

This is the kernel I'm running after an apt update/upgrade cycle this morning
Linux MiX 5.3.0-43-generic #36-Ubuntu SMP Mon Mar 16 13:29:01 UTC 2020 x86_64 
x86_64 x86_64 GNU/Linux

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-03-25 Thread Eugene Crosser
@mapengyu, I've rebuilt e1000e.ko with your patch applied to 5.6.0-rc5
tree, and suspend works normally for me:

Linux journex 5.6.0-rc5+ #2 SMP Sun Mar 15 00:09:19 CET 2020 x86_64
x86_64 x86_64 GNU/Linux

First suspend:
[   66.578525] PM: suspend entry (s2idle)
[   66.582870] Filesystems sync: 0.004 seconds
[   66.583640] Freezing user space processes ... (elapsed 0.002 seconds) done.
[   66.585841] OOM killer disabled.
[   66.585842] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) 
done.
[   66.587085] printk: Suspending console(s) (use no_console_suspend to debug)
[   66.587375] wlp0s20f3: deauthenticating from 18:d6:c7:61:95:c2 by local 
choice (Reason: 3=DEAUTH_LEAVING)
[   66.691969] e1000e: EEE TX LPI TIMER: 0011
[   69.395364] ACPI: EC: interrupt blocked
[   79.252679] ACPI: EC: interrupt unblocked
[   82.053040] iwlwifi :00:14.3: Applying debug destination EXTERNAL_DRAM
[   82.169363] iwlwifi :00:14.3: Applying debug destination EXTERNAL_DRAM
[   82.234288] iwlwifi :00:14.3: FW already configured (0) - re-configuring
[   85.251055] OOM killer enabled.
[   85.251056] Restarting tasks ... done.
[   85.260141] mei_hdcp :00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: 
bound :00:02.0 (ops i915_hdcp_component_ops [i915])
[   85.293929] PM: suspend exit
[   85.391753] e1000e :00:1f.6 enp0s31f6: NIC Link is Down
[   85.627128] iwlwifi :00:14.3: Applying debug destination EXTERNAL_DRAM
...

Second suspend:
[  140.523471] PM: suspend entry (s2idle)
[  140.554018] Filesystems sync: 0.030 seconds
[  140.554655] Freezing user space processes ... (elapsed 0.002 seconds) done.
[  140.556773] OOM killer disabled.
[  140.556773] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) 
done.
[  140.558014] printk: Suspending console(s) (use no_console_suspend to debug)
[  140.558275] wlp0s20f3: deauthenticating from 18:d6:c7:61:95:c2 by local 
choice (Reason: 3=DEAUTH_LEAVING)
[  140.659976] e1000e: EEE TX LPI TIMER: 0011
[  143.380606] ACPI: EC: interrupt blocked
[  158.716081] ACPI: EC: interrupt unblocked
[  161.516454] iwlwifi :00:14.3: Applying debug destination EXTERNAL_DRAM
[  161.866014] iwlwifi :00:14.3: Applying debug destination EXTERNAL_DRAM
[  161.933414] iwlwifi :00:14.3: FW already configured (0) - re-configuring
[  164.586442] OOM killer enabled.
[  164.586443] Restarting tasks ... 
[  164.592488] mei_hdcp :00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: 
bound :00:02.0 (ops i915_hdcp_component_ops [i915])
[  164.592743] done.
[  164.637623] PM: suspend exit
[  164.735062] e1000e :00:1f.6 enp0s31f6: NIC Link is Down
[  164.999601] iwlwifi :00:14.3: Applying debug destination EXTERNAL_DRAM
...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-03-24 Thread AaronMa
Hi

Please verify the issue with this patch:

https://lore.kernel.org/lkml/20200323191639.48826-1-aaron...@canonical.com/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-03-24 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the kernel in -proposed solves
the problem. Please test the kernel and update this bug with the
results. If the problem is solved, change the tag 'verification-needed-
focal' to 'verification-done-focal'. If the problem still exists, change
the tag 'verification-needed-focal' to 'verification-failed-focal'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: verification-needed-focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-03-22 Thread Kai-Heng Feng
** Description changed:

+ === SRU Justification ===
+ 
+ [Impact]
+ Lenovo X1 Carbon 7th can only susped (s2idle) once, subsquent suspends
+ are blocked by failed e1000e resume routine.
+ 
+ [Fix]
+ It's not root caused yet by Intel, so disable the s0ix flow on X1 Carbon
+ 7th as a temporary workaround.
+ 
+ [Test]
+ After applying the DMI quirk patch, e1000e keeps working, so it doesn't
+ block s2idle anymore.
+ User also confimred the workaround works.
+ 
+ [Regression Potential]
+ Low. It limits to a specific model, and I can confirm s0ix can still be
+ reached withouth this feature.
+ 
+ === Original Bug Report ===
+ 
  5.4.0-16 and 5.4.0-17 go to suspend when the lid is closed, but *only
  once* after boot. On subsequent attempts, when the lid it closed,
  backlight and wifi are turned off, but system does not suspend.
  
  First successful suspend:
  [ 147.413295] PM: suspend entry (s2idle)
  [ 147.416601] Filesystems sync: 0.003 seconds
  [ 147.419371] Freezing user space processes ... (elapsed 0.001 seconds) done.
  [ 147.421210] OOM killer disabled.
  [ 147.421210] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) 
done.
  [ 147.422375] printk: Suspending console(s) (use no_console_suspend to debug)
  [ 147.422630] wlp0s20f3: deauthenticating from 18:d6:c7:61:95:c2 by local 
choice (Reason: 3=DEAUTH_LEAVING)
  [ 147.527810] e1000e: EEE TX LPI TIMER: 0011
  [ 150.246317] ACPI: EC: interrupt blocked
  [ 881.134544] ACPI: EC: interrupt unblocked
  [ 883.933255] iwlwifi :00:14.3: Applying debug destination EXTERNAL_DRAM
  [ 884.047802] iwlwifi :00:14.3: Applying debug destination EXTERNAL_DRAM
  [ 884.112730] iwlwifi :00:14.3: FW already configured (0) - re-configuring
  [ 886.815475] e1000e :00:1f.6 enp0s31f6: PHY Wakeup cause - Unicast Packet
  [ 887.485832] e1000e :00:1f.6 enp0s31f6: Hardware Error
  [ 888.016931] OOM killer enabled.
  [ 888.016932] Restarting tasks ... done.
  [ 888.060613] PM: suspend exit
  
  Second unsuccessful suspend:
  [ 907.584802] PM: suspend entry (s2idle)
  [ 907.589779] Filesystems sync: 0.004 seconds
  [ 907.591416] Freezing user space processes ... (elapsed 0.002 seconds) done.
  [ 907.593518] OOM killer disabled.
  [ 907.593518] Freezing remaining freezable tasks ... (elapsed 0.328 seconds) 
done.
  [ 907.921560] printk: Suspending console(s) (use no_console_suspend to debug)
  [ 907.922127] wlp0s20f3: deauthenticating from 18:d6:c7:61:95:c2 by local 
choice (Reason: 3=DEAUTH_LEAVING)
  [ 908.024438] e1000e: EEE TX LPI TIMER: 0011
  [ 909.916364] PM: pci_pm_suspend(): e1000e_pm_suspend+0x0/0x80 [e1000e] 
returns -2
  [ 909.916367] PM: dpm_run_callback(): pci_pm_suspend+0x0/0x150 returns -2
  [ 909.916369] PM: Device :00:1f.6 failed to suspend async: error -2
  [ 911.183052] PM: Some devices failed to suspend, or early wake event detected
  [ 911.197091] iwlwifi :00:14.3: Applying debug destination EXTERNAL_DRAM
  [ 911.314903] iwlwifi :00:14.3: Applying debug destination EXTERNAL_DRAM
  [ 911.382438] iwlwifi :00:14.3: FW already configured (0) - re-configuring
  [ 911.413624] OOM killer enabled.
  [ 911.413625] Restarting tasks ... done.
  [ 911.462021] PM: suspend exit
  
  It looks like Ethernet driver prevents suspend. Ethernet is not
  connected (I do not have the adaptor).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-03-22 Thread Kai-Heng Feng
** Also affects: linux-oem-osp1 (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: linux (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Also affects: linux-oem-osp1 (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Also affects: linux (Ubuntu Focal)
   Importance: High
 Assignee: Kai-Heng Feng (kaihengfeng)
   Status: Triaged

** Also affects: linux-oem-osp1 (Ubuntu Focal)
   Importance: Undecided
   Status: New

** Also affects: linux (Ubuntu Eoan)
   Importance: Undecided
   Status: New

** Also affects: linux-oem-osp1 (Ubuntu Eoan)
   Importance: Undecided
   Status: New

** Changed in: linux (Ubuntu Bionic)
   Status: New => Won't Fix

** Changed in: linux-oem-osp1 (Ubuntu Eoan)
   Status: New => Won't Fix

** Changed in: linux-oem-osp1 (Ubuntu Focal)
   Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-03-19 Thread roland via ubuntu-bugs
Thank you for going the extra mile in resolving this issue.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-03-19 Thread Kai-Heng Feng
https://lkml.org/lkml/2020/3/19/16

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-03-18 Thread Eugene Crosser
I can confirm that suspend works normally with the kernel from comment #16
Thank you!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-03-18 Thread Kai-Heng Feng
A test kernel can be found here:
https://people.canonical.com/~khfeng/lp1865570/focal/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-03-17 Thread Anthony Wong
** Changed in: linux (Ubuntu)
   Importance: Undecided => High

** Changed in: linux (Ubuntu)
   Status: Incomplete => Triaged

** Changed in: linux (Ubuntu)
 Assignee: (unassigned) => Kai-Heng Feng (kaihengfeng)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-03-15 Thread Eugene Crosser
To check the theory from comment #13, I built kernel from mainline at
tag v5.6-rc5. Out of the box, it behaves the same way as all recent
kernels: suspend works only the first time. I could not revert commit
f15bb6d (there were later changes), instead I commented out the calls to
e1000e_s0ix_entry_flow() and e1000e_s0ix_exit_flow()


diff --git a/drivers/net/ethernet/intel/e1000e/netdev.c 
b/drivers/net/ethernet/intel/e1000e/netdev.c
index db4ea58bac82..53f8ed97d282 100644
--- a/drivers/net/ethernet/intel/e1000e/netdev.c
+++ b/drivers/net/ethernet/intel/e1000e/netdev.c
@@ -6860,8 +6860,8 @@ static int e1000e_pm_suspend(struct device *dev)
e1000e_pm_thaw(dev);
 
/* Introduce S0ix implementation */
-   if (hw->mac.type >= e1000_pch_cnp)
-   e1000e_s0ix_entry_flow(adapter);
+   /*if (hw->mac.type >= e1000_pch_cnp)
+   e1000e_s0ix_entry_flow(adapter);*/
 
return rc;
 }
@@ -6875,8 +6875,8 @@ static int e1000e_pm_resume(struct device *dev)
int rc;
 
/* Introduce S0ix implementation */
-   if (hw->mac.type >= e1000_pch_cnp)
-   e1000e_s0ix_exit_flow(adapter);
+   /* if (hw->mac.type >= e1000_pch_cnp)
+   e1000e_s0ix_exit_flow(adapter);*/
 
rc = __e1000_resume(pdev);
if (rc)


And voila, suspend works normally every time now!
Apparently S0ix implementation is indeed the culprit.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-03-12 Thread Eugene Crosser
JFYI, with the current "proposed" kernel behaviour is the same (problematic):
5.4.0-18-generic suspend works only the first time

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-03-12 Thread AaronMa
May blame to this patch:
https://lists.ubuntu.com/archives/kernel-team/2020-January/106800.html

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-03-12 Thread AaronMa
@crosser,

5.4.0-17 is a Ubuntu kernel version.
5.4.24 is mainline stable kernel version.

If 5.4.24 is good, that means it is a regression of Ubuntu kernel
5.4.0-17 who is from proposed kernel not a official release in updates
channel.

Now Ubuntu kernel 5.4.0-18 has replaced 5.4.0-17 in proposed channel.
You can try it first.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-03-12 Thread Eugene Crosser
> 5.4.0-16/17 are abandoned for issues of s2idle, please ignore it.

I do not understand that.

With the current "official" kernel, the problem still exists:
5.4.0-17-generic suspend works only the first time

The only kernel that works for me is 5.4.24-050424-generic from
https://kernel.ubuntu.com/~kernel-ppa/mainline/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-03-12 Thread AaronMa
5.4.0-16/17 are abandoned for issues of s2idle, please ignore it.

And for e1000e errors, not reproduced on my  X1 Carbon 7.

Please update the kernel.

If you still reproduce this issue, lease test the latest e1000e driver from 
intel:
https://downloadcenter.intel.com/download/15817

Please file a bug in bugzilla.kernel.org too if driver above failed too.

And for mainline kernel suspend hang that is because of it lacks of
audio sof supports.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-03-09 Thread Alex Hung
Some system does not work well with s2idle, but they might work with
regular suspend (s3).

Please try "echo deep | sudo tee /sys/power/mem_sleep" to switch to s3,
and verify whether this is s2idle related or a power management issue
with e1000e driver.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-03-05 Thread Eugene Crosser
@kaihengfeng, unfortunately that does not work.
I could not find time to do git bisect (each kernel build takes a long time), 
but it would not help if I did. I did a "bisect" over the packages in 
https://kernel.ubuntu.com/~kernel-ppa/mainline/. The problem is, between the 
version with working suspend and the version with suspend that only works once, 
there are several version in which suspend instantly hangs the system:

5.4.24-050424-generic   suspend works
5.5.0-050500rc1-generic kernel freeze on the first attempt to suspend
5.5.0-050500rc4-generic kernel freeze on the first attempt to suspend
5.5.0-050500rc5-generic kernel freeze on the first attempt to suspend
5.5.0-050500rc6-generic kernel freeze on the first attempt to suspend
5.5.0-050500rc7-generic suspend works only the first time

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-03-05 Thread Kai-Heng Feng
Would it be possible for you to do a kernel bisection?

First, find the last -rc kernel works and the first -rc kernel doesn’t
work from http://kernel.ubuntu.com/~kernel-ppa/mainline/

Then,
$ sudo apt build-dep linux
$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
$ cd linux
$ git bisect start
$ git bisect good $(the working version you found)
$ git bisect bad $(the non-working version found)
$ make localmodconfig
$ make -j`nproc` deb-pkg
Install the newly built kernel, then reboot with it.
If it still have the same issue,
$ git bisect bad
Otherwise,
$ git bisect good
Repeat to "make -j`nproc` deb-pkg" until you find the offending commit.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-03-04 Thread Eugene Crosser
Could the culprit be enabled "wake on LAN" functionality of e1000e, that
was not enabled in 5.3?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-03-04 Thread Eugene Crosser
5.6.0-050600rc4-generic
Same behaviour:

First time works:
[  122.113542] PM: suspend entry (s2idle)
[  122.118823] Filesystems sync: 0.005 seconds
[  122.120954] Freezing user space processes ... (elapsed 0.002 seconds) done.
[  122.12] OOM killer disabled.
[  122.123334] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) 
done.
[  122.124606] printk: Suspending console(s) (use no_console_suspend to debug)
[  122.125072] wlp0s20f3: deauthenticating from 18:d6:c7:61:95:c2 by local 
choice (Reason: 3=DEAUTH_LEAVING)
[  122.230038] e1000e: EEE TX LPI TIMER: 0011
[  122.345108] ACPI: EC: interrupt blocked
[  138.117673] ACPI: EC: interrupt unblocked
[  140.917449] iwlwifi :00:14.3: Applying debug destination EXTERNAL_DRAM
[  141.031854] iwlwifi :00:14.3: Applying debug destination EXTERNAL_DRAM
[  141.096775] iwlwifi :00:14.3: FW already configured (0) - re-configuring
[  143.796468] e1000e :00:1f.6 enp0s31f6: PHY Wakeup cause - Unicast Packet
[  144.466557] e1000e :00:1f.6 enp0s31f6: Hardware Error
[  145.195597] OOM killer enabled.
[  145.195597] Restarting tasks ... done.
[  145.213016] mei_hdcp :00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: 
bound :00:02.0 (ops i915_hdcp_component_ops [i915])
[  145.239043] PM: suspend exit

Second time fails to suspend:
[  169.696561] PM: suspend entry (s2idle)
[  169.734111] Filesystems sync: 0.037 seconds
[  169.734688] Freezing user space processes ... (elapsed 0.002 seconds) done.
[  169.736790] OOM killer disabled.
[  169.736791] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) 
done.
[  169.738032] printk: Suspending console(s) (use no_console_suspend to debug)
[  169.738318] wlp0s20f3: deauthenticating from 18:d6:c7:61:95:c2 by local 
choice (Reason: 3=DEAUTH_LEAVING)
[  169.839564] e1000e: EEE TX LPI TIMER: 0011
[  171.730682] PM: pci_pm_suspend(): e1000e_pm_suspend+0x0/0x80 [e1000e] 
returns -2
[  171.730685] PM: dpm_run_callback(): pci_pm_suspend+0x0/0x170 returns -2
[  171.730687] PM: Device :00:1f.6 failed to suspend async: error -2
[  172.997917] PM: Some devices failed to suspend, or early wake event detected
[  173.010160] iwlwifi :00:14.3: Applying debug destination EXTERNAL_DRAM
[  173.126554] iwlwifi :00:14.3: Applying debug destination EXTERNAL_DRAM
[  173.193691] iwlwifi :00:14.3: FW already configured (0) - re-configuring
[  173.222986] OOM killer enabled.
[  173.222987] Restarting tasks ... 
[  173.235209] mei_hdcp :00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: 
bound :00:02.0 (ops i915_hdcp_component_ops [i915])
[  173.235267] done.
[  173.266890] PM: suspend exit

Suspend works with eoan's 5.3.0-18-generic (same system, just booted
into the old kernel):

First time successful:
[   66.725822] PM: suspend entry (s2idle)
[   66.731748] Filesystems sync: 0.005 seconds
[   66.732769] Freezing user space processes ... (elapsed 0.002 seconds) done.
[   66.735102] OOM killer disabled.
[   66.735103] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) 
done.
[   66.736358] printk: Suspending console(s) (use no_console_suspend to debug)
[   66.737562] wlp0s20f3: deauthenticating from 18:d6:c7:61:95:c2 by local 
choice (Reason: 3=DEAUTH_LEAVING)
[   66.842558] pcieport :06:04.0: pciehp: pcie_do_write_cmd: no response 
from device
[   66.842582] pcieport :06:01.0: pciehp: pcie_do_write_cmd: no response 
from device
[   66.843126] e1000e: EEE TX LPI TIMER: 0011
[   81.464128] iwlwifi :00:14.3: Applying debug destination EXTERNAL_DRAM
[   81.582688] iwlwifi :00:14.3: Applying debug destination EXTERNAL_DRAM
[   81.650014] iwlwifi :00:14.3: FW already configured (0) - re-configuring
[   82.278399] OOM killer enabled.
[   82.278399] Restarting tasks ... done.
[   82.329029] PM: suspend exit

Second time successful too:
[  110.896082] PM: suspend entry (s2idle)
[  110.903315] Filesystems sync: 0.007 seconds
[  110.904398] Freezing user space processes ... (elapsed 0.002 seconds) done.
[  110.906958] OOM killer disabled.
[  110.906958] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) 
done.
[  110.908232] printk: Suspending console(s) (use no_console_suspend to debug)
[  110.909122] wlp0s20f3: deauthenticating from 18:d6:c7:61:95:c2 by local 
choice (Reason: 3=DEAUTH_LEAVING)
[  111.010349] pcieport :06:04.0: pciehp: pcie_do_write_cmd: no response 
from device
[  111.010410] pcieport :06:01.0: pciehp: pcie_do_write_cmd: no response 
from device
[  111.010499] e1000e: EEE TX LPI TIMER: 0011
[  137.062899] iwlwifi :00:14.3: Applying debug destination EXTERNAL_DRAM
[  137.180784] iwlwifi :00:14.3: Applying debug destination EXTERNAL_DRAM
[  137.248212] iwlwifi :00:14.3: FW already configured (0) - re-configuring
[  137.880444] OOM killer enabled.
[  137.880444] Restarting tasks ... done.
[  137.927342] PM: suspend exit

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is 

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-03-04 Thread Kai-Heng Feng
Please test latest mainline kernel:
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.6-rc4/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-03-02 Thread Hui Wang
Looks like it is an issue on the e1000e driver

[ 909.916364] PM: pci_pm_suspend(): e1000e_pm_suspend+0x0/0x80 [e1000e] returns 
-2
[ 909.916367] PM: dpm_run_callback(): pci_pm_suspend+0x0/0x150 returns -2
[ 909.916369] PM: Device :00:1f.6 failed to suspend async: error -2
[ 911.183052] PM: Some devices failed to suspend, or early wake event detected

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-03-02 Thread Seth Forshee
** Package changed: linux-5.4 (Ubuntu) => linux (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1865570] Re: suspend only works once on ThinkPad X1 Carbon gen 7

2020-03-02 Thread Eugene Crosser
** Summary changed:

- suspend only works once on ThnkPad X1 Carbon gen 7
+ suspend only works once on ThinkPad X1 Carbon gen 7

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865570

Title:
  suspend only works once on ThinkPad X1 Carbon gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-5.4/+bug/1865570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs