I am not terribly familiar with the git and make commands so I want to
give a full account of my process in case I did something wrong.

First, I can confirm that 5.12-rc8 is the last kernel that doesn't work
for me and 5.13-rc2 is the first one that does.

I am skipping over 5.13-rc1 because I don't believe I can install it on my 
machine. It doesn't seem to be compatible with my Nvidia drivers as per this 
error: 
ERROR (dkms apport): kernel package linux-headers-5.13.0-051300rc1-generic is 
not supported
Error! Bad return status for module build on kernel: 5.13.0-051300rc1-generic 
(x86_64)
Consult /var/lib/dkms/nvidia/460.73.01/build/make.log for more information.

Maybe I am just unwilling to mess with drivers enough to make it work,
though.

As for the bisect, I ran 'apt build-dep linux' (after checking 'Source
Code' in Software and Updates so I could actually find the right
packages) and cloned the git repository.

Using 5.12-rc8 as the last non-working kernel and 5.13-rc2 as the first working 
kernel, I ran:
cd linux
git bisect start
git bisect good v5.13-rc2
git bisect bad v5.12-rc8

This simply returned:
Bisecting: a merge base must be tested
[bf05bf16c76bb44ab5156223e1e58e26dfe30a88] Linux 5.12-rc8

which I didn't find particularly helpful. I had to use 'good' and 'bad'
instead of 'new' and 'old' because the latter returned '[a string of
numbers] is both old and new', which seemed wrong.

To build the new kernel, I ran:
make olddefconfig
make localmodconfig 
make -j`nproc` deb-pkg

This gave several warnings, but seemed to run OK. I can attached a file
with the outputs if you want.

It looks like it just built 5.12-rc8, although maybe the file name is
misleading.

I assume to install this kernel I should install the four .deb that make made:
linux-headers-5.12.0-rc8_5.12.0-rc8-1_amd64.deb
linux-image-5.12.0-rc8_5.12.0-rc8-1_amd64.deb
linux-image-5.12.0-rc8-dbg_5.12.0-rc8-1_amd64.deb
linux-libc-dev_5.12.0-rc8-1_amd64.deb

I will do that when I have some time to test the new kernel unless I
hear from you first. Hopefully, I did everything right.

-- 
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/1925843

Title:
  Linux 5.8.0-49+ fails to resume from suspend

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Expected Result: System resumes from suspend and displays the log in
  screen to unlock the computer.

  Actual Result: System displays a black screen with a flashing cursor
  in the upper left and cannot be interacted with. Hard reboot is
  required to get back to a working system.

  Additional information:

  When I boot my computer with 5.8.0-48, the system resumes from suspend
  as expected. Both 5.8.0-49 and 5.8.0-50 fail to resume from suspend.

  This problem began after I updated from 20.04 to 20.10 using the
  Software Updater on 4-19-21. I was using the latest kernel available
  for 20.04 at that time (5.8.0-48, I think) before updating.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.10
  Package: linux-image-5.8.0-50-generic 5.8.0-50.56
  ProcVersionSignature: Ubuntu 5.8.0-50.56-generic 5.8.18
  Uname: Linux 5.8.0-50-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu50.5
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  steven     1268 F.... pulseaudio
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Apr 23 12:54:52 2021
  InstallationDate: Installed on 2020-09-01 (234 days ago)
  InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 8087:0a2a Intel Corp. Bluetooth wireless interface
   Bus 001 Device 002: ID 0bda:58eb Realtek Semiconductor Corp. HP Wide Vision 
HD Camera
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: HP OMEN by HP Laptop 15-ce0xx
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.8.0-50-generic 
root=UUID=208c1c0d-3e9e-43da-ba24-0d1cd92b5ad0 ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-5.8.0-50-generic N/A
   linux-backports-modules-5.8.0-50-generic  N/A
   linux-firmware                            1.190.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 10/30/2020
  dmi.bios.release: 15.23
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: F.23
  dmi.board.asset.tag: Base Board Asset Tag
  dmi.board.name: 838F
  dmi.board.vendor: HP
  dmi.board.version: 40.28
  dmi.chassis.type: 10
  dmi.chassis.vendor: HP
  dmi.chassis.version: Chassis Version
  dmi.ec.firmware.release: 40.28
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrF.23:bd10/30/2020:br15.23:efr40.28:svnHP:pnOMENbyHPLaptop15-ce0xx:pvr:rvnHP:rn838F:rvr40.28:cvnHP:ct10:cvrChassisVersion:
  dmi.product.family: 103C_5335KV HP OMEN
  dmi.product.name: OMEN by HP Laptop 15-ce0xx
  dmi.product.sku: 1KV78UA#ABA
  dmi.sys.vendor: HP

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to