re: problem with USER_LDT in current 9.99.81

2021-04-26 Thread matthew green
> Thanks for the idea - however machdep.user_ldt was already 0 :-(
>
> I'll pull the older sources and try and find the change which caused the 
> problem

oops! i meant to say "=1".


Re: problem with USER_LDT in current 9.99.81

2021-04-26 Thread Dave Tyson
On Tuesday 27 Apr 2021 04:22:22 matthew green wrote:
> Dave Tyson writes:
> > I have wine 4.4 working under NetBSD 9.99.23 amd64 (> 1 year ago) and
> > recently tried against a recent current - 9.99.81.
> > 
> > Wine now complains:
> > i386_set_ldt: Operation not permitted
> > Did you reconfigure the kernel with "options USER_LDT"?
> > 
> > but GENERIC has the option enabled and strings on the kernel shows:
> > 
> > _CFG_options \011USER_LDT\011# User-settable LDT, used by Wine
> > _KERNEL_OPT_USER_LDT
> > 
> > I am guessing a change between 9.99.23 and 9.99.81 has broken the
> > functionality, but before I bisect does anyone have any ideas...
> 
> try this?
> 
>   # sysctl -w machdep.user_ldt=0
> 
> 
> .mrg.

Thanks for the idea - however machdep.user_ldt was already 0 :-(

I'll pull the older sources and try and find the change which caused the 
problem

Dave


re: problem with USER_LDT in current 9.99.81

2021-04-26 Thread matthew green
Dave Tyson writes:
> I have wine 4.4 working under NetBSD 9.99.23 amd64 (> 1 year ago) and 
> recently 
> tried against a recent current - 9.99.81.
>
> Wine now complains:
> i386_set_ldt: Operation not permitted
> Did you reconfigure the kernel with "options USER_LDT"?
>
> but GENERIC has the option enabled and strings on the kernel shows:
>
> _CFG_options \011USER_LDT\011# User-settable LDT, used by Wine
> _KERNEL_OPT_USER_LDT
>
> I am guessing a change between 9.99.23 and 9.99.81 has broken the 
> functionality, but before I bisect does anyone have any ideas...

try this?

  # sysctl -w machdep.user_ldt=0


.mrg.


problem with USER_LDT in current 9.99.81

2021-04-26 Thread Dave Tyson
I have wine 4.4 working under NetBSD 9.99.23 amd64 (> 1 year ago) and recently 
tried against a recent current - 9.99.81.

Wine now complains:
i386_set_ldt: Operation not permitted
Did you reconfigure the kernel with "options USER_LDT"?

but GENERIC has the option enabled and strings on the kernel shows:

_CFG_options \011USER_LDT\011# User-settable LDT, used by Wine
_KERNEL_OPT_USER_LDT

I am guessing a change between 9.99.23 and 9.99.81 has broken the 
functionality, but before I bisect does anyone have any ideas...

Cheers,
Dave