Re: Any news on Fletcher checksums (=ZFS-style checksums) in softraid?

2015-12-01 Thread Karel Gardas
Tinker, what you basically try to describe as Fletcher is kind of how ZFS is working. The Fletcher on the other hand is simple checksumming algorithm. Please read something about ZFS design to know more about it. Now, what I did for RAID1 to become RAID1C is just to divide data area of RAID1 to

Re: A branded USB stick as an alternative to the CD set?

2015-12-01 Thread Marko Cupać
Personally, I don't have the resources to contribute any amount of money. Unix admin's job here in Serbia is paid in high 4 figures :) Yearly, that's right. But I work for a company whose networking relies heavily on OpenBSD. My boss, although not from FOSS world, understands the value of good

Re: A branded USB stick as an alternative to the CD set?

2015-12-01 Thread Adam Wolk
On Tue, 1 Dec 2015 18:41:24 -0200 Michel Behr wrote: > Just one more thing: for non-developers, if you think there's any > sense in this idea I just described, please, some "seconding" and/or > additions would be welcomed. Also some e-mails directed to >

Re: A branded USB stick as an alternative to the CD set?

2015-12-01 Thread Donald Allen
"All I can do is buy the CD's and give some $ to the foundation. Any other suggestion is not productive." I don't think that quite covers it. Those of us who have the choice can send checks or Paypal money directly to Theo, as described on the Donations page. I think checks are preferable,

Zotac ZBOX-CI540

2015-12-01 Thread bluesun08
Hi, i'm very frustrated and helpless. I own a Zotac ZBOX-CI540. The installation of 5.8 works without any problems. But when i reboot the ZBOX the system won't start. The HDD light appear but the system don't find the HDD and hangs. What could be the problem here? Regards Alex -- View

Re: whats wrong with me?

2015-12-01 Thread Krzysztof Strzeszewski
Sorry, I'm beginner. I konow, my message was not logical. uname -a: # OpenBSD hostname 5.8 GENERIC#0 i386 # virtual server in httpd.conf:

Re: OpenBSD 5.8 on VMware 5.5

2015-12-01 Thread Rodney Hopkins
>From: Felipe Gomes >To: misc@openbsd.org >Sent: Tuesday, December 1, 2015 9:50 AM >Subject: OpenBSD 5.8 on VMware 5.5 > >Folks, >I've been trying to search for more information on OpenBSD as a >VMWare >guest, but I wasn't able to find much... and the information is >pretty

Re: whats wrong with me?

2015-12-01 Thread Alexander Salmin
On 2015-12-01 21:51, Krzysztof Strzeszewski wrote: Sorry, I'm beginner. I konow, my message was not logical. uname -a: # OpenBSD hostname 5.8 GENERIC#0 i386

a little help with ipsec

2015-12-01 Thread Marko Cupać
Hi, I am trying to setup IPsec VPN between fixed-ip central location and dynamic-ip branch office. It works well once established, but when public ip of branch office changes, it never re-establishes again. I guess I misunderstood "dead peer detection" mechanism, which I hoped will take care of

Re: Any news on Merkle tree-hash-based whole-disk checksums (=ZFS-style checksums) in softraid?

2015-12-01 Thread Tinker
(corrected the subject) Karel, So your current solution is *NOT* data-safe toward "mis-write":s and other write errors that go unnoticed at write time. While I agree that the probability that the writes to both disks and to their checksum areas would fail are really low, the "hash

Re: Any news on Fletcher checksums (=ZFS-style checksums) in softraid?

2015-12-01 Thread Tinker
Wait, so you say the input for your CRC32 checksum is "metadata>". So every sector/block in your model contains a CRC32 checksum of that, and on every fread() you check that. Does the SR metadata contain the sector index number, so that if the sector index number would have changed

Re: A branded USB stick as an alternative to the CD set?

2015-12-01 Thread Michel Behr
As I understand, one of the reasons for the Foundation to avoid targeted contributions is to preserve the independence of the project - in the current model they are accountable for allocating the resources as they see fit. So IMHO there is value in that model for that regard. On the other hand,

Re: Any news on Fletcher checksums (=ZFS-style checksums) in softraid?

2015-12-01 Thread Tinker
Sorry for the spam - this is my last post before your next response. My best understanding is that within your RAID1C, Fletcher could work as a "CRC32 on steroids", because it would not only detect error when reading sectors/blocks that are broken because they contain inadvertently moved

Re: ansible openbsd_rcctl module

2015-12-01 Thread Alexander Salmin
On 2015-12-01 09:54, Sarevok Anchev wrote: Hello, Recently I submitted openbsd_rcctl to ansible. In order to speed up the process of having it included by default, I'm asking the community to review/test the module and drop a comment at

Re: A branded USB stick as an alternative to the CD set?

2015-12-01 Thread Michel Behr
Just one more thing: for non-developers, if you think there's any sense in this idea I just described, please, some "seconding" and/or additions would be welcomed. Also some e-mails directed to fundrais...@openbsdfoundation.org would be great in this regard too. (Again: OpenBSD developers should

Failure to boot install media using bootia32.efi

2015-12-01 Thread Callum Davies
I have two "devices" using IA32 UEFI firmware with 64-bit hardware. An Asus EeeBook X502TA and qemu-system-x86_64 with an IA32 TianoCore firmware. Neither of these will boot from snapshots/amd64/install58.fs. Attempting to run bootia32.efi from the UEFI shell of the qemu system simply tells me

Re: Zotac ZBOX-CI540

2015-12-01 Thread Michael McConville
bluesun08 wrote: > I own a Zotac ZBOX-CI540. The installation of 5.8 works without any > problems. > > But when i reboot the ZBOX the system won't start. The HDD light > appear but the system don't find the HDD and hangs. Please share a dmesg. Let us or Freenode know if you need help with that.

Re: Unable to sufficiently clean up softraid metadata

2015-12-01 Thread Patrik Lundin
On Wed, Dec 02, 2015 at 01:26:10AM +0100, Patrik Lundin wrote: > > I have a custom installer script which automatically creates RAID > devices and assembles an sd1 CRYPTO device before the ordinary installer > continues (making the installer use sd1 for the rest of the > installation). > I

Unable to sufficiently clean up softraid metadata

2015-12-01 Thread Patrik Lundin
Hello, I have a custom installer script which automatically creates RAID devices and assembles an sd1 CRYPTO device before the ordinary installer continues (making the installer use sd1 for the rest of the installation). This works well, other than needing this patch since the keydisk is on the

Re: Any news on Merkle tree-hash-based whole-disk checksums (=ZFS-style checksums) in softraid?

2015-12-01 Thread Raul Miller
On Tue, Dec 1, 2015 at 5:21 PM, Tinker wrote: > So your current solution is *NOT* data-safe toward "mis-write":s and other > write errors that go unnoticed at write time. > > While I agree that the probability that the writes to both disks and to > their checksum areas

Re: a little help with ipsec

2015-12-01 Thread Stuart Henderson
On 2015-12-01, Marko Cupać wrote: > Hi, > > I am trying to setup IPsec VPN between fixed-ip central location and > dynamic-ip branch office. It works well once established, but when > public ip of branch office changes, it never re-establishes again. I > guess I

Re: Any news on Merkle tree-hash-based whole-disk checksums (=ZFS-style checksums) in softraid?

2015-12-01 Thread Tinker
On 2015-12-02 07:14, Raul Miller wrote: On Tue, Dec 1, 2015 at 5:21 PM, Tinker wrote: So your current solution is *NOT* data-safe toward "mis-write":s and other write errors that go unnoticed at write time. While I agree that the probability that the writes to both

Re: Unable to sufficiently clean up softraid metadata

2015-12-01 Thread Nathan Wheeler
I have a similar sort of setup during installs and I clear out the first 10m before setting up the CRYPTO disk and it works for me. I don't think you're zeroing out enough at the beginning of the disk. dd if=/dev/zero of=/dev/rsd0c bs=10m count=1 On Tue, Dec 1, 2015 at 4:33 PM, Patrik Lundin

Re: OpenBSD 5.8 on VMware 5.5

2015-12-01 Thread Ed Ahlsen-Girard
> From: Fabio Almeida > Date: 2015-12-01 16:18:43 > Message-ID: CAGd5O8LpM3Dz8N7fq8edWmuqnxnBEVgN16QETsOtHo69Ote_-w () > mail ! gmail ! com [Download message RAW] > > Hi Felipe, > > I'm running OpenBSD VMWare guests without problem, both as Firewall, > IPSec VPN and FTP/SFTP

Re: Any news on Merkle tree-hash-based whole-disk checksums (=ZFS-style checksums) in softraid?

2015-12-01 Thread Raul Miller
On Tue, Dec 1, 2015 at 6:49 PM, Tinker wrote: > At least as for me, I'd be happy to go with the merkle tree hash-based > solution even if the overhead was extremely large, like anywhere up to 80% > lower IO performance would be fine with me. I would guess that that not is >

Re: A branded USB stick as an alternative to the CD set?

2015-12-01 Thread Theo de Raadt
>"All I can do is buy the CD's and give some $ to the >foundation. Any other suggestion is not productive." > >I don't think that quite covers it. Those of us who have the choice >can send checks or Paypal money directly to Theo, as described on the >Donations page. I think checks are preferable,

Re: Zotac ZBOX-CI540

2015-12-01 Thread メット
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 2015年12月2日 8:28:53 JST, Michael McConville wrote: >bluesun08 wrote: >> I own a Zotac ZBOX-CI540. The installation of 5.8 works without any >> problems. >> >> But when i reboot the ZBOX the system won't start. The HDD light

Re: Zotac ZBOX-CI540

2015-12-01 Thread メット
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 efi certificate? On 2015年12月2日 8:28:53 JST, Michael McConville wrote: >bluesun08 wrote: >> I own a Zotac ZBOX-CI540. The installation of 5.8 works without any >> problems. >> >> But when i reboot the ZBOX the system won't start.

Any news on Fletcher checksums (=ZFS-style checksums) in softraid?

2015-12-01 Thread Tinker
Hi! I heard someone was working with implementing Fletcher checksums in softraid. Do you know any updates on this? Fletcher checksums are how OpenBSD would guarantee that the data you read from disk actually has integrity. What makes it different from traditional checksumming is that it

Re: A branded USB stick as an alternative to the CD set?

2015-12-01 Thread Kevin Chadwick
> > Now to be clear Theo, are donation via the paypal on the donations page > > are directly to you and you can do as you see fit, and/or only checks > > would be best? > > Correct, as I see fit. I try to use it for the Project for things the > Foundation doesn't fund. I declared it that way

Any news on Fletcher checksums (=ZFS-style checksums) in softraid? (+better phrasing)

2015-12-01 Thread Tinker
Hi! I heard someone was working with implementing Fletcher checksums in softraid. Do you know any updates on this? Fletcher checksums are how OpenBSD would guarantee that the data you read from disk actually has integrity. What makes Fletcher checksums different from traditional

Re: OpenBSD 5.8 on VMware 5.5

2015-12-01 Thread Bruno Flueckiger
On 01.12.2015 16:50, Felipe Gomes wrote: Folks, I've been trying to search for more information on OpenBSD as a VMWare guest, but I wasn't able to find much... and the information is pretty much outdated. What are the recommendations for OpenBSD 5.8 (amd64) as a guest on VMware 5.5? Guest

Re: Any news on Merkle tree-hash-based whole-disk checksums (=ZFS-style checksums) in softraid?

2015-12-01 Thread Tinker
Raul, What do you mean? What I wanted to say here has been that with respect to data safety, there are two classes of filesystems around, and that is those with a whole-disk hash on the one hand (ZFS, and I think maybe btrfs and Hammer2), and those who don't on the other. I agree with

Re: OpenBSD 5.8 on VMware 5.5

2015-12-01 Thread Nick Holland
On 12/01/15 13:32, Stuart Henderson wrote: > On 2015-12-01, Reyk Floeter wrote: >>> What is the recommended SCSI Controller? LSI Logic Parallel, LSI Logic SAS >>> or VMware Paravirtual? >> >> LSI Logic SAS- mpi(4) >> VMware Paravirtual - vmwpvs(4) >> >> Use LSI

Re: OpenBSD 5.8 on VMware 5.5

2015-12-01 Thread Stuart Henderson
On 2015-12-01, Reyk Floeter wrote: >> What is the recommended SCSI Controller? LSI Logic Parallel, LSI Logic SAS >> or VMware Paravirtual? > > LSI Logic SAS - mpi(4) > VMware Paravirtual- vmwpvs(4) > > Use LSI Logic SAS. The VMware Paravirtual has bugs that might

Re: Any news on Fletcher checksums (=ZFS-style checksums) in softraid? (+better phrasing)

2015-12-01 Thread Chris Cappuccio
Tinker [ti...@openmailbox.org] wrote: > Hi! > > I heard someone was working with implementing Fletcher checksums in > softraid. > > Do you know any updates on this? > Karel Gardas was working on an implementation of RAID1C for softraid Last I remember, it needs to be pulled out into smaller

Re: Any news on Fletcher checksums (=ZFS-style checksums) in softraid? (+better phrasing)

2015-12-01 Thread Tinker
On 2015-12-02 02:27, Chris Cappuccio wrote: Tinker [ti...@openmailbox.org] wrote: Hi! I heard someone was working with implementing Fletcher checksums in softraid. Do you know any updates on this? Karel Gardas was working on an implementation of RAID1C for softraid Last I remember, it

Re: A branded USB stick as an alternative to the CD set?

2015-12-01 Thread Theo de Raadt
> > > Now to be clear Theo, are donation via the paypal on the donations page > > > are directly to you and you can do as you see fit, and/or only checks > > > would be best? > > > > Correct, as I see fit. I try to use it for the Project for things the > > Foundation doesn't fund. I declared

Re: Any news on Fletcher checksums (=ZFS-style checksums) in softraid?

2015-12-01 Thread Karel Gardas
I don't know about fletcher, but I'm working on crc32 based checksumming for soft raid1. The basic implementation is ready but I'm not satisfied with write performance in some cases: small files, lots of collisions in chksumming blocks etc. Worst case I see 6-7x slower performance here in

Re: Any news on Fletcher checksums (=ZFS-style checksums) in softraid?

2015-12-01 Thread Tinker
Hi Karel, Glad to talk to you. Why the extra IO expense? About the Fletcher vs not Fletcher thing, can you please explain to me what happens in a setup where I have one single disk with one single RAID partition on it using your disciple, and.. 1) I write a sector/block on some position

Re: ansible openbsd_rcctl module

2015-12-01 Thread Alexander Salmin
On 2015-12-01 09:54, Sarevok Anchev wrote: Hello, Recently I submitted openbsd_rcctl to ansible. In order to speed up the process of having it included by default, I'm asking the community to review/test the module and drop a comment at

Re: Any news on Fletcher checksums (=ZFS-style checksums) in softraid?

2015-12-01 Thread Tinker
Just to illustrate the case. This is just how I got that it works, please pardon the amateur level on algorithm details here. With the Fletcher checksumming, say that you have the Fletcher checksum in a tree structure of two levels: One at the disk root, one for every 100MB of data on the

Re: procmap prints ?VNODE?

2015-12-01 Thread Ted Unangst
Stefan Berger wrote: > hi, > > with the command 'procmap pid', I often/always get ?VNODE? instead of > the actual filename. My question is, whether this is on purpose because > on similary BSDs (pmap on NetBSD) , I don't get ?VNODE? but the actual > filename. Any ideas what went wrong?

Re: vmmctl and vmd problem

2015-12-01 Thread Mike Larkin
On Sat, Nov 28, 2015 at 09:46:36AM +, freeu...@ruggedinbox.com wrote: > 26 Nov 2015 at 21:10:06, Norman Golisz wrote: > >This is expected. vmm(4) is not yet enabled in the default kernel > >configuration. > > Thanks for your hints:) > > I tried "config -e -f /bsd", then

Re: Recommended Industrial PCs?

2015-12-01 Thread Clint Pachl
Martin Haufschild wrote on 08/26/15 12:11: can someone recommend me an Industrial PC (IPC) to use with OpenBSD? I would like to have a lot of hardware supported from this IPC by OpenBSD. I've had great luck with Lanner (http://www.lannerinc.com/). I've been running a LEC-2280 and FW-7541 for

Re: bridge fails to broadcast ARP from gif tunnel

2015-12-01 Thread Kazuya GODA
Hi, It seems to bridge doesn't forward broadcast/multicast frames from gif. This pathc will fix this problem, so would you try it? Thanks, - Goda Index: net/if_bridge.c === RCS file: /cvs/src/sys/net/if_bridge.c,v retrieving

ansible openbsd_rcctl module

2015-12-01 Thread Sarevok Anchev
Hello, Recently I submitted openbsd_rcctl to ansible. In order to speed up the process of having it included by default, I'm asking the community to review/test the module and drop a comment at https://github.com/ansible/ansible-modules-extras/pull/1296 Let me know if there are other

Re: ansible openbsd_rcctl module

2015-12-01 Thread Antoine Jacoutot
On Tue, Dec 01, 2015 at 08:54:25AM -, Sarevok Anchev wrote: > Hello, > > Recently I submitted openbsd_rcctl to ansible. In order to speed up the > process of having it included by default, I'm asking the community to > review/test the module and drop a comment at >

Re: bridge fails to broadcast ARP from gif tunnel

2015-12-01 Thread Rolf Sommerhalder
Hi Goda, On Tue, Dec 1, 2015 at 10:07 AM, Kazuya GODA wrote: > It seems to bridge doesn't forward broadcast/multicast frames from gif. > This pathc will fix this problem, so would you try it? Indeed, your patch fixes the problem! Excellent, thank you very much. Now, I will go

Re: A branded USB stick as an alternative to the CD set?

2015-12-01 Thread Gareth Nelson
Theo: like others in this thread I find it quite shocking and disappointing how poorly you are doing financially from your hard work. I apologise if this is too obvious a suggestion but if the foundation is making a sufficient income is it not possible for you to draw a salary as an employee? As

Re: A branded USB stick as an alternative to the CD set?

2015-12-01 Thread Theo de Raadt
> Theo: like others in this thread I find it quite shocking and disappointing > how poorly you are doing financially from your hard work. Join the club :) > I apologise if this is too obvious a suggestion but if the foundation is > making a sufficient income is it not possible for you to draw a

pfstat - bits or bytes

2015-12-01 Thread Christer Solskogen
Hi! In pfstat(8) the example is: collect 1 = interface "sis0" pass bytes in ipv4 diff but it also have this: graph 1 bps "in" "bits/s" color 0 192 0 filled Does pfstat record bits or bytes? -- chs

Re: bridge fails to broadcast ARP from gif tunnel

2015-12-01 Thread Reyk Floeter
On Tue, Dec 01, 2015 at 10:07:12AM +0100, Kazuya GODA wrote: > Hi, > > It seems to bridge doesn't forward broadcast/multicast frames from gif. > This pathc will fix this problem, so would you try it? > > Thanks, > > - Goda > that matches the behaviour of -r1.239 before the enqueue changes.

HP LaserJet Problem

2015-12-01 Thread bluesun08
Hi, i connected my HP LaserJet 1320 to a USB-Port. The message is: ulpt0 at uhub1 openbsd /bsd: port 4 configuration 1 interface 0 "Hewlett-Packard hp LaserJet 1320 series" rev 1.10/1.00 addr 4 openbsd /bsd: ulpt0: using bi-directional mode After the command "textfile" > /dev/ulpt0 i get the

OpenBSD 5.8 on VMware 5.5

2015-12-01 Thread Felipe Gomes
Folks, I've been trying to search for more information on OpenBSD as a VMWare guest, but I wasn't able to find much... and the information is pretty much outdated. What are the recommendations for OpenBSD 5.8 (amd64) as a guest on VMware 5.5? Guest Operating System: should I pick "Other

Re: A branded USB stick as an alternative to the CD set?

2015-12-01 Thread Peter J. Philipp
On 12/01/15 10:20, Anthony Campbell wrote: > On 30 Nov 2015, Bryan Vyhmeister wrote: >> Let's not waste any more of Theo's time. USB sticks are not the magic >> device that some seem to think. Some are not very reliable and prone to >> failure. I've had very mixed results with budget USB sticks in

Re: kernel panic - panic: ehci_device_clear_toggle: queue active

2015-12-01 Thread Donald Allen
The crash I reported a few days ago is the same: ehci_device_clear_toggle: queue active

Re: A branded USB stick as an alternative to the CD set?

2015-12-01 Thread Anthony Campbell
On 30 Nov 2015, Bryan Vyhmeister wrote: > Let's not waste any more of Theo's time. USB sticks are not the magic > device that some seem to think. Some are not very reliable and prone to > failure. I've had very mixed results with budget USB sticks in > particular. Going with a more expensive USB

Re: 5.8 freezes on Shuttle DS87, anybody else?

2015-12-01 Thread Harald Dunkel
I migrated this openBSD setup to a 5 years old network appliance. Its running for more than a week without problems. This means I don't have a test setup to chase the problem anymore. Regards Harri

Re: bridge fails to broadcast ARP from gif tunnel

2015-12-01 Thread Kazuya GODA
Hi, Rolf, > Will you merge the fix into -current? This fix was merged into -current. Thanks, - Goda On 2015/12/01 11:20, Rolf Sommerhalder wrote: Hi Goda, On Tue, Dec 1, 2015 at 10:07 AM, Kazuya GODA wrote: It seems to bridge doesn't forward broadcast/multicast frames from

Re: OpenBSD 5.8 on VMware 5.5

2015-12-01 Thread James Shupe
On 2015-12-01 09:50, Felipe Gomes wrote: Folks, I've been trying to search for more information on OpenBSD as a VMWare guest, but I wasn't able to find much... and the information is pretty much outdated. What are the recommendations for OpenBSD 5.8 (amd64) as a guest on VMware 5.5? Guest

Re: HP LaserJet Problem

2015-12-01 Thread Stefan Sperling
On Tue, Dec 01, 2015 at 07:37:05AM -0700, bluesun08 wrote: > Hi, > > i connected my HP LaserJet 1320 to a USB-Port. The message is: > > ulpt0 at uhub1 > openbsd /bsd: port 4 configuration 1 interface 0 "Hewlett-Packard hp > LaserJet 1320 series" rev 1.10/1.00 addr 4 > openbsd /bsd: ulpt0: using

Re: OpenBSD 5.8 on VMware 5.5

2015-12-01 Thread Fabio Almeida
Hi Felipe, I'm running OpenBSD VMWare guests without problem, both as Firewall, IPSec VPN and FTP/SFTP servers. If you plan to run H.A systems with CARP, just be sure to enable "promiscuous mode" on the carp interfaces, both on the VM and the Hypervisor side. Everything else you can let the

Re: OpenBSD 5.8 on VMware 5.5

2015-12-01 Thread Reyk Floeter
Hi, On Tue, Dec 01, 2015 at 01:50:57PM -0200, Felipe Gomes wrote: > I've been trying to search for more information on OpenBSD as a VMWare > guest, but I wasn't able to find much... and the information is pretty much > outdated. > > What are the recommendations for OpenBSD 5.8 (amd64) as a guest

Re: HP LaserJet Problem

2015-12-01 Thread Stefan Sperling
On Tue, Dec 01, 2015 at 05:12:26PM +0100, Stefan Sperling wrote: > On Tue, Dec 01, 2015 at 07:37:05AM -0700, bluesun08 wrote: > > cannot create /dev/ulpt0: Device busy > > > > The printer don't print. What goes wrong here? > > > > Regards Alex > > Some HP LaserJet printers need firmware. See