Debian Bug report logs - #1057399
firmware-amd-graphics: Unintended consequence of /usr merge - video output ceases

version graph

Package: firmware-amd-graphics; Maintainer for firmware-amd-graphics is Debian Kernel Team <debian-kernel@lists.debian.org>; Source for firmware-amd-graphics is src:firmware-nonfree (PTS, buildd, popcon).

Reported by: Arthur Marsh <arthur.marsh@internode.on.net>

Date: Mon, 4 Dec 2023 13:09:01 UTC

Severity: normal

Tags: wontfix

Found in version firmware-nonfree/20230625-1

Done: Luca Boccassi <bluca@debian.org>

Bug is archived. No further changes may be made.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Kernel Team <debian-kernel@lists.debian.org>:
Bug#1057399; Package firmware-amd-graphics. (Mon, 04 Dec 2023 13:09:03 GMT) (full text, mbox, link).


Acknowledgement sent to Arthur Marsh <arthur.marsh@internode.on.net>:
New Bug report received and forwarded. Copy sent to Debian Kernel Team <debian-kernel@lists.debian.org>. (Mon, 04 Dec 2023 13:09:03 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Arthur Marsh <arthur.marsh@internode.on.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: firmware-amd-graphics: Unintended consequence of /usr merge - video output ceases
Date: Mon, 04 Dec 2023 23:34:29 +1030
Package: firmware-amd-graphics
Version: 20230625-1
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

A long time ago on a motherboard far away lived an AMD graphics card 
code-named Cedar. 

Cedar was missing its firmware so its owner copied the firmware to 
/lib/firmware/radeon and all was well.

The graphics card was later moved to another pc (after Cedar firmware was
packaged), replaced by an R7 250 
graphics card and all was well.

Later on the motherboard went to the great scrap metal recovery yard, 
replaced by a motherboard with an AMD APU, and its graphics unit was 
code-named Aruba and all was well.

Then, an early present arrived in the form of /usr merge for AMD graphics 
firmware. 
A small message said: 
"unable to remove /lib/firmware/radeon - directory not empty" 
and all was well until update-initramfs was run and a reboot.

For update-initramfs had found the old /lib/firmware/radeon and its Cedar 
firmware, but stopped searching for /usr/lib/firmware/radeon, which 
contained Aruba firmware.

Module radeon was loaded but Aruba firmware was not found, and no further 
video output appeared. (The boot process continued but not all stages were 
successful, preventing a remote shell into the machine).

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

Finally solved by running a rescue DVD, checking the package update log, 
and blacklisting the radeon module, then deleting /lib/firmware/radeon and 
running update-initramfs -u - k all

   * What was the outcome of this action?

Possible solutions: if dh_movetousr would result in both /lib/firmware/radeon 
and /usr/lib/firmware/radeon, report this as an error rather than an 
informational message, probably better here than in update-initramfs-tools.

Circumstances that lead to problems:

 1. Manually adding a missing firmware file, 
 2. Changing graphics card, 
 3. /usr merge leaving manually added firmware behind, with just an 
 informational message rather than an error 
 4. update-initramfs searching for old or new firmware locations but only 
 loading the first location (old) if both exist 
 5. radeon module ceasing video output (and possible further problems) if no 
 firmware found
 6. Forgetting how to blacklist a module from grub.

   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: trixie/sid
  APT prefers experimental
  APT policy: (1, 'experimental')
merged-usr: no
Architecture: amd64 (x86_64)

Kernel: Linux 6.7.0-rc3+ (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

firmware-amd-graphics depends on no packages.

firmware-amd-graphics recommends no packages.

Versions of packages firmware-amd-graphics suggests:
ii  initramfs-tools  0.142

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Kernel Team <debian-kernel@lists.debian.org>:
Bug#1057399; Package firmware-amd-graphics. (Mon, 04 Dec 2023 14:06:07 GMT) (full text, mbox, link).


Acknowledgement sent to Luca Boccassi <bluca@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Kernel Team <debian-kernel@lists.debian.org>. (Mon, 04 Dec 2023 14:06:07 GMT) (full text, mbox, link).


Message #10 received at 1057399@bugs.debian.org (full text, mbox, reply):

From: Luca Boccassi <bluca@debian.org>
To: 1057399@bugs.debian.org
Subject: Re: firmware-amd-graphics: Unintended consequence of /usr merge - video output ceases
Date: Mon, 04 Dec 2023 14:03:40 +0000
[Message part 1 (text/plain, inline)]
Control: tags -1 wontfix
Control: close -1

On Mon, 04 Dec 2023 23:34:29 +1030 Arthur Marsh
<arthur.marsh@internode.on.net> wrote:
> Package: firmware-amd-graphics
> Version: 20230625-1
> Severity: normal
> 
> Dear Maintainer,
> 
> *** Reporter, please consider answering these questions, where
appropriate ***
> 
>    * What led up to the situation?
> 
> A long time ago on a motherboard far away lived an AMD graphics card 
> code-named Cedar. 
> 
> Cedar was missing its firmware so its owner copied the firmware to 
> /lib/firmware/radeon and all was well.
> 
> The graphics card was later moved to another pc (after Cedar firmware
was
> packaged), replaced by an R7 250 
> graphics card and all was well.
> 
> Later on the motherboard went to the great scrap metal recovery yard,
> replaced by a motherboard with an AMD APU, and its graphics unit was 
> code-named Aruba and all was well.
> 
> Then, an early present arrived in the form of /usr merge for AMD
graphics 
> firmware. 
> A small message said: 
> "unable to remove /lib/firmware/radeon - directory not empty" 
> and all was well until update-initramfs was run and a reboot.

> -- System Information:
> Debian Release: trixie/sid
>   APT prefers experimental
>   APT policy: (1, 'experimental')
> merged-usr: no

Hi,

Unfortunately this system appears to be in an unsupported state. Please
install the usrmerge package to fix it. You can find more information
at:

https://wiki.debian.org/UsrMerge

-- 
Kind regards,
Luca Boccassi
[signature.asc (application/pgp-signature, inline)]

Added tag(s) wontfix. Request was from Luca Boccassi <bluca@debian.org> to 1057399-submit@bugs.debian.org. (Mon, 04 Dec 2023 14:06:07 GMT) (full text, mbox, link).


Marked Bug as done Request was from Luca Boccassi <bluca@debian.org> to 1057399-submit@bugs.debian.org. (Mon, 04 Dec 2023 14:06:07 GMT) (full text, mbox, link).


Notification sent to Arthur Marsh <arthur.marsh@internode.on.net>:
Bug acknowledged by developer. (Mon, 04 Dec 2023 14:06:08 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 02 Jan 2024 07:30:03 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Sep 14 06:28:10 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.