Your message dated Wed, 08 Jan 2025 00:55:03 +0000
with message-id <[email protected]>
and subject line Bug#1091997: fixed in isenkram 0.64
has caused the Debian Bug report #1091997,
regarding isenkram: Documentation for locating all modalias strings is incorrect
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 [email protected]
immediately.)
--
1091997: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1091997
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: isenkram
Version: 0.63
Severity: normal
Tags: patch
Dear Petter,
1) Some modalias files lack a trailing newline. E.g.:
/sys/devices/pci0000:00/0000:00:16.0/0000:00:16.0-082ee5a7-7c25-470a-9643-0c06f0466ea1/modalias
/sys/devices/pci0000:00/0000:00:16.0/0000:00:16.0-309dcde8-ccb1-4062-8f78-600115a34327/modalias
/sys/devices/pci0000:00/0000:00:16.0/0000:00:16.0-3c4852d6-d47b-4f46-b05e-b5edc1aa440e/modalias
/sys/devices/pci0000:00/0000:00:16.0/0000:00:16.0-42b3ce2f-bd9f-485a-96ae-26406230b1ff/modalias
/sys/devices/pci0000:00/0000:00:16.0/0000:00:16.0-55213584-9a29-4916-badf-0fb7ed682aeb/modalias
/sys/devices/pci0000:00/0000:00:16.0/0000:00:16.0-5565a099-7fe2-45c1-a22b-d7e9dfea9a2e/modalias
/sys/devices/pci0000:00/0000:00:16.0/0000:00:16.0-6861ec7b-d07a-4673-856c-7f22b4d55769/modalias
/sys/devices/pci0000:00/0000:00:16.0/0000:00:16.0-8c2f4425-77d6-4755-aca3-891fdbc66a58/modalias
/sys/devices/pci0000:00/0000:00:16.0/0000:00:16.0-8e6a6715-9abc-4043-88ef-9e39c6f63e0f/modalias
/sys/devices/pci0000:00/0000:00:16.0/0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04/modalias
/sys/devices/pci0000:00/0000:00:16.0/0000:00:16.0-dba4d603-d7ed-4931-8823-17ad585705d5/modalias
/sys/devices/pci0000:00/0000:00:16.0/0000:00:16.0-dd17041c-09ea-4b17-a271-5b989867ec65/modalias
/sys/devices/pci0000:00/0000:00:16.0/0000:00:16.0-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1/modalias
These are all related to the Intel Management Engine Interface (mei).
They break how isenkram documents locating all modalias strings.
2) Some /sys/devices directories include spaces in their names. E.g.:
/sys/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/Analog Playback and
Capture
/sys/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/Digital Playback and
Capture
/sys/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/HDA Analog
/sys/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/HDA Analog Deep
Buffer
This could potentially break things in the future.
3) All modalias files appear to be under /sys/devices
Below is a patch which addresses all of these.
Thank you!
Daniel Lewart
Urbana, Illinois
---
diff -ru a/NOTES b/NOTES
--- a/NOTES 2024-04-13 09:28:06.000000000 -0500
+++ b/NOTES 2025-01-03 00:00:00.000000000 -0600
@@ -125,7 +125,7 @@
identify them. The complete list if relevant modalias entries for a
given machine can be found using
- cat $(find /sys -name modalias) | sort -u
+ find /sys/devices -name modalias -print0 | xargs -0 sort -u
Kernel modules include modalias matching rules to report which
hardware they support, and modprobe can be used to list the relevant
diff -ru a/isenkram-lookup.rst b/isenkram-lookup.rst
--- a/isenkram-lookup.rst 2017-09-01 07:48:45.000000000 -0500
+++ b/isenkram-lookup.rst 2025-01-03 00:00:00.000000000 -0600
@@ -29,7 +29,7 @@
You can run this to locate all modalias strings for your machine:
- cat $(find /sys -name modalias) | sort -u
+ find /sys/devices -name modalias -print0 | xargs -0 sort -u
OPTIONS
=======
diff -ru a/modalias-format.txt b/modalias-format.txt
--- a/modalias-format.txt 2016-12-17 14:09:11.000000000 -0600
+++ b/modalias-format.txt 2025-01-03 00:00:00.000000000 -0600
@@ -11,7 +11,7 @@
The modalias entries for a given Linux machine can be found using this
shell script:
- cat $(find /sys/devices -name modalias) | sort -u
+ find /sys/devices -name modalias -print0 | xargs -0 sort -u
The supported modalias globs for a given kernel module can be found
using modinfo:
@@ -200,9 +200,9 @@
To check which kernel modules provide support for a given modalias,
one can use the following shell script:
- for id in $(cat $(find /sys -name modalias)|sort -u); do \
- echo "$id" ; \
- /sbin/modprobe --show-depends "$id"|sed 's/^/ /' ; \
+ find /sys/devices -name modalias -print0 | xargs -0 sort -u | while read -r
id; do
+ echo "$id"
+ /sbin/modprobe --show-depends "$id" | sed 's/^/ /'
done
The output can look like this (only the first few entries as the list
--- End Message ---
--- Begin Message ---
Source: isenkram
Source-Version: 0.64
Done: Petter Reinholdtsen <[email protected]>
We believe that the bug you reported is fixed in the latest version of
isenkram, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Petter Reinholdtsen <[email protected]> (supplier of updated isenkram 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Wed, 08 Jan 2025 00:07:43 +0100
Source: isenkram
Architecture: source
Version: 0.64
Distribution: unstable
Urgency: medium
Maintainer: Petter Reinholdtsen <[email protected]>
Changed-By: Petter Reinholdtsen <[email protected]>
Closes: 1091997
Changes:
isenkram (0.64) unstable; urgency=medium
.
* Dropped modaliases file entries where appstream xml is working
in unstable.
* Adjusted documentation to expect space and newline in unfortunate
places (Closes: #1091997).
Checksums-Sha1:
0daa597382ef93d93a07e7f9e92a8abd38127144 1857 isenkram_0.64.dsc
517672ac66c7c780f5eee5d969ba0682f2354537 56772 isenkram_0.64.tar.xz
f2abaee1691df3dc01b385c94c04079120cef11e 6363 isenkram_0.64_source.buildinfo
Checksums-Sha256:
8439f78b78507da32710090e0846966c47c65441d5a2525e21e8dd84f53124a8 1857
isenkram_0.64.dsc
b08186005a0aeb58edc793a37353e35251c56b4fe37303621180cb22488f52bf 56772
isenkram_0.64.tar.xz
910f666876f1c7f158186d64260bfaeca347fd141b6b52a1b861d2b32db0d01a 6363
isenkram_0.64_source.buildinfo
Files:
9e02bf6deafb5f298e5f642b94e50d20 1857 misc optional isenkram_0.64.dsc
5fd68ab2371ed4f461e7bb330d71312c 56772 misc optional isenkram_0.64.tar.xz
e5811ac3ed9d3f87038ae0dc9d3fe132 6363 misc optional
isenkram_0.64_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEERqLf4owIeylOb9kkgSgKoIe6+w4FAmd9tIUACgkQgSgKoIe6
+w70pQ//cLAa7uW+J1jSn4PB9crtLi08dU0gcoOjFHSyn3sIp1F+XYIl5MW1oqK5
TOAhCprV579csOGsjFr2eqokOWWAXgEno76LzZPkqjLyitvWl5E+90ilD9PlXHD2
Iji4X6o5hlfgYVcBGT9iRhkkcaLf6aTfdh8Bi/Rn0i81TiOGDIJK0PxE5WSUW7g1
PyxfA1TbF+nB9vuxqRKOZtSCuGF1ISVXGREWC4Y1LgYGuh0jEFhpa7iC4Xzxv4y0
YZVo8XecKUm0cNO74DuqxShukiY3OkVmx879OWP9Yq5/QucHGSA+TDqNBlU+QNGc
J5j4AOjrLKCyOShcQZW/iAfjN8Cf5YcgVclgKqR4u6XjsebliMOpb7t44byKtl9f
2aPcIvSfbqcfHg1dFPEdLDLA3eeoopR9kOA2a9vJv6n0hFGSHlztmVsSg0FMaK3W
Mv8Pc8DFN7f86I48r4wakYKeiu9hC0PGTDScL3b5vKOVzOSsliSttnboSdxq1WKN
gXiXMTkZLci55pJDnKPV0O6HuIzSLGvO9/cpmTqYkLm0jIUFY6ZKG3o5w3WgmlO+
onxRNRaJxOQXIz25D3xZXXZyGpGjhL57VHIiNhg26YLrsmqCUDxioikwCqHqVaZS
C5eGKJDUtyqZSa1n1bY8XK+NnH8Ef0c2whS3dI2FHVmtRMSsEjk=
=XmaG
-----END PGP SIGNATURE-----
pgp3aHMe1k6PT.pgp
Description: PGP signature
--- End Message ---