Score:0

Ubuntu 22.10 is unbootable after kernel update

sn flag

Ubuntu 22.10 doesn't boot anymore. Upon boot I get the following messages:

[   1.829574] usb 1-3.4: device descriptor read/64, error -32
/dev/sda6: clean, 271463/9601024 files, 15565532/38384128 blocks
[   6.441227] nvidia-gpu 0000:01:00.3: i2c timeout error e0000000
[   6.442378] ucsi_ccg 0-0008: i2c_transfer failed -110
[   6.443371] ucsi_ccg 0-0008: ucsi_ccg_init failed - -110
[ 256.957586] snd_hda_intel 0000:00:1b.0: Too many BDL entries: buffer=4194300, period=135300
[ 319.513256] snd_hda_intel 0000:00:1b.0: Too many BDL entries: buffer=4194300, period=135300

The screen occasionally blinks with more messages but it's too fast to read, and comes back to these messages with an additional snd_hda_intel "Too many BDL entries" error.

The kernel must have been updated from 5.19.0-31 to 5.19.0-35 because I have these two entries in GRUB's advanced options.

The system boots normally with the older kernel version.

I had the same problem previously after a kernel update and I had to reinstall the OS. Let's hope this won't be necessary this time.

Sorry, the question is very vague. please tell me if there is any way I can gather more info.

Hi-Angel avatar
es flag
So, from what I understand, your kernel got updated to `5.19.0-35` and it won't boot unless in recovery mode. But there's also an entry for an older `5.19.0-31` kernel — does this one boot normally?
Cutter avatar
sn flag
Yes 5.19.0-31 boots without a problem.
Hi-Angel avatar
es flag
I see. So, in this case your further actions depend on what you want. You can remove the newer package *(I think that'd be `sudo apt purge linux-image-5.19.0-35-generic`, check that it doesn't remove any other kernel version)* and avoid updating the kernel for now. You might also want to create a bugreport about this situation on launchpad, to make sure Ubuntu kernel maintainers are aware of this problem, so they'd find a fix. Since the `35` number signifies custom patches, most likely some of the patches maintainers applied to the kernel screwed something up.
karel avatar
sa flag
Does this answer your question? [How to remove latest kernel without removing linux itself](https://askubuntu.com/questions/419116/how-to-remove-latest-kernel-without-removing-linux-itself)
Cutter avatar
sn flag
@Hi-Angel when I enter the command you gave, apt warns me that it is about to remove the following packages: `linux-generic-hwe-22.04*` `linux-image-5.19.0-35-generic*` `linux-image-generic-hwe-22.04*`, should I do this ?
Cutter avatar
sn flag
@karel how can I pin the previous kernel in grub ? Especially since it is hidden in the advanced options.
karel avatar
sa flag
@Cutter [Set "older" kernel as default grub entry](https://askubuntu.com/q/216398/)
Hi-Angel avatar
es flag
@Cutter hm, no, you don't want to remove anything except the specific kernel version. Try replacing `purge` with `remove` in my command. Although, I find it odd that it suggests removing the meta-packages, given there is another kernel version that belongs to them… Just for the safe case, before removing, please also make sure there is output for this command `dpkg -l | grep linux-image-5.19.0-31`
Cutter avatar
sn flag
I would like grub to remove the new kernel entry and have the "Ubuntu" entry on the main menu point to the previous kernel. How can I do that ? @Hi-Angel is there a boot log that I could provide in my bug report ?
Hi-Angel avatar
es flag
@Cutter assuming that `/` gets mounted correctly, and journal gets flushed before you turn off the computer, you will find the kernel logs from unsuccessful boots at `/var/log/` dir, files with prefix `dmesg` or `kern`. You can make sure you found the correct log by looking up the error messages about `BDL entries` that you know should show up. And regarding you first question about grub entries — simply removing the kernel version that is known to be broken will make default Grub entry point to the older kernel.
Score:0
lr flag

I still have this problem.

I just had to get back to 5.19.0-32.

35 is not working.

Seems to be something also with nvidia-driver-525.

Score:0
ve flag

Just hit the same issue here (with 5.19.0.35), purging the new kernel did the trick, before restarting just make sure the old version is still installed.

Thanks for the help.

Hi-Angel avatar
es flag
Please report a bug to the ubuntu package to make sure maintainers are aware and will fix it.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.