panda-re/lava

osi_linux error

horlabs opened this issue · 2 comments

Hey,
I tried to run the file-example with lava, but I got following error:

PANDA[core]: loading required plugin osi
PANDA[core]: initializing osi
PANDA[core]: loading required plugin osi_linux
PANDA[core]: initializing osi_linux
PANDA[osi_linux]: ERROR:osi_linux.cpp:init_plugin() Failed to read group lava32:32 from /home/user/panda/build/i386-softmmu/panda/plugins/osi_linux/kernelinfo.conf.
PANDA[core]: FAILED to load required plugin osi_linux from /home/user/panda/build/i386-softmmu/panda/plugins/panda_osi_linux.so
pandalogging to [/home/user/lava/file_micha/queries-file-5.22-ls.iso.plog]
Looking for kconffile in /home/user/panda/build/i386-softmmu/panda/plugins/osi_linux/kernelinfo.conf
OSI grabbing Linux introspection backend.
Linux OSI, using group lava32:32 from /home/user/panda/build/i386-softmmu/panda/plugins/osi_linux/kernelinfo.conf.
Traceback (most recent call last):
  File "/home/user/lava/scripts/bug_mining.py", line 191, in <module>
    subprocess32.check_call(qemu_args, stderr=subprocess32.STDOUT)
  File "/usr/local/lib/python2.7/dist-packages/subprocess32.py", line 307, in check_call
    raise CalledProcessError(retcode, cmd)

This might be more a PANDA-Error than a Lava-Error, but it's all called from Lava-Scripts, so I decide to post it here.

I use an Ubuntu 16.04 VM.

moyix commented

Yes, we recently changed the name of the default kernel config in PANDA to be more descriptive. You should be able to get it working for now by adding "panda_os_string": "linux-32-debian:3.2.0-4-686-pae" to your config.json.

I'll also update the default in LAVA.

moyix commented

Fixed by d105161.