lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1233009512.4876.3.camel@gaiman>
Date:	Mon, 26 Jan 2009 14:38:32 -0800
From:	Eric Anholt <eric@...olt.net>
To:	Jacek Luczak <difrost.kernel@...il.com>
Cc:	LKML <linux-kernel@...r.kernel.org>
Subject: Re: GTT full but LRU empty

On Mon, 2009-01-26 at 19:10 +0100, Jacek Luczak wrote:
> Hi Eric,
> 
> Are those errors known?
> 
> [drm:i915_gem_object_bind_to_gtt] *ERROR* GTT full, but LRU list empty
> [drm:i915_gem_object_pin] *ERROR* Failure to bind:
> -12<3>[drm:i915_gem_evict_something] *ERROR* inactive empty 1 request empty 1
> flushing empty 1
> [drm:i915_gem_object_bind_to_gtt] *ERROR* GTT full, but LRU list empty
> [drm:i915_gem_object_pin] *ERROR* Failure to bind:
> -12<3>[drm:i915_gem_evict_something] *ERROR* inactive empty 1 request empty 1
> flushing empty 1
> [drm:i915_gem_object_bind_to_gtt] *ERROR* GTT full, but LRU list empty
> [drm:i915_gem_object_pin] *ERROR* Failure to bind:
> -12<3>[drm:i915_gem_execbuffer] *ERROR* Failed to pin buffers -12
> [drm:i915_gem_object_bind_to_gtt] *ERROR* GTT full, but LRU list empty
> [drm:i915_gem_object_pin] *ERROR* Failure to bind:
> -12<3>[drm:i915_gem_evict_something] *ERROR* inactive empty 1 request empty 1
> flushing empty 1
> [drm:i915_gem_object_bind_to_gtt] *ERROR* GTT full, but LRU list empty
> [drm:i915_gem_object_pin] *ERROR* Failure to bind:
> -12<3>[drm:i915_gem_execbuffer] *ERROR* Failed to pin buffers -12
> 
> They appeared once and no more, but I've changed my configuration in between
> (switched to UXA, removed IntelFB from kernel).

Those messages occur when a client asks the kernel to exec a batchbuffer
that the kernel can't fit into the unpinned aperture space.  Userland is
supposed to be tracking how much space its stuff uses and flushing
before that time, but certain bad things could break that by violating
the assumption that the amount of pinned space doesn't change.  Our XV
code today, for example.  I've been working on cleaning up the remaining
bad userland bits, but it's painful work.  Luckily, other than dmesg
spam warning that some rendering just go dropped on the floor, and some
rendering not occurring, nothing else harmful should be happening.

-- 
Eric Anholt
eric@...olt.net                         eric.anholt@...el.com



Download attachment "signature.asc" of type "application/pgp-signature" (198 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ