the dependency of kernel package should restrict expected version of linux-firmware

Bug #1768422 reported by Alex Tu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Recently, we got a lesson learn from oem issues[1][2] that linux-firmware should always be updated while update kernel package.

The root cause is some kernel update will expect linux-firmware be updated as well.
Users who install new kernel manually could also encounter the same issue that expected firmware is not there to feed new installed kernel.

There's a dependency for linux-firmware in linux-image-generic but not restrict the version.
That means installing new kernel manually will not pull latest linux-firmware as well.

Say, in [2] case, user's system have:
linux-firmware 1.157.4
linux-image 4.4.0-73

Then user install newer kernel by apt-get install, and he will encounter the same error because the newer linux-firmware will not be installed as well.

So for better user experience, the depends of each released linux-image packages should be changed to something like
Depends: linux-firmware (>= 1.157.17)

or to make sure kernel could backward compatible if kernel package not restrict it's linux-firmware dependency.

[1] LP: #1746155
[2] LP: #1764930 , comment #27
---
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
CurrentDesktop: Unity
DistributionChannelDescriptor:
 # This is a distribution channel descriptor
 # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
 canonical-oem-somerville-xenial-amd64-20160624-2
DistroRelease: Ubuntu 16.04
HibernationDevice: RESUME=UUID=aba84159-0187-43da-aab0-6e9b2582ac2d
InstallationDate: Installed on 2018-05-02 (0 days ago)
InstallationMedia: Ubuntu 16.04 "Xenial" - Build amd64 LIVE Binary 20160624-10:47
IwConfig:
 lo no wireless extensions.

 enp0s31f6 no wireless extensions.
MachineType: Dell Inc. Latitude 7380
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-122-generic.efi.signed root=UUID=e1dc5cc9-d41f-412b-86bf-cccfd659d8d2 ro locale=en_US quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 4.4.0-122.146-generic 4.4.117
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-122-generic N/A
 linux-backports-modules-4.4.0-122-generic N/A
 linux-firmware 1.157.4
Tags: xenial
Uname: Linux 4.4.0-122-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 05/18/2017
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.4.6
dmi.board.name: 0172N1
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.4.6:bd05/18/2017:svnDellInc.:pnLatitude7380:pvr:rvnDellInc.:rn0172N1:rvrA00:cvnDellInc.:ct10:cvr:
dmi.product.name: Latitude 7380
dmi.sys.vendor: Dell Inc.

Alex Tu (alextu)
affects: linphone (Ubuntu) → linux (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

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 1768422

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
Revision history for this message
Alex Tu (alextu) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected xenial
description: updated
Revision history for this message
Alex Tu (alextu) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Alex Tu (alextu) wrote : JournalErrors.txt

apport information

Revision history for this message
Alex Tu (alextu) wrote : Lspci.txt

apport information

Revision history for this message
Alex Tu (alextu) wrote : Lsusb.txt

apport information

Revision history for this message
Alex Tu (alextu) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Alex Tu (alextu) wrote : ProcEnviron.txt

apport information

Revision history for this message
Alex Tu (alextu) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Alex Tu (alextu) wrote : ProcModules.txt

apport information

Revision history for this message
Alex Tu (alextu) wrote : PulseList.txt

apport information

Revision history for this message
Alex Tu (alextu) wrote : RfKill.txt

apport information

Revision history for this message
Alex Tu (alextu) wrote : UdevDb.txt

apport information

Revision history for this message
Alex Tu (alextu) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Triaged
tags: added: kernel-da-key
Revision history for this message
Alex Tu (alextu) wrote :
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.