Very slow boot with kernel 5.4.0-37-generic

Bug #1884910 reported by Ian on 2020-06-24
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Undecided
Unassigned

Bug Description

Booting on Lubuntu 20.04LTS is very slow when using kernel 5.4.0-37-generic, but OK with 5.4.0-33-generic.Delay seems to be due to this or similar error messages which are repeated many times before timing out.

[ 62.776599] snd_hda_intel 0000:00:0e.0: No response from codec, disabling MSI: last cmd=0x20bf8100
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27.3
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ianb 2420 F.... pulseaudio
CasperMD5CheckResult: skip
CurrentDesktop: LXQt
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2019-12-06 (200 days ago)
InstallationMedia: Lubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017.1)
MachineType: Chillblast WAP PRO
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-37-generic root=UUID=cae501ec-3727-4d42-8fbb-d21cdb1dd5a5 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 5.4.0-37.41-generic 5.4.41
RelatedPackageVersions:
 linux-restricted-modules-5.4.0-37-generic N/A
 linux-backports-modules-5.4.0-37-generic N/A
 linux-firmware 1.187
Tags: focal
Uname: Linux 5.4.0-37-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sudo
_MarkForUpload: True
dmi.bios.date: 08/15/2019
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: GB3V35
dmi.board.asset.tag: Default string
dmi.board.name: GB3
dmi.board.vendor: IP3 Tech
dmi.board.version: Default string
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 35
dmi.chassis.vendor: IP3
dmi.chassis.version: Default string
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrGB3V35:bd08/15/2019:svnChillblast:pnWAPPRO:pvrDefaultstring:rvnIP3Tech:rnGB3:rvrDefaultstring:cvnIP3:ct35:cvrDefaultstring:
dmi.product.family: Mini PC
dmi.product.name: WAP PRO
dmi.product.sku: CBFUSWAPPRO
dmi.product.version: Default string
dmi.sys.vendor: Chillblast

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1884910

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: focal

apport information

tags: added: apport-collected
description: updated
Ian (ian-brooks4073) wrote : CRDA.txt

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

Ian (ian-brooks4073) wrote :

Have now updated to 5.4.0-39-generic by Software Update and am experiencing same problem.

Ian (ian-brooks4073) wrote :

Have now updated to 5.4.0-40-generic by Software Update and am experiencing same problem.

  • dmesg5451 Edit (86.8 KiB, text/plain; charset=UTF-8; name="dmesg5451")

I installed the following deb packages for kernel 5.4.51

https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.4.51/amd64/linux-headers-5.4.51-050451_5.4.51-050451.202007090834_all.deb

https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.4.51/amd64/linux-image-unsigned-5.4.51-050451-generic_5.4.51-050451.202007090834_amd64.deb

https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.4.51/amd64/linux-modules-5.4.51-050451-generic_5.4.51-050451.202007090834_amd64.deb

I was unable to install
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.4.51/amd64/linux-headers-5.4.51-050451-generic_5.4.51-050451.202007090834_amd64.deb
which appeared to match the naming convention of the older kernel files,
as its dependencies were not satisfied.

I selected kernel 5.4.51 using the grub bootloader, but the boot process
was still very slow due to the multiple error messages from the sound
system.

I have attached the dmesg file obtained during boot-up.

On 16/07/2020 06:54, Kai-Heng Feng wrote:
> Please test stable kernel here:
> https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.4.51/
>

Kai-Heng Feng (kaihengfeng) wrote :

Ok. Now please test latest mainline kernel:
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.8-rc5/

Ian (ian-brooks4073) wrote :
  • dmesg58rc5 Edit (86.3 KiB, text/plain; charset=UTF-8; name="dmesg58rc5")
Kai-Heng Feng (kaihengfeng) wrote :

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.

Ian (ian-brooks4073) wrote :
  • dmesg54rc8 Edit (71.4 KiB, text/plain; charset=UTF-8; name="dmesg54rc8")
  • dmesg5428 Edit (71.0 KiB, text/plain; charset=UTF-8; name="dmesg5428")
  • dmesg5441 Edit (86.1 KiB, text/plain; charset=UTF-8; name="dmesg5441")

I have rebooted using the rc6, rc7 and rc8 versions of kernel 5.4. All
three booted OK, although I noticed an error message "intramfs unpacking
failed, decoding failed" when using rc7. I also tried kernels 5.4.28 and
5.4.41:  5.4.41 booted slowly, with the error messages from the sound
system. 5.4.28 booted OK, although it produced the same intramfs error
message as rc7.

On 17/07/2020 06:10, Kai-Heng Feng wrote:
> 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.
>

Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers