[Pkg-scicomp-devel] Bug#559665: libatlas3gf-v9: Fails to detect UltraSparc CPU
Patrick Finnegan
pat at computer-refuge.org
Sun Dec 6 06:35:17 UTC 2009
Package: libatlas3gf-v9
Version: 3.6.0-24
Severity: important
libatlas3gf-v9 does not correctly detect if an UltraSparc CPU is present.
Newer kernels use "cpu" not "cpu model" as the field that has "UltraSparc"
in it, in /proc/cpuinfo.
Eg:
pat at v210:~$ uname -a
Linux v210 2.6.32-rc3 #2 SMP Fri Nov 27 21:41:10 EST 2009 sparc GNU/Linux
pat at v210:~$ cat /proc/cpuinfo
cpu : TI UltraSparc IIIi (Jalapeno)
fpu : UltraSparc IIIi integrated FPU
pmu : ultra3i
prom : OBP 4.13.2 2004/03/29 10:11
type : sun4u
ncpus probed : 2
ncpus active : 2
D$ parity tl1 : 0
I$ parity tl1 : 0
Cpu0ClkTck : 000000003bb94e80
Cpu1ClkTck : 000000003bb94e80
MMU Type : Cheetah+
State:
CPU0: online
CPU1: online
To correct this, the package libatlas3gf-v9.config script needs to have
this line:
if ! grep ^"cpu model" /proc/cpuinfo | grep -q UltraSparc; then
changed to something more like this:
if ! grep ^"cpu " /proc/cpuinfo | grep -q UltraSparc; then
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: sparc
Kernel: Linux 2.6.32-rc3 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages libatlas3gf-v9 depends on:
ii debconf [debconf-2.0] 1.5.28 Debian configuration management sy
ii libc6 2.10.1-7 GNU C Library: Shared libraries
ii libgcc1 1:4.4.2-3 GCC support library
ii libgfortran3 4.4.2-3 Runtime library for GNU Fortran ap
libatlas3gf-v9 recommends no packages.
Versions of packages libatlas3gf-v9 suggests:
ii libblas3gf 1.2-2 Basic Linear Algebra Subroutines 3
pn liblapack3gf <none> (no description available)
-- debconf information:
* libatlas3gf-v9/no_v9:
More information about the Pkg-scicomp-devel
mailing list