Your message dated Wed, 23 Jul 2014 23:25:14 +0100
with message-id
<CAD=6cZqKR-m-ysCkh6eR_VYHbjVmK52bV=-6h1p_dp_klbt...@mail.gmail.com>
and subject line Close #670231 - util-linux: lscpu misses second CPU on some
sparc64 boxes
has caused the Debian Bug report #670231,
regarding util-linux: lscpu misses second CPU on some sparc64 boxes
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.)
--
670231: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=670231
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: util-linux
Version: 2.20.1-4
Severity: normal
Dear Maintainer,
lscpu seems to miss reading about /sys/devices/system/cpu/cpu2/ and this causes
strange information in lscpu output, like 2
threads per core. Many sparc systems have sparse CPU numbering since the CPU
numbers come from hardware. This server (Sun E220R)
has CPU-s 0 and 2 present but lscpu only looks at 0:
mroos@e220r:~$ strace -e open /usr/bin/lscpu
open("/etc/ld.so.cache", O_RDONLY) = 3
open("/lib/sparc-linux-gnu/libc.so.6", O_RDONLY) = 3
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
open("/proc/cpuinfo", O_RDONLY|O_LARGEFILE) = 3
open("/sys/devices/system/cpu/kernel_max", O_RDONLY|O_LARGEFILE) = 3
open("/sys/devices/system/cpu/online", O_RDONLY|O_LARGEFILE) = 3
open("/sys/devices/system/cpu/cpu0/topology/thread_siblings",
O_RDONLY|O_LARGEFILE) = 3
open("/sys/devices/system/cpu/cpu0/topology/core_siblings",
O_RDONLY|O_LARGEFILE) = 3
open("/proc/bus/pci/devices", O_RDONLY|O_LARGEFILE) = 3
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
open("/usr/share/locale/en_US/LC_MESSAGES/util-linux.mo", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/util-linux.mo", O_RDONLY) = -1 ENOENT
(No such file or directory)
Architecture: sparc64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Big Endian
CPU(s): 1
On-line CPU(s) list: 0,2
Off-line CPU(s) list:
Thread(s) per core: 2
Core(s) per socket: 1
Socket(s): 1
mroos@e220r:~$ cat /sys/devices/system/cpu/online
0,2
mroos@e220r:~$ cat /sys/devices/system/cpu/kernel_max
3
mroos@e220r:~$ cat /sys/devices/system/cpu/cpu0/topology/thread_siblings
1
mroos@e220r:~$ cat /sys/devices/system/cpu/cpu0/topology/core_siblings
1
mroos@e220r:~$ find /sys/devices/system/cpu/
/sys/devices/system/cpu/
/sys/devices/system/cpu/cpu0
/sys/devices/system/cpu/cpu0/l1_icache_line_size
/sys/devices/system/cpu/cpu0/l1_dcache_line_size
/sys/devices/system/cpu/cpu0/l1_icache_size
/sys/devices/system/cpu/cpu0/subsystem
/sys/devices/system/cpu/cpu0/uevent
/sys/devices/system/cpu/cpu0/topology
/sys/devices/system/cpu/cpu0/topology/core_id
/sys/devices/system/cpu/cpu0/topology/thread_siblings
/sys/devices/system/cpu/cpu0/topology/core_siblings
/sys/devices/system/cpu/cpu0/topology/core_siblings_list
/sys/devices/system/cpu/cpu0/topology/thread_siblings_list
/sys/devices/system/cpu/cpu0/topology/physical_package_id
/sys/devices/system/cpu/cpu0/l2_cache_size
/sys/devices/system/cpu/cpu0/l1_dcache_size
/sys/devices/system/cpu/cpu0/clock_tick
/sys/devices/system/cpu/cpu0/l2_cache_line_size
/sys/devices/system/cpu/cpu2
/sys/devices/system/cpu/cpu2/l1_icache_line_size
/sys/devices/system/cpu/cpu2/l1_dcache_line_size
/sys/devices/system/cpu/cpu2/l1_icache_size
/sys/devices/system/cpu/cpu2/subsystem
/sys/devices/system/cpu/cpu2/uevent
/sys/devices/system/cpu/cpu2/topology
/sys/devices/system/cpu/cpu2/topology/core_id
/sys/devices/system/cpu/cpu2/topology/thread_siblings
/sys/devices/system/cpu/cpu2/topology/core_siblings
/sys/devices/system/cpu/cpu2/topology/core_siblings_list
/sys/devices/system/cpu/cpu2/topology/thread_siblings_list
/sys/devices/system/cpu/cpu2/topology/physical_package_id
/sys/devices/system/cpu/cpu2/l2_cache_size
/sys/devices/system/cpu/cpu2/l1_dcache_size
/sys/devices/system/cpu/cpu2/clock_tick
/sys/devices/system/cpu/cpu2/l2_cache_line_size
/sys/devices/system/cpu/kernel_max
/sys/devices/system/cpu/possible
/sys/devices/system/cpu/online
/sys/devices/system/cpu/offline
/sys/devices/system/cpu/uevent
/sys/devices/system/cpu/present
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: sparc (sparc64)
Kernel: Linux 3.4.0-rc4-00095-g95f7147 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages util-linux depends on:
ii debconf [debconf-2.0] 1.5.42
ii dpkg 1.16.2
ii initscripts 2.88dsf-22.1
ii install-info 4.13a.dfsg.1-10
ii libblkid1 2.20.1-4
ii libc6 2.13-30
ii libncurses5 5.9-6
ii libselinux1 2.1.9-4
ii libtinfo5 5.9-6
ii libuuid1 2.20.1-4
ii lsb-base 4.1+Debian1
ii tzdata 2012b-1
ii zlib1g 1:1.2.6.dfsg-2
util-linux recommends no packages.
Versions of packages util-linux suggests:
pn dosfstools <none>
pn kbd 1.15.3-7
pn util-linux-locales <none>
-- no debconf information
--- End Message ---
--- Begin Message ---
version: 2.24.2-1
I'm closing this bug now since the fix for the bug you reported was
included in the new (upstream) version.
If you can still reproduce it feel free to reopen and provide more info.
thanks
regards
althaser
--- End Message ---