[Bug 1496163] Re: i915 firmware is not copied to initrd
This bug was fixed in the package initramfs-tools - 0.103ubuntu4.6 --- initramfs-tools (0.103ubuntu4.6) trusty; urgency=medium [ Andy Whitcroft ] * hook-functions: firmware -- copy symlink components into initramfs (LP: #1496163) -- Philipp Kern Fri, 16 Dec 2016 09:02:52 -0800 ** Changed in: initramfs-tools (Ubuntu Trusty) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1496163 Title: i915 firmware is not copied to initrd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1496163/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1496163] Re: i915 firmware is not copied to initrd
Yep, that's good. Thanks! ** Tags added: verification-done ** Tags removed: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1496163 Title: i915 firmware is not copied to initrd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1496163/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1496163] Re: i915 firmware is not copied to initrd
** Project changed: linux => ubuntu-translations ** Changed in: ubuntu-translations Importance: Medium => Undecided ** Changed in: ubuntu-translations Status: Invalid => New ** Changed in: ubuntu-translations Remote watch: freedesktop.org Bugzilla #92024 => None ** No longer affects: ubuntu-translations -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1496163 Title: i915 firmware is not copied to initrd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1496163/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1496163] Re: i915 firmware is not copied to initrd
Hello Jason, or anyone else affected, Accepted initramfs-tools into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/initramfs- tools/0.103ubuntu4.6 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: initramfs-tools (Ubuntu Trusty) Status: In Progress => Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1496163 Title: i915 firmware is not copied to initrd To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1496163/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1496163] Re: i915 firmware is not copied to initrd
I've uploaded this to Trusty queue for review by the SRU team. ** Changed in: initramfs-tools (Ubuntu Trusty) Assignee: Andy Whitcroft (apw) => Brian Murray (brian-murray) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1496163 Title: i915 firmware is not copied to initrd To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1496163/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1496163] Re: i915 firmware is not copied to initrd
** Changed in: initramfs-tools (Ubuntu Vivid) Status: In Progress => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1496163 Title: i915 firmware is not copied to initrd To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1496163/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1496163] Re: i915 firmware is not copied to initrd
Attached is a debdiff for a SRU for trusty. ** Patch added: "initramfs-tools_0.103ubuntu4.5_0.103ubuntu4.6.debdiff" https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1496163/+attachment/4792198/+files/initramfs-tools_0.103ubuntu4.5_0.103ubuntu4.6.debdiff ** Description changed: - On Skylake, the skl_dmc firmware is failing to load. From dmesg: + [ Impact ] + + On Skylake, skl_dmc firmware is not incorporated into the initramfs. + This is because it is a symlink to a versioned blob and the initramfs- + tools hook does not dereference symlinks. As the driver is actually + loaded from the initramfs, the firmware is missing for the lifetime of + the boot, which means that the GPU cannot enter its lowest available + power states plus some hotplugging scenarios are broken. This all + manifests itself as such in dmesg: [0.728803] i915 :00:02.0: Direct firmware load for i915/skl_dmc_ver1.bin failed with error -2 [0.728817] [drm:i915_firmware_load_error_print [i915]] *ERROR* failed to load firmware i915/skl_dmc_ver1.bin (0) - This means the GPU can't enter its lowest available power states, plus - many display hotplugging scenarios (that only the skl_dmc firmware can - handle) are broken. + [ Test Case ] - On a whim I tried some other firmware versions: + After the fix has been applied and the initrd regenerates, the firmware + should load successfully after a reboot. - 1) pointed the skl_dmc_ver1.bin symlink to skl_dmc_ver1_18.bin (instead - of skl_dmc_ver1_19.bin) + [ Regression Potential ] - 2) downloaded the latest (skl_dmc_ver1_21.bin) and pointed the - skl_dmc_ver1.bin symlink to it - - But neither corrected the situation. - - Thanks! - - ProblemType: Bug - DistroRelease: Ubuntu 15.10 - Package: linux-image-4.2.0-10-generic 4.2.0-10.11 - ProcVersionSignature: Ubuntu 4.2.0-10.11-generic 4.2.0 - Uname: Linux 4.2.0-10-generic x86_64 - ApportVersion: 2.18.1-0ubuntu1 - Architecture: amd64 - AudioDevicesInUse: - USERPID ACCESS COMMAND - /dev/snd/controlC0: oem1251 F pulseaudio - CurrentDesktop: Unity - Date: Tue Sep 15 16:21:24 2015 - HibernationDevice: RESUME=UUID=637df075-0afa-420f-a3ca-342be8bf297f - IwConfig: - enp4s0no wireless extensions. - - lono wireless extensions. - Lsusb: - Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub - Bus 001 Device 003: ID 04f2:0833 Chicony Electronics Co., Ltd - Bus 001 Device 002: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse - Bus 001 Device 004: ID 058f:6364 Alcor Micro Corp. AU6477 Card Reader Controller - Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub - MachineType: System manufacturer System Product Name - ProcFB: 0 inteldrmfb - ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.2.0-10-generic root=UUID=f967534a-9cc3-4d1a-a7f3-72d28959e3c6 ro i915.verbose_state_checks=1 quiet splash vt.handoff=7 - RelatedPackageVersions: - linux-restricted-modules-4.2.0-10-generic N/A - linux-backports-modules-4.2.0-10-generic N/A - linux-firmware1.147 - RfKill: - - SourcePackage: linux - UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev' - UpgradeStatus: No upgrade log present (probably fresh install) - dmi.bios.date: 08/19/2015 - dmi.bios.vendor: American Megatrends Inc. - dmi.bios.version: 0403 - dmi.board.asset.tag: Default string - dmi.board.name: Z170-P D3 - dmi.board.vendor: ASUSTeK COMPUTER INC. - dmi.board.version: Rev X.0x - dmi.chassis.asset.tag: Default string - dmi.chassis.type: 3 - dmi.chassis.vendor: Default string - dmi.chassis.version: Default string - dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0403:bd08/19/2015:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnZ170-PD3:rvrRevX.0x:cvnDefaultstring:ct3:cvrDefaultstring: - dmi.product.name: System Product Name - dmi.product.version: System Version - dmi.sys.vendor: System manufacturer + Unlikely, as the fix is part of Ubuntu since Wily. ** Tags removed: wily -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1496163 Title: i915 firmware is not copied to initrd To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1496163/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1496163] Re: i915 firmware is not copied to initrd
Hello? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1496163 Title: i915 firmware is not copied to initrd To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1496163/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1496163] Re: i915 firmware is not copied to initrd
According to a user of easyVDR 3.0 (based on 14.04 LTS) with 4.2.0 it is still unfixed and the fix in #9 does not work. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1496163 Title: i915 firmware is not copied to initrd To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1496163/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1496163] Re: i915 firmware is not copied to initrd
sudo update-initramfs -u -k all Seems to help. The issue is still valid linux mint 17.3 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1496163 Title: i915 firmware is not copied to initrd To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1496163/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1496163] Re: i915 firmware is not copied to initrd
Nick: Did you re-generate the initrd image? I did mine with sudo update- initramfs -u -k all -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1496163 Title: i915 firmware is not copied to initrd To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1496163/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1496163] Re: i915 firmware is not copied to initrd
Any news on this? I have the same bug on 14.04. Manually modifying the file like in comment #9 didn't change anything. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1496163 Title: i915 firmware is not copied to initrd To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1496163/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1496163] Re: i915 firmware is not copied to initrd
Peter: Manually modifying the file per comment #9's fix worked for me on 14.04. But I am still having lots of problems with the GPUs on my laptop. Also had to use xorg-edgers ppa to get hardware acceleration back, otherwise X complained about unknown chipset. Also, the newest kernel versions (like 4.3) are freezing up hard for me, and different older versions only work on certain GPUs. What I mean is like, if I want to use the discrete nvidia GPU, I have to boot 3.19, but if I want integrated graphics, then I have to boot 4.2.4 with i915.preliminary_hw_support=1. Also, running "lspci" on newer kernels freezes the machine hard. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1496163 Title: i915 firmware is not copied to initrd To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1496163/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1496163] Re: i915 firmware is not copied to initrd
I seem to have this bug with a Skylake machine where the firmware load for i915/skl_dmc_ver1.bin failed with error -2. I am running (or trying to) with the Ubuntu LTS Trusty/14.04 version. Is there any way I can use the Wily versions of initramfs-tools or do you have an estimate when it will be backported to the LTS version as per #13 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1496163 Title: i915 firmware is not copied to initrd To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1496163/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1496163] Re: i915 firmware is not copied to initrd
This bug was fixed in the package initramfs-tools - 0.120ubuntu5 --- initramfs-tools (0.120ubuntu5) wily; urgency=medium * hook-functions: firmware -- copy symlink components into initramfs (LP: #1496163) -- Andy Whitcroft Sat, 19 Sep 2015 09:55:13 +0100 ** Changed in: initramfs-tools (Ubuntu Wily) Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1496163 Title: i915 firmware is not copied to initrd To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1496163/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1496163] Re: i915 firmware is not copied to initrd
Uploaded to wily. Also confirmed that these links appear in linux- firmware backports to both trusty and vivid. Marking those affected. ** Changed in: initramfs-tools (Ubuntu Vivid) Importance: Undecided => Medium ** Changed in: initramfs-tools (Ubuntu Trusty) Importance: Undecided => Medium ** Changed in: initramfs-tools (Ubuntu Trusty) Assignee: (unassigned) => Andy Whitcroft (apw) ** Changed in: initramfs-tools (Ubuntu Vivid) Assignee: (unassigned) => Andy Whitcroft (apw) ** Changed in: initramfs-tools (Ubuntu Vivid) Status: New => In Progress ** Changed in: initramfs-tools (Ubuntu Trusty) Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1496163 Title: i915 firmware is not copied to initrd To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1496163/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1496163] Re: i915 firmware is not copied to initrd
** Changed in: linux Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1496163 Title: i915 firmware is not copied to initrd To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1496163/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1496163] Re: i915 firmware is not copied to initrd
Andy: oops, didn't refresh the page and see your latest comments before I posted the above, please ignore. I just tested the initramfs-tools package in your PPA, confirmed it works: 1) No more error in dmesg about skl_dmc not being loaded 2) `lsinitramfs -l` shows both the "skl_dmc_ver1.bin" symlink and the "skl_dmc_ver1_21.bin firmware file -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1496163 Title: i915 firmware is not copied to initrd To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1496163/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1496163] Re: i915 firmware is not copied to initrd
Andy, I spotted the problem: Line 120 in /usr/share/initramfs-tools/hook-functions: cp -a "$firmware" "$target_dir" `cp -a` copies the symlink itself rather than the target it points to, so we end up with a broken symlink in initramfs and no actual firmware file. The fix that comes to mind for me is: cp -aL "$firmware" "$target_dir" But I'm not sure if that would have consequences elsewhere. Are symlinks utilized anywhere in the initramfs? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1496163 Title: i915 firmware is not copied to initrd To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1496163/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1496163] Re: i915 firmware is not copied to initrd
** Changed in: initramfs-tools (Ubuntu Wily) Status: Triaged => In Progress ** Changed in: initramfs-tools (Ubuntu Wily) Milestone: None => ubuntu-15.09 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1496163 Title: i915 firmware is not copied to initrd To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1496163/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1496163] Re: i915 firmware is not copied to initrd
Ok, the PPA below has an update for initramfs-tools for wily (only currently) which I think sorts this out: https://launchpad.net/~apw/+archive/ubuntu/initramfs-tools/ If someone who has a platform which has this h/w could check it really loads. Please report any testing back here. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1496163 Title: i915 firmware is not copied to initrd To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1496163/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1496163] Re: i915 firmware is not copied to initrd
Yes the way we copy firmware into the initramfs we simply copy the top level link and do not carry the targets at all. Later we sensibly get rid of hanging symlinks leaving no sign of the firmware. I suspect we should be iterating over the link copy its components. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1496163 Title: i915 firmware is not copied to initrd To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1496163/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1496163] Re: i915 firmware is not copied to initrd
** Changed in: initramfs-tools (Ubuntu Wily) Assignee: Timo Aaltonen (tjaalton) => Andy Whitcroft (apw) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1496163 Title: i915 firmware is not copied to initrd To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1496163/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1496163] Re: i915 firmware is not copied to initrd
Timo, I didn't realize that this module is being loaded during the initrd phase before the rootfs is mounted. Mystery solved, I think :D Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1496163 Title: i915 firmware is not copied to initrd To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1496163/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1496163] Re: i915 firmware is not copied to initrd
** Summary changed: - Wily: firmware load for i915/skl_dmc_ver1.bin failed with error -2 + i915 firmware is not copied to initrd -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1496163 Title: i915 firmware is not copied to initrd To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1496163/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs