Re: smu(4) fan speed

2016-04-16 Thread Marcus Glocker
On Sat, Apr 16, 2016 at 09:56:21PM +0200, Olivier Cherrier wrote: > And what about trying this ? > > http://marc.info/?t=14542807061&r=1&w=2 > > (It works well for the iMac G5). > > Thanks, > Best > oc Thanks for pointing this out. But my issue here happens even one step before, when the

libedit: delete vi-histedit editor command

2016-04-16 Thread Ingo Schwarze
Hi, in vi command mode, libedit provides the editor command vi-histedit (bound to the 'v' key by default) to fork and exec vi(1) on the line being edited. That is pretty much pointless in the first place because the line can just as well be edited with libedit itself, without any fork and exec. B

Re: smu(4) fan speed

2016-04-16 Thread Olivier Cherrier
On Sat, Apr 16, 2016 at 08:11:27PM +0200, mar...@nazgul.ch wrote: > On Sat, Apr 16, 2016 at 07:34:59PM +0200, Mark Kettenis wrote: > > > > Date: Fri, 15 Apr 2016 20:41:53 +0200 > > > From: Marcus Glocker > > > > > > Yesterday I've installed macppc -current on a G5. > > > Since OF_getprop() for t

libkvm: Make _kvm_uread inspect proper amap slot to read userspace page

2016-04-16 Thread Stefan Kempf
_kvm_uread maps a userspace page to a slot in the amap, but only checks whether the slot is indeed within the amap. It must also use the slot to extract the correct vm_anon in order to find the physical address to read from. The attached program shows that kvm_uread otherwise attempts reads from a

Re: smu(4) fan speed

2016-04-16 Thread Marcus Glocker
On Sat, Apr 16, 2016 at 07:34:59PM +0200, Mark Kettenis wrote: > > Date: Fri, 15 Apr 2016 20:41:53 +0200 > > From: Marcus Glocker > > > > Yesterday I've installed macppc -current on a G5. > > Since OF_getprop() for the 'unmanage-value' parameter fails on it, > > smu(4) sets the fan speed to 'max

Re: ix(4): enable checksum offload

2016-04-16 Thread mxb
Not sure what is wrong, if it is driver or chipset, but in freebsd I had to '-rxcsum6 -txcsum6 -tso -vlanhwtso’ in order to make it function. > On 16 apr. 2016, at 18:23, Hrvoje Popovski wrote: > > On 9.9.2013. 22:07, Mike Belopuhov wrote: >> On 9 September 2013 21:48, Brad Smith wrote: >>> He

Re: uvm: remove am_maxslot from amap

2016-04-16 Thread Mark Kettenis
> Date: Sat, 16 Apr 2016 16:36:11 +0200 > From: Stefan Kempf > > am_maxslot represents the total number of slots an amap can be extended > to. Since we do not extend amaps, this field as well as rounding the > number of slots to the next malloc bucket is not useful. > > This also removes the cor

Re: smu(4) fan speed

2016-04-16 Thread Mark Kettenis
> Date: Fri, 15 Apr 2016 20:41:53 +0200 > From: Marcus Glocker > > Yesterday I've installed macppc -current on a G5. > Since OF_getprop() for the 'unmanage-value' parameter fails on it, > smu(4) sets the fan speed to 'max-value' instead, which is 3200RPM > in my case. This makes the G5 sound lou

ipsec/ipv6 refactor

2016-04-16 Thread Markus Friedl
Hi, this matches the IPsec/IPv4 change I committed back in December, but since I don't have extensive IPv6 setups it's still not committed. Please test, give feedback and it will finally go into the next release. Thanks, -m ipv6ipsec-refactor.diff Description: Binary data

Re: ix(4): enable checksum offload

2016-04-16 Thread Hrvoje Popovski
On 9.9.2013. 22:07, Mike Belopuhov wrote: > On 9 September 2013 21:48, Brad Smith wrote: >> Here is a diff to enable the checksum offload support for ix(4). >> >> Looking for any testing. >> > > last time i checked this broke ospf traffic. please make sure at least > ip/tcp, ip/udp, ip/icmp, ip/

Re: request for testing: rbootd timeout fix

2016-04-16 Thread Todd C. Miller
On Fri, 15 Apr 2016 23:07:47 -0700, Philip Guenther wrote: > The current code is simply wrong: sizeof(struct timeval) > > sizeof(struct bpf_timeval). I think we should make this change (ok > guenther@) and then work to update struct bpf_hdr or a replacement > thereof to not be limited to 32bit ti

synaptics: two-finger scrolling and coasting

2016-04-16 Thread Ulf Brosziewski
The changes I have introduced in wsconscomm.c recently can make the transition from two-finger scrolling to coasting somewhat difficult. Provided that you have scrolled quickly enough, coasting will start if you finish the scroll gesture by lifting both fingers simultaneously, but a short delay wil

uvm: remove am_maxslot from amap

2016-04-16 Thread Stefan Kempf
am_maxslot represents the total number of slots an amap can be extended to. Since we do not extend amaps, this field as well as rounding the number of slots to the next malloc bucket is not useful. This also removes the corresponding output from procmap(1). ok? Index: sys/uvm/uvm_amap.c

Re: request for testing: rbootd timeout fix

2016-04-16 Thread Stuart Henderson
On 2016/04/15 23:07, Philip Guenther wrote: > On Thu, Apr 14, 2016 at 3:15 PM, Martin Natano wrote: > > In rbootd a struct bpf_timeval (with 32bit tv_sec) is copied to a struct > > timeval (with 64 tv_sec) via bcopy(). This most likely causes > > connections to not time out correctly in rbootd. I