Re: Hyper-V Disk Performance

2017-10-23 Thread Nick Holland
On 10/23/17 21:57, Daniel Boyd wrote: ... > I have another vm running on my laptop under KVM that runs > substantially faster than the hyper-v vm. My laptop is far below the > hyper-v server in most respects performance-wise, but it does have an > SSD. I’d be curious to find out how much of tha

Re: Hyper-V Disk Performance

2017-10-23 Thread Nick Holland
On 10/23/17 22:07, Daniel Boyd wrote: > On Oct 23, 2017, at 8:57 PM, Daniel Boyd > wrote: >>> But ... for unpacking ports, make sure that file system is >>> mounted (at the OpenBSD level) with softdeps. Yes, it's really a >>> huge difference for lots of tiny files, which is exactly what the >>>

Re: Hyper-V Disk Performance

2017-10-23 Thread Daniel Boyd
On Oct 23, 2017, at 8:57 PM, Daniel Boyd wrote: > > Thanks for the helpful response. > > FYI, I did some more research and discovered that Hyper-V doesn’t support > booting from virtual SCSI drives, so that solves that. > > I have another vm running on my laptop under KVM that runs substanti

Re: Hyper-V Disk Performance

2017-10-23 Thread Daniel Boyd
Thanks for the helpful response. FYI, I did some more research and discovered that Hyper-V doesn’t support booting from virtual SCSI drives, so that solves that. I have another vm running on my laptop under KVM that runs substantially faster than the hyper-v vm. My laptop is far below the hy

Re: Hyper-V Disk Performance

2017-10-23 Thread Nick Holland
On 10/23/17 17:41, Daniel Boyd wrote: > Is there a recommended configuration for virtual disks in Hyper-V? I > have a virtual machine that I set up recently running 6.2 that has > *very* slow disk performance. It took well over an hour to untar > ports.tar.gz. The host server is a few years old,

Recent AMD64 snapshots reboot during boot process

2017-10-23 Thread Lee Hirons
Hi, On recent AMD64 snapshots, my friend's laptop reboots just after I enter which kernel to boot at the boot> prompt: Using drive 0, partition 3. Loading... probing: pc0 mem[634K 2012M a20=on] disk: hd0+ >> OpenBSD/amd64 BOOT 3.33 boot> booting... *REBOOT* I've tried bsd, bsd.rd, obsd and bsd.b

Hyper-V Disk Performance

2017-10-23 Thread Daniel Boyd
Is there a recommended configuration for virtual disks in Hyper-V? I have a virtual machine that I set up recently running 6.2 that has *very* slow disk performance. It took well over an hour to untar ports.tar.gz. The host server is a few years old, but it's running 3 RAID-5 7200rpm drives, qua

Re: nobreak powers down openbsd

2017-10-23 Thread Friedrich Locke
When i wrote nobreak, i really meant UPS. I don't have a model; may some one suggest a model that power off openbsd ? Thanks. Livre de vírus. www.avast.com

Re: is there something missing in pledge?

2017-10-23 Thread Peter J. Philipp
Deal, I'll redesign it, with imsg and privsep to do the inet functions. In the process it'll probably fix what I want from it. Thanks! -peter On 10/23/17 19:25, Theo de Raadt wrote: > Basically, you want your program to be able to do everything. > > pledge isn't a wand you wave over software a

Re: is there something missing in pledge?

2017-10-23 Thread Theo de Raadt
Oh hahahahahah, you are trying to backup / including this file /etc/spwd.db which you are not allowed to read! Look, your design is flawed. Look at your pledge call: stdio cpath rpath wpath inet dns exec proc Basically, you want your program to be able to do everything. pledge isn't a wan

Re: is there something missing in pledge?

2017-10-23 Thread Theo de Raadt
> It unfortunately is not that simple to me. Because I don't have any > getpw* code really. But when I take getpw out of pledge it aborts the > program upon execution like so: > > beta# rbdaemon -s 192.168.35.4 > mkdir: File exists > Abort trap (core dumped) > beta# dmesg|t

Re: is there something missing in pledge?

2017-10-23 Thread Charlie Eddy
I don't know how much Dutch Theo may or may not have but this is the funniest OpenBSD discussion ever

Re: is there something missing in pledge?

2017-10-23 Thread Ricardo Mestre
Hi Peter, no cpio(1) is not wrong, you're just trying to access a file through your program AND cpio(1) that for security reasons otherwise shouldn't be the way you're doing it. why reinventing the wheel? can't you just use dump(1) -f or send it via other means? if you really want to use your pr

Re: is there something missing in pledge?

2017-10-23 Thread Peter J. Philipp
Hi, It unfortunately is not that simple to me. Because I don't have any getpw* code really. But when I take getpw out of pledge it aborts the program upon execution like so: beta# rbdaemon -s 192.168.35.4 mkdir: File exists Abort trap (core dumped) beta# dmesg|tail -1 rbda

Re: is there something missing in pledge?

2017-10-23 Thread Theo de Raadt
That is working as intended. Hoist the pw lookup up ahead. Our base doesn't have a single program which needs access to the password hash after pledge, so your program doesn't need it either. > I'm debugging a program that doesn't work around reading /etc/spwd.db. In > a ktrace it gives this: >

is there something missing in pledge?

2017-10-23 Thread Peter J. Philipp
Hi, I'm debugging a program that doesn't work around reading /etc/spwd.db. In a ktrace it gives this: 78130 rbdaemon CALL open(0xeca79d7b000,0) 78130 rbdaemon NAMI "/etc/spwd.db" 78130 rbdaemon RET open -1 errno 1 Operation not permitted When I take the pledge code out which is: if (ple

acpidump at bootup blocking for 5 minutes

2017-10-23 Thread mabi
Hi, I have a Nexcom 1150 (http://www.nexcom.co.uk/Products/network-and-communication-solutions/intel-based-appliance/entry-level-appliance/network-communication-nsa-1150) which I use as Firewall and noticed that it takes up to 7 minutes to bootup. By commenting out some parts of the the /etc/rc

Fwd: Re: iPhone tethering?

2017-10-23 Thread garry
OOps, and a apology, this was my first time post to the list, and I accidentally replied to the wrong  e-mail address (rsm at  sfmm consulting) the first time sorry about that. - Original Message - From: ga...@garryricketsonartworks.com To: "SFM" Sent: Mon, 23 Oct 2017 06:50:18 -0700 S

Re: nobreak powers down openbsd

2017-10-23 Thread Solène Rapenne
Je 2017-10-23 15:40, Friedrich Locke skribis: Hi folks! I would like to have my openbsd server to be shutdown when my nobreak power becomes lower than 20% of its capacity; is that possible ? Any one with experience in this regard ? Thanks a lot.

nobreak powers down openbsd

2017-10-23 Thread Friedrich Locke
Hi folks! I would like to have my openbsd server to be shutdown when my nobreak power becomes lower than 20% of its capacity; is that possible ? Any one with experience in this regard ? Thanks a lot.

Re: iPhone tethering ?

2017-10-23 Thread Rui Ribeiro
I would avoid *any* realtek devices. Power management bugs, bugs at the hw, firmware and driver level. Not particularly well impressed. But then, I have yet to find any *USB wifi* dongle that particularly impresses me. https://unix.stackexchange.com/questions/252210/wi-fi-problems-using-asus-usb-n

Re: iPhone tethering ?

2017-10-23 Thread Christoph R. Murauer
The only 2 options you have is, get a Android device then you can use USB tethering over urndis(4) or, buy one of this round 10 Euro or less mini USB WIFI dongles which use the urtwn(4) firmware, then you can use your iPhone and tether using WIFI. The Edimax with a RTL8188CUSe and, the TP-LINK wit

Re: iPhone tethering ?

2017-10-23 Thread Sergio Perticone
On Mon, Oct 23, 2017 at 7:58 AM, SFM wrote: > Hi everyone ! > > Does iPhone tethering work with OpenBSD? In other words, is there an > equivalent or alternative to FreeBSD & DragonFlyBSD’s usbmuxd in OpenBSD? The > only thread about “tethering” that I found in the mailing list archives is > abo

iPhone tethering?

2017-10-23 Thread SFM
Sorry I forgot to mention that I don’t have wireless access (the driver for my wireless device Realtek RTL8191SE doesn’t appear to be supported in OpenBSD), so I am talking about a wired connection through USB!