[Bug 319729] Re: ARM architecture lacks support for pselect() and ppoll()

2014-12-03 Thread Rolf Leggewie
karmic has seen the end of its life and is no longer receiving any updates. Marking the karmic task for this ticket as "Won't Fix". ** Changed in: linux-mvl-dove (Ubuntu Karmic) Status: Triaged => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, whi

[Bug 319729] Re: ARM architecture lacks support for pselect() and ppoll()

2014-12-03 Thread Rolf Leggewie
karmic has seen the end of its life and is no longer receiving any updates. Marking the karmic task for this ticket as "Won't Fix". ** Changed in: linux-fsl-imx51 (Ubuntu Karmic) Status: Triaged => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, wh

[Bug 319729] Re: ARM architecture lacks support for pselect() and ppoll()

2010-03-09 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/linux-fsl-imx51 -- ARM architecture lacks support for pselect() and ppoll() https://bugs.launchpad.net/bugs/319729 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists

[Bug 319729] Re: ARM architecture lacks support for pselect() and ppoll()

2010-03-09 Thread Launchpad Bug Tracker
This bug was fixed in the package linux-fsl-imx51 - 2.6.31-605.9 --- linux-fsl-imx51 (2.6.31-605.9) lucid; urgency=low [ Andy Whitcroft ] * Revert "include modules.builtin in the binary debs" * include modules.builtin in the binary debs [ Bryan Wu ] * SAUCE: IMX51: skip A

[Bug 319729] Re: ARM architecture lacks support for pselect() and ppoll()

2010-02-16 Thread Amit Kucheria
Re-assigning it to Bryan ** Changed in: linux-fsl-imx51 (Ubuntu) Milestone: lucid-alpha-1 => None ** Changed in: linux-fsl-imx51 (Ubuntu) Assignee: Amit Kucheria (amitk) => Bryan Wu (cooloney) ** Changed in: linux-mvl-dove (Ubuntu) Milestone: lucid-alpha-1 => None ** Changed in: li

[Bug 319729] Re: ARM architecture lacks support for pselect() and ppoll()

2010-02-16 Thread Amit Kucheria
Scott mentioned that upstart is not as dependent on ppoll/pselect as it once was so it shouldn't be a problem anymore. The ppoll/pselect patch is now upstream in 2.6.32 (369842658a36bcea28ecb643ba4bdb53919330dd). If we feel the need, it can be cherry-picked into the Karmic ARM kernels (Marvell and

[Bug 319729] Re: ARM architecture lacks support for pselect() and ppoll()

2009-12-04 Thread Paul Larson
Are there any plans for an SRU here since Karmic should still benefit from this? ** Changed in: linux-fsl-imx51 (Ubuntu Karmic) Importance: Undecided => Wishlist ** Changed in: linux-fsl-imx51 (Ubuntu Karmic) Status: New => Triaged ** Changed in: linux-mvl-dove (Ubuntu Karmic) Impor

[Bug 319729] Re: ARM architecture lacks support for pselect() and ppoll()

2009-11-10 Thread Amit Kucheria
Marking won't fix for Jaunty. This will be in Lucid from a different patch from upstream. ** Changed in: linux (Ubuntu Jaunty) Status: In Progress => Won't Fix ** Changed in: linux-fsl-imx51 (Ubuntu) Status: In Progress => Won't Fix ** Changed in: linux-fsl-imx51 (Ubuntu Jaunty)

[Bug 319729] Re: ARM architecture lacks support for pselect() and ppoll()

2009-10-27 Thread Jeremy Kerr
Attached a new testcase. Rather than use the libc pselect() wrapper, the new testcase has its own wrapper for pselect. Compile with: gcc -o childspin -DUSE_PSELECT_WRAPPER -Wall childspin.c Running this on a patched kernel (from Amit's comment 16), the program does not show the blocking behavio

Re: [Bug 319729] Re: ARM architecture lacks support for pselect() and ppoll()

2009-10-13 Thread Scott James Remnant
On Tue, 2009-10-13 at 13:27 +, Amit Kucheria wrote: > We've survived this far w/o the patch. Now Jeremy is looking at the > glibc side as well. Marking down the importance. > udev is a lot less sensitive to this now, the side effect won't be a stuck boot, just a bunch of zombie worker process

[Bug 319729] Re: ARM architecture lacks support for pselect() and ppoll()

2009-10-13 Thread Amit Kucheria
We've survived this far w/o the patch. Now Jeremy is looking at the glibc side as well. Marking down the importance. ** Changed in: linux-mvl-dove (Ubuntu Jaunty) Importance: High => Undecided ** Changed in: linux-mvl-dove (Ubuntu) Importance: High => Wishlist ** Changed in: linux-fsl-imx5

[Bug 319729] Re: ARM architecture lacks support for pselect() and ppoll()

2009-09-28 Thread Jeremy Kerr
Looks like the glibc syscall wrapper is getting in the way here; the test run in my previous comment was still using select() even though pselect is available. Once I get hold of some hardware, will do some hacking with the wrapper components. -- ARM architecture lacks support for pselect() and p

[Bug 319729] Re: ARM architecture lacks support for pselect() and ppoll()

2009-09-21 Thread Jeremy Kerr
Just tried the attached build, and the childspin example still hangs. However, it looks like it's waiting somewhere in do_exit, rather than the previous deadlock, which seems to be waiting in poll_schedule_timeout Will see if I can find more about what's happening here. -- ARM architecture lacks

[Bug 319729] Re: ARM architecture lacks support for pselect() and ppoll()

2009-09-21 Thread Amit Kucheria
The bug does not exist in the Karmic 'master' branch since arm support is in soc-specific topic branches in Karmic. ** Changed in: linux (Ubuntu) Status: In Progress => Invalid ** Changed in: linux (Ubuntu) Milestone: jaunty-updates => None ** Also affects: linux-mvl-dove (Ubuntu)

[Bug 319729] Re: ARM architecture lacks support for pselect() and ppoll()

2009-09-21 Thread Amit Kucheria
Jaunty does not have support for the Marvell Dove platform ** Changed in: linux-mvl-dove (Ubuntu Jaunty) Status: New => Invalid ** Changed in: linux-fsl-imx51 (Ubuntu) Status: New => In Progress ** Changed in: linux-fsl-imx51 (Ubuntu Jaunty) Status: New => In Progress ** Ch

[Bug 319729] Re: ARM architecture lacks support for pselect() and ppoll()

2009-09-21 Thread Amit Kucheria
Number one priority obviously got reprioritized :-/ Anyways, I finally have a patch that I would appreciate some testing on. Please apply the attached patch to a recent kernel (2.6.30+) and try the test program (childspin.c) attached to this bug on an arm board. You ought to be able to test this o

Re: [Bug 319729] Re: ARM architecture lacks support for pselect() and ppoll()

2009-06-16 Thread Amit Kucheria
On 09 Jun 16, Dave Martin wrote: > A clarification in relation to my historical comments on this thread > (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/319729/comments/11), > the problem I observed where init sometimes stops respawning terminal > logins is _not_ caused by a pselect-style ra

[Bug 319729] Re: ARM architecture lacks support for pselect() and ppoll()

2009-06-16 Thread Dave Martin
A clarification in relation to my historical comments on this thread (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/319729/comments/11), the problem I observed where init sometimes stops respawning terminal logins is _not_ caused by a pselect-style race. It's a separate issue to do with hot

[Bug 319729] Re: ARM architecture lacks support for pselect() and ppoll()

2009-06-04 Thread Paul Larson
** Tags added: armel ** Tags removed: arm -- ARM architecture lacks support for pselect() and ppoll() https://bugs.launchpad.net/bugs/319729 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.u

[Bug 319729] Re: ARM architecture lacks support for pselect() and ppoll()

2009-04-15 Thread Loïc Minier
I can't start an installed versatile image in qemu; switching to sysvinit fixes the problem for me. -- ARM architecture lacks support for pselect() and ppoll() https://bugs.launchpad.net/bugs/319729 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 319729] Re: ARM architecture lacks support for pselect() and ppoll()

2009-04-15 Thread Steve Langasek
Added to the release notes: Occasional hangs possible on ARM architecture The ARM port currently does not support the ppoll() & pselect() system syscalls, which will sometimes cause a failure to mount the root filesystem on boot. This is a race condition, and retrying the boot will usually clear

[Bug 319729] Re: ARM architecture lacks support for pselect() and ppoll()

2009-04-01 Thread Amit Kucheria
** Changed in: linux (Ubuntu Jaunty) Status: New => In Progress -- ARM architecture lacks support for pselect() and ppoll() https://bugs.launchpad.net/bugs/319729 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mai

[Bug 319729] Re: ARM architecture lacks support for pselect() and ppoll()

2009-04-01 Thread Amit Kucheria
** Changed in: linux (Ubuntu Jaunty) Status: Triaged => New -- ARM architecture lacks support for pselect() and ppoll() https://bugs.launchpad.net/bugs/319729 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing

[Bug 319729] Re: ARM architecture lacks support for pselect() and ppoll()

2009-03-10 Thread Dave Martin
Note that epoll_pwait is also affected (fairly easy to spot in asm/unistd.h) I may have now experienced an occurrence of this race bug: namely, init stopped respawning terminal logins for no obvious reason. init was definitely waiting in select, but unfortunately I accidentally rebooted the syste

[Bug 319729] Re: ARM architecture lacks support for pselect() and ppoll()

2009-02-27 Thread Loïc Minier
Joseph S. Myers kindly pointed me at http://www.spinics.net/lists/arm- kernel/msg38114.html which just one of the implementations which were proposed for these syscalls. Can we consider its technical quality and whether it helps passing the test case? -- ARM architecture lacks support for pselec

[Bug 319729] Re: ARM architecture lacks support for pselect() and ppoll()

2009-02-24 Thread Leann Ogasawara
** Tags added: arm -- ARM architecture lacks support for pselect() and ppoll() https://bugs.launchpad.net/bugs/319729 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists

[Bug 319729] Re: ARM architecture lacks support for pselect() and ppoll()

2009-02-20 Thread Pete Graner
Sample release note text: The ARM port currently does not support the ppoll() & pselect() system syscalls. This will exhibit itself by failing to mount the root filesystem. This is a race condition and retrying the boot will usually clear the problem. The work to add the syscalls is currently unde

[Bug 319729] Re: ARM architecture lacks support for pselect() and ppoll()

2009-02-20 Thread Pete Graner
Decided to release as an update to Jaunty once the syscalls are implemented. ** Changed in: linux (Ubuntu Jaunty) Target: ubuntu-9.04-beta => jaunty-updates -- ARM architecture lacks support for pselect() and ppoll() https://bugs.launchpad.net/bugs/319729 You received this bug notificatio

[Bug 319729] Re: ARM architecture lacks support for pselect() and ppoll()

2009-02-19 Thread Scott James Remnant
As the program demonstrates, the biggest problem is missed SIGCHLDs. I'm actually quite surprised by how fast the program demonstrates the problem, I was actually expecting you to need to run it for a minute or two before a hang happens. For me, it hangs within mere hundreds of iterations. The w

[Bug 319729] Re: ARM architecture lacks support for pselect() and ppoll()

2009-02-19 Thread Amit Kucheria
Sample program from Scott to trigger the problem < Keybuk> http://people.ubuntu.com/~scott/childspin.c < Keybuk> This will demonstrate the race < Keybuk> on a machine with a properly implemented pselect(), you will just get continuous .s < Keybuk> on a machine with a race condition, it will hang

Re: [Bug 319729] Re: ARM architecture lacks support for pselect() and ppoll()

2009-02-19 Thread Scott James Remnant
On Thu, 2009-02-19 at 12:54 +, Amit Kucheria wrote: > Could we please have a sample program that will trigger this bug? That > carries more weight when posting to the kernel lists than just asking > why it isn't implemented. > It's a race condition. It's difficult to write a program guarante

[Bug 319729] Re: ARM architecture lacks support for pselect() and ppoll()

2009-02-19 Thread Amit Kucheria
Ohh, and I haven't received any reply to my query on the ARM lists yet. -- ARM architecture lacks support for pselect() and ppoll() https://bugs.launchpad.net/bugs/319729 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs ma

[Bug 319729] Re: ARM architecture lacks support for pselect() and ppoll()

2009-02-19 Thread Amit Kucheria
Could we please have a sample program that will trigger this bug? That carries more weight when posting to the kernel lists than just asking why it isn't implemented. /Amit -- ARM architecture lacks support for pselect() and ppoll() https://bugs.launchpad.net/bugs/319729 You received this bug no

[Bug 319729] Re: ARM architecture lacks support for pselect() and ppoll()

2009-02-11 Thread Loïc Minier
** Changed in: linux (Ubuntu) Assignee: (unassigned) => Amit Kucheria (amitk) Target: None => ubuntu-9.04-beta -- ARM architecture lacks support for pselect() and ppoll() https://bugs.launchpad.net/bugs/319729 You received this bug notification because you are a member of Ubuntu Bugs,

Re: [Bug 319729] Re: ARM architecture lacks support for pselect() and ppoll()

2009-01-26 Thread Scott James Remnant
On Fri, 2009-01-23 at 21:52 +, Michael Casadevall wrote: > glibc does not autodetect the presence of this call (possibly because > depending on the architecture, the number of arguments change (since > some arches can't hand 7 argument syscalls), so it will also have be > modified to use the k

[Bug 319729] Re: ARM architecture lacks support for pselect() and ppoll()

2009-01-23 Thread Michael Casadevall
Taking a look at the kernel source, the syscall id numbers for both ppoll and pselect are properly reserved for ARM. The pselect function (sys_pselect7) is defined in fs/select.c; it is a C function with no specific arch dependent bits, but does require the sigmask_set_restore function to be availa

[Bug 319729] Re: ARM architecture lacks support for pselect() and ppoll()

2009-01-22 Thread Leann Ogasawara
** Changed in: linux (Ubuntu) Status: New => Triaged -- ARM architecture lacks support for pselect() and ppoll() https://bugs.launchpad.net/bugs/319729 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list u