Subject: Re: compat_linux/i386 broken for x11 programs
To: Markus W Kilbinger <mk@kilbi.de>
From: Kurt Schreiner <ks@ub.uni-mainz.de>
List: current-users
Date: 06/04/2007 10:17:49
Hi,

On Mon, Jun 04, 2007 at 10:02:25AM +0200, Markus W Kilbinger wrote:
> Hi!
> 
> -current source changes between 2007-06-02 06:00 UTC and 2007-06-03
> 18:00 UTC seem to break compat_linux on both of my i386 machines for
> x11 programs (acroread, firefox-bin):
> 
>   $ acroread
>   acroread: Fatal IO error 22 (Invalid argument) on X server :0.0.
> 
> Reverting to a kernel based on -current sources directly before
> 2007-06-02 06:00 UTC makes these linux binaries run fine.
> 
> Does anybody else see this?
Hm, maybe this is related:

>-1007: ktrace -i ./vmware-server-console
vmware-server-console: Fatal IO error 22 (Invalid argument) on X server localhost:10.1.
vmware-server-console: Fatal IO error 22 (Invalid argument) on X server localhost:10.1.

and from the trace:

   463      1 vmware-server-co CALL  read(7,0xbfbf7104,8)
   463      1 vmware-server-co RET   read -1 errno -11 Resource temporarily unavailable
   463      1 vmware-server-co CALL  select(8,0xbfbf6f3c,0,0,0)
   463      1 vmware-server-co RET   select -1 errno -22 Invalid argument
   463      1 vmware-server-co CALL  open(0x886cf28,0x8000,0x1b6)

Why uses select fd 8? (Which is closed somewhere above and has nothing
to do at all with the display file descriptor...)

Kurt