[Bug 1042388] Re: qemu: Unsupported syscall: 257 (timer_create)

Martin Pitt martin.pitt at ubuntu.com
Tue Jan 14 13:49:58 UTC 2014


Unfortunately it is still not working with these two patches. The
"Unsupported syscall: 257" is gone, but now it fails on EINVAL. I attach
a little test C file which uses  a timer. It works fine on x86 and a
real arm machine, but under QEMU I get:

$ gcc -o timer_test -Wall  timer_test.c  -lrt
$ ./timer_test
Failed to create timer: Invalid argument
qemu: uncaught target signal 6 (Aborted) - core dumped
Aborted (core dumped)

So timer_create() does not actually seem to work? I tried some
variations like 50 ms, or using CLOCK_REALTIME instead of
CLOCK_MONOTONIC, all with the same result.

** Attachment added: "timer test script to test"
   https://bugs.launchpad.net/qemu/+bug/1042388/+attachment/3948443/+files/timer_test.c

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu in Ubuntu.
https://bugs.launchpad.net/bugs/1042388

Title:
  qemu: Unsupported syscall: 257 (timer_create)

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1042388/+subscriptions



More information about the Ubuntu-server-bugs mailing list