Let me add to what David said earlier:
The file include/linux/sched.h was changed in 2.2.19 and various fields of
the struct task_struct were changed and fileds were added.
The field that screwed up Win4Lin is: unsigned int task_exclusive;
Try moving this to the end of the struct task_struct, then make clean, make
bzImage.

-Alex

> On Tue, 10 Apr 2001, David Peet wrote:
>
> > The problem with at least certain distributions 2.2.19 kernel is that
the task structure
> > was modified to in such a way that any module that uses the "suser()"
inline function
> > and was compiled on different system, will have the suser() function
malfunction.
> > When this function malfunctions, the result in the Win4Lin module is
> > that you will get this "IMPROPER_INSTL" error.  The only thing that can
be done
> > for now is to modify the task structure so it works in a back-wards
complatible
> > way and rebuild the kernel.  Win4Lin 3.0 was changed to not use
"suser()" because
>
> I haven't tried with a 'stock' 2.2.19 kernel, but another possible
> workaround could be to build with SMP support.  Anybody care to confirm or
> deny?
>
>
> --
> Richard Fish                      Enhanced Software Technologies, Inc.
> Sr. Software Engineer             2920 E Camelback Rd Suite 250
> [EMAIL PROTECTED]                    Phoenix, AZ  85016
> (602) 470-1115                    http://www.estinc.com
>


_______________________________________________
Win4Lin-users mailing list
[EMAIL PROTECTED]
https://lists.netraverse.com/mailman/listinfo/win4lin-users

Reply via email to