4k-sectors: installboot(8) wipes the disklabel(5)

2014-04-22 Thread David Vasek
Hello, the new installboot(8) wipes the disk label on a 4k-byte/sector drive - a valid disk label becomes binary zeros after /usr/sbin/installboot -r /mnt sd4 To be more precise, the boot sector (the first 512 bytes) gets installed, but the disk label (the next 512 bytes) is overwritten with

Re: Configuring wireless and dhcp with zyd on 5.4-release

2014-04-22 Thread Felix Johnson
On Sun, Apr 20, 2014 at 11:26 PM, Stefan Sperling s...@openbsd.org wrote: On Sun, Apr 20, 2014 at 05:29:41PM -1000, Felix Johnson wrote: I used an Atheros-based nic (but the firmware wouldn't load, and yes, I copied it to /etc/firmware). Why manual copying? Running fw_update(1) was not an

Re: alias's - ksh

2014-04-22 Thread Craig R. Skinner
On 2014-04-21 Mon 14:22 PM |, Martin Brandenburg wrote: # tset on interactive login shells. case $- in *i*) eval `tset -sQ '-munknown:?vt220' $TERM` ;; esac # /etc/profile: [[ -o interactive ]] { [[ ${SHELL} == '/bin/ksh' ]] . /etc/ksh.kshrc [[ ${SHELL}

Re: NFS server export node

2014-04-22 Thread Craig R. Skinner
On 2014-04-21 Mon 21:39 PM |, Alessandro DE LAURENZIS wrote: Folks, still unclear after reading the hier man page where is the most suitable node for a NFS server export directory. I would like to stay as much close as possible to the BSD tradition, so I would put data for or from

Re: Configuring wireless and dhcp with zyd on 5.4-release

2014-04-22 Thread Stefan Sperling
On Mon, Apr 21, 2014 at 10:39:41PM -1000, Felix Johnson wrote: The atheros-based nic does show up (athn0). I (just now) used fw_update with the path set to a usb stick, and dmesg still shows a problem loading the firmware athn0 at uhub1 port 2 ATHEROS UB91C rev 2.00/1.08 addr 3 athn0:

Small typo on armv7.html

2014-04-22 Thread Tomas Bodzar
$ cvs diff -u -r1.7 armv7.html Index: armv7.html === RCS file: /cvs/www/armv7.html,v retrieving revision 1.7 diff -u -p -u -r1.7 armv7.html --- armv7.html 29 Mar 2014 21:58:11 - 1.7 +++ armv7.html 22 Apr 2014 09:37:39 -

Re: NFS server export node

2014-04-22 Thread Adam Thompson
Ah, be careful there - /net is typically reserved for the automounter. That's one NFS-related path that is somewhat standard. -Adam On April 22, 2014 4:33:08 AM CDT, skin...@britvault.co.uk wrote: On 2014-04-21 Mon 21:39 PM |, Alessandro DE LAURENZIS wrote: Folks, still unclear after

4k-sectors: dump(8) fails

2014-04-22 Thread David Vasek
Hello, some more 4k-bytes/sector fun today. dump(8) doesn't like the 4k-byte/sectors source devices. There is an output below as an example and also related patch for the man page. With restore(8), i did't encounter any problems when restoring dumps of regular 512-byte/sectors filesystems to

4k-sectors: growfs(8) fails

2014-04-22 Thread David Vasek
growfs(8) also fails on a 4k-byte/sector disk. Simple patch for the man page added. Connected OpenBSD/i386 BOOT 3.21 boot boot kernel/i386/bsd.mp -a booting hd0a:kernel/i386/bsd.mp:

Re: NFS server export node

2014-04-22 Thread Kenneth Gober
On Mon, Apr 21, 2014 at 3:39 PM, Alessandro DE LAURENZIS just22@gmail.com wrote: Folks, still unclear after reading the hier man page where is the most suitable node for a NFS server export directory. as far as I know there's no standard for this. I have been using /nfs, in a vaguely

LibreSSL appreciation thread

2014-04-22 Thread opendaddy
Just wanted to say great job guys! A gift to humanity and a serious power move for OpenBSD. O.D.

Re: Small typo on armv7.html

2014-04-22 Thread Jason McIntyre
On Tue, Apr 22, 2014 at 11:39:17AM +0200, Tomas Bodzar wrote: $ cvs diff -u -r1.7 armv7.html Index: armv7.html === RCS file: /cvs/www/armv7.html,v retrieving revision 1.7 diff -u -p -u -r1.7 armv7.html --- armv7.html 29 Mar

Eth port (bge) physically powered down after halt -p

2014-04-22 Thread Alessandro DE LAURENZIS
Folks, OpenBSD 5.4-Rel, GENERIC kernel. I'm trying to set up a file server that should be remotely controlled (broken LCD). I need to switch it on by means of WOL functionality (supported by and activated into the BIOS). The interface is: $ dmesg | egrep bge bge0 at pci2 dev 0 function 0

split-logfile

2014-04-22 Thread Mike.
I noticed there was a commit this morning that removed apache from current. Among the removed was the appache support directory, usr.sbin/httpd/src/support, which included the split-logfile perl script. A few months ago, I wrote a drop-in c-language replacement for that perl script. My source

Re: Eth port (bge) physically powered down after halt -p

2014-04-22 Thread Stefan Sperling
On Tue, Apr 22, 2014 at 04:43:51PM +0200, Alessandro DE LAURENZIS wrote: Folks, OpenBSD 5.4-Rel, GENERIC kernel. I'm trying to set up a file server that should be remotely controlled (broken LCD). I need to switch it on by means of WOL functionality (supported by and activated into the

Re: NFS server export node

2014-04-22 Thread patric conant
I keep mine in /var/samba, for historical reasons. On Tue, Apr 22, 2014 at 8:52 AM, Kenneth Gober kgo...@gmail.com wrote: On Mon, Apr 21, 2014 at 3:39 PM, Alessandro DE LAURENZIS just22@gmail.com wrote: Folks, still unclear after reading the hier man page where is the most

Re: BGP - IP Blackhole

2014-04-22 Thread Tristan PILAT
2014-04-17 18:01 GMT+02:00 Laurent CARON lca...@unix-scripts.info: On 17/04/2014 11:24, Tristan PILAT wrote: Is there a way to make this work with allow from any inet prefixlen 8 - 24 to accept /32 only for the blackhole ? Please pay attention of not allowing one of your customers to

Re: BGP - IP Blackhole

2014-04-22 Thread Laurent CARON
On 22/04/2014 17:41, Tristan PILAT wrote: Yes but how to do that without hard coded the network of the customer like in this rule; allow from group customers community 64514:888 prefix 192.0.33.0/24prefixlen = 32 set nexthope blackhole Don't you already filter your customers announcements ?

Dell PE R210 won't boot from install54.iso CD

2014-04-22 Thread Mike Grau
Hello, I'm new to OpenBSD and hope someone here has been able to install OpenBSD on a Dell PE R210. It will not boot the install CD (made from install54.iso). Here's the console: CD-ROM: 82 Loading /5.4/AMD64/CDBOOT probing: pc0 com0 com1 mem[624K 3061M a20=on] disk: _ The R210 _does_

Re: Question on queues

2014-04-22 Thread Henning Brauer
* Heinrich Rebehn heinrich.reb...@rebehn.net [2014-04-20 22:51]: queue rootq on tun0 bandwidth 100M queue std parent rootq bandwidth 95M queue test parent rootq bandwidth 20K, max 20K default - why is queue “test” allowing 1.02Mb/s although the limit is 20K? timer resolution isn't good

Re: Eth port (bge) physically powered down after halt -p

2014-04-22 Thread Zoran Kolic
I assume it might be set from bios. I look into user guide for a mobo I have and here it is, under apm. Power on by To shutdown my openbsd node i use shutdown -ph now and turn it on with power button physically. Best regards Zoran

Re: OpenBSD - Linux compatibility

2014-04-22 Thread Henning Brauer
* Mihai Popescu mih...@gmail.com [2014-04-21 17:21]: Is there a paper explaining the purpose of Linux compatibility in OpenBSD? I'm not from UNIX time and I'm curious when and why this feature was added. it's the only binay compat left, we deleted all the others. it is useful to some to run

Re: Dell PE R210 won't boot from install54.iso CD

2014-04-22 Thread Adam Thompson
On April 22, 2014 11:08:48 AM CDT, Mike Grau m.g...@kcc.state.ks.us wrote: Hello, I'm new to OpenBSD and hope someone here has been able to install OpenBSD on a Dell PE R210. It will not boot the install CD (made from install54.iso). Here's the console: CD-ROM: 82 Loading /5.4/AMD64/CDBOOT

Re: BGP - IP Blackhole

2014-04-22 Thread Tristan PILAT
2014-04-22 17:54 GMT+02:00 Laurent CARON lca...@unix-scripts.info: On 22/04/2014 17:41, Tristan PILAT wrote: Yes but how to do that without hard coded the network of the customer like in this rule; allow from group customers community 64514:888 prefix 192.0.33.0/24prefixlen = 32 set

Re: Dell PE R210 won't boot from install54.iso CD

2014-04-22 Thread Mike Grau
Not necessarily but possibly related, FreeBSD also cannot currently boot or run on many Dell R-series systems. It's an ongoing issue over there. -Adam I see ... Yes, it will not boot a FreeBSD 10.0 either. Guess I'm out of luck for now. Thanks! -- Mike G.

Re: Dell PE R210 won't boot from install54.iso CD

2014-04-22 Thread David Vasek
On Tue, 22 Apr 2014, Mike Grau wrote: Not necessarily but possibly related, FreeBSD also cannot currently boot or run on many Dell R-series systems. It's an ongoing issue over there. -Adam I see ... Yes, it will not boot a FreeBSD 10.0 either. Guess I'm out of luck for now. You are

Re: 4k-sectors: installboot(8) wipes the disklabel(5)

2014-04-22 Thread Chris Cappuccio
David Vasek [va...@fido.cz] wrote: Hello, the new installboot(8) wipes the disk label on a 4k-byte/sector drive - a valid disk label becomes binary zeros after /usr/sbin/installboot -r /mnt sd4 To be more precise, the boot sector (the first 512 bytes) gets installed, but the disk label

Re: Dell PE R210 won't boot from install54.iso CD

2014-04-22 Thread Nick Holland
On 04/22/14 12:08, Mike Grau wrote: Hello, I'm new to OpenBSD and hope someone here has been able to install OpenBSD on a Dell PE R210. It will not boot the install CD (made from install54.iso). Here's the console: CD-ROM: 82 Loading /5.4/AMD64/CDBOOT probing: pc0 com0 com1 mem[624K

Re: LibreSSL appreciation thread

2014-04-22 Thread opendaddy
I'm sending 200 dollars... after I clear the blood from my eye sockets... Comic Sans... Now I know how the Nazis felt in Raiders of the Lost Ark I use it all the time to piss off hipsters too. It's a beautiful font. O.D. Ref. http://helveticafilm.com/ On 22. april 2014 at 2:10 PM, Bryan

Re: LibreSSL appreciation thread

2014-04-22 Thread Franco Fichtner
Shut up and take my money. And keep up the great work.

Re: PI-like board for OpenBSD?

2014-04-22 Thread Chris Cappuccio
Stuart Henderson [s...@spacehopper.org] wrote: PCEngines APU are faster and more capable (also support amd64), also pretty cheap. I don't have one but various other developers do. This has had some bios problems but is getting there and has a big advantage of being able to use much better

Re: Dell PE R210 won't boot from install54.iso CD

2014-04-22 Thread Mike Grau
CD-ROM: 9F Loading /5.5/I386/CDBOOT probing: pc0 com0 com1 apm pci mem[639K 510M a20=on] disk: fd0 hd0+ cd0 OpenBSD/i386 CDBOOT 3.23 boot So we can see you are hanging at the disk enumeration step. Oh...um...are you actually on a monitor and keyboard, or are you using a serial

FIPS mode is not coming back

2014-04-22 Thread Ted Unangst
I figured I should mention our current libressl policy wrt FIPS mode. It's gone and it's not coming back. This doesn't really impact OpenBSD users since we've never enabled FIPS builds, but some others may be interested. Question: Was Heartbleed FIPS mandated, or merely FIPS certified?

Re: OpenBSD - Linux compatibility

2014-04-22 Thread Miod Vallat
to understand the purpose of the binary compats, you really have to go way back in history. there was a time when the only way to run a grapical browser on openbsd was to use the netscape binary under BSDi emulation (I think it was BSDi, not 100% certain) on i386 or the solaris binary under

Re: PI-like board for OpenBSD?

2014-04-22 Thread noah pugsley
On Tue, Apr 22, 2014 at 12:02 PM, Chris Cappuccio ch...@nmedia.net wrote: Stuart Henderson [s...@spacehopper.org] wrote: PCEngines APU are faster and more capable (also support amd64), also pretty cheap. I don't have one but various other developers do. This has had some bios problems

ksh (vi mode): discard line after editing with fc?

2014-04-22 Thread Alessandro DE LAURENZIS
Hello, I'm wondering how I could discard (not execute) a line after having loaded it into vi (fc -e vi, or v for brevity in vi-mode). :wq, :q, :q! - all of them execute the line. I'm feeling really stupid... -- Alessandro DE LAURENZIS [mailto:just22@gmail.com] LinkedIn:

Re: PI-like board for OpenBSD?

2014-04-22 Thread Chris Cappuccio
noah pugsley [noah.pugs...@gmail.com] wrote: I was going to get one of these: http://www.nextwarehouse.com/item/?1182700_g10e and just turn a 4gb ram model into a workstation. Alas I couldn't find any evidence of a driver existing...Of course at that price I might as well just get an atom

Re: ksh (vi mode): discard line after editing with fc?

2014-04-22 Thread Stefan Johnson
I've always just tossed a comment onto the line before exiting vi edit mode to prevent execution... On Tue, Apr 22, 2014 at 2:46 PM, Alessandro DE LAURENZIS just22@gmail.com wrote: Hello, I'm wondering how I could discard (not execute) a line after having loaded it into vi (fc -e vi,

libressl

2014-04-22 Thread Julian Hughes
Dear all (which means everyone from Theo de Raadt to anyone who ever answered a question in a helpful way or did something positive for the community and its beneficiaries), I think the libressl project is exemplary in its aims and, if it achieves even a fraction of what the OpenBSD contributors

Re: ksh (vi mode): discard line after editing with fc?

2014-04-22 Thread Adam Thompson
On April 22, 2014 3:50:48 PM CDT, Stefan Johnson tigerphoenixdra...@gmail.com wrote: I've always just tossed a comment onto the line before exiting vi edit mode to prevent execution... On Tue, Apr 22, 2014 at 2:46 PM, Alessandro DE LAURENZIS just22@gmail.com wrote: Hello, I'm wondering

Re: ksh (vi mode): discard line after editing with fc?

2014-04-22 Thread Anthony J. Bentley
Alessandro DE LAURENZIS writes: Hello, I'm wondering how I could discard (not execute) a line after having loaded it into vi (fc -e vi, or v for brevity in vi-mode). :wq, :q, :q! - all of them execute the line. I'm feeling really stupid... The file initially contains the original line.

Re: tmpfs weirdness

2014-04-22 Thread Shawn K. Quinn
On Mon, Apr 21, 2014, at 12:26 AM, Shawn K. Quinn wrote: With a tmpfs mounted on /tmp: $ cd /tmp $ dd if=/dev/zero of=0 bs=1M ; sync ; sleep 5 ; rm 0 results in dmesg getting spammed with: uao_flush: strange, got an out of range flush (fixed) Forgot to mention, this is on amd64 with a

Re: Dell PE R210 won't boot from install54.iso CD

2014-04-22 Thread Stuart Henderson
On 2014-04-22, Mike Grau m.g...@kcc.state.ks.us wrote: Hello, I'm new to OpenBSD and hope someone here has been able to install OpenBSD on a Dell PE R210. It will not boot the install CD (made from install54.iso). Here's the console: CD-ROM: 82 Loading /5.4/AMD64/CDBOOT probing: pc0 com0

Re: Dell PE R210 won't boot from install54.iso CD

2014-04-22 Thread Adam Thompson
On April 22, 2014 5:35:56 PM CDT, Stuart Henderson s...@spacehopper.org wrote: On 2014-04-22, Mike Grau m.g...@kcc.state.ks.us wrote: Hello, I'm new to OpenBSD and hope someone here has been able to install OpenBSD on a Dell PE R210. It will not boot the install CD (made from install54.iso).

Re: Dell PE R210 won't boot from install54.iso CD

2014-04-22 Thread Doug Clements
On Tue, Apr 22, 2014 at 6:40 PM, Adam Thompson athom...@athompso.net wrote: On the FreeBSD side, at least, it depends on exactly how the server was ordered - there are apparently a wide variety of disk controllers to be found in otherwise-identical servers. I don't recall which ones were

sd0 not detected, AHCI_DEBUG option turned on

2014-04-22 Thread Peter J. Philipp
Hi developers, I have a new computer. Well sd0 (AHCI mode) doesn't get detected and wd0 (IDE mode) is really really slow (it takes 10 minutes writing bsd kernel via upgrade, on an SSD!). The computer physically is a Xeon E3-1275v3 with 32 GB RAM. The motherboard is a ASUS Z87-WS. I have

support new

2014-04-22 Thread Héctor Luis Gimbatti
0 C Argentina P Santa Fe T Rosario Z 2000 I Hector Luis Gimbatti A Italia 4838 M h...@etale.com.ar N OpenBSD consulting, installation, maintenance and support for mid-size business. Over 10 years of experience with BSD based systems (both servers and clients). Experienced in firewalls and

Re: Dell PE R210 won't boot from install54.iso CD

2014-04-22 Thread Stuart Henderson
Oh yes there was an option for a lobotomised LSI card that won't work (something beginning with s - s100 maybe?) The onboard sata is OK, as is the h200 (mpii) On 22 April 2014 23:40:44 BST, Adam Thompson athom...@athompso.net wrote: On April 22, 2014 5:35:56 PM CDT, Stuart Henderson

disklabel: phantom partition extends past end of unit message on amd64, possible bug?

2014-04-22 Thread Shawn K. Quinn
Either I'm missing something obvious, or something is amiss in disklabel as of the April 19 snapshot for amd64. I'm thinking it's the latter because, as you can see below, 'disklabel -E' has no issue with what 'disklabel -e' complains about: Script started on Tue Apr 22 21:44:41 2014 # disklabel

Re: sd0 not detected, AHCI_DEBUG option turned on

2014-04-22 Thread Chris Cappuccio
Peter J. Philipp [p...@centroid.eu] wrote: pciide0 at pci0 dev 31 function 2 Intel 8 Series SATA rev 0x05: DMA (unsupported), channel 0 configured to native-PCI, channel 1 configured to native-PCI This is why IDE mode is so slow - pciide doesn't actually support your controller. Here's how