update-initramfs not adding i915 GuC firmware for Kaby Lake, firmware fails to load
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools |
Invalid
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Bionic |
Fix Released
|
High
|
Unassigned |
Bug Description
== SRU Justification ==
This firmware was optional when the MODULE_FIRMWARE statements were
removed in bug 1626740 by Bionic commit dc0f16f9b50. The firmware is now
available and in use, so these statements need to be added back.
Without these statements, The i915 Kabylake GuC firmware is failing to load
on boot, and generating dmesg errors.
== Fix ==
Revert Bionic commit dc0f16f9b5084e6
== Regression Potential ==
Low. Adding a statement back that was removed by a SAUCE patch.
== Test Case ==
A test kernel was built with this patch and tested by the original bug reporter.
The bug reporter states the test kernel resolved the bug.
== Original Bug Report ==
The i915 Kabylake GuC firmware is failing to load on boot, and generating dmesg errors. The Kabylake HuC firmware succeeds. All files exist. I've also verified the Kabylake GuC firmware matches the correct file size and md5 listed on 01.org.
I then ran update-initramfs verbosely, and see that only /lib/firmware/
I'm running a Dell XPS 13 9360 w/ Kabylake on Ubuntu 17.10 and initramfs-tools 0.125ubuntu12. Perhaps Broxton systems might have the same issue?
Output and logs:
-----------------
ls -al /lib/firmware/
-rw-r--r-- 1 root root 8616 Aug 17 11:08 /lib/firmware/
lrwxrwxrwx 1 root root 19 Aug 17 11:08 /lib/firmware/
-rw-r--r-- 1 root root 142656 Oct 20 21:12 /lib/firmware/
-rw-r--r-- 1 root root 218688 Aug 17 11:09 /lib/firmware/
sudo cat /sys/kernel/
GuC firmware status:
path: i915/kbl_
fetch: FAIL
load: NONE
version wanted: 9.14
version found: 0.0
header: offset is 0; size = 0
uCode: offset is 0; size = 0
RSA: offset is 0; size = 0
GuC status 0x00000001:
Bootrom status = 0x0
uKernel status = 0x0
MIA Core status = 0x0
Scratch registers:
0: 0x0
1: 0x0
2: 0x0
3: 0x0
4: 0x0
5: 0x0
6: 0x0
7: 0x0
8: 0x0
9: 0x0
10: 0x0
11: 0x0
12: 0x0
13: 0x0
14: 0x0
15: 0x0
sudo cat /sys/kernel/
HuC firmware status:
path: i915/kbl_
fetch: SUCCESS
load: SUCCESS
version wanted: 2.0
version found: 2.0
header: offset is 0; size = 128
uCode: offset is 128; size = 218304
RSA: offset is 218432; size = 256
HuC status 0x00006000:
dmesg
[ 1.052879] hidraw: raw HID events driver (C) Jiri Kosina
[ 1.056426] wmi_bus wmi_bus-PNP0C14:01: WQBC data block query control method not found
[ 1.080320] rtsx_pci 0000:3b:00.0: enabling device (0000 -> 0002)
[ 1.082308] nvme nvme0: pci function 0000:3c:00.0
[ 1.095073] Setting dangerous option enable_guc_loading - tainting kernel
[ 1.095075] Setting dangerous option enable_
[ 1.097867] [drm] Memory usable by graphics device = 4078M
[ 1.097869] checking generic (90000000 1fb0000) vs hw (90000000 10000000)
[ 1.097869] fb: switching to inteldrmfb from EFI VGA
[ 1.097899] Console: switching to colour dummy device 80x25
[ 1.098049] [drm] Replacing VGA console driver
[ 1.104157] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 1.104157] [drm] Driver supports precise vblank timestamp query.
[ 1.112506] [drm] Finished loading DMC firmware i915/kbl_
[ 1.113055] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=
[ 1.284194] usb 1-1: new low-speed USB device number 2 using xhci_hcd
[ 1.298572] nvme0n1: p1 p2
[ 1.433241] usb 1-1: New USB device found, idVendor=0d62, idProduct=001c
[ 1.433242] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1.433243] usb 1-1: Product: USB+PS2 Keyboard
[ 1.433244] usb 1-1: Manufacturer: Generic
[ 1.446460] usbcore: registered new interface driver usbhid
[ 1.446461] usbhid: USB HID core driver
[ 1.448067] input: Generic USB+PS2 Keyboard as /devices/
[ 1.508451] hid-generic 0003:0D62:
[ 1.508541] input: Generic USB+PS2 Keyboard as /devices/
[ 1.552213] usb 1-2: new full-speed USB device number 3 using xhci_hcd
[ 1.568448] hid-generic 0003:0D62:
[ 1.695655] usb 1-2: New USB device found, idVendor=046d, idProduct=c52b
[ 1.695656] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1.695657] usb 1-2: Product: USB Receiver
[ 1.695658] usb 1-2: Manufacturer: Logitech
[ 1.702641] logitech-djreceiver 0003:046D:
[ 1.820317] usb 1-3: new full-speed USB device number 4 using xhci_hcd
[ 1.835948] input: Logitech M510 as /devices/
[ 1.836129] logitech-
[ 1.838085] input: Logitech K750 as /devices/
[ 1.838283] logitech-
[ 1.896270] psmouse serio1: synaptics: queried max coordinates: x [..5666], y [..4734]
[ 1.927267] psmouse serio1: synaptics: queried min coordinates: x [1276..], y [1118..]
[ 1.927271] psmouse serio1: synaptics: Your touchpad (PNP: DLL075b PNP0f13) says it can support a different bus. If i2c-hid and hid-rmi are not used, you might want to try setting psmouse.
[ 1.938732] i915 0000:00:02.0: Direct firmware load for i915/kbl_
[ 1.938733] [drm] Failed to fetch valid uC firmware from i915/kbl_
[ 1.944000] [drm:intel_
[ 1.944027] [drm] Falling back from GuC submission to execlist mode
[ 1.944027] [drm] GuC firmware loading disabled
[ 1.944746] [drm] Initialized i915 1.6.0 20170619 for 0000:00:02.0 on minor 0
[ 1.948280] clocksource: Switched to clocksource tsc
[ 1.955378] ACPI: Video Device [GFX0] (multi-head: yes rom: no post: no)
[ 1.956112] input: Video Bus as /devices/
[ 1.961603] usb 1-3: New USB device found, idVendor=0cf3, idProduct=e301
[ 1.961604] usb 1-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
sudo update-initramfs -u -v -k all
Adding firmware /lib/firmware/
Adding firmware /lib/firmware/
Adding firmware /lib/firmware/
Adding firmware /lib/firmware/
Adding firmware /lib/firmware/
Adding firmware /lib/firmware/
Adding firmware /lib/firmware/
Adding firmware /lib/firmware/
Adding firmware /lib/firmware/
Adding module /lib/modules/
Adding module /lib/modules/
Adding module /lib/modules/
Adding module /lib/modules/
Adding module /lib/modules/
Adding firmware /lib/firmware/
Adding firmware /lib/firmware/
Adding firmware /lib/firmware/
Adding firmware /lib/firmware/
Adding firmware /lib/firmware/
Adding firmware /lib/firmware/
Adding firmware /lib/firmware/
Adding module /lib/modules/
Adding module /lib/modules/
Adding module /lib/modules/
Adding module /lib/modules/
Adding module /lib/modules/
Adding module /lib/modules/
Adding module /lib/modules/
Adding module /lib/modules/
Adding module /lib/modules/
Adding module /lib/modules/
Adding module /lib/modules/
Adding module /lib/modules/
Adding module /lib/modules/
Adding module /lib/modules/
Adding firmware /lib/firmware/
Adding firmware /lib/firmware/
Adding firmware /lib/firmware/
Adding firmware /lib/firmware/
Adding firmware /lib/firmware/
Adding firmware /lib/firmware/
Adding firmware /lib/firmware/
Adding firmware /lib/firmware/
Adding firmware /lib/firmware/
Adding firmware /lib/firmware/
description: | updated |
tags: | added: artful |
description: | updated |
tags: | added: firmware i915 |
summary: |
- initramfs not adding i915 GuC firmware, firmware fails to load + update-initramfs not adding i915 GuC firmware, firmware fails to load |
tags: | added: broxton kabylake |
description: | updated |
no longer affects: | initramfs-tools |
tags: | added: xenial zesty |
Changed in initramfs-tools (Debian): | |
status: | Unknown → Fix Released |
tags: | added: bionic |
tags: | added: xps |
tags: | added: 9360 |
tags: | added: i965 |
tags: | added: kbl |
tags: | added: bxt |
tags: | added: intel |
tags: | added: dell |
no longer affects: | initramfs-tools (Debian) |
tags: | added: carbon gen6 lenovo thinkpad x1 |
affects: | initramfs-tools (Ubuntu) → linux (Ubuntu) |
summary: |
- update-initramfs not adding i915 GuC firmware, firmware fails to load + update-initramfs not adding i915 GuC firmware for Kaby Lake, firmware + fails to load |
tags: | added: kernel-da-key |
Changed in linux (Ubuntu): | |
importance: | Undecided → High |
Changed in linux (Ubuntu): | |
assignee: | nobody → Joseph Salisbury (jsalisbury) |
status: | Confirmed → In Progress |
Changed in linux (Ubuntu Bionic): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Joseph Salisbury (jsalisbury) |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
Changed in initramfs-tools: | |
status: | New → Invalid |
Changed in linux (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Released |
tags: | added: cscc |
It appears that bug #857997 in Debian's tracker was merged into Bug #854695. Just wanted to note that, and update the external tracker URL.