Hi Mauricio,

Thank you very much for reviewing this. I've updated the PPA [1] with
the highlighted changes. I hope they are correct, but please let me know
if I missed anything.

[1] https://launchpad.net/~jasimioni/+archive/ubuntu/dmidecode-lp2081611

Here are the tests for Jammy and Noble, comparing the output in a system
without the new features. They are unchanged, as expected:

Jammy
-----

# Before:

ubuntu@dmidecode-jammy:~$ dpkg -l | grep -i dmidecode
ii  dmidecode                       3.3-3ubuntu0.1                          
amd64        SMBIOS/DMI table decoder
ubuntu@dmidecode-jammy:~$ sudo dmidecode > old.txt 2>&1
ubuntu@dmidecode-jammy:~$ sudo dmidecode --dump-bin old.bin
# dmidecode 3.3
Getting SMBIOS data from sysfs.
SMBIOS 2.8 present.
13 structures occupying 644 bytes.
Table at 0xBF921000.

# Writing 644 bytes to old.bin.
# Writing 31 bytes to old.bin.

# After

ubuntu@dmidecode-jammy:~$ dpkg -l | grep -i dmidecode
ii  dmidecode                       3.3-3ubuntu0.2                          
amd64        SMBIOS/DMI table decoder
ubuntu@dmidecode-jammy:~$ sudo dmidecode > new.txt 2>&1
ubuntu@dmidecode-jammy:~$ sudo dmidecode --dump-bin new.bin
# dmidecode 3.3
Getting SMBIOS data from sysfs.
SMBIOS 2.8 present.
13 structures occupying 644 bytes.
Table at 0xBF921000.

# Writing 644 bytes to new.bin.
# Writing 31 bytes to new.bin.

ubuntu@dmidecode-jammy:~$ ls -l
total 24
-rw-r--r-- 1 root   root    676 Oct 16 14:16 new.bin
-rw-rw-r-- 1 ubuntu ubuntu 4828 Oct 16 14:16 new.txt
-rw-r--r-- 1 root   root    676 Oct 16 14:15 old.bin
-rw-rw-r-- 1 ubuntu ubuntu 4828 Oct 16 14:14 old.txt
ubuntu@dmidecode-jammy:~$ cmp old.txt new.txt; echo $?
0
ubuntu@dmidecode-jammy:~$ cmp old.bin new.bin; echo $?
0
ubuntu@dmidecode-jammy:~$ strings $(which dmidecode) | grep 'Thread Enabled'
Thread Enabled


Noble
-----

# Before

ubuntu@dmidecode-noble:~$ dpkg -l | grep -i dmidecode
ii  dmidecode                       3.5-3build1                             
amd64        SMBIOS/DMI table decoder
ubuntu@dmidecode-noble:~$ sudo dmidecode > old.txt 2>&1
ubuntu@dmidecode-noble:~$ sudo dmidecode --dump-bin old.bin
# dmidecode 3.5
Getting SMBIOS data from sysfs.
SMBIOS 2.8 present.
13 structures occupying 644 bytes.
Table at 0xBF921000.

# Writing 31 bytes to old.bin.
# Writing 644 bytes to old.bin.

# After

ubuntu@dmidecode-noble:~$ dpkg -l | grep -i dmidecode
ii  dmidecode                       3.5-3ubuntu0.1                          
amd64        SMBIOS/DMI table decoder
ubuntu@dmidecode-noble:~$ sudo dmidecode > new.txt 2>&1
ubuntu@dmidecode-noble:~$ sudo dmidecode --dump-bin new.bin
# dmidecode 3.5
Getting SMBIOS data from sysfs.
SMBIOS 2.8 present.
13 structures occupying 644 bytes.
Table at 0xBF921000.

# Writing 31 bytes to new.bin.
# Writing 644 bytes to new.bin.

ubuntu@dmidecode-noble:~$ ls -l
total 24
-rw-r--r-- 1 root   root    676 Oct 16 13:49 new.bin
-rw-rw-r-- 1 ubuntu ubuntu 4828 Oct 16 13:49 new.txt
-rw-r--r-- 1 root   root    676 Oct 16 13:48 old.bin
-rw-rw-r-- 1 ubuntu ubuntu 4828 Oct 16 13:48 old.txt
ubuntu@dmidecode-noble:~$ cmp old.txt new.txt; echo $?
0
ubuntu@dmidecode-noble:~$ cmp old.bin new.bin; echo $?
0

ubuntu@dmidecode-noble:~$ strings $(which dmidecode) | grep 'Thread Enabled'
Thread Enabled

I'll ask Jamie to re-run the tests in a newer system and share them
here.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2081611

Title:
  Add processor support from SMBIOS 3.6.0 in Jammy and Noble

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dmidecode/+bug/2081611/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to