Remove oem-flavour.cfg for the OEM kernel retirement
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
Fix Released
|
Critical
|
Shih-Yuan Lee | ||
ubuntu-drivers-common (Ubuntu) |
Won't Fix
|
High
|
Shih-Yuan Lee | ||
Jammy |
Fix Released
|
High
|
Shih-Yuan Lee |
Bug Description
[ Impact ]
* This issue affects all Ubuntu OEM preloaded systems that are still utilizing the OEM kernel, particularly those equipped with NVIDIA graphics drivers.
* Systems may fail to boot properly due to an outdated OEM kernel conflicting with newer NVIDIA drivers, leading to a black screen on reboot.
[ Test Plan ]
* To verify the fix, ensure that the file `/etc/default/
* After the system reboots, check that it boots into the general HWE kernel rather than the OEM kernel.
* Idempotency Testing:
- Perform the upgrade multiple times on the same system to verify that the upgrade process is idempotent, ensuring that repeated upgrades do not result in unexpected behavior or changes.
* Non-OEM System Testing:
- Test the upgrade on a system without OEM kernels to ensure that the upgrade does not affect systems that are not preloaded with the OEM kernel.
- Confirm that the system continues to function normally and boots into the correct kernel after the update.
[ Where problems could occur ]
* Removing `/etc/default/
* There is a low risk that after removing the OEM kernel, some hardware features may not function as expected if the general HWE kernel does not fully support them.
[ Other Info ]
* This patch is targeted only for Ubuntu 22.04 and its associated OEM kernels.
* The issue is specific to systems using NVIDIA drivers in conjunction with an outdated OEM kernel, which conflicts with updates to the HWE kernel and NVIDIA packages.
1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About $ lsb_release -rd
Description: Ubuntu 22.04.4 LTS
Release: 22.04
$ ubuntu-report show | grep DCD
"DCD": "canonical-
2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center
$ apt-cache policy ubuntu-
ubuntu-
Installed: 1:0.9.6.2~0.22.04.6
Candidate: 1:0.9.6.2~0.22.04.7
Version table:
1:
500 http://
*** 1:0.9.6.2~0.22.04.6 100
100 /var/lib/
1:0.9.6.1 500
500 http://
3) What you expected to happen
* The system should seamlessly upgrade NVIDIA drivers and the HWE kernel without breaking the boot process. The system should boot into the latest supported HWE kernel without encountering compatibility issues with the NVIDIA drivers.
4) What happened instead
* After unattended-
We need to remove /etc/default/
Changed in ubuntu-drivers-common (Ubuntu Jammy): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Shih-Yuan Lee (fourdollars) |
description: | updated |
tags: | added: originate-from-2077856 sutton |
Changed in oem-priority: | |
status: | New → In Progress |
importance: | Undecided → Critical |
assignee: | nobody → Shih-Yuan Lee (fourdollars) |
Changed in ubuntu-drivers-common (Ubuntu): | |
status: | In Progress → Won't Fix |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in oem-priority: | |
status: | In Progress → Fix Committed |
Changed in oem-priority: | |
status: | Fix Committed → Fix Released |
u@ubuntu:~$ ls -l /etc/default/ grub.d/ oem-flavour. cfg grub.d/ oem-flavour. cfg -> /usr/share/ oem-sutton- bast-meta/ oem-flavour. cfg drivers- common drivers- common: 0.9.6.2~ 0.22.04. 8 500 /ppa.launchpadc ontent. net/fourdollars /experimental/ ubuntu jammy/main amd64 Packages 0.9.6.2~ 0.22.04. 7 500 tw.archive. ubuntu. com/ubuntu jammy-updates/main amd64 Packages dpkg/status tw.archive. ubuntu. com/ubuntu jammy/main amd64 Packages drivers- common timezonemap- 1.0 gir1.2-xkl-1.0 iperf kpartx kpartx-boot libdebian- installer4 libdmraid1.0.0.rc16 libopenscap8 libregexp- assemble- perl libtimezonemap-data ubuntu- artwork xautomation aptdaemon. pkcompat drivers- common /ppa.launchpadc ontent. net/fourdollars /experimental/ ubuntu jammy/main amd64 ubuntu- drivers- common amd64 1:0.9.6.2~0.22.04.8 [85.2 kB] drivers- common_ 1%3a0.9. 6.2~0.22. 04.8_amd64. deb ... drivers- common (1:0.9. 6.2~0.22. 04.8) over (1:0.9. 6.2~0.22. 04.6) ... drivers- common (1:0.9. 6.2~0.22. 04.8) ... grub.d/ oem-flavour. cfg contains oem-sutton- bast-meta and GRUB_FLAVOUR_ ORDER=oem. Removing oem-flavour.cfg... grub.d/ oem-flavour. cfg grub.d/ oem-flavour. cfg': No such file or directory
lrwxrwxrwx 1 root root 47 Sep 27 16:06 /etc/default/
u@ubuntu:~$ apt-cache policy ubuntu-
ubuntu-
Installed: 1:0.9.6.2~0.22.04.6
Candidate: 1:0.9.6.2~0.22.04.8
Version table:
1:
500 https:/
1:
500 http://
*** 1:0.9.6.2~0.22.04.6 100
100 /var/lib/
1:0.9.6.1 500
500 http://
u@ubuntu:~$ sudo apt install ubuntu-
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
apt-file dmraid gir1.2-
libtimezonemap1 msr-tools pastebinit python3-icu python3-pam rdate ubiquity-casper ubiquity-
Use 'sudo apt autoremove' to remove them.
Suggested packages:
python3-
The following packages will be upgraded:
ubuntu-
1 upgraded, 0 newly installed, 0 to remove and 195 not upgraded.
Need to get 85.2 kB of archives.
After this operation, 1,024 B of additional disk space will be used.
Get:1 https:/
Fetched 85.2 kB in 2s (48.0 kB/s)
Preconfiguring packages ...
(Reading database ... 202947 files and directories currently installed.)
Preparing to unpack .../ubuntu-
Unpacking ubuntu-
Setting up ubuntu-
/etc/default/
u@ubuntu:~$ ls -l /etc/default/
ls: cannot access '/etc/default/