[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2019-07-24 Thread Brad Figg
** Tags added: ubuntu-certified ** Tags added: cscc -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1708043 Title: Lenovo X1 Carbon Gen5 fails to resume Status in linux package in

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2019-01-26 Thread Fup
My laptop (X1, 5th generation, model 20K4001XUS) sometimes would freeze when suspending (but not regularly or reproduceably). Enabling wake-on-lan in the BIOS fixed this issue. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2018-10-11 Thread John Carter
You can try by updating or installing a newer window to solve this issue. Anyone is Lenovo user of Lenovo mobile, laptop. Desktop or other Lenovo products having an issue with their Lenovo product follow Lenovo Support visit https://www.lenovosupportphonenumber.com/ for solving and fix all kind of

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2018-10-03 Thread Joseph Salisbury
** Changed in: linux (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1708043 Title: Lenovo X1 Carbon Gen5 fails to resume Status in

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2018-08-27 Thread Michael Penkov
I'm on an X1 Carbon 6th Gen. Suspend has been working flawlessly when on mains power. On battery power however, it fails from time to time. The work-around of enabling Wake-on-LAN worked for me. I noticed that it was set to "External power only" (sorry, can't remember the exact wording in the

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2018-06-11 Thread Schemen
Hi! I use a Lenovo X1 Carbon 5th Gen. I also have the described suspend behavior. I was able to "solve" the problem by installing a Mainline Kernel (v4.17 RC7 -> http://kernel.ubuntu.com/~kernel- ppa/mainline/v4.17-rc7/). With that, suspend and resume works as intended again. My BIOS should also

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2018-06-04 Thread Ron Ellis
I'm on the X1 Carbon 6th gen config Peter Bittner describes. I'm seeing the same behavior. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1708043 Title: Lenovo X1 Carbon Gen5 fails to

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2018-04-11 Thread Peter Bittner
I have an X1 Carbon 6th Generation (Core i7 8th Gen, 16 GB RAM, 512 GB SSD) and it behaves like described in the first comments above. Specifically, when I close the notebook it somewhat goes in standby (or not really, I'm not sure), the red dot blinks but underneath the notebook gets hot within

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2018-03-31 Thread AaronMa
Hi NJ: X1C6 doesn't support S3, so it should not be related to this bug. Could you describe what issue you have met? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1708043 Title:

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2018-03-31 Thread NJ
Can anyone confirm please that Lenovo has actually fixed the problem? I have an X1 Carbon 6th Generation, with the newest BIOS, and I fear it is affected by the bug. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-14 Thread AaronMa
Lenovo's Final solution: // It may be a common issue of Kabylake ThinkPads. So you may reproduce it by using other platforms, for example T470s. Our EC team plans to fix it by end of this month, but the new ECFW web release will need more weeks to do QA. // For now we can close this issue by

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-14 Thread Dean Henrichsmeyer
I can confirm that enabling Wake on LAN lets suspend/resume work just fine with TB3 enabled. Thanks for all the diligence guys, exceptional. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-14 Thread AaronMa
I agree this is not a driver issue. After I change many BIOS setting and restore BIOS to default. Finally I reproduce the X1 Carbon 5th with PCIID 1577/1678/15d6. Actually I don't know how exactly reproduce this issue, only 2 times reproduced. When the failure happened the PCIID 1577/1578/15d6

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-14 Thread AaronMa
lspci result when failure. I reproduced this issue when disabled Wake on LAN. So I suggest user to enable Wake on LAN as a workaround. ** Attachment added: "x1carbon5th-1577-lspci.log"

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-14 Thread Mika Westerberg
This definitely sounds like a platform/configuration issue rather than a driver bug. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1708043 Title: Lenovo X1 Carbon Gen5 fails to resume

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-13 Thread AaronMa
Got feedback from Lenovo: We received positive feedback from our firmware team about this issue, can you ask the user to try it? // We've seen a similar issue. This issue happened when BIOS setup Wake on LAN is disabled. We will release new ECFW to solve this issue, but you may avoid this

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-13 Thread AaronMa
I did change all the setting in security level when I uploaded in comment #28. It didn't make any differences on tbt or suspend. Anyway I upload dmesg again. The only failure in log is: [ 192.140684] PM: Finishing wakeup. [ 192.141012] pci_bus :07: Allocating resources [ 192.141063]

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-13 Thread Mika Westerberg
All of them are expected to work. Usually the default is "User authorization". -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1708043 Title: Lenovo X1 Carbon Gen5 fails to resume

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-12 Thread Dean Henrichsmeyer
Also, if there is a recommended security level for it with Linux, I'm happy to use that. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1708043 Title: Lenovo X1 Carbon Gen5 fails to

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-12 Thread Mika Westerberg
Thanks for the information. I'll go through them. Aaron, can you try to switch security level of your machine to the same: Security Level - Display Port and USB and see if the problem reproduces? -- You received this bug notification because you are a member of Kernel Packages, which is

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-11 Thread Dean Henrichsmeyer
Sleep / resume still doesn't work with TB3 enabled on 4.13.0-rc4-icmtest. I have nothing plugged into the laptop whatsoever, including power. I boot it unplugged, let it finish booting, close the lid. It suspends. When I open the lid, the power LED blinks a few times, stays on, but the screen

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-11 Thread Dean Henrichsmeyer
** Attachment added: "acpidump after boot of 4.13.0-rc4-icmtest" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1708043/+attachment/4930868/+files/acpidump-2017-08-11.txt -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-11 Thread Dean Henrichsmeyer
** Attachment added: "dmesg after boot of 4.13.0-rc4-icmtest" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1708043/+attachment/4930867/+files/dmesg-2017-08-11.txt -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-10 Thread AaronMa
Quoted from Lenovo: Yoda-1.0 (X1 Carbon 5th) only have Alpine Ridge AR-DP B1 (Device ID = 0x15D3) model. Lenovo Thunderbolt Dock also uses it. 0x1578 is previous Alpine Ridge chipset (2015), P70 (Payton) only has it. Or other vendor dock may have it (Ex: HP Elite Thunderbolt 3 65W Dock etc.).

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-09 Thread Mika Westerberg
Thanks Aaron. So as expected the Thunderbolt controller is not there. Only xHCI when USB-C device is connected. Dean, is there something special you have connected to the machine? Aaron, who has exactly the same machine and BIOS, can't reproduce the issue you have reported. -- You received this

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-09 Thread AaronMa
System suspend OK after plugin usb-c device on 4.13-rc3 kernel. Please check the log. ** Attachment added: "x1carbon5th-tbt.tar.gz" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1708043/+attachment/4929263/+files/x1carbon5th-tbt.tar.gz -- You received this bug notification because

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-08 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1708043 Title: Lenovo X1 Carbon Gen5 fails to resume Status in linux package in Ubuntu: Confirmed Bug

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-08 Thread Mika Westerberg
Did you do any settings in BIOS related to Thunderbolt? Sometimes there is an option called "Force power" which basically turns power on the controller always. In normal cases that option should be disabled. Also can you attach acpidump (along with the other things I requeted) of the system to

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-07 Thread Dean Henrichsmeyer
~mika-westerberg, no, I don't have anything plugged into any of the thunderbolt (USB-C) ports. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1708043 Title: Lenovo X1 Carbon Gen5 fails

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-07 Thread Kai-Heng Feng
Kernel with patch in comment #24: http://people.canonical.com/~khfeng/linux- image-4.13.0-rc4-icmtest_4.13.0-rc4-icmtest-1_amd64.deb -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1708043

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-07 Thread Mika Westerberg
Can you also try the attached patch? It should apply on top of v4.13-rcX. I'm guessing ICM is not running on the Lenovo system so we should start it but skip all the link reset things. Please post dmesg of this test as well. ** Patch added: "Start ICM if it is not started"

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-07 Thread Mika Westerberg
Also can you attach full dmesg when you boot the system using v4.13-rcX kernel? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1708043 Title: Lenovo X1 Carbon Gen5 fails to resume

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-07 Thread Mika Westerberg
Dean, just that I understand this correctly. Do you have anything connected to the Thunderbolt port? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1708043 Title: Lenovo X1 Carbon Gen5

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-05 Thread Kai-Heng Feng
At least the null dereference issue is solved, I'll send a patch for that. Regarding to the probe issue, please test this kernel and attach dmesg: http://people.canonical.com/~khfeng/linux-image-4.13.0-rc3-tbdbg_4.13.0-rc3-tbdbg-1_amd64.deb -- You received this bug notification because you are

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-04 Thread AaronMa
Hi Here is laptop (Thinkpad X1 Carbon 5th) from sutton project. BIOS Version: N1MET29W (1.14 ) Product Name: 20HQZ2YJUS It doesn't have Alpine Ridge PCI device, please check the log. For now this bug can not be reproduced on this laptop. This is the latest BIOS from Lenovo. I did search Lenovo

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-04 Thread Dean Henrichsmeyer
Suspect/resume doesn't work with it either. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1708043 Title: Lenovo X1 Carbon Gen5 fails to resume Status in linux package in Ubuntu:

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-04 Thread Dean Henrichsmeyer
Booting that kernel I still get: [ 34.464020] thunderbolt :08:00.0: could not start ICM firmware [ 34.464024] thunderbolt :08:00.0: stopping RX ring 0 [ 34.464034] thunderbolt :08:00.0: disabling interrupt at register 0x38200 bit 12 (0x1001 -> 0x1) [ 34.464045] thunderbolt

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-03 Thread Kai-Heng Feng
Okay, please try this one: http://people.canonical.com/~khfeng/lp1708043-1/ -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1708043 Title: Lenovo X1 Carbon Gen5 fails to resume Status

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-03 Thread Kai-Heng Feng
That means your machine also needs to run icm_firmware_init(). I'll build a new kernel. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1708043 Title: Lenovo X1 Carbon Gen5 fails to

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-03 Thread Dean Henrichsmeyer
While 4.11 doesn't throw the same error that 4.13rc3 did, it still will not sleep/resume if I have TB3 enabled in the BIOS. Booting the kernel you provided I don't get the same dump. The only thing I see is: [ 62.429495] thunderbolt: probe of :08:00.0 failed with error -5 I'll comment

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-03 Thread Dean Henrichsmeyer
I can confirm the kernel at http://people.canonical.com/~khfeng/lp1708043/ does not sleep/resume successfully with TB3 enabled either. Another symptom of both 4.11 and 4.13 with TB3 enabled: When I close the lid, the red light blinks several times before appearing to enter suspend. When I open

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-03 Thread Kai-Heng Feng
Try this kernel with TB3 enabled: http://people.canonical.com/~khfeng/lp1708043/ -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1708043 Title: Lenovo X1 Carbon Gen5 fails to resume

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-03 Thread Kai-Heng Feng
The code path with the issue does not exist for 4.11. I think you can safely enable TB3 under 4.11 kernel. IIUC, icm_firmware_init() should not be called on non-Apple hardware. I'll build a kernel and let you try. -- You received this bug notification because you are a member of Kernel

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-02 Thread Dean Henrichsmeyer
So the problem turned out to be thunderbolt 3. I noticed issues in the kernel log (one example below). I disabled thunderbolt3 in the BIOS and suspend/resume works fine even with the standard artful kernel (currently 4.11). Aug 2 09:40:56 valor kernel: [ 30.815914] thunderbolt :08:00.0:

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-02 Thread Kai-Heng Feng
Hmm, 4.11.0-10.15 is already the latest one on Artful, and it doesn't have the issue per comment #6. So which kernel has the suspend/resume issue? Is it the mainline linux (Linux 4.13.0-041300rc3-generic) you installed? -- You received this bug notification because you are a member of Kernel

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-02 Thread Dean Henrichsmeyer
I tried the mainline kernel and got similar behavior. The only thing different with the 3.13 kernel is that when I closed the lid, the red dot never went dim and started blinking. It stayed red. After waiting a bit and opening the lid, it failed to resume, the screen did not turn on, and the

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-02 Thread Dean Henrichsmeyer
apport information ** Tags added: apport-collected ** Description changed: Last week it worked fine, this week however if I open the lid for it to resume the power light flashes for a bit, then comes on solid, the but screen stays blank and the machine is unresponsive. I have to power it

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-02 Thread Dean Henrichsmeyer
The kernel on the image that I installed was linux-image-4.11.0-10-generic 4.11.0-10.15 and it worked fine. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1708043 Title: Lenovo X1

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-02 Thread Kai-Heng Feng
** Changed in: linux (Ubuntu) Assignee: (unassigned) => Kai-Heng Feng (kaihengfeng) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1708043 Title: Lenovo X1 Carbon Gen5 fails to

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-02 Thread Kai-Heng Feng
BTW, when it "worked fine", did it boot with Linux 4.10 instead of 4.11? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1708043 Title: Lenovo X1 Carbon Gen5 fails to resume Status in

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-01 Thread Kai-Heng Feng
** Changed in: linux (Ubuntu) Assignee: Kai-Heng Feng (kaihengfeng) => (unassigned) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1708043 Title: Lenovo X1 Carbon Gen5 fails to

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-01 Thread Dean Henrichsmeyer
Adding the results of "nvme get-feature -f 0x0c -H /dev/nvme0". ** Attachment added: "nvme_info.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1708043/+attachment/4925556/+files/nvme_info.txt -- You received this bug notification because you are a member of Kernel Packages, which

[Kernel-packages] [Bug 1708043] Re: Lenovo X1 Carbon Gen5 fails to resume

2017-08-01 Thread Dean Henrichsmeyer
As an update, I tried setting nvme_core.default_ps_max_latency_us=0 to disable APST and that didn't help. I don't think it's related to that. ** Changed in: linux (Ubuntu) Assignee: (unassigned) => Kai-Heng Feng (kaihengfeng) -- You received this bug notification because you are a member