Hi Kai-Heng Feng, I presume you want me to try the 9 rc's in the `4.15` kernel chain? I assume the 8 to 9 rc's in `4.13`, 4.14`, `4.16`, `4.17`, `4.18` and `4.19` rc's don't have to be installed?
Also would it make sense to try the LTS kernel `4.14.78` first and see if it's already been fixed? Then crawl backwards through that chain to see when it was last broken? Another reason is `4.14` LTS kernels I would actually keep around where as the `rc` kernels I have to delete. Also `apt remove` has been broken for some kernels with bad symbolic links requiring editing the bash script `postinst` (or something like that) to force removal of unwanted kernels. Thank you for showing interest in this closed bug report. On Wed, Oct 17, 2018 at 10:00 PM Kai-Heng Feng <kai.heng.f...@canonical.com> wrote: > Would it be possible for you to do a kernel bisection? > > First, find the last good -rc kernel and the first bad -rc kernel 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 good version you found) > $ git bisect bad $(the bad version found) > $ make localmodconfig > $ make -j`nproc` deb-pkg > Install the newly built kernel, then reboot with it. > If the issue still happens, > $ git bisect bad > Otherwise, > $ git bisect good > Repeat to "make -j`nproc` deb-pkg" until you find the commit that causes > the regression. > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1774994 > > Title: > Laptop wakes up immediately after suspend or hibernation > > Status in linux package in Ubuntu: > Expired > > Bug description: > After going into suspend (via command line or lid close), the MacBook > Pro (early 2015) wakes up immediately again. Same for hibernation. > Running Ubuntu 18.04. > > extract from dmesg for a lid-close -> suspend -> wake-up -> lid-open > cycle: > > [ 0.000000] Linux version 4.15.0-22-generic (buildd@lgw01-amd64-013) > (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #24-Ubuntu SMP Wed May 16 > 12:15:17 UTC 2018 (Ubuntu 4.15.0-22.24-generic 4.15.17) > [ ... ] > [ 778.968982] brcmfmac: brcmf_inetaddr_changed: fail to get arp ip > table err:-23 > [ 783.011399] PM: suspend entry (deep) > [ 783.011400] PM: Syncing filesystems ... done. > [ 783.028538] Freezing user space processes ... (elapsed 0.002 seconds) > done. > [ 783.030844] OOM killer disabled. > [ 783.030844] Freezing remaining freezable tasks ... (elapsed 0.001 > seconds) done. > [ 783.032193] Suspending console(s) (use no_console_suspend to debug) > [ 783.049960] sd 1:0:0:0: [sda] Synchronizing SCSI cache > [ 783.054107] sd 1:0:0:0: [sda] Stopping disk > [ 783.146124] thunderbolt 0000:07:00.0: suspending... > [ 783.146685] thunderbolt 0000:07:00.0: suspend finished > [ 783.146689] thunderbolt 0000:07:00.0: stopping RX ring 0 > [ 783.146698] thunderbolt 0000:07:00.0: disabling interrupt at register > 0x38200 bit 12 (0x1001 -> 0x1) > [ 783.146710] thunderbolt 0000:07:00.0: stopping TX ring 0 > [ 783.146718] thunderbolt 0000:07:00.0: disabling interrupt at register > 0x38200 bit 0 (0x1 -> 0x0) > [ 783.146725] thunderbolt 0000:07:00.0: control channel stopped > [ 783.246464] ACPI: Preparing to enter system sleep state S3 > [ 783.418015] ACPI: EC: event blocked > [ 783.418016] ACPI: EC: EC stopped > [ 783.418018] PM: Saving platform NVS memory > [ 783.418027] Disabling non-boot CPUs ... > [ 783.434574] IRQ 65: no longer affine to CPU1 > [ 783.435629] smpboot: CPU 1 is now offline > [ 783.454574] IRQ 66: no longer affine to CPU2 > [ 783.456378] smpboot: CPU 2 is now offline > [ 783.478405] IRQ 21: no longer affine to CPU3 > [ 783.478414] IRQ 43: no longer affine to CPU3 > [ 783.478435] IRQ 71: no longer affine to CPU3 > [ 783.479449] smpboot: CPU 3 is now offline > [ 783.481656] ACPI: Low-level resume complete > [ 783.481733] ACPI: EC: EC started > [ 783.481734] PM: Restoring platform NVS memory > [ 783.482160] Enabling non-boot CPUs ... > [ 783.482240] x86: Booting SMP configuration: > [ 783.482241] smpboot: Booting Node 0 Processor 1 APIC 0x2 > [ 783.558589] cache: parent cpu1 should not be sleeping > [ 783.687159] CPU1 is up > [ 783.687212] smpboot: Booting Node 0 Processor 2 APIC 0x1 > [ 783.687812] cache: parent cpu2 should not be sleeping > [ 783.688001] CPU2 is up > [ 783.688028] smpboot: Booting Node 0 Processor 3 APIC 0x3 > [ 783.783709] cache: parent cpu3 should not be sleeping > [ 783.978233] CPU3 is up > [ 783.982020] ACPI: Waking up from system sleep state S3 > [ 784.093246] pcieport 0000:06:03.0: quirk: waiting for thunderbolt to > reestablish PCI tunnels... > [ 784.093249] pcieport 0000:06:04.0: quirk: waiting for thunderbolt to > reestablish PCI tunnels... > [ 784.093362] pcieport 0000:06:06.0: quirk: waiting for thunderbolt to > reestablish PCI tunnels... > [ 784.093475] pcieport 0000:06:05.0: quirk: waiting for thunderbolt to > reestablish PCI tunnels... > [ 784.112655] thunderbolt 0000:07:00.0: control channel starting... > [ 784.112660] thunderbolt 0000:07:00.0: starting TX ring 0 > [ 784.112673] thunderbolt 0000:07:00.0: enabling interrupt at register > 0x38200 bit 0 (0x0 -> 0x1) > [ 784.112677] thunderbolt 0000:07:00.0: starting RX ring 0 > [ 784.112689] thunderbolt 0000:07:00.0: enabling interrupt at register > 0x38200 bit 12 (0x1 -> 0x1001) > [ 784.112696] thunderbolt 0000:07:00.0: resuming... > [ 784.112699] thunderbolt 0000:07:00.0: resetting switch at 0 > [ 784.113249] thunderbolt 0000:07:00.0: 0: resuming switch > [ 784.144609] thunderbolt 0000:07:00.0: resume finished > [ 784.213878] thunderbolt 0000:07:00.0: resetting error on 0:b. > [ 784.213897] thunderbolt 0000:07:00.0: 0:b: hotplug: scanning > [ 784.213901] thunderbolt 0000:07:00.0: 0:b: hotplug: no switch found > [ 784.213984] thunderbolt 0000:07:00.0: resetting error on 0:c. > [ 784.213995] thunderbolt 0000:07:00.0: 0:c: hotplug: scanning > [ 784.213999] thunderbolt 0000:07:00.0: 0:c: hotplug: no switch found > [ 785.225640] ACPI: EC: event unblocked > [ 785.226264] brcmfmac: brcmf_fil_cmd_data: bus is down. we have > nothing to do. > [ 785.226273] ACPI: button: The lid device is not compliant to SW_LID. > [ 785.226276] brcmfmac: brcmf_fil_cmd_data: bus is down. we have > nothing to do. > [ 785.227145] brcmfmac: brcmf_fil_cmd_data: bus is down. we have > nothing to do. > [ 785.227149] brcmfmac: brcmf_cfg80211_get_channel: chanspec failed (-5) > [ 785.236199] sd 1:0:0:0: [sda] Starting disk > [ 785.408582] brcmfmac: brcmf_fw_map_chip_to_name: using > brcm/brcmfmac43602-pcie.bin for chip 0x00aa52(43602) rev 0x000001 > [ 785.408703] brcmfmac 0000:03:00.0: Direct firmware load for > brcm/brcmfmac43602-pcie.txt failed with error -2 > [ 785.409666] OOM killer enabled. > [ 785.409669] Restarting tasks ... done. > [ 785.512763] PM: suspend exit > [ 785.551234] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300) > [ 785.551556] ata1.00: unexpected _GTF length (8) > [ 785.551932] ata1.00: unexpected _GTF length (8) > [ 785.552117] ata1.00: configured for UDMA/133 > [ 785.920424] brcmfmac 0000:03:00.0: Direct firmware load for > brcm/brcmfmac43602-pcie.clm_blob failed with error -2 > [ 785.920432] brcmfmac: brcmf_c_process_clm_blob: no clm_blob > available(err=-2), device may have limited channels available > [ 785.921076] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: > Nov 10 2015 06:38:10 version 7.35.177.61 (r598657) FWID 01-ea662a8c > [ 785.981088] brcmfmac 0000:03:00.0 wlp3s0: renamed from wlan0 > [ 786.015451] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready > [ 786.058114] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready > [ 786.164061] xhci_hcd 0000:00:14.0: Cannot set link state. > [ 786.164066] usb usb2-port3: cannot disable (err = -32) > [ 786.166116] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready > [ 787.756169] xhci_hcd 0000:00:14.0: Cannot set link state. > [ 787.756181] usb usb2-port3: cannot disable (err = -32) > [ 787.756262] xhci_hcd 0000:00:14.0: Cannot set link state. > [ 787.756270] usb usb2-port3: cannot disable (err = -32) > [ 791.512920] IPv6: ADDRCONF(NETDEV_CHANGE): wlp3s0: link becomes ready > [ 791.574858] brcmfmac: brcmf_inetaddr_changed: fail to get arp ip > table err:-23 > > ProblemType: Bug > DistroRelease: Ubuntu 18.04 > Package: linux-image-4.15.0-22-generic 4.15.0-22.24 > ProcVersionSignature: Ubuntu 4.15.0-22.24-generic 4.15.17 > Uname: Linux 4.15.0-22-generic x86_64 > ApportVersion: 2.20.9-0ubuntu7.1 > Architecture: amd64 > CurrentDesktop: ubuntu:GNOME > Date: Mon Jun 4 15:04:08 2018 > InstallationDate: Installed on 2018-06-01 (2 days ago) > InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 > (20180426) > SourcePackage: linux-signed > UpgradeStatus: No upgrade log present (probably fresh install) > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1774994/+subscriptions > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1774994 Title: Laptop wakes up immediately after suspend or hibernation To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1774994/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs