Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#973050: needrestart: Use of uninitialized value in hex at /usr/share/perl5/NeedRestart/uCode/AMD.pm line 169

89 views
Skip to first unread message

Martin-Éric Racine

unread,
Oct 27, 2020, 11:50:04 AM10/27/20
to
Package: needrestart
Version: 3.5-1
Severity: normal

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

Scanning processes...
Use of uninitialized value in hex at /usr/share/perl5/NeedRestart/uCode/AMD.pm line 169.==================== ]
Scanning processor microcode...
Scanning linux images...
Running kernel seems to be up-to-date.
The processor microcode seems to be up-to-date.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.

This output appears on an AMD Geode LX800.

- -- Package-specific info:
needrestart output:

checkrestart output:


- -- System Information:
Debian Release: bullseye/sid
APT prefers testing-debug
APT policy: (1000, 'testing-debug'), (1000, 'testing'), (500, 'stable')
Architecture: i386 (i586)

Kernel: Linux 5.9.0-1-686 (SMP w/1 CPU thread)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8), LANGUAGE=fi:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages needrestart depends on:
ii binutils 2.35.1-2
ii dpkg 1.20.5
ii gettext-base 0.19.8.1-10
ii libintl-perl 1.26-2
ii libmodule-find-perl 0.15-1
ii libmodule-scandeps-perl 1.29-1
ii libproc-processtable-perl 0.59-2
ii libsort-naturally-perl 1.03-2
ii libterm-readkey-perl 2.38-1+b1
ii perl 5.30.3-4
ii xz-utils 5.2.4-1+b1

Versions of packages needrestart recommends:
ii libpam-systemd 246.6-2

Versions of packages needrestart suggests:
ii iucode-tool 2.3.1-1
pn needrestart-session | libnotify-bin <none>

- -- no debconf information

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

iQIzBAEBCAAdFiEEyJACx3qL7GpObXOQrh+Cd8S017YFAl+X6/YACgkQrh+Cd8S0
17b0Qg/7BUjLGuhI9+DZPxViyUjRiZ/Qkv3eGeR00agK3LvT/UNKFk9EeRH5U52u
XErnD7MbP5TeinhmjpxcCw9+1A1+SKYQRAeZziC5XTNwcbMq6Bb5HAqmx8WD+wou
PbQkL1/I2EmlnXZYu5NRBKy7T2IDX+Gb3AtG4kjYR8tBAwXe6CAnU71V1IFjjlv6
5PIUGQ5TAVfNonZw1wOS3CKWe3kMIS0x7MiTGHHhJjR2wOrpRz6eR+UqKvYscVyd
E2xEA9tfHfBzjz95SLEHFc7zq+l9hCAmuZ3cLst8pZNWtqYnT02WR3C/GjwT8K+t
QpF3A6xHgN67iM0gejOHOGxzFJwy5lc7uv+s58GX7MihV7zn4FG+wIIWfpoFEcnf
va2oqPR+X07bU5BJNJDG56K9Z1pQKlNu/WEnxYkjeZwSfZNI8TQtMf9OVaysD5Jn
fQyGrSngjvvv7ZOIiKFEFiKWYHEg4gcsZDPANmx1d00FuwcE5Fc5tsidYk53XOnF
3jXQ/JaV/jVRkr/kTr6vPSuJW6jNIZ0cJyWWrtuTekviD1e0GGtHwsI0bkAg/v+F
CNHvor3oozX+CHY8TQtgxrCcQKiys8dSzdmFhrDOawKbFsxJg/ex6R4yfcdTjq2b
FIHFsC5J74xYdSH5qyEcpTjY/QRnl9M/eG4w1toKV1CJ2ymxgx8=
=vAY/
-----END PGP SIGNATURE-----

Thomas Liske

unread,
Oct 29, 2020, 2:40:04 PM10/29/20
to
Hi,

could you please provide the output of `needrestart -vw`?


TIA & Regards,
Thomas


On 27.10.20 10:44, Martin-Éric Racine wrote:
> Package: needrestart
> Version: 3.5-1
> Severity: normal
>
> Scanning processes...
> Use of uninitialized value in hex at /usr/share/perl5/NeedRestart/uCode/AMD.pm line 169.==================== ]
> Scanning processor microcode...
> Scanning linux images...
> Running kernel seems to be up-to-date.
> The processor microcode seems to be up-to-date.
> No services need to be restarted.
> No containers need to be restarted.
> No user sessions are running outdated binaries.
>
> This output appears on an AMD Geode LX800.
>
> -- Package-specific info:
> needrestart output:
>
> checkrestart output:
>
>
> -- no debconf information
>
>

Martin-Éric Racine

unread,
Oct 29, 2020, 2:50:06 PM10/29/20
to
[main] eval /etc/needrestart/needrestart.conf
[main] needrestart v3.5
[main] running in root mode
[Core] Using UI 'NeedRestart::UI::stdio'...
[main] systemd detected
[ucode] using NeedRestart::uCode::Intel
[ucode] using NeedRestart::uCode::AMD
[uCode/Intel] #0 current microcode revision not found in /proc/cpuinfo:
[uCode/AMD] #0 Failed to open /dev/cpu/0/cpuid (Missed `modprobe
cpuid`?): No such file or directory
[uCode/AMD] #0 cpuid 0x000005a2 (/proc/cpuinfo)
Use of uninitialized value in hex at
/usr/share/perl5/NeedRestart/uCode/AMD.pm line 169.
[uCode/AMD] #0 running ucode 0x00000000
[uCode/AMD] #0 no ucode updates available
The processor microcode seems to be up-to-date.

Charles Curley

unread,
Dec 13, 2020, 11:40:04 AM12/13/20
to
Also, oddly enough, on a Geode LX 800, specifically a Fit-PC 1.
https://en.wikipedia.org/wiki/Fit-PC

From reportbug:

...

-- Package-specific info:
needrestart output:

Running kernel seems to be up-to-date.

The processor microcode seems to be up-to-date.

Services to be restarted:
systemctl restart apcupsd.service
systemctl restart cron.service
systemctl restart ntp.service
systemctl restart postfix@-.service
systemctl restart rsyslog.service
systemctl restart smartmontools.service
systemctl restart ssh.service
systemctl restart systemd-journald.service
/etc/needrestart/restart.d/systemd-manager
systemctl restart systemd-udevd.service

Service restarts being deferred:
/etc/needrestart/restart.d/dbus.service
systemctl restart ge...@tty1.service
systemctl restart systemd-logind.service
systemctl restart unattended-upgrades.service

No containers need to be restarted.

User sessions running outdated binaries:
root @ session #603: sshd[16583]
root @ user manager service: systemd[16362]



-- System Information:
Debian Release: bullseye/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i586)

Kernel: Linux 5.9.0-4-686 (SMP w/1 CPU thread)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages needrestart depends on:
ii binutils 2.35.1-4
ii dpkg 1.20.5
ii gettext-base 0.19.8.1-10
ii libintl-perl 1.26-2
ii libmodule-find-perl 0.15-1
ii libmodule-scandeps-perl 1.29-1
ii libproc-processtable-perl 0.59-2+b1
ii libsort-naturally-perl 1.03-2
ii libterm-readkey-perl 2.38-1+b2
ii perl 5.32.0-5
ii xz-utils 5.2.4-1+b1

Versions of packages needrestart recommends:
ii libpam-systemd 247.1-3

Versions of packages needrestart suggests:
pn iucode-tool <none>
pn needrestart-session | libnotify-bin <none>

-- no debconf information



root@white:~# needrestart -vw
[main] eval /etc/needrestart/needrestart.conf
[main] needrestart v3.5
[main] running in root mode
[Core] Using UI 'NeedRestart::UI::stdio'...
[main] systemd detected
[ucode] using NeedRestart::uCode::Intel
[ucode] using NeedRestart::uCode::AMD
[uCode/Intel] #0 current microcode revision not found in /proc/cpuinfo:
[uCode/AMD] #0 Failed to open /dev/cpu/0/cpuid (Missed `modprobe cpuid`?): No such file or directory
[uCode/AMD] #0 cpuid 0x000005a2 (/proc/cpuinfo)
Use of uninitialized value in hex at /usr/share/perl5/NeedRestart/uCode/AMD.pm line 169.
[uCode/AMD] #0 running ucode 0x00000000
[uCode/AMD] #0 no ucode updates available

The processor microcode seems to be up-to-date.
root@white:~#


Note: I noticed that both the OP and I are running on a Geode LX 800,
and that in both cases needrestart complains of a lack of the module
cpuinfo. I installed that module. I still get the reported error.


--
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/

Martin-Éric Racine

unread,
Aug 14, 2022, 4:40:04 AM8/14/22
to
Package: needrestart
Version: 3.6-1
Followup-For: Bug #973050

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

I've already provided the requested info. Is there anything else you need to fix this?

Martin-Éric

- -- System Information:
Debian Release: bookworm/sid
APT prefers testing-debug
APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: i386 (i586)

Kernel: Linux 5.18.0-3-686 (SMP w/1 CPU thread; PREEMPT)


Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8), LANGUAGE=fi:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages needrestart depends on:

ii binutils 2.38.90.20220713-2
ii dpkg 1.21.9
ii gettext-base 0.21-6
ii libintl-perl 1.26-4
ii libmodule-find-perl 0.16-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-5
ii xz-utils 5.2.5-2.1

Versions of packages needrestart recommends:

ii libpam-systemd 251.3-1
ii systemd 251.3-1

Versions of packages needrestart suggests:
ii iucode-tool 2.3.1-1
pn needrestart-session | libnotify-bin <none>

- -- no debconf information

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

iQIzBAEBCAAdFiEEyJACx3qL7GpObXOQrh+Cd8S017YFAmL4spcACgkQrh+Cd8S0
17agyA/+IJqkJ7hhtJ1jbQV7puZVBSE1IkNOYgoFdeqnRvn+o5X3tSyIvRbp6OVd
oNYSKoWnCveREEqJzO6EvFDItAM1jOq935pfYU4e928wtmo5o1Wwr8btCXPwFc/N
L09ShnUFTIwFsMsB0Jsq4E7bhT06HdKkzMMLhgr/bhcnSk7XTZz6HrxW0EXRFRhY
VCsFjOzD16OOfcS8g/doBRsUS/7hichmzXFqw43oVWSTDo5VGiYg4cxhimHCOmaS
mx1TxDpGImTX47Zise56s2HwXDmb5l1jYl7cb06crSwYVZUY8/WVGNr2nTiDmn6J
i09wz6WiDMlut113GaFbN0QbEIuNuab2jn1HTmHX3gtfNTB79BxgmD99Leb94ht8
Y2Q9lV+afLjGKjrwPNuSCbBPXkhGjrnIGtuF17XvA73XKjf2Ec1NBMa64ZJ2blEd
TNaETXRo3LcmBwGzHZ3V66EkPuTmJHvkzQzYkB1agnHBfaDL0rlrwnKrrw6Uv/z7
vT6GyvnGNeFNbO3YVnbASSc18Sry5uHHlWeUTl/7isZoPksAdhtbEF4JKpz74l7D
a4KSOz9dDhPtfiBh21mvOiQDR5LVJgSoXUcCk17sjE0+0ahBrVVH83gp4QfQxx/B
OiIZ7rdNO3KCAIzFn1QDykGXQJVww1sE34RvfGFzURxmQ/iJ1cI=
=Rggb
-----END PGP SIGNATURE-----

Martin-Éric Racine

unread,
May 1, 2023, 4:40:05 AM5/1/23
to
On Sun, 14 Aug 2022 11:30:22 +0300 =?utf-8?q?Martin-=C3=89ric_Racine?=
<martin-er...@iki.fi> wrote:
> Package: needrestart
> Version: 3.6-1
> Followup-For: Bug #973050
> I've already provided the requested info. Is there anything else you need to fix this?

Ping.

Renato Gallo

unread,
Jun 13, 2023, 6:10:04 AM6/13/23
to
Here it is

root@ghost:~# needrestart -vw
[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::Intel
[ucode] using NeedRestart::uCode::AMD
[uCode/Intel] #0 current revision: 0xa50000c
+ 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
[uCode/AMD] #0 cpuid 0x00a50f00  (/dev/cpu/0/cpuid)
[uCode/AMD] #0 cpuid 0x00a50f00  (/proc/cpuinfo)
[uCode/AMD] #0 running ucode 0x0a50000c
[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 0x08301072
[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 0x0a001078
[uCode/AMD] processor id 0x0000a011: available ucode 0x0a0011ce
[uCode/AMD] processor id 0x0000a012: available ucode 0x0a001231
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.



On Thu, 29 Oct 2020 19:30:16 +0100 Thomas Liske <tho...@fiasko-nw.net> wrote:
> Hi,
>
> could you please provide the output of `needrestart -vw`?
>
>
> TIA & Regards,
> Thomas
>
>
> On 27.10.20 10:44, Martin-Éric Racine wrote:
>  > Package: needrestart
>  > Version: 3.5-1
>  > Severity: normal
>  >
> > Scanning processes...
> > Use of uninitialized value in hex at /usr/share/perl5/NeedRestart/uCode/AMD.pm line 169.====================                                                                            ]
> > Scanning processor microcode...
> > Scanning linux images...
> > Running kernel seems to be up-to-date.
> > The processor microcode seems to be up-to-date.
> > No services need to be restarted.
> > No containers need to be restarted.
> > No user sessions are running outdated binaries.
> >
> > This output appears on an AMD Geode LX800.
> >
> > -- Package-specific info:
> > needrestart output:
> >
> > checkrestart output:
> >
> >

Renato Gallo

unread,
Jun 13, 2023, 6:20:04 AM6/13/23
to
>  > Package: needrestart
>  > Version: 3.5-1
>  > Severity: normal
>  >
> > Scanning processes...
> > Use of uninitialized value in hex at /usr/share/perl5/NeedRestart/uCode/AMD.pm line 169.====================                                                                            ]
> > Scanning processor microcode...
> > Scanning linux images...
> > Running kernel seems to be up-to-date.
> > The processor microcode seems to be up-to-date.
> > No services need to be restarted.
> > No containers need to be restarted.
> > No user sessions are running outdated binaries.
> >
> > This output appears on an AMD Geode LX800.
> >
> > -- Package-specific info:
> > needrestart output:
> >
> > checkrestart output:
> >
> >
0 new messages