Re: My Cyrix CPU is a filthy rotten liar!

2014-04-26 Thread Edwin Amsler
Good call. That would work around this current problem nicely. Though, I don’t know if this problem is with this specific core, or Cyrix chips in general. I won’t be too worried about the whole exercise. I was going to use it for a project, but I realized how silly that would be given that you c

Re: rc.subr(8) capabilities - echo and custom rc_${SUB}

2014-04-26 Thread Ingo Schwarze
Hi Michal, Michal Lesiak wrote on Sat, Apr 26, 2014 at 11:47:00PM +0200: > I'm converting a .rc script made by someone a coupe of years ago for > the same product I'm currently working on. It's important for this > tale as this may mean that this actually worked for some previous > versions. > I'

Re: rc.subr(8) capabilities - echo and custom rc_${SUB}

2014-04-26 Thread Antoine Jacoutot
On Sat, Apr 26, 2014 at 11:47:00PM +0200, Michał Lesiak wrote: > Hello, > > I'm converting a .rc script made by someone a coupe of years ago for the > same product I'm currently working on. It's important for this tale as this > may mean that this actually worked for some previous versions. > I'm

rc.subr(8) capabilities - echo and custom rc_${SUB}

2014-04-26 Thread Michał Lesiak
Hello, I'm converting a .rc script made by someone a coupe of years ago for the same product I'm currently working on. It's important for this tale as this may mean that this actually worked for some previous versions. I'm working on 5.2 version. 1. I have a custom "rc_register()" sub defined

Re: My Cyrix CPU is a filthy rotten liar!

2014-04-26 Thread Miod Vallat
> On 2014-04-26, Miod Vallat wrote: > >> The question I have is can I disable the random number generator?s use of > >> that instruction? I?d rather be on -current than years old. > > > > Apart from the following hammer, I see no easy way to achieve this. > > > > Index: i386/machdep.c > >

Re: make with argument in port Makefile

2014-04-26 Thread Stuart Henderson
On 2014-04-26, Denis Fondras wrote: > Hello all, > > I'm creating a port for x2goclient (http://www.x2go.org/) but I don't > want to build the browser plugin and the documentation, only the heavy > client. So instead of the regular "make", I have to launch "make > build_client". > > Here is my Mak

Re: A misconfigured disklabel can crash the kernel on listing its mounted directory contents (5.4)

2014-04-26 Thread Kevin Chadwick
previously on this list Kevin Chadwick contributed: > /bin/dd if=/dev/zero of=/dev/sd?c Whoops, you should use the raw device on OpenBSD too. The following is much faster at zeroing /bin/dd if=/dev/zero of=/dev/rsd?c bs=32k -- __

make with argument in port Makefile

2014-04-26 Thread Denis Fondras
Hello all, I'm creating a port for x2goclient (http://www.x2go.org/) but I don't want to build the browser plugin and the documentation, only the heavy client. So instead of the regular "make", I have to launch "make build_client". Here is my Makefile : --8<--- # AGPL-3+ COMMENT=X2GO is

Re: My Cyrix CPU is a filthy rotten liar!

2014-04-26 Thread Stuart Henderson
On 2014-04-26, Miod Vallat wrote: >> The question I have is can I disable the random number generator?s use of >> that instruction? I?d rather be on -current than years old. > > Apart from the following hammer, I see no easy way to achieve this. > > Index: i386/machdep.c >

Re: My Cyrix CPU is a filthy rotten liar!

2014-04-26 Thread Miod Vallat
> The question I have is can I disable the random number generator?s use of > that instruction? I?d rather be on -current than years old. Apart from the following hammer, I see no easy way to achieve this. Index: i386/machdep.c ===

Re: A misconfigured disklabel can crash the kernel on listing its mounted directory contents (5.4)

2014-04-26 Thread Kevin Chadwick
previously on this list Z contributed: > In brief, I was trying to format a usb stick as ext2, and was going back > and forth between linux and openbsd to get it working on both (I'm > fairly new to openbsd). The disklabel I ended up with is pasted below. > It seems misconfigured, You shouldn't n

Re: A misconfigured disklabel can crash the kernel on listing its mounted directory contents (5.4)

2014-04-26 Thread Kenneth Westerback
I'm pretty sure that Linux does not manufacture disklabels that are compatible with OpenBSD. And visa versa! And if you're creating/mounting filesystems you are *not* an unprivileged user and you *definitely* can crash systems if you're not careful. :-) That said, if you can provide details on the

My Cyrix CPU is a filthy rotten liar!

2014-04-26 Thread Edwin Amsler
Tried running OpenBSD on an ancient Nortel Contivity 100. The issue is that the CPU claims to support RdRand despite being a 286MHz Cyrix 6x686MX. So, as soon as OpenBSD tries to use that instruction for /dev/random, the kernel jumps into debug land with the following: kernel: privileged instr

Re: A misconfigured disklabel can crash the kernel on listing its mounted directory contents (5.4)

2014-04-26 Thread Kevin Chadwick
previously on this list Z contributed: > In brief, I was trying to format a usb stick as ext2, and was going back > and forth between linux and openbsd to get it working on both (I'm > fairly new to openbsd). The disklabel I ended up with is pasted below. > It seems misconfigured, forgot to say m

Re: heartbleed: is 5.1-stable vulnerable as it reports

2014-04-26 Thread Yassen Damyanov
Pardon me, just saw that it says 1.0.0f, not 1.0.1f. Fear makes the wolf look bigger! Y. > On Saturday, April 26, 2014 7:25 PM, Yassen Damyanov > wrote: > > Hello list, > > I worry about my 5.1 servers being at risk due to the heartbleed bug, as they > report openssl 1.0.1f which is known

heartbleed: is 5.1-stable vulnerable as it reports

2014-04-26 Thread Yassen Damyanov
Hello list, I worry about my 5.1 servers being at risk due to the heartbleed bug, as they report openssl 1.0.1f which is known to be vulnerable: mgate1:~ # uname -a OpenBSD mgate1.itlabs.bg 5.1 GENERIC#2 amd64 mgate1:~ # openssl version -a OpenSSL 1.0.0f 4 Jan 2012 built on: date not available

Re: how to lauch slapd before ypldap ?

2014-04-26 Thread Antoine Jacoutot
On Sat, Apr 26, 2014 at 06:14:36PM +0200, Stéphane Guedon wrote: > I have a slapd running on my server, and ypldap and ypbind. > > The problem is to start them in the correct order at boot. > > For now, ypldap start first and block the whole boot process. > > How can I make sure slapd start befo

how to lauch slapd before ypldap ?

2014-04-26 Thread Stéphane Guedon
I have a slapd running on my server, and ypldap and ypbind. The problem is to start them in the correct order at boot. For now, ypldap start first and block the whole boot process. How can I make sure slapd start before yp-stuff ? Thanks for advices. [demime 1.01d removed an attachment of type

A misconfigured disklabel can crash the kernel on listing its mounted directory contents (5.4)

2014-04-26 Thread Z
Hi, I've never used mailing lists so please correct mistakes and forgive me if this is not a bug, but as I understand it you should not be able to crash the kernel as an unpriviledged user. In brief, I was trying to format a usb stick as ext2, and was going back and forth between linux and openbs

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

2014-04-26 Thread Stefan Sperling
On Wed, Apr 23, 2014 at 03:16:52PM +0200, Alessandro DE LAURENZIS wrote: > Your patch is still applicable to 5.4 stable (with only minor refinements), > but unfortunately it doesn't change anything for this BGE chip... Thanks, this motivated me to poke a bit further at it. Just to make sure: Did

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

2014-04-26 Thread Stefan Sperling
On Wed, Apr 23, 2014 at 10:52:10PM +0200, Alessandro DE LAURENZIS wrote: > In order to adapt your code to 5.4-Rel, I did the following > modification: > > From: > > + /* Configure 10Mbps, the chip draws too much power in D3cold. */ > + if (!(sc->bge_flags & BGE_FIBER_TBI) && > +

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

2014-04-26 Thread Stefan Sperling
On Thu, Apr 24, 2014 at 10:31:47AM +0200, Alessandro DE LAURENZIS wrote: > After further checks, I noticed that there still was a part of the patch > not correctly applied. I modified a bit the code and renamed the two > constants. Now there is no error after "ifconfig bge0 wol". Ok, so far so goo

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

2014-04-26 Thread Stefan Sperling
On Wed, Apr 23, 2014 at 11:21:33PM +0200, Alessandro DE LAURENZIS wrote: > How can I check? For sure, there is no mention in the BIOS setup... To find out if ASF is enabled, change this: /* Allow WoL if ASF is unsupported or disabled. */ if (!(sc->bge_flags & BGE_ASF_MODE)) {

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

2014-04-26 Thread Stefan Sperling
On Thu, Apr 24, 2014 at 10:20:34PM +0200, Alessandro DE LAURENZIS wrote: > but: > > # dmesg | egrep DEBUG > > > # > (no response) > > # egrep DEBUG /var/log/*

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

2014-04-26 Thread Stefan Sperling
On Fri, Apr 25, 2014 at 08:53:42AM +0200, Alessandro DE LAURENZIS wrote: > Some other debug here, and this time with (I hope) more useful info. Thanks! > First of all, I confirm that the debug messages triggered by the added > printf instructions are *NOT* logged by dmesg (and /var/log/*), but ar

Re: Get statistics of websites visited without proxy/squid

2014-04-26 Thread Stuart Henderson
On 2014-04-25, lilit-aibolit wrote: > Hi misc, I know this is not truly OpenBSD related, but I'd like to know > if there is any possibility to collect such statistics. > I'm using NAT with PF for my LAN and I don't have any proxy applications > like squid. > I have already started collecting traf

Re: adsl card advice

2014-04-26 Thread Stuart Henderson
On 2014-04-25, Kevin Chadwick wrote: > I've now got to find a simple fibre bridge at an OK price. I asked the ISPs > about the ones they supply doing bridge mode and they suggested one if I > asked specifically for it but I found it was an ADSL one. Since you're in the UK .. the standard openreac

Re: Parallela boards on OpenBSD ?

2014-04-26 Thread Martin Wheeler
> Looks like their support is GNU/Linux-centric, but I know we have other > ARM-based CPU ports already so we're at least halfway there. I wish I > was in a position to buy hardware for donation to the developers to > speed up the process, and if I was, I would. If OBSD wants one, let me know wher

Re: Parallela boards on OpenBSD ?

2014-04-26 Thread Shawn K. Quinn
On Sat, Apr 26, 2014, at 02:02 AM, Tomáš Bodžár wrote: > Out of curiosity was anyone in any form of contact with > http://www.parallella.org/2014/04/10/parallella-pre-order-shipping-update/regarding > possible support in BSD? Looks like their support is GNU/Linux-centric, but I know we have othe

Parallela boards on OpenBSD ?

2014-04-26 Thread Tomáš Bodžár
Out of curiosity was anyone in any form of contact with http://www.parallella.org/2014/04/10/parallella-pre-order-shipping-update/regarding possible support in BSD?