[debian-mysql] Bug#813199: mysql-5.6: support s390x in the testsuite
Dimitri John Ledkov
xnox at ubuntu.com
Sat Jan 30 13:38:20 UTC 2016
Package: mysql-5.6
Version: 5.6.28-1
Severity: wishlist
Hello,
I'm running autopkgtests on s390x, and they fail. There is a perl
module which is parsing /proc/cpuinfo. However, cpuinfo has quite
different output on s390x:
vendor_id : IBM/S390
# processors : 4
bogomips per cpu: 3033.00
features : esan3 zarch stfle msa ldisp eimm dfp etf3eh highgprs
cache0 : level=1 type=Data scope=Private size=128K
line_size=256 associativity=8
cache1 : level=1 type=Instruction scope=Private size=96K
line_size=256 associativity=6
cache2 : level=2 type=Data scope=Private size=2048K
line_size=256 associativity=8
cache3 : level=2 type=Instruction scope=Private size=2048K
line_size=256 associativity=8
cache4 : level=3 type=Unified scope=Shared size=65536K
line_size=256 associativity=16
cache5 : level=4 type=Unified scope=Shared size=491520K
line_size=256 associativity=30
processor 0: version = FF, identification = 018F67, machine = 2964
processor 1: version = FF, identification = 018F67, machine = 2964
processor 2: version = FF, identification = 018F67, machine = 2964
processor 3: version = FF, identification = 018F67, machine = 2964
Notice, how there are no redundant paragraphs of text per each cpu
core. And that there is simply a "comment" specifying how many there
are. Also it's "features", rather than "flags".
Imho, /proc/cpuinfo should not be parsed for such things, and e.g.
instead nproc should be called to find number of the CPUs. Anyway, i
have "fixed" these things up, hopefully in an unintrusive way. Would
you please consider applying the below patch?
--
Regards,
Dimitri.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-cpuinfo.patch
Type: text/x-patch
Size: 760 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mysql-maint/attachments/20160130/6ef59611/attachment.bin>
More information about the pkg-mysql-maint
mailing list