Your message dated Tue, 12 Dec 2023 15:34:54 +0000
with message-id <e1rd4mc-005csb...@fasolo.debian.org>
and subject line Bug#1013285: fixed in needrestart 3.6-7
has caused the Debian Bug report #1013285,
regarding needrestart: Failed to check for processor microcode upgrades.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1013285: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1013285
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: needrestart
Version: 3.6-1
Severity: normal

`sudo needrestart -w` always prints "Failed to check for processor
microcode upgrades." on my AMD Ryzen 9 3900X 12-Core Processor.

I also don't have 'cpuid' in /dev/cpu/##/, but fixing that doesn't help.

  $ ls -l /dev/cpu/0/
  total 0
  crw-------. 1 root root 202, 0 Jun 20 02:29 msr
  $ lsmod | grep -i cpuid
  $ sudo modprobe cpuid
  [sudo] password for nicholas:
  $ lsmod | grep -i cpuid
  cpuid                  16384  0
  $ ls -l /dev/cpu/0/
  total 0
  crw-------. 1 root root 203, 0 Jun 20 13:48 cpuid
  crw-------. 1 root root 202, 0 Jun 20 02:29 msr
  $ sudo /usr/sbin/needrestart -w
  Scanning processor microcode...

  Failed to check for processor microcode upgrades.

The first core's worth of cpuinfo looks like this:

  processor       : 0
  vendor_id       : AuthenticAMD
  cpu family      : 23
  model           : 113
  model name      : AMD Ryzen 9 3900X 12-Core Processor
  stepping        : 0
  microcode       : 0x8701021
  cpu MHz         : 2200.000
  cache size      : 512 KB
  physical id     : 0
  siblings        : 24
  core id         : 0
  cpu cores       : 12
  apicid          : 0
  initial apicid  : 0
  fpu             : yes
  fpu_exception   : yes
  cpuid level     : 16
  wp              : yes
  flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr
pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext
fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc
cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16
sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm
cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch
osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext
perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibpb stibp
vmmcall fsgsbase bmi1 avx2 smep bmi2 cqm rdt_a rdseed adx smap
clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc
cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr
rdpru wbnoinvd arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean
flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload
vgif v_spec_ctrl umip rdpid overflow_recov succor smca sev sev_es
  bugs            : sysret_ss_attrs spectre_v1 spectre_v2 spec_store_bypass
  bogomips        : 7586.41
  TLB size        : 3072 4K pages
  clflush size    : 64
  cache_alignment : 64
  address sizes   : 43 bits physical, 48 bits virtual
  power management: ts ttp tm hwpstate cpb eff_freq_ro [13] [14]

The log from needrestart -w -v shows a failure "Use of uninitialized
value $processor in concatenation (.) or string at
/usr/share/perl5/NeedRestart/uCode.pm line 61.", but I think that's
only an error in a logging statement after it's already failed:

  $ sudo /usr/sbin/needrestart -w -v
  [main] eval /etc/needrestart/needrestart.conf
  [main] needrestart v3.6
  [main] running in root mode
  [Core] Using UI 'NeedRestart::UI::stdio'...
  [main] systemd detected
  [ucode] using NeedRestart::uCode::AMD
  [ucode] using NeedRestart::uCode::Intel
  [uCode/AMD] #0 Failed to open /dev/cpu/0/cpuid (Missed `modprobe
cpuid`?): No such file or directory
  [uCode/AMD] #0 cpuid 0x00870f10  (/proc/cpuinfo)
  [uCode/AMD] #0 running ucode 0x08701021
  [uCode/AMD] cpuid 0x00100f80: found processor id 0x00001080
  [uCode/AMD] cpuid 0x00100f81: found processor id 0x00001081
  [uCode/AMD] cpuid 0x00100f62: found processor id 0x00001062
  [uCode/AMD] cpuid 0x00100f23: found processor id 0x00001022
  [uCode/AMD] cpuid 0x00100f43: found processor id 0x00001043
  [uCode/AMD] cpuid 0x00100f91: found processor id 0x00001081
  [uCode/AMD] cpuid 0x00100f2a: found processor id 0x00001020
  [uCode/AMD] cpuid 0x00100f63: found processor id 0x00001043
  [uCode/AMD] cpuid 0x00100f42: found processor id 0x00001041
  [uCode/AMD] cpuid 0x00300f10: found processor id 0x00003010
  [uCode/AMD] cpuid 0x00200f31: found processor id 0x00002031
  [uCode/AMD] cpuid 0x00100f52: found processor id 0x00001041
  [uCode/AMD] cpuid 0x00100fa0: found processor id 0x000010a0
  [uCode/AMD] cpuid 0x00100f53: found processor id 0x00001043
  [uCode/AMD] cpuid 0x00100f22: found processor id 0x00001022
  [uCode/AMD] cpuid 0x00500f10: found processor id 0x00005010
  [uCode/AMD] cpuid 0x00500f20: found processor id 0x00005020
  [uCode/AMD] processor id 0x00001022: available ucode 0x01000083
  [uCode/AMD] processor id 0x00001020: available ucode 0x01000084
  [uCode/AMD] processor id 0x00001062: available ucode 0x010000c7
  [uCode/AMD] processor id 0x00001043: available ucode 0x010000c8
  [uCode/AMD] processor id 0x00001081: available ucode 0x010000d9
  [uCode/AMD] processor id 0x00001080: available ucode 0x010000da
  [uCode/AMD] processor id 0x00001041: available ucode 0x010000db
  [uCode/AMD] processor id 0x000010a0: available ucode 0x010000dc
  [uCode/AMD] processor id 0x00002031: available ucode 0x02000032
  [uCode/AMD] processor id 0x00003010: available ucode 0x03000027
  [uCode/AMD] processor id 0x00005010: available ucode 0x05000029
  [uCode/AMD] processor id 0x00005020: available ucode 0x05000119
  [uCode/AMD] cpuid 0x00600f20: found processor id 0x00006020
  [uCode/AMD] cpuid 0x00610f01: found processor id 0x00006101
  [uCode/AMD] cpuid 0x00600f12: found processor id 0x00006012
  [uCode/AMD] processor id 0x00006012: available ucode 0x0600063e
  [uCode/AMD] processor id 0x00006020: available ucode 0x06000852
  [uCode/AMD] processor id 0x00006101: available ucode 0x06001119
  [uCode/AMD] cpuid 0x00700f01: found processor id 0x00007001
  [uCode/AMD] processor id 0x00007001: available ucode 0x0700010f
  [uCode/AMD] cpuid 0x00800f82: found processor id 0x00008082
  [uCode/AMD] cpuid 0x00800f12: found processor id 0x00008012
  [uCode/AMD] cpuid 0x00830f10: found processor id 0x00008310
  [uCode/AMD] processor id 0x00008082: available ucode 0x0800820d
  [uCode/AMD] processor id 0x00008012: available ucode 0x0800126e
  [uCode/AMD] processor id 0x00008310: available ucode 0x08301055
  [uCode/AMD] cpuid 0x00a00f10: found processor id 0x0000a010
  [uCode/AMD] cpuid 0x00a00f11: found processor id 0x0000a011
  [uCode/AMD] cpuid 0x00a00f12: found processor id 0x0000a012
  [uCode/AMD] processor id 0x0000a010: available ucode 0x0a001058
  [uCode/AMD] processor id 0x0000a011: available ucode 0x0a001173
  [uCode/AMD] processor id 0x0000a012: available ucode 0x0a001229
  Use of uninitialized value $processor in concatenation (.) or string
at /usr/share/perl5/NeedRestart/uCode.pm line 61.
  [ucode] # did not get available microcode version
  [uCode/Intel] #0 current revision: 0x8701021
  + iucode_tool --scan-system
  + grep -oE [^[:space:]]+$
  + sig=processor
  + [ -r /sys/devices/system/cpu/cpu0/microcode/processor_flags ]
  + cat /sys/devices/system/cpu/cpu0/microcode/processor_flags
  + filter=-s processor,0x0
  + test -r /etc/needrestart/iucode.sh
  + . /etc/needrestart/iucode.sh
  + type bsdtar
  + IUCODE_TOOL_EXTRA_OPTIONS=
  + test -r /etc/default/intel-microcode
  + . /etc/default/intel-microcode
  + test  = no
  + [ -r /usr/share/misc/intel-microcode* ]
  + iucode_tool -l -s processor,0x0 --ignore-broken -tb
/lib/firmware/intel-ucode
  + grep processor
  Use of uninitialized value $processor in concatenation (.) or string
at /usr/share/perl5/NeedRestart/uCode.pm line 61.
  [ucode] # did not get available microcode version

  Failed to check for processor microcode upgrades.

The -v output is slightly different after modprobing cpuid:

  [main] eval /etc/needrestart/needrestart.conf
  [main] needrestart v3.6
  [main] running in root mode
  [Core] Using UI 'NeedRestart::UI::stdio'...
  [main] systemd detected
  [ucode] using NeedRestart::uCode::AMD
  [ucode] using NeedRestart::uCode::Intel
  [uCode/AMD] #0 cpuid 0x00870f10  (/dev/cpu/0/cpuid)
  [uCode/AMD] #0 cpuid 0x00870f10  (/proc/cpuinfo)
  [uCode/AMD] #0 running ucode 0x08701021
  [uCode/AMD] cpuid 0x00100f80: found processor id 0x00001080
  [uCode/AMD] cpuid 0x00100f81: found processor id 0x00001081
  [uCode/AMD] cpuid 0x00100f62: found processor id 0x00001062
  [uCode/AMD] cpuid 0x00100f23: found processor id 0x00001022
  [uCode/AMD] cpuid 0x00100f43: found processor id 0x00001043
  [uCode/AMD] cpuid 0x00100f91: found processor id 0x00001081
  [uCode/AMD] cpuid 0x00100f2a: found processor id 0x00001020
  [uCode/AMD] cpuid 0x00100f63: found processor id 0x00001043
  [uCode/AMD] cpuid 0x00100f42: found processor id 0x00001041
  [uCode/AMD] cpuid 0x00300f10: found processor id 0x00003010
  [uCode/AMD] cpuid 0x00200f31: found processor id 0x00002031
  [uCode/AMD] cpuid 0x00100f52: found processor id 0x00001041
  [uCode/AMD] cpuid 0x00100fa0: found processor id 0x000010a0
  [uCode/AMD] cpuid 0x00100f53: found processor id 0x00001043
  [uCode/AMD] cpuid 0x00100f22: found processor id 0x00001022
  [uCode/AMD] cpuid 0x00500f10: found processor id 0x00005010
  [uCode/AMD] cpuid 0x00500f20: found processor id 0x00005020
  [uCode/AMD] processor id 0x00001022: available ucode 0x01000083
  [uCode/AMD] processor id 0x00001020: available ucode 0x01000084
  [uCode/AMD] processor id 0x00001062: available ucode 0x010000c7
  [uCode/AMD] processor id 0x00001043: available ucode 0x010000c8
  [uCode/AMD] processor id 0x00001081: available ucode 0x010000d9
  [uCode/AMD] processor id 0x00001080: available ucode 0x010000da
  [uCode/AMD] processor id 0x00001041: available ucode 0x010000db
  [uCode/AMD] processor id 0x000010a0: available ucode 0x010000dc
  [uCode/AMD] processor id 0x00002031: available ucode 0x02000032
  [uCode/AMD] processor id 0x00003010: available ucode 0x03000027
  [uCode/AMD] processor id 0x00005010: available ucode 0x05000029
  [uCode/AMD] processor id 0x00005020: available ucode 0x05000119
  [uCode/AMD] cpuid 0x00600f20: found processor id 0x00006020
  [uCode/AMD] cpuid 0x00610f01: found processor id 0x00006101
  [uCode/AMD] cpuid 0x00600f12: found processor id 0x00006012
  [uCode/AMD] processor id 0x00006012: available ucode 0x0600063e
  [uCode/AMD] processor id 0x00006020: available ucode 0x06000852
  [uCode/AMD] processor id 0x00006101: available ucode 0x06001119
  [uCode/AMD] cpuid 0x00700f01: found processor id 0x00007001
  [uCode/AMD] processor id 0x00007001: available ucode 0x0700010f
  [uCode/AMD] cpuid 0x00800f82: found processor id 0x00008082
  [uCode/AMD] cpuid 0x00800f12: found processor id 0x00008012
  [uCode/AMD] cpuid 0x00830f10: found processor id 0x00008310
  [uCode/AMD] processor id 0x00008082: available ucode 0x0800820d
  [uCode/AMD] processor id 0x00008012: available ucode 0x0800126e
  [uCode/AMD] processor id 0x00008310: available ucode 0x08301055
  [uCode/AMD] cpuid 0x00a00f10: found processor id 0x0000a010
  [uCode/AMD] cpuid 0x00a00f11: found processor id 0x0000a011
  [uCode/AMD] cpuid 0x00a00f12: found processor id 0x0000a012
  [uCode/AMD] processor id 0x0000a010: available ucode 0x0a001058
  [uCode/AMD] processor id 0x0000a011: available ucode 0x0a001173
  [uCode/AMD] processor id 0x0000a012: available ucode 0x0a001229
  Use of uninitialized value $processor in concatenation (.) or string
at /usr/share/perl5/NeedRestart/uCode.pm line 61.
  [ucode] # did not get available microcode version
  [uCode/Intel] #0 current revision: 0x8701021
  + iucode_tool --scan-system
  + grep -oE [^[:space:]]+$
  + sig=processor
  + [ -r /sys/devices/system/cpu/cpu0/microcode/processor_flags ]
  + cat /sys/devices/system/cpu/cpu0/microcode/processor_flags
  + filter=-s processor,0x0
  + test -r /etc/needrestart/iucode.sh
  + . /etc/needrestart/iucode.sh
  + type bsdtar
  + IUCODE_TOOL_EXTRA_OPTIONS=
  + test -r /etc/default/intel-microcode
  + . /etc/default/intel-microcode
  + test  = no
  + [ -r /usr/share/misc/intel-microcode* ]
  + iucode_tool -l -s processor,0x0 --ignore-broken -tb
/lib/firmware/intel-ucode
  + grep processor
  Use of uninitialized value $processor in concatenation (.) or string
at /usr/share/perl5/NeedRestart/uCode.pm line 61.
  [ucode] # did not get available microcode version

  Failed to check for processor microcode upgrades.

-- Package-specific info:
needrestart output:
Your outdated processes:
pidgin[2780]

checkrestart output:


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

Kernel: Linux 5.18.0-2-amd64 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=en_CA.utf8, LC_CTYPE=en_CA.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Permissive - Policy name: default

Versions of packages needrestart depends on:
ii  binutils                   2.38.50.20220615-4
ii  dpkg                       1.21.8
ii  gettext-base               0.21-6
ii  libintl-perl               1.26-4
ii  libmodule-find-perl        0.15-1
ii  libmodule-scandeps-perl    1.31-1
ii  libproc-processtable-perl  0.634-1+b1
ii  libsort-naturally-perl     1.03-3
ii  libterm-readkey-perl       2.38-1+b3
ii  perl                       5.34.0-4
ii  xz-utils                   5.2.5-2.1

Versions of packages needrestart recommends:
ii  libpam-systemd  251.2-5
ii  systemd         251.2-5

Versions of packages needrestart suggests:
ii  iucode-tool          2.3.1-1
ii  libnotify-bin        0.7.12-1
ii  needrestart-session  0.3-9

-- debconf-show failed

--- End Message ---
--- Begin Message ---
Source: needrestart
Source-Version: 3.6-7
Done: Patrick Matthäi <pmatth...@debian.org>

We believe that the bug you reported is fixed in the latest version of
needrestart, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1013...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Patrick Matthäi <pmatth...@debian.org> (supplier of updated needrestart package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 12 Dec 2023 15:37:14 +0100
Source: needrestart
Architecture: source
Version: 3.6-7
Distribution: unstable
Urgency: high
Maintainer: Patrick Matthäi <pmatth...@debian.org>
Changed-By: Patrick Matthäi <pmatth...@debian.org>
Closes: 1013285
Changes:
 needrestart (3.6-7) unstable; urgency=high
 .
   * Add patch 07-mark-unavailable-firmware-as-CURRENT to report missing
     firmware support as current.
     Closes: #1013285
Checksums-Sha1:
 5c0fee730f6e38f5aa7672a4e1ef42694caa01ab 1820 needrestart_3.6-7.dsc
 16e30b8c5ca9fb164587c1a18cbcceec3afa9d40 71159 needrestart_3.6.orig.tar.gz
 5725b72fe31f9a2cb1da96319268875be8665259 12344 needrestart_3.6-7.debian.tar.xz
 31b3dd8f61488f71321f008625e6b7d8c960e537 6317 
needrestart_3.6-7_source.buildinfo
Checksums-Sha256:
 7ef59ca8de61578f2d7a7f2f54937699fe200addb22556c3d878e85192252866 1820 
needrestart_3.6-7.dsc
 3dced40d6116287b163da018d57014b0b7cee04794a95f8602126e2c296ed1a7 71159 
needrestart_3.6.orig.tar.gz
 c5481acb357b585c46b124b7337cff6e8739d5ec4bdb5a34b1055ad94d50ea1d 12344 
needrestart_3.6-7.debian.tar.xz
 4bf07c24299d9abf546ea8c62f5ecf044ae3c577c98251543bb4a9f4537643f5 6317 
needrestart_3.6-7_source.buildinfo
Files:
 57cc7ef6a079fd505af4f56eeb412884 1820 admin optional needrestart_3.6-7.dsc
 8ea62680286b44f7c1ffb8298ed99385 71159 admin optional 
needrestart_3.6.orig.tar.gz
 67888e3d68a8d18053732755890867d5 12344 admin optional 
needrestart_3.6-7.debian.tar.xz
 1217053926c835a1c859c4098d964b0f 6317 admin optional 
needrestart_3.6-7_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEWKA9xYJCWk3IuQ4TEtmwSpDL2OQFAmV4ek4ACgkQEtmwSpDL
2OTThA//emt8DP9rq++hIvwqQRC5nTeJXT37SMXOS407ir0B6qM6mk/Fla0ZVckL
hWuvJ89bTDb9dfGfxTSHCGZUDIBFn2XASO5CWyniZG681wBaX8kBlzL3hUgw+1u4
S8x5mBUuAKdfrJVWHk00dC3z8HJrGKQDPU+p18yV/a+u4IHLfRa9NLO4LYQ8rU2D
lh6ph4ah3ISSLYdOEtFetG1vs5yloSYe7nFEC6Iiee9RNfY0H13uUcd74bMZkTNx
snT+7gAmz4cbcD+Dq9QUHCJQZW6ZcykuDiXro5tkYFLmm1ye4iOZ5VPsa8Tsl7u5
Vpg3G6IqOnykQC+rohilRcixYczIvOCbGq3dEVYSBPdpv9xPBL2Ywexj6Ri6s2nF
9xd4E33reZ0DGGRft5fSGLQ0vFLfy5yzUAoir6xbD0MO243OGo21MlqVaLpBd0xP
ZCBhWc+GNon6afkfW9acgW8Iz7aTQxSVSbHvnCWHaprLbovZU9qNiv4RzrL5/1KZ
NLXLt7LZrRpUGHFe7cKrnAFFa4j+c/dkGG4iTgtDRR8kiprsD3NIfhcYJoX2PWFV
YsKeKhaE4R8joH/a0sEpVDE62/u947iIiHzFZJmTgm2/do+SZCzrwdcOIsX7GS9N
VkRF3Qqu8osv9efkpWeYj9XermV/MSpDJM65NhQqrgWmObBQu84=
=Pp6R
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to