Bug#1009350: linux-image-5.17.0-trunk-cloud-amd64: include i6300esb watchdog driver for openstack/libvirt/kvm/qemu

2022-04-12 Thread Christian Lamparter
Package: src:linux
Version: 5.17.1-1~exp1
Severity: normal

Dear Maintainer,

when working with linux-image-cloud-amd64's bullseye cousin,
I noticed that the watchdog dev (/dev/watchdog) was absent
from the VM and I'm unable to use the watchdog actions.

The OpenStack wiki says that only "i6300esb" makes sense:
<https://wiki.openstack.org/wiki/LibvirtWatchdog>

"KVM has a choice of two watchdog devices, but in reality
only the PCI i6300esb device makes sense, since the alternative
is a legacy ISA bus device."

Looking through the provided modules files for the kernels

/lib/modules/5.10.0-13-cloud-amd64/kernel/drivers/watchdog/

(and later /lib/modules/5.17.0-trunk-cloud-amd64/kernel/drivers/watchdog/
of linux-image-5.17.0-trunk-cloud-amd64. I did this because the reportbug
suggested that I also look at the experimental branch and I thought:
"hey, why not?!")

the available watchdog modules are (both 5.10.0-13 + 5.17.0-trunk):
mei_wdt.ko, ni903x_wdt.ko, nic7018_wdt.ko, softdog.ko, wdat_wdt.ko,
wdt_pci.ko and xen_wdt.ko

This makes sense, since in /boot/config-5.10.0-13-cloud-amd64 and
/boot/config-5.17.0-trunk-cloud-amd64 had the watchdog disabled:

| # CONFIG_I6300ESB_WDT is not set

Would it be possible to build the i6300esb as a module for future
releases?

Thanks,
Christian Lamparter


-- Package-specific info:
** Kernel log: boot messages should be attached


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, powerpc, mips, arm64

Kernel: Linux 5.17.0-wt+ (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_DE.UTF-8, LC_CTYPE=C.UTF-8 (charmap=locale: Cannot set 
LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages linux-image-5.17.0-trunk-cloud-amd64 depends on:
ii  initramfs-tools [linux-initramfs-tool]  0.141
ii  kmod29-1
ii  linux-base  4.8

Versions of packages linux-image-5.17.0-trunk-cloud-amd64 recommends:
ii  apparmor 3.0.4-2
ii  firmware-linux-free  20200122-1

Versions of packages linux-image-5.17.0-trunk-cloud-amd64 suggests:
pn  debian-kernel-handbook  
ii  extlinux3:6.04~git20190206.bf6db5b4+dfsg1-3+b1
ii  grub-efi-amd64  2.06-2
pn  linux-doc-5.17  

Versions of packages linux-image-5.17.0-trunk-cloud-amd64 is related to:
ii  firmware-amd-graphics 20210818-1
ii  firmware-atheros  20210818-1
pn  firmware-bnx2 
pn  firmware-bnx2x
ii  firmware-brcm8021120210818-1
pn  firmware-cavium   
pn  firmware-intel-sound  
pn  firmware-intelwimax   
ii  firmware-ipw2x00  20210818-1
pn  firmware-ivtv 
ii  firmware-iwlwifi  20210818-1
ii  firmware-libertas 20210818-1
pn  firmware-linux-nonfree
ii  firmware-misc-nonfree 20210818-1
pn  firmware-myricom  
pn  firmware-netxen   
pn  firmware-qlogic   
ii  firmware-realtek  20210818-1
pn  firmware-samsung  
pn  firmware-siano
ii  firmware-ti-connectivity  20210818-1
pn  xen-hypervisor

-- debconf information:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en",
LC_ALL = (unset),
LC_CTYPE = "C.UTF-8",
LANG = "en_DE.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory

-- debsums errors found:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en",
LC_ALL = (unset),
LC_CTYPE = "C.UTF-8",
LANG = "en_DE.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").



Bug#864529: firmware-amd-graphics: missing firmware for AMD Radeon RX 560,570,580

2017-06-09 Thread Christian Lamparter
Package: firmware-amd-graphics
Version: 20161130-3
Severity: important
Tags: upstream

Dear Maintainer,

the new AMD Radeon RX 560 is currently missing a important firmware file:
/lib/firmware/amdgpu/polaris11_k_smc.bin (RX 560)
/lib/firmware/amdgpu/polaris10_k_smc.bin (RX 570, RX 580)

This firmware was added to linux-firmware.git back in February 2017:
<https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-
firmware.git/commit/?id=21d7887c63e5d21b4aaa4519e3e5fc058d86de61>
|From 21d7887c63e5d21b4aaa4519e3e5fc058d86de61 Mon Sep 17 00:00:00 2001
|From: Alex Deucher <alexander.deuc...@amd.com>
|Date: Fri, 17 Feb 2017 17:24:28 -0500
|Subject: amdgpu: add smc firmware for new polaris variants
|
|amdgpu: add smc firmware for new polaris variants
|from internal git commit:
|35328ab989a24fa32069bdbbea55f5cbcbdbcec6
|
|Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
|Signed-off-by: Kyle McMartin <k...@kernel.org>

Adding the firmware file manually into /lib/firmware/amdgpu
and loading amdgpu module does work as expected. The driver loads
and the GFX card has surprisingly good support. (No really!)

Thanks,
Christian Lamparter



-- System Information:
Debian Release: 9.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, powerpc, mips

Kernel: Linux 4.12.0-rc4-wt+ (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

firmware-amd-graphics depends on no packages.

firmware-amd-graphics recommends no packages.

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

-- no debconf information