Package: lxtask
Version: 0.1.4-3

lxtask determines the number of CPUs in the system by reading /proc/cpuinfo and searching for lines starting with (case sensitive) "processor". Unfortunately this doesn't work on all kernels leading to lxtask to think there are zero processors which in turn breaks the CPU usage column (it shows -1% for everything)

The issue was first discovered on a raspberry pi running raspbian (a derivative of debian for the raspberry pi and similar devices with armv6+vfpv2 processors) but a bit of research determined that /proc/cpuinfo does not have processor lines on some debian kernels as well . Specifically the 3.2 mx5 kernel on my imx53 quickstart board and the 2.6.32-5-sparc64-smp kernel on smetana.debian.org (note: I checked /proc/cpuinfo manually on thsese machines, I did not try actually running lxtask on them).

In raspbian we fixed the issue by using the nprocs function instead of using /proc/cpuinfo .

The orininal raspbian bug can be found at https://bugs.launchpad.net/raspbian/+bug/1128012 The debdiff for the fix we applied in raspbian can be found at http://debdiffs.raspbian.org/main/l/lxtask/lxtask_0.1.4-3+rpi1.debdiff


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to