Re: EFIboot and HP Stream 13

2016-04-13 Thread Vegar Linge Haaland
Hi! > -Original Message- > From: YASUOKA Masahiko [mailto:yasu...@openbsd.org] > Sent: onsdag 13. april 2016 14.36 > To: ve...@vegarlh.com > Cc: tech@openbsd.org > Subject: Re: EFIboot and HP Stream 13 > > Hello, > > On Wed, 13 Apr 2016 12:27:51 +0200 > "Vegar Linge Haaland" wrote: > >>

Re: Fix for RDPMC on KVM OpenBSD guests

2016-04-13 Thread Mike Belopuhov
On 13 April 2016 at 15:26, Mike Larkin wrote: > The Intel SDM is a little unclear as to precisely how to check for the > presence > of the general purpose architectural performance monitoring counters (via the > 'rdpmc' instruction). In one place in the manual, it describes capabilities > based o

Re: Fix for RDPMC on KVM OpenBSD guests

2016-04-13 Thread Hiltjo Posthuma
On Wed, Apr 13, 2016 at 06:26:05AM -0700, Mike Larkin wrote: > The Intel SDM is a little unclear as to precisely how to check for the > presence > of the general purpose architectural performance monitoring counters (via the > 'rdpmc' instruction). In one place in the manual, it describes capabil

Re: [patch] www faq13.html - add 13.5: record, audio monitor

2016-04-13 Thread lists
Hi tech@ Based on the thread [http://marc.info/?t=14601536351] now following up with a much improved diff by valuable patient guidance and very fine feedback from ratchov@ tj@ tb@ that got accepted in as FAQ section 13.5 Learned a lot from the iterative process, thank you all & best regards,

Re: ksh: \" inside double quoted `..`

2016-04-13 Thread Christian Weisgerber
On 2016-04-07, Christian Weisgerber wrote: > Let's illustrate the issue: > > $ sh -c 'echo "`echo \"hi\"`"' > hi > $ sh -o posix -c 'echo "`echo \"hi\"`"' > "hi" > > I'll just quote ksh.1: > > o Occurrences of \" inside double quoted `..` command substitutions. > In POSIX mode, t

Re: pledge pstat

2016-04-13 Thread Rob Pierce
On Tue, Apr 12, 2016 at 04:25:01PM -0400, Rob Pierce wrote: > Hoist sysct and kvm calls, and pledge stdio, rpath, vminfo. > > Rob Update diff based on comments from tb@: Changes include the following: - kd is a pointer, so compare with NULL (not 0). - simply nlistf/memf condition statment in

Re: tidy syscall_mi.h

2016-04-13 Thread Theo de Raadt
>> Date: Thu, 7 Apr 2016 13:10:23 +0200 >> From: Michal Mazurek >> >> Depending on the NOLOCK flag, the KERNEL_LOCK will, or will not be acquired >> before calling pledge_syscall(). I therefore conclude that KERNEL_LOCK >> is not needed to call pledge_syscall(). > >It really depends on what the b

Re: Spurious serial console interrupts

2016-04-13 Thread Visa Hankala
On Wed, Apr 13, 2016 at 06:15:46AM +, Miod Vallat wrote: > > It should be latched, at least on modern 16550-like UARTs. From > > a PC16550D datasheet: > > Keep in mind that com(4) is intended to support 16450 chips, which have > no FIFO. I believe that the current ordering of the operations is

Fix for RDPMC on KVM OpenBSD guests

2016-04-13 Thread Mike Larkin
The Intel SDM is a little unclear as to precisely how to check for the presence of the general purpose architectural performance monitoring counters (via the 'rdpmc' instruction). In one place in the manual, it describes capabilities based on cpu family (using family names like "Intel Core Duo, In

Re: EFIboot and HP Stream 13

2016-04-13 Thread YASUOKA Masahiko
Hello, On Wed, 13 Apr 2016 12:27:51 +0200 "Vegar Linge Haaland" wrote: >> -Original Message- >> From: owner-t...@openbsd.org [mailto:owner-t...@openbsd.org] On >> Behalf Of YASUOKA Masahiko >> Sent: onsdag 13. april 2016 09.58 >> To: ve...@vegarlh.com >> Cc: tech@openbsd.org >> Subject: R

Re: pledge pstat

2016-04-13 Thread Rob Pierce
From: "Mike Belopuhov" To: "Rob Pierce" Cc: "tech" Sent: Tuesday, April 12, 2016 6:05:19 PM Subject: Re: pledge pstat BQ_BEGIN On 12 April 2016 at 22:25, Rob Pierce wrote: > Hoist sysct and kvm calls, and pledge stdio, rpath, vminfo. > > Rob > Please make sure that "pstat -d" s

Re: EFIboot and HP Stream 13

2016-04-13 Thread Vegar Linge Haaland
> -Original Message- > From: owner-t...@openbsd.org [mailto:owner-t...@openbsd.org] On > Behalf Of YASUOKA Masahiko > Sent: onsdag 13. april 2016 09.58 > To: ve...@vegarlh.com > Cc: tech@openbsd.org > Subject: Re: EFIboot and HP Stream 13 > > On Wed, 13 Apr 2016 09:26:23 +0200 > "Vegar Lin

Re: Kill in_rtaddr()

2016-04-13 Thread Mike Belopuhov
On Mon, Apr 11, 2016 at 15:17 +0200, Martin Pieuchot wrote: > ``ipforward_rt'' is going away but rather than sending a big diff, > here's the first step. > > This diff replaces in_rtaddr() by rtalloc(9). Note that since the code > here is interested in rt_ifa it has to call rtisvalid(9) to preven

Re: EFIboot and HP Stream 13

2016-04-13 Thread YASUOKA Masahiko
On Wed, 13 Apr 2016 09:26:23 +0200 "Vegar Linge Haaland" wrote: > probing: pc0 mem[444K 88K 511M 1374M 19M] > Disk:BlockSize=256 LastBlock=16383 > Hit any key to reboot The result above means the disk is 4MB and its bllock size 256 bytes. This seems strange for me. > Also, I forgot to mention th

Re: EFIboot and HP Stream 13

2016-04-13 Thread Vegar Linge Haaland
Hi, with the diff below I get: probing: pc0 mem[444K 88K 511M 1374M 19M] Disk:BlockSize=256 LastBlock=16383 Hit any key to reboot Also, I forgot to mention this in my first post, sorry, not sure if it is relevant though: I am testing this using a USB-stick with everything on a encrypted softraid.