WaitFor does not handle EIO (causes 100% cpu load)
@ickle
Submitted by Chris Wilson Assigned to Adam Jackson @ajax
Description
The device goes into a permanent input-ready state causing X's WaitForSomething to never actually wait.
open("/dev/vga_arbiter", O_RDWR) = 10
read(10, "count:1,PCI:0000:00:02.0,decodes"..., 64) = 64
write(10, "target PCI:0000:00:02.0", 23) = 23
read(10, "count:1,PCI:0000:00:02.0,decodes"..., 64) = 64
...
select(256, [1 5 9 10 12 13 14 15 16 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52], NULL, NULL, {89, 869000}) = 1 (in [10], left {89, 868993})
clock_gettime(CLOCK_MONOTONIC, {17445, 90572053}) = 0
ioctl(10, TCFLSH, 0x2) = -1 EIO (Input/output error)
<repeat ad infinitum>
Even more annoying this is on a laptop with only a single igfx and no expansion capabilities...
Hopefully this in fact an old bug and already fixed.
Version: git