[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1042388] Re: qemu: Unsupported syscall: 257 (timer_cre
From: |
Martin Pitt |
Subject: |
[Qemu-devel] [Bug 1042388] Re: qemu: Unsupported syscall: 257 (timer_create) |
Date: |
Tue, 14 Jan 2014 13:49:58 -0000 |
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 qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1042388
Title:
qemu: Unsupported syscall: 257 (timer_create)
Status in QEMU:
Fix Released
Status in “qemu” package in Ubuntu:
Triaged
Bug description:
Running qemu-arm-static for git HEAD. When I try to install ghc from
debian into my arm chroot I get:
Setting up ghc (7.4.1-4) ...
qemu: Unsupported syscall: 257
ghc: timer_create: Function not implemented
qemu: Unsupported syscall: 257
ghc-pkg: timer_create: Function not implemented
dpkg: error processing ghc (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
ghc
E: Sub-process /usr/bin/dpkg returned an error code (1)
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1042388/+subscriptions