Re: ffs2 boot

2014-04-16 Thread Philip Guenther
On Thursday, April 17, 2014, Otto Moerbeek wrote: ... > But bear in mind that ffs2 has more overhead in terms of metadata. > IMO, making it the default is not a good idea. > You have fewer than 24 years left to enjoy FFS v1...

Re: ffs2 boot

2014-04-16 Thread Otto Moerbeek
On Wed, Apr 16, 2014 at 06:37:08PM -0400, Brandon Mercer wrote: > As I mentioned previously, this does more than just allow you to boot > from TB disks. When I configure a 100GB disk in qemu-kvm it takes > forever to format. On small flash installations, formatting is faster > there as well. You d

Re: openbsd-current: cannot suspend -return from zzz-

2014-04-16 Thread Abel Abraham Camarillo Ojeda
On Wed, Apr 16, 2014 at 4:31 PM, Mike Larkin wrote: > On Sun, Apr 13, 2014 at 08:00:39AM -0500, Abel Abraham Camarillo Ojeda wrote: >> On Tue, Apr 8, 2014 at 9:44 PM, Abel Abraham Camarillo Ojeda >> wrote: >> > well, I didn't mentioned it I already tried that -disable radeondrm- >> > with -curren

Re: Check syntax of Perl stuff at build time

2014-04-16 Thread Marc Espie
On Wed, Apr 16, 2014 at 08:07:55PM +0400, Vadim Zhukov wrote: > This is a PoC I'm currently using while hacking at our libtool. What > I dream about is putting such code in /usr/share/bsd.perl.mk or such, > allowing to run checks for all Perl-based tools in base.It's better to > know something is b

Re: ffs2 boot

2014-04-16 Thread Brandon Mercer
As I mentioned previously, this does more than just allow you to boot from TB disks. When I configure a 100GB disk in qemu-kvm it takes forever to format. On small flash installations, formatting is faster there as well. You don't need a 1TB disk to benefit from ffs2. On Wed, Apr 16, 2014 at 3:57

Re: ffs2 boot

2014-04-16 Thread Shawn K. Quinn
On Wed, Apr 16, 2014, at 03:05 PM, Miod Vallat wrote: [responding to Brandon Mercer who wrote:] > > The other day I was doing an install in qemu-kvm and newfs was taking > > forever, to the tune of hours. This is similar to formatting on arm > > boards. In my quest to track down why, I discovere

Re: ffs2 boot

2014-04-16 Thread Brandon Mercer
On Wed, Apr 16, 2014 at 08:05:57PM +, Miod Vallat wrote: > > The other day I was doing an install in qemu-kvm and newfs was taking > > forever, to the tune of hours. This is similar to formatting on arm > > boards. In my quest to track down why, I discovered that ffs2 takes far > > less time to

Re: openbsd-current: cannot suspend -return from zzz-

2014-04-16 Thread Mike Larkin
On Sun, Apr 13, 2014 at 08:00:39AM -0500, Abel Abraham Camarillo Ojeda wrote: > On Tue, Apr 8, 2014 at 9:44 PM, Abel Abraham Camarillo Ojeda > wrote: > > well, I didn't mentioned it I already tried that -disable radeondrm- > > with -current, > > didn't work, will try again to provide log file... >

Re: print time_t with %lld in last(1)

2014-04-16 Thread Philip Guenther
Arto, your diff makes it obvious that some of the code duplication in 'last' is too painful to survive. Here's a start on factoring on the main formatting bit, fixing the time_t printing (the last two chunks are yours) and stepping back from taking substrings (barf) of ctime()'s result. oks? Phi

Re: ED25519 and SSHFP diff

2014-04-16 Thread Loganaden Velvindron
On Wed, Apr 16, 2014 at 01:48:10PM -0700, Loganaden Velvindron wrote: > Hi All, > > I made the diff against portable OpenSSH some time ago. > > Here's the diff for native OpenSSH. > > Feedback welcomed. Waiting for standards body to do the right thing doesn't work. Lesson learned the hard way.

ED25519 and SSHFP diff

2014-04-16 Thread Loganaden Velvindron
Hi All, I made the diff against portable OpenSSH some time ago. Here's the diff for native OpenSSH. Feedback welcomed. Index: ssh-keygen.c === RCS file: /cvs/src/usr.bin/ssh/ssh-keygen.c,v retrieving revision 1.243 diff -u -p -u -

Re: ffs2 boot

2014-04-16 Thread Miod Vallat
> The other day I was doing an install in qemu-kvm and newfs was taking > forever, to the tune of hours. This is similar to formatting on arm > boards. In my quest to track down why, I discovered that ffs2 takes far > less time to format than ffs1 (about 30 seconds for the entire disk). > > I've

ffs2 boot

2014-04-16 Thread Brandon Mercer
The other day I was doing an install in qemu-kvm and newfs was taking forever, to the tune of hours. This is similar to formatting on arm boards. In my quest to track down why, I discovered that ffs2 takes far less time to format than ffs1 (about 30 seconds for the entire disk). I've put together

Re: cpsw device timeouts

2014-04-16 Thread Benjamin Baier
I patched this against (1st) the latest anoncvs tree and (2nd) against your cpsw patch from 04/12/14 (2). Both times it works (compile, boot) and so I tested the timeout bug described at http://marc.info/?l=openbsd-bugs&m=138275913126582&w=2 First i can reproduce the timeout bug with the latest

Re: cpsw updates

2014-04-16 Thread Benjamin Baier
Compiles, boots and runs fine on my BBB. I have no problems with this patch but then i had no known problems before. - Ben On 04/12/14 17:00, Brandon Mercer wrote: This diff will properly initialize cpsw if uboot hasn't done so already. It also adds support for 1000BaseT (RGMII) PHY found on so

Re: rshd spring cleaning

2014-04-16 Thread Miod Vallat
Whoops, I sent this before seeing Okan's mail. Sorry for the dup.

rshd spring cleaning

2014-04-16 Thread Miod Vallat
rshd has des_old API references, but it's in the kerberosIV code which we don't build anymore since years. The following diff removes the KerberosIV code from rshd (cpp symbols KERBEROS and CRYPT); and as a bonus, fixing the indentation of code afterwards apparently exposed a minor bug where error

Target partition needs to be named OpenBSD as well type

2014-04-16 Thread Sevan / Venture37
Hi, I was advised to post here as more people may see it than the PPC list, http://marc.info/?l=openbsd-ppc&m=139680393624940&w=2 Is the diff valid or a known bug? Sevan

Check syntax of Perl stuff at build time

2014-04-16 Thread Vadim Zhukov
This is a PoC I'm currently using while hacking at our libtool. What I dream about is putting such code in /usr/share/bsd.perl.mk or such, allowing to run checks for all Perl-based tools in base.It's better to know something is broken at build time rather after install, isn't it? If idea and actua

Re: segfault in dhclient 5.4 please help

2014-04-16 Thread sven falempin
On Tue, Apr 15, 2014 at 8:05 AM, Otto Moerbeek wrote: > > > Op 15 apr. 2014 om 13:13 heeft Kenneth Westerback > het volgende geschreven: > > > >> On 15 April 2014 08:34, Otto Moerbeek wrote: > >>> On Mon, Apr 14, 2014 at 09:32:43PM -0400, sven falempin wrote: > >>> > >>> so i got gdb back to th

Re: sftp upload resume diff

2014-04-16 Thread Loganaden Velvindron
Use ">=" instead of "== || >" for file size comparison as pointed out by Okan Demirmen. Index: sftp-client.c === RCS file: /cvs/src/usr.bin/ssh/sftp-client.c,v retrieving revision 1.114 diff -u -p -u -p -r1.114 sftp-client.c --- sftp-

Re: sftp upload resume diff

2014-04-16 Thread Loganaden Velvindron
Rework the wording for uploading resume as suggested by Mike Larkin. (More tweaks coming up soon) Index: sftp-client.c === RCS file: /cvs/src/usr.bin/ssh/sftp-client.c,v retrieving revision 1.114 diff -u -p -u -p -r1.114 sftp-client

Re: sftp upload resume diff

2014-04-16 Thread Loganaden Velvindron
Hi, Fixed the style issue for an error() line that Mike Larkin pointed out to me. Index: usr.bin/ssh/sftp-client.c === RCS file: /cvs/src/usr.bin/ssh/sftp-client.c,v retrieving revision 1.114 diff -u -p -u -p -r1.114 sftp-client.c --

sftp upload resume diff

2014-04-16 Thread Loganaden Velvindron
Hi All, First version of the diff: It works fine for resuming uploads. I'm going to upload a 2nd revision soon. Index: sftp-client.c === RCS file: /cvs/src/usr.bin/ssh/sftp-client.c,v retrieving revision 1.114 diff -u -p -u -p -r1.

Re: p2p interfaces and route to loopback

2014-04-16 Thread Martin Pieuchot
On 09/04/14(Wed) 15:36, Martin Pieuchot wrote: > On 09/04/14(Wed) 11:22, Martin Pieuchot wrote: > > When an IPv6 address is configured on a point-to-point interface, it > > is associated to nd6_rtrequest(). This is because nd6_request() > > contains a hack to automatically create a route to loopba

Re: GOST was removed

2014-04-16 Thread Tomas Bodzar
On Wed, Apr 16, 2014 at 10:15 AM, Артур Истомин wrote: > On Tue, Apr 15, 2014 at 03:34:36PM -0600, Theo de Raadt wrote: > > >Log message: > > >Remove the GOST engine: It is not compiled or used and depends on the > > >"dynamic engine" feature that is not enabled in our build. People who > > >nee

Re: GOST was removed

2014-04-16 Thread Артур Истомин
On Wed, Apr 16, 2014 at 08:15:02AM +, Артур Истомин wrote: > I assumed that, for establishment GOST, it is enough to recompile > OpenSSL in source tree and install it. Situation worsens in that it is > the only implementation of GOST, so that there are no alternatives for > unix and unix-like s

Re: GOST was removed

2014-04-16 Thread Артур Истомин
On Tue, Apr 15, 2014 at 03:34:36PM -0600, Theo de Raadt wrote: > >Log message: > >Remove the GOST engine: It is not compiled or used and depends on the > >"dynamic engine" feature that is not enabled in our build. People who > >need it can still pull it out of the Attic; if it is to have a Russian

Re: Intel HD Graphics 4000, only one monitor detected

2014-04-16 Thread Markus Bergkvist
2014-02-26 11:08 GMT+01:00 Markus Bergkvist : > 2014-02-26 8:52 GMT+01:00 Mark Kettenis : >>> Date: Wed, 26 Feb 2014 07:38:29 +0100 >>> From: Markus Bergkvist >>> >>> 2014-02-14 15:15 GMT+01:00 Markus Bergkvist : >>> > Synced and verified that kettenis patch was there but unfortunately it >>> > di