open-power / HTX

Apache License 2.0
14 stars 19 forks source link

When run htx mdt.mem with the rule "hxemem64/default", it reports error: GLOBAL_ALLOC_MEM_PERCENT (invalid) #112

Closed ping678 closed 7 years ago

ping678 commented 7 years ago

Steps to run:

  1. modify mdt.mem
  2. change the 2 lines as: reg_rules = "hxemem64/default" reg emc_rules = "hxemem64/default" emc
  3. save the mdt.mem
  4. run htx mdt.mem, choose 1 to active
  5. choose 5 to check the mem status, it shows "ER".
  6. choose 7 to view error log: /dev/mem Jul 20 17:05:22 2017 err=00000000 sev=1 hxemem64 line# 7 keywd = GLOBAL_ALLOC_MEM_PERCENT (invalid) /dev/mem Jul 20 17:05:22 2017 err=00000000 sev=1 hxemem64 Hardware Exerciser stopped on an error
veereshj commented 7 years ago

Rule files with default* are enabled only for P9 and above architectures. Your changes hold good for P9.

If you wish to run on P8 with any of those rule files. Please also change executable to "hxemem64_new" in mdt. i.e In mdt.mem, along with your changes also change the line as: HE_name = "hxemem64" ===> HE_name = "hxemem64_new"

ping678 commented 7 years ago

Thank you veereshj! Seems I reported a fake bug, sorry! I didn't see that info in documents, maybe I missed something. I tried hxemem64_new as you said on a P8 system, it works.