Drivers not working using kernel linux-image-6.2.0-1003-oracle

Bug #2023986 reported by Navroop Singh
84
This bug affects 16 people
Affects Status Importance Assigned to Milestone
linux-signed-oracle (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

My Ubuntu 23.04 installed two kernels linux-image-6.2.0-1003-oracle and linux-image-6.2.0-1003-lowlatency using software updater along with other updates. After install and restart, most drivers including wifi, bluetooth, touchpad and ethernet stopped working. Rebooting using 6.2.0-1003-lowlatency or 6.2.0-20-generic solved the driver issues.

ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: linux-image-6.2.0-1003-oracle 6.2.0-1003.3
ProcVersionSignature: Ubuntu 6.2.0-1003.3-lowlatency 6.2.6
Uname: Linux 6.2.0-1003-lowlatency x86_64
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Thu Jun 15 16:34:56 2023
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: linux-signed-oracle
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Navroop Singh (navroop005) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-signed-oracle (Ubuntu):
status: New → Confirmed
Revision history for this message
Francis Ginther (fginther) wrote :

@navroop005,

Hello, would you mind please sharing a copy of your `/var/log/apt/history.log`? This looks like a possible package dependency issue.

Revision history for this message
Chris Warren (cdubb82) wrote :
Download full text (114.2 KiB)

Here's mine, I'm having the same issue, in order to get around it I had to use the generic 6.2.0-20-generic kernel

Start-Date: 2023-04-18 20:32:44
Commandline: apt-get -y --fix-policy install
Install: libgpg-error-l10n:amd64 (1.46-1, automatic), libgpm2:amd64 (1.20.7-10build1, automatic), psmisc:amd64 (23.6-1, automatic), libnss-nisplus:amd64 (1.3-0ubuntu6, automatic), uuid-runtime:amd64 (2.38.1-4ubuntu1, automatic), bash-completion:amd64 (1:2.11-6ubuntu1, automatic), libnss-nis:amd64 (3.1-0ubuntu6, automatic), bsdextrautils:amd64 (2.38.1-4ubuntu1, automatic)
End-Date: 2023-04-18 20:32:45

Start-Date: 2023-04-18 20:32:58
Commandline: apt-get --yes -oDebug::pkgDepCache::AutoInstall=yes install linux-generic-hwe-22.04 adduser apt apt-utils base-files base-passwd bash bsdutils ca-certificates console-setup console-setup-linux coreutils dash dbus dbus-bin dbus-daemon dbus-session-bus-common dbus-system-bus-common dbus-user-session debconf debconf-i18n debianutils diffutils distro-info distro-info-data dmsetup dpkg e2fsprogs eject findutils gcc-13-base gir1.2-glib-2.0 gpgv grep gzip hostname init init-system-helpers iproute2 iputils-ping isc-dhcp-client isc-dhcp-common iso-codes kbd keyboard-configuration kmod krb5-locales less libacl1 libapparmor1 libapt-pkg6.0 libargon2-1 libatm1 libattr1 libaudit-common libaudit1 libblkid1 libbpf1 libbsd0 libbz2-1.0 libc-bin libc6 libcap-ng0 libcap2 libcap2-bin libcom-err2 libcrypt1 libcryptsetup12 libdb5.3 libdbus-1-3 libdebconfclient0 libdevmapper1.02.1 libelf1 libestr0 libexpat1 libext2fs2 libfastjson4 libfdisk1 libffi8 libfribidi0 libgcc-s1 libgcrypt20 libgirepository-1.0-1 libglib2.0-0 libglib2.0-data libgmp10 libgnutls30 libgpg-error0 libgssapi-krb5-2 libhogweed6 libicu72 libidn2-0 libip4tc2 libjson-c5 libk5crypto3 libkeyutils1 libkmod2 libkrb5-3 libkrb5support0 liblocale-gettext-perl liblz4-1 liblzma5 libmd0 libmnl0 libmount1 libncursesw6 libnetplan0 libnettle8 libnewt0.52 libnsl2 libnss-systemd libp11-kit0 libpam-cap libpam-modules libpam-modules-bin libpam-runtime libpam-systemd libpam0g libpcre2-8-0 libpopt0 libproc2-0 libpython3-stdlib libpython3.11-minimal libpython3.11-stdlib libreadline8 libseccomp2 libselinux1 libsemanage-common libsemanage2 libsepol2 libslang2 libsmartcols1 libsqlite3-0 libss2 libssl3 libstdc++6 libsystemd-shared libsystemd0 libtasn1-6 libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libtinfo6 libtirpc-common libtirpc3 libudev1 libunistring2 libuuid1 libxml2 libxtables12 libxxhash0 libyaml-0-2 libzstd1 locales login logrotate logsave lsb-release mawk media-types mount ncurses-base ncurses-bin netbase netcat-openbsd netplan.io networkd-dispatcher openssl passwd perl-base procps python-apt-common python3 python3-apt python3-dbus python3-gi python3-markdown-it python3-mdurl python3-minimal python3-netifaces python3-pkg-resources python3-pygments python3-rich python3-yaml python3.11 python3.11-minimal readline-common rsyslog sed sensible-utils shared-mime-info sudo systemd systemd-hwe-hwdb systemd-resolved systemd-sysv systemd-timesyncd sysvinit-utils tar tzdata tzdata-icu ubuntu-advantage-tools ubuntu-keyring ubuntu-minimal ucf udev usrmerge util-linux util-linu...

Revision history for this message
Allen (ccwtech) wrote :
Download full text (176.8 KiB)

My log:
Start-Date: 2023-04-18 20:32:44
Commandline: apt-get -y --fix-policy install
Install: libgpg-error-l10n:amd64 (1.46-1, automatic), libgpm2:amd64 (1.20.7-10build1, automatic), psmisc:amd64 (23.6-1, automatic), libnss-nisplus:amd64 (1.3-0ubuntu6, automatic), uuid-runtime:amd64 (2.38.1-4ubuntu1, automatic), bash-completion:amd64 (1:2.11-6ubuntu1, automatic), libnss-nis:amd64 (3.1-0ubuntu6, automatic), bsdextrautils:amd64 (2.38.1-4ubuntu1, automatic)
End-Date: 2023-04-18 20:32:45

Start-Date: 2023-04-18 20:32:58
Commandline: apt-get --yes -oDebug::pkgDepCache::AutoInstall=yes install linux-generic-hwe-22.04 adduser apt apt-utils base-files base-passwd bash bsdutils ca-certificates console-setup console-setup-linux coreutils dash dbus dbus-bin dbus-daemon dbus-session-bus-common dbus-system-bus-common dbus-user-session debconf debconf-i18n debianutils diffutils distro-info distro-info-data dmsetup dpkg e2fsprogs eject findutils gcc-13-base gir1.2-glib-2.0 gpgv grep gzip hostname init init-system-helpers iproute2 iputils-ping isc-dhcp-client isc-dhcp-common iso-codes kbd keyboard-configuration kmod krb5-locales less libacl1 libapparmor1 libapt-pkg6.0 libargon2-1 libatm1 libattr1 libaudit-common libaudit1 libblkid1 libbpf1 libbsd0 libbz2-1.0 libc-bin libc6 libcap-ng0 libcap2 libcap2-bin libcom-err2 libcrypt1 libcryptsetup12 libdb5.3 libdbus-1-3 libdebconfclient0 libdevmapper1.02.1 libelf1 libestr0 libexpat1 libext2fs2 libfastjson4 libfdisk1 libffi8 libfribidi0 libgcc-s1 libgcrypt20 libgirepository-1.0-1 libglib2.0-0 libglib2.0-data libgmp10 libgnutls30 libgpg-error0 libgssapi-krb5-2 libhogweed6 libicu72 libidn2-0 libip4tc2 libjson-c5 libk5crypto3 libkeyutils1 libkmod2 libkrb5-3 libkrb5support0 liblocale-gettext-perl liblz4-1 liblzma5 libmd0 libmnl0 libmount1 libncursesw6 libnetplan0 libnettle8 libnewt0.52 libnsl2 libnss-systemd libp11-kit0 libpam-cap libpam-modules libpam-modules-bin libpam-runtime libpam-systemd libpam0g libpcre2-8-0 libpopt0 libproc2-0 libpython3-stdlib libpython3.11-minimal libpython3.11-stdlib libreadline8 libseccomp2 libselinux1 libsemanage-common libsemanage2 libsepol2 libslang2 libsmartcols1 libsqlite3-0 libss2 libssl3 libstdc++6 libsystemd-shared libsystemd0 libtasn1-6 libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libtinfo6 libtirpc-common libtirpc3 libudev1 libunistring2 libuuid1 libxml2 libxtables12 libxxhash0 libyaml-0-2 libzstd1 locales login logrotate logsave lsb-release mawk media-types mount ncurses-base ncurses-bin netbase netcat-openbsd netplan.io networkd-dispatcher openssl passwd perl-base procps python-apt-common python3 python3-apt python3-dbus python3-gi python3-markdown-it python3-mdurl python3-minimal python3-netifaces python3-pkg-resources python3-pygments python3-rich python3-yaml python3.11 python3.11-minimal readline-common rsyslog sed sensible-utils shared-mime-info sudo systemd systemd-hwe-hwdb systemd-resolved systemd-sysv systemd-timesyncd sysvinit-utils tar tzdata tzdata-icu ubuntu-advantage-tools ubuntu-keyring ubuntu-minimal ucf udev usrmerge util-linux util-linux-extra vim-common vim-tiny whiptail xdg-user-dirs xkb-data xxd zlib1g apparmor bash-completion bind9-dnsutil...

Revision history for this message
Allen (ccwtech) wrote :

I'm having the same issue, in order to get around it I had to use the generic 6.2.0-20-generic kernel as well!

Revision history for this message
faattori (fatordee) wrote :

I too encountered issues updating. Oracle and lowlatency kernels were installed without me ever using them before and Nvidia proprietary drivers do not work on the -23 kernel.

-20 kernel is working fine still with Nvidia proprietary drivers.

Revision history for this message
Pavel Letskiy (letskiy) wrote :

Same here. Lowlatency and Oracle kernels have been installed for some reason. Oracle kernel been set as a default one.
Only manual load with 6.2.0-20-generic kernel helps.

Revision history for this message
Ilya (ilyaskriblovsky) wrote :

Same here. Here is my /var/log/apt/history.log

Revision history for this message
ccdisle (sim-blk) wrote (last edit ):

Here is my /var/log/apt/history.log

Revision history for this message
Ahmad Hammoudeh (hammoudeh-69) wrote :

I didn't have 6.2.0-20-generic in my kernel list, so I installed it but it had no drivers (similar to the oracle kernel problem) so I realized I could use 6.2.0-23-generic kernel, which worked for me. Then I tried to removed 6.2.0-20-generic kernel and it somehow broke 6.2.0-23-generic kernel. Here's my Here is my /var/log/apt/history.log:

Revision history for this message
Guillaume LAURENT (laurent-guillaume) wrote :

OK, I'm not crazy.

My dual screen stopped working tonight, and the Nvidia panel stays empty.

I had to switch back to 6.2.0-23-generic.

Revision history for this message
faattori (fatordee) wrote :

I have now been able to boot into 6.2.0-23-generic kernel with updated nvidia drivers, just by doing a regular update with the default GUI software.

It seems that for me they have fixed whatever the issue was in apt, no longer was it trying to install some oracle or lowlatency kernel components.

Revision history for this message
Francis Ginther (fginther) wrote :

Thanks to everyone supplying their logs. I'm still looking through these to try to understand what's going on here.

For most that hit this issue, the solution would be interrupt the boot loader to boot back into the generic kernel, then remove the oracle and lowlatency kernels.

Revision history for this message
Ahmad Hammoudeh (hammoudeh-69) wrote :

I just got an update from ubuntu that removed the linux-image-6.2.0-1003-oracle kerneland resolved the issue.

Revision history for this message
babygenius55 (babygenius55a) wrote :

I sure would like to see what command they used to undo the hasty incomplete update. I am having essentially, if not the same issue. Using the same workaround. Some drivers are broke. Can't update anything.

Revision history for this message
babygenius55 (babygenius55a) wrote (last edit ):

Sorry for the second post just for an upload. I don't understand how to upload multiple files, if possible. The file is just copy of upgrade request failure in terminal.

Revision history for this message
Chris Routh (routhinator) wrote :

> For most that hit this issue, the solution would be interrupt the boot loader to boot back into the generic kernel, then remove the oracle and lowlatency kernels.

Interrupting and selecting generic works, but in my case, removing the oracle and lowlatency kernels makes apt do crazy things.

It's both removing and installing them in the same command:

```
╰─ sudo apt-get purge linux-image-6.2.0-1003-oracle linux-image-6.2.0-1003-lowlatency ─╯
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  dkms linux-headers-6.2.0-20 linux-headers-6.2.0-20-generic linux-image-6.2.0-20-generic linux-modules-6.2.0-20-generic linux-modules-extra-6.2.0-20-generic
  linux-modules-nvidia-525-6.2.0-20-generic linux-objects-nvidia-525-6.2.0-20-generic linux-signatures-nvidia-6.2.0-20-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  linux-image-unsigned-6.2.0-1003-lowlatency linux-image-unsigned-6.2.0-1003-oracle
Suggested packages:
  fdutils linux-doc | linux-lowlatency-source-6.2.0 linux-lowlatency-tools linux-headers-6.2.0-1003-lowlatency linux-modules-extra-6.2.0-1003-lowlatency linux-oracle-doc-6.2.0
  | linux-oracle-source-6.2.0 linux-oracle-tools linux-headers-6.2.0-1003-oracle
The following packages will be REMOVED:
  linux-image-6.2.0-1003-lowlatency* linux-image-6.2.0-1003-oracle* linux-signatures-nvidia-6.2.0-1003-oracle*
The following NEW packages will be installed:
  linux-image-unsigned-6.2.0-1003-lowlatency linux-image-unsigned-6.2.0-1003-oracle
0 upgraded, 2 newly installed, 3 to remove and 2 not upgraded.
Need to get 28.0 MB of archives.
After this operation, 297 kB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.

```

Revision history for this message
Chris Routh (routhinator) wrote :

Adding my apt history log into the pile.

Revision history for this message
Chris Routh (routhinator) wrote :

Yeah, even manually installing linux-image-generic and setting that as the main kernel, I cannot remove the oracle and lowlatency variants. Apt insists on keeping them.

Revision history for this message
Chris Routh (routhinator) wrote :

This has something to do with nvidia packages, though I'm not sure which one. Purging all nvidia packages finally allowed me to remove the bad kernels, and get back to generic. Reinstalling the nvidia-driver-525 package then resulted in the desired config of just the linux-kernel-genric modules.

Revision history for this message
walterclozet (walterclozet-u) wrote :

this is my log file, having the same issue.

Revision history for this message
Ahmad Hammoudeh (hammoudeh-69) wrote (last edit ):

I was able to remove both kernels. For the lowlatency kernel first I had to remove the headers then purge the kernel itself. Here's my history log for lowlatency related commands:

```
➜ history | grep lowlatency
 4284 sudo apt-get remove linux-image-6.2.0-1003-lowlatency\n
 4290 sudo apt-get remove linux-image-6.2.0-1003-lowlatency
 4291 sudo apt-get remove linux-headers-6.2.0-1003-lowlatency
 4294 sudo apt-get remove linux-headers-6.2.0-1003-lowlatency
 4299 sudo apt-get purge linux-image-6.2.0-1003-lowlatency\n
 4301 sudo apt-get purge linux-image-6.2.0-1003-lowlatency
 4304 sudo apt-get purge linux-image-6.2.0-1003-lowlatency
```

Removing the oracle kernel was a bit weird, I had to install/reinstall the headers again for it to get fully removed. Here's my history log for oracle related commands:

```
➜ history | grep oracle
 4184 sudo dpkg -l | grep oracle
 4244 sudo apt-get remove linux-image-6.2.0-1003-oracle\n
 4246 sudo apt-get install linux-headers-6.2.0-1003-oracle\n
 4295 sudo apt-get remove linux-image-6.2.0-1003-oracle
```

I also remember doing `sudo apt autoremove` before some commands to successfully run them.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.