Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #65925

Bug#933733: linux-image-4.19.0-5-amd64: amdgpu does not find installed firmware (Also "5.3.0-0.bpo.2-amd64")

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Fab Stz <fabstz-it@yahoo.fr>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#933733: linux-image-4.19.0-5-amd64: amdgpu does not find installed firmware (Also "5.3.0-0.bpo.2-amd64")
Date Sat, 28 Dec 2019 20:30:01 +0100
Message-ID <zipWF-Ur-1@gated-at.bofh.it> (permalink)
References <yqIhX-6OC-7@gated-at.bofh.it> <zip0C-kU-11@gated-at.bofh.it> <yqIhX-6OC-7@gated-at.bofh.it> <zip0C-kU-11@gated-at.bofh.it>
X-Original-To "H. Muller" <hxmuller@gmail.com>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Sat Dec 28 19:24:08 2019
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -2.599
Reply-To Fab Stz <fabstz-it@yahoo.fr>, 933733@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian Kernel Team <debian-kernel@lists.debian.org>
X-Debian-Pr-Message followup 933733
X-Debian-Pr-Package src:linux
X-Debian-Pr-Source linux
X-Spam-Bayes score:0.0000 Tokens: new, 30; hammy, 150; neutral, 58; spammy, 0. spammytokens: hammytokens:0.000-+--UD:2-amd64, 0.000-+--UD:bpo.2-amd64, 0.000-+--H*ce:7Bit, 0.000-+--UD:0-0.bpo.2-amd64, 0.000-+--4.19.0-6-amd64
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.fr; s=s2048; t=1577560900; bh=IasvRig2+6Euf2PO015rLWlLnekBRU7L2LY/vbnm9do=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From:Subject; b=UE8VhHzLWFYl4UK2Gw6ujhlBDBkJ+7bSQSJ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7XRkx1zBHITmi45aY1ejWyXrho_3gv.vnwvBe4gqGydAZosLNNz77DNMxcdUy_1B7pTQVpyLE 1jMR.34gWZIB2vWYpMhGpmB1.q5JyvnDuFxnZqlgleToV8V0UxcFbEIHbNiSOMPm4aLrvEF5T.1w FVwdO9vTvnfF9TlUGGtRuVfo2SxMh45Io1wwZQ5WbHl1Nx7TdAwPjcH5e8fnnaPIEduQMAn7WHRJ 5p5y2u42hV2E6NCABJ_eFGCGRBkUaCqNyb8TqYimehHUldJxPhBvMGftoc21CmDGlpTvPFWdhiny mX9gDp3fiZxYzTqXtel0x47A5OztqGM0NC4rP6z_VAPDrZvFs64M.NiAYHwaCMdZS.NNyA5wYG2d fVmfYbHH1FsrCeA84Seh9io0o6rYdt1TFt7xRX4.MMTC2BJBEtJXZQQ.y1Yybe.ohVWE_rt9BS8s BWwmejDGUk7xSL1wT7Ijf5VCtAGKYEHq1Bm_zivftIhxpW4FMystcPEaYpQ6gwEDiiW_9tUQeuwr kTdkSgEmAc0M_C4ppgzx9X8H.cC_cpfo0zVdGmERf9KirQIfkgbDTURMNs7nRwGpV_2CFK3HIPvQ rYV4FUbv0NhLvE391ippioliCIC4v0TUE1YNiXRfuMJJsQ9VqKTpNBwlFOxbSp25C45Hb_oFNu5A SaJ23VVIpDhTrrFIp0ENujt7UTg--
MIME-Version 1.0
Content-Type multipart/mixed; boundary="nextPart2498728.lcaqlZSO7p"
Content-Transfer-Encoding 7Bit
X-Mailer WebService/1.1.14873 hermes Apache-HttpAsyncClient/4.1.4 (Java/1.8.0_181)
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1576018
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 68
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc 933733@bugs.debian.org
X-Original-Date Sat, 28 Dec 2019 20:18:14 +0100
X-Original-Message-ID <1830024.xpsDbNyH0S@debian>
X-Original-References <156476134336.1572.8673888322442982620.reportbug@mlab-ryzen3> <6348545.Eg5KThqaVp@debian> <156476134336.1572.8673888322442982620.reportbug@mlab-ryzen3> <6348545.Eg5KThqaVp@debian>
Xref csiph.com linux.debian.bugs.dist:988911 linux.debian.kernel:65925

Cross-posted to 2 groups.

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Le samedi 28 décembre 2019, 19:21:47 CET Fab Stz a écrit :
> Hello,
> 
> I have an equivalent problem with "5.3.0-0.bpo.2-amd64"
> 
> [drm:amdgpu_pci_probe [amdgpu]] *ERROR* amdgpu requires firmware installed
> 
> I have both "4.19.0-6-amd64" installed and "5.3.0-0.bpo.2-amd64"
> 
> I checked the content of "/boot/initrd.img-5.3.0-0.bpo.2-amd64" which is the
> file used by grub according to /boot/grub/grub.cfg. Please find it attached
> 
> # lsinitramfs /boot/initrd.img-5.3.0-0.bpo.2-amd64  | grep amdgpu >
> lsinitramfs.out.txt
> 
> The firmware files are there, but
> - on 4.19 they are in folder usr/lib/firmware/amdgpu/
> - on 5.3 they are in folder usr/lib/firmware/5.3.0-0.bpo.2-amd64/amdgpu/
> 
> Could that difference in location be the cause ? How to get it working ?
> 
> Regards

A workaround/fix is to patch /usr/share/initramfs-tools/hook-functions this 
way (see patch attached)

That way, the firmware will be copied from 
  /lib/firmware/5.3.0-0.bpo.2-amd64/amdgpu/
to this dir in the initramfs
  usr/lib/firmware/amdgpu/
instead of
  usr/lib/firmware/5.3.0-0.bpo.2-amd64/amdgpu/

After that, at boot-time the amdgpu firmware is found.

Please note that after patching it is necessary to run this command:
# update-initramfs -u -k <the_kernel_version>

BTW: #933733 and #942513 may be duplicates.

Regards

Back to linux.debian.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Bug#933733: linux-image-4.19.0-5-amd64: amdgpu does not find installed firmware "H. Muller" <hxmuller@gmail.com> - 2019-08-02 18:10 +0200
  Bug#933733: linux-image-4.19.0-5-amd64: amdgpu does not find installed firmware (Also "5.3.0-0.bpo.2-amd64") Fab Stz <fabstz-it@yahoo.fr> - 2019-12-28 19:30 +0100
    Bug#933733: linux-image-4.19.0-5-amd64: amdgpu does not find installed firmware (Also "5.3.0-0.bpo.2-amd64") Fab Stz <fabstz-it@yahoo.fr> - 2019-12-28 20:30 +0100

csiph-web