All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1163034] Re: gnutls28 fails to build from source in armhf
       [not found] <20130401223319.8572.52647.malonedeb@gac.canonical.com>
@ 2013-04-09 16:16 ` Serge Hallyn
  2013-04-09 22:11 ` Peter Maydell
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: Serge Hallyn @ 2013-04-09 16:16 UTC (permalink / raw)
  To: qemu-devel

** No longer affects: gnutls28 (Ubuntu)

** Also affects: qemu
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1163034

Title:
  gnutls28 fails to build from source in armhf

Status in QEMU:
  New
Status in “qemu” package in Ubuntu:
  Confirmed

Bug description:
  Please look at
  https://code.launchpad.net/~costamagnagianfranco/+archive/costamagnagianfranco-ppa/+packages
  and
  https://code.launchpad.net/~costamagnagianfranco/+archive/costamagnagianfranco-ppa/+build/4457434

  I cannot make gnutls28 build on armhf, I suspect a builder problem

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Qemu-devel] [Bug 1163034] Re: gnutls28 fails to build from source in armhf
       [not found] <20130401223319.8572.52647.malonedeb@gac.canonical.com>
  2013-04-09 16:16 ` [Qemu-devel] [Bug 1163034] Re: gnutls28 fails to build from source in armhf Serge Hallyn
@ 2013-04-09 22:11 ` Peter Maydell
  2013-04-10  6:32 ` LocutusOfBorg
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: Peter Maydell @ 2013-04-09 22:11 UTC (permalink / raw)
  To: qemu-devel

Actually, assuming the guest ARM glibc doesn't have the printf() bug the
code is testing for, we shouldn't take the SIGSEGV anyway, so that's a
red herring. The actual problem here is the setrlimit().

The conftest.c test case works by using rlimit to limit the address
space. This generally doesn't work on QEMU because we just pass the
rlimit syscall through to the host, and end up limiting not just the
guest program but also QEMU itself.  QEMU doesn't expect its own
allocations to fail and typically dies in confusing ways as a result.
(Sometimes we do check allocations and call abort(), which then under
linux-user doesn't work properly because we treat the resulting signal
as if it were caused by the guest and not by QEMU's own code; IIRC we
end up hanging in that situation.) In this particular instance we
segfault in tb_alloc_page() because it doesn't check that
page_find_alloc() didn't return NULL.

[Confirmed by running qemu-arm under gdb.]

Fixing this would require us to implement the address space rlimits
entirely in QEMU by keeping track of how much memory we've handed the
guest so we can fail mmap() etc. That is probably relatively speaking
fairly tractable, though it's not a five minute job.

Unsupported syscall bugs are usually easy fixes, incidentally (though
occasionally they are nasty); also often QEMU will warn but things will
continue OK because the guest libc/userspace supports fallback code for
when a native kernel hasn't yet implemented the new syscall.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1163034

Title:
  gnutls28 fails to build from source in armhf

Status in QEMU:
  New
Status in “qemu” package in Ubuntu:
  Confirmed

Bug description:
  Please look at
  https://code.launchpad.net/~costamagnagianfranco/+archive/costamagnagianfranco-ppa/+packages
  and
  https://code.launchpad.net/~costamagnagianfranco/+archive/costamagnagianfranco-ppa/+build/4457434

  I cannot make gnutls28 build on armhf, I suspect a builder problem

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Qemu-devel] [Bug 1163034] Re: gnutls28 fails to build from source in armhf
       [not found] <20130401223319.8572.52647.malonedeb@gac.canonical.com>
  2013-04-09 16:16 ` [Qemu-devel] [Bug 1163034] Re: gnutls28 fails to build from source in armhf Serge Hallyn
  2013-04-09 22:11 ` Peter Maydell
@ 2013-04-10  6:32 ` LocutusOfBorg
  2013-04-19 14:31 ` [Qemu-devel] [Bug 1163034] Re: linux-user mode can't handle guest setting RLIMIT_AS (hangs running gnutls28 configure check code) Peter Maydell
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: LocutusOfBorg @ 2013-04-10  6:32 UTC (permalink / raw)
  To: qemu-devel

I'm referring to bug 1042388, I din't know about the fallback on this,
but I have to say it doesn't work since apt exits and fails when
encounters this call, maybe the fallback has some problems?

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1163034

Title:
  gnutls28 fails to build from source in armhf

Status in QEMU:
  New
Status in “qemu” package in Ubuntu:
  Confirmed

Bug description:
  Please look at
  https://code.launchpad.net/~costamagnagianfranco/+archive/costamagnagianfranco-ppa/+packages
  and
  https://code.launchpad.net/~costamagnagianfranco/+archive/costamagnagianfranco-ppa/+build/4457434

  I cannot make gnutls28 build on armhf, I suspect a builder problem

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Qemu-devel] [Bug 1163034] Re: linux-user mode can't handle guest setting RLIMIT_AS (hangs running gnutls28 configure check code)
       [not found] <20130401223319.8572.52647.malonedeb@gac.canonical.com>
                   ` (2 preceding siblings ...)
  2013-04-10  6:32 ` LocutusOfBorg
@ 2013-04-19 14:31 ` Peter Maydell
  2013-04-22 15:47 ` Peter Maydell
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: Peter Maydell @ 2013-04-19 14:31 UTC (permalink / raw)
  To: qemu-devel

** Summary changed:

- gnutls28 fails to build from source in armhf
+ linux-user mode can't handle guest setting RLIMIT_AS (hangs running gnutls28 configure check code)

** Changed in: qemu
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1163034

Title:
  linux-user mode can't handle guest setting RLIMIT_AS (hangs running
  gnutls28 configure check code)

Status in QEMU:
  Confirmed
Status in “qemu” package in Ubuntu:
  Confirmed

Bug description:
  Please look at
  https://code.launchpad.net/~costamagnagianfranco/+archive/costamagnagianfranco-ppa/+packages
  and
  https://code.launchpad.net/~costamagnagianfranco/+archive/costamagnagianfranco-ppa/+build/4457434

  I cannot make gnutls28 build on armhf, I suspect a builder problem

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Qemu-devel] [Bug 1163034] Re: linux-user mode can't handle guest setting RLIMIT_AS (hangs running gnutls28 configure check code)
       [not found] <20130401223319.8572.52647.malonedeb@gac.canonical.com>
                   ` (3 preceding siblings ...)
  2013-04-19 14:31 ` [Qemu-devel] [Bug 1163034] Re: linux-user mode can't handle guest setting RLIMIT_AS (hangs running gnutls28 configure check code) Peter Maydell
@ 2013-04-22 15:47 ` Peter Maydell
  2015-08-12 16:50 ` Serge Hallyn
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: Peter Maydell @ 2013-04-22 15:47 UTC (permalink / raw)
  To: qemu-devel

Regarding bug 1042388, those are the posix timer syscalls, and I guess
they've just been around long enough that apt expects them to exist.
Anyway, we should just implement them in QEMU.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1163034

Title:
  linux-user mode can't handle guest setting RLIMIT_AS (hangs running
  gnutls28 configure check code)

Status in QEMU:
  Confirmed
Status in “qemu” package in Ubuntu:
  Confirmed

Bug description:
  Please look at
  https://code.launchpad.net/~costamagnagianfranco/+archive/costamagnagianfranco-ppa/+packages
  and
  https://code.launchpad.net/~costamagnagianfranco/+archive/costamagnagianfranco-ppa/+build/4457434

  I cannot make gnutls28 build on armhf, I suspect a builder problem

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Qemu-devel] [Bug 1163034] Re: linux-user mode can't handle guest setting RLIMIT_AS (hangs running gnutls28 configure check code)
       [not found] <20130401223319.8572.52647.malonedeb@gac.canonical.com>
                   ` (4 preceding siblings ...)
  2013-04-22 15:47 ` Peter Maydell
@ 2015-08-12 16:50 ` Serge Hallyn
  2017-11-07 18:48 ` [Qemu-devel] [Bug 1163034] Re: linux-user mode can't handle guest setting a very small RLIMIT_AS (hangs running gnutls28, coreutils " Peter Maydell
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: Serge Hallyn @ 2015-08-12 16:50 UTC (permalink / raw)
  To: qemu-devel

This will come in when implemented upstream.

** Changed in: qemu (Ubuntu)
   Importance: High => Wishlist

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1163034

Title:
  linux-user mode can't handle guest setting RLIMIT_AS (hangs running
  gnutls28 configure check code)

Status in QEMU:
  Confirmed
Status in qemu package in Ubuntu:
  Confirmed

Bug description:
  Please look at
  https://code.launchpad.net/~costamagnagianfranco/+archive/costamagnagianfranco-ppa/+packages
  and
  https://code.launchpad.net/~costamagnagianfranco/+archive/costamagnagianfranco-ppa/+build/4457434

  I cannot make gnutls28 build on armhf, I suspect a builder problem

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Qemu-devel] [Bug 1163034] Re: linux-user mode can't handle guest setting a very small RLIMIT_AS (hangs running gnutls28, coreutils configure check code)
       [not found] <20130401223319.8572.52647.malonedeb@gac.canonical.com>
                   ` (5 preceding siblings ...)
  2015-08-12 16:50 ` Serge Hallyn
@ 2017-11-07 18:48 ` Peter Maydell
  2020-11-18 10:12 ` Thomas Huth
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: Peter Maydell @ 2017-11-07 18:48 UTC (permalink / raw)
  To: qemu-devel

** Summary changed:

- linux-user mode can't handle guest setting RLIMIT_AS (hangs running gnutls28 configure check code)
+ linux-user mode can't handle guest setting a very small RLIMIT_AS (hangs running gnutls28, coreutils configure check code)

** Tags added: linux-user

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1163034

Title:
  linux-user mode can't handle guest setting a very small RLIMIT_AS
  (hangs running gnutls28, coreutils configure check code)

Status in QEMU:
  Confirmed
Status in qemu package in Ubuntu:
  Confirmed

Bug description:
  Please look at
  https://code.launchpad.net/~costamagnagianfranco/+archive/costamagnagianfranco-ppa/+packages
  and
  https://code.launchpad.net/~costamagnagianfranco/+archive/costamagnagianfranco-ppa/+build/4457434

  I cannot make gnutls28 build on armhf, I suspect a builder problem

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 1163034] Re: linux-user mode can't handle guest setting a very small RLIMIT_AS (hangs running gnutls28, coreutils configure check code)
       [not found] <20130401223319.8572.52647.malonedeb@gac.canonical.com>
                   ` (6 preceding siblings ...)
  2017-11-07 18:48 ` [Qemu-devel] [Bug 1163034] Re: linux-user mode can't handle guest setting a very small RLIMIT_AS (hangs running gnutls28, coreutils " Peter Maydell
@ 2020-11-18 10:12 ` Thomas Huth
  2020-11-18 11:16 ` Peter Maydell
  2021-05-03 12:37 ` Thomas Huth
  9 siblings, 0 replies; 10+ messages in thread
From: Thomas Huth @ 2020-11-18 10:12 UTC (permalink / raw)
  To: qemu-devel

It's been a while since the last change to this ticket ... Has this ever
been implemented?

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1163034

Title:
  linux-user mode can't handle guest setting a very small RLIMIT_AS
  (hangs running gnutls28, coreutils configure check code)

Status in QEMU:
  Confirmed
Status in qemu package in Ubuntu:
  Confirmed

Bug description:
  Please look at
  https://code.launchpad.net/~costamagnagianfranco/+archive/costamagnagianfranco-ppa/+packages
  and
  https://code.launchpad.net/~costamagnagianfranco/+archive/costamagnagianfranco-ppa/+build/4457434

  I cannot make gnutls28 build on armhf, I suspect a builder problem

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 1163034] Re: linux-user mode can't handle guest setting a very small RLIMIT_AS (hangs running gnutls28, coreutils configure check code)
       [not found] <20130401223319.8572.52647.malonedeb@gac.canonical.com>
                   ` (7 preceding siblings ...)
  2020-11-18 10:12 ` Thomas Huth
@ 2020-11-18 11:16 ` Peter Maydell
  2021-05-03 12:37 ` Thomas Huth
  9 siblings, 0 replies; 10+ messages in thread
From: Peter Maydell @ 2020-11-18 11:16 UTC (permalink / raw)
  To: qemu-devel

This bug is still valid, yes.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1163034

Title:
  linux-user mode can't handle guest setting a very small RLIMIT_AS
  (hangs running gnutls28, coreutils configure check code)

Status in QEMU:
  Confirmed
Status in qemu package in Ubuntu:
  Confirmed

Bug description:
  Please look at
  https://code.launchpad.net/~costamagnagianfranco/+archive/costamagnagianfranco-ppa/+packages
  and
  https://code.launchpad.net/~costamagnagianfranco/+archive/costamagnagianfranco-ppa/+build/4457434

  I cannot make gnutls28 build on armhf, I suspect a builder problem

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 1163034] Re: linux-user mode can't handle guest setting a very small RLIMIT_AS (hangs running gnutls28, coreutils configure check code)
       [not found] <20130401223319.8572.52647.malonedeb@gac.canonical.com>
                   ` (8 preceding siblings ...)
  2020-11-18 11:16 ` Peter Maydell
@ 2021-05-03 12:37 ` Thomas Huth
  9 siblings, 0 replies; 10+ messages in thread
From: Thomas Huth @ 2021-05-03 12:37 UTC (permalink / raw)
  To: qemu-devel

This is an automated cleanup. This bug report has been moved to QEMU's
new bug tracker on gitlab.com and thus gets marked as 'expired' now.
Please continue with the discussion here:

 https://gitlab.com/qemu-project/qemu/-/issues/95


** Changed in: qemu
       Status: Confirmed => Expired

** Bug watch added: gitlab.com/qemu-project/qemu/-/issues #95
   https://gitlab.com/qemu-project/qemu/-/issues/95

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1163034

Title:
  linux-user mode can't handle guest setting a very small RLIMIT_AS
  (hangs running gnutls28, coreutils configure check code)

Status in QEMU:
  Expired
Status in qemu package in Ubuntu:
  Confirmed

Bug description:
  Please look at
  https://code.launchpad.net/~costamagnagianfranco/+archive/costamagnagianfranco-ppa/+packages
  and
  https://code.launchpad.net/~costamagnagianfranco/+archive/costamagnagianfranco-ppa/+build/4457434

  I cannot make gnutls28 build on armhf, I suspect a builder problem

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-05-03 12:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20130401223319.8572.52647.malonedeb@gac.canonical.com>
2013-04-09 16:16 ` [Qemu-devel] [Bug 1163034] Re: gnutls28 fails to build from source in armhf Serge Hallyn
2013-04-09 22:11 ` Peter Maydell
2013-04-10  6:32 ` LocutusOfBorg
2013-04-19 14:31 ` [Qemu-devel] [Bug 1163034] Re: linux-user mode can't handle guest setting RLIMIT_AS (hangs running gnutls28 configure check code) Peter Maydell
2013-04-22 15:47 ` Peter Maydell
2015-08-12 16:50 ` Serge Hallyn
2017-11-07 18:48 ` [Qemu-devel] [Bug 1163034] Re: linux-user mode can't handle guest setting a very small RLIMIT_AS (hangs running gnutls28, coreutils " Peter Maydell
2020-11-18 10:12 ` Thomas Huth
2020-11-18 11:16 ` Peter Maydell
2021-05-03 12:37 ` Thomas Huth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.