pselect support (qemu: Unsupported syscall: 335)

Bug #520480 reported by Loïc Minier
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
qemu-kvm (Ubuntu)
Fix Released
Medium
Michael Casadevall

Bug Description

Binary package hint: qemu-kvm

Hi

qemu helpfully reports unimplemented (in qemu) syscalls, however this can spam the console heavily when the syscall is used in a tight loop.

This is the case of the pselect() syscall which is not implemented under qemu. It's also unimplemented in the upstream ARM linux kernel! So it seems a bit redundant to repeat this message; technically pselect could be implemented in qemu while it remains unimplemented in a kernel, but for now I think it would be best to not bark about syscalls which are not implemented in real kernels anyway.

Thanks,

Related branches

Revision history for this message
Loïc Minier (lool) wrote :

Note that dpkg calls this when installing packages, so it makes installing packages under qemu-arm very very long due to just printing this error message on the console so many times (and it's impossible to follow actual dpkg chatter).

Loïc Minier (lool)
Changed in qemu-kvm (Ubuntu):
status: New → In Progress
assignee: nobody → Loïc Minier (lool)
Revision history for this message
Loïc Minier (lool) wrote :

Actually my claims are completely bogus; pselect6 was just implemented upstream and we even have it under Ubuntu lucid in the armel+versatile kernel.

Loïc Minier (lool)
summary: - pselect is always missing on armel (qemu: Unsupported syscall: 335)
+ pselect support (qemu: Unsupported syscall: 335)
Revision history for this message
David Sugar (dyfet-deactivatedaccount) wrote :

We also need this mapped correctly in qemu-arm-static for building arm packages on x86....

Revision history for this message
Loïc Minier (lool) wrote :

qemu-arm and qemu-arm-static are both built from this source package (qemu-kvm).

Changed in qemu-kvm (Ubuntu):
assignee: Loïc Minier (lool) → Michael Casadevall (mcasadevall)
importance: Undecided → Medium
milestone: none → lucid-alpha-3
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qemu-kvm - 0.12.2-0ubuntu7

---------------
qemu-kvm (0.12.2-0ubuntu7) lucid; urgency=low

  * Replace patch Don-t-bark-for-syscalls-missing-in-linux-too with patch
    This-patch-adds-support-for-the-pselect-syscall-in-l from the upstream
    mailing-list from Michael Casadevall and acked by Riku Voipio to add
    pselect6() syscall; LP: #520480.
 -- Loic Minier <email address hidden> Thu, 18 Feb 2010 14:08:33 +0100

Changed in qemu-kvm (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.