Re: getrlimit(RLIMIT_AS, ...) on OpenBSD

2013-10-03 Thread niXman
2013/10/3 Antoine Jacoutot: > What is usually done in the ports tree depending on the context and the code > is: > (from memory) > > #if defined (RLIMIT_AS) >setrlimit (RLIMIT_AS, ...); > #endif > > OR > > #ifndef (RLIMIT_AS) > # define RLIMIT_AS RLIMIT_DATA > #endif Thanks! -- Regards, n

Re: USB ethernet for OpenBSD

2013-10-03 Thread Janne Johansson
I bought two blue $2 usb-eth from china, they did not work on obsd, but similar stuff (UNKNOWN4 in usbdevs) is available, so if anyone wants one, we can try to whip up a working driver together. The closest thing seems to be axe(4), except the current supported chip is named 96xx-something and mine

Re: open bsd router

2013-10-03 Thread Bruno Flueckiger
On 03.10.2013 23:37, alexey.kurin...@gmail.com wrote: My favorite: http://www.pcengines.ch/product.htm http://en.wikipedia.org/wiki/Raspberry_Pi Question is - what boards succesfully used by members of misc@openbsd.org list? I glad to read members IMHO about used boards. I'm using different

Re: open bsd router

2013-10-03 Thread Patrick Wildt
Hey, The PC Engines Alix boards are working quite well. If you're looking for ARM machines, you'd rather have a look at http://cubox-i.com or http://utilite-computer.com . Note that the second Gigabit Ethernet in the Utilite is connected via PCI-e and will need to be worked on. \Patrick Am 03

Re: BeagleBone Black cereal

2013-10-03 Thread Barry Grumbine
> Should the other end of the serial cable > be the traditional RS-232 connector, > or do serial/USB cables also work? > Specifically, have you succesfully used any > of the following with the BeagleBone Black? > > http://www.adafruit.com/products/954 I am successfully using this cable for my BBB.

Re: open bsd router

2013-10-03 Thread Paolo Aglialoro
It's not arm but... within 100W there are several sparc64 machines with much more power and possibilities. For instance a sun fire 120 1U blade will manage up to 100Mbit/s link without trouble :))) only problem could be noise if ur project is at home Il 03/ott/2013 23:38 "alexey.kurin...@gmail.com

Re: open bsd router

2013-10-03 Thread Chris Cappuccio
alexey.kurin...@gmail.com [alexey.kurin...@gmail.com] wrote: > Hi. I want to buy some single board (arm cpu) computer for > installing open bsd and run services NAT, vpn, webserver, > etc... Primary experiments for work and fun. > Hours of googling and reading. I found many deviceses, many of it's

Re: BeagleBone Black cereal

2013-10-03 Thread Juan Francisco Cantero Hurtado
On Thu, Oct 03, 2013 at 11:40:05AM -0400, Nick Holland wrote: > On 10/03/2013 10:18 AM, Jan Stary wrote: > >Dear BBB users, > > > >I just bought me a BeagleBone Black board, > >and want to install the latest snapshot. > > > > > >Firstly, OpenBSD/beagle is dead, > >replaced by OpenBSD/armv7, right >

Re: USB ethernet for OpenBSD

2013-10-03 Thread alexey.kurin...@gmail.com
I want to buy D-Link DUB-E100, in man AXE(4) they listed, but not tested myself. I can reply when got it. On 10/04/13 00:27, Joseph A Borg wrote: Hi! Can someone please mention a working USB to Ethernet adapter for OpenBSD 5.3? (anybody has a working one and can share the name of it?) It doe

open bsd router

2013-10-03 Thread alexey.kurin...@gmail.com
Hi. I want to buy some single board (arm cpu) computer for installing open bsd and run services NAT, vpn, webserver, etc... Primary experiments for work and fun. Hours of googling and reading. I found many deviceses, many of it's listed there http://www.element14.com/community/community/knode/s

Re: USB ethernet for OpenBSD

2013-10-03 Thread Joseph A Borg
I got a couple of trendnet dongles and they work fine. They're a bit old now so cannot confirm if latest have compatible chipsets. On 02 Oct 2013, at 21:50, "obsd, cgi" wrote: > Hi! > > Can someone please mention a working USB to Ethernet adapter for OpenBSD > 5.3? (anybody has a working one a

Re: PHP 5.3.1 on OpenBSD 4.2

2013-10-03 Thread Markus Rosjat
On 03.10.2013 18:38, Kevin Chadwick wrote: Hi Otto, yeah thats planned with new hardware but this is a kinda urgent situation so if its possible I need to do the upgrade on this OpenBSd version Personally I'd still advocate getting a disk ready on 5.4/3 testing and swapping the disk as it is no

Re: PHP 5.3.1 on OpenBSD 4.2

2013-10-03 Thread Kevin Chadwick
> Hi Otto, > > yeah thats planned with new hardware but this is a kinda urgent > situation so if its possible I need to do the upgrade on this OpenBSd > version Personally I'd still advocate getting a disk ready on 5.4/3 testing and swapping the disk as it is not much different and will be quic

Re: Interrupts cause uaudio stuttering with mpd

2013-10-03 Thread Eric Johnson
On Thu, 3 Oct 2013, Alex Holst wrote: > This is bare 80x25 text-mode console. Yes, yes. I know. I'm a freak. Freak? I do my best work on an inexpensive VT-100 compatible I bought on eBay for $60 a few years ago. It was brand new out of the box, but put in the box something like ten years prio

Re: USB ethernet for OpenBSD

2013-10-03 Thread Andrew Klettke
Just wanted to throw my 2 cents in and state that Apple's USB ethernet adapter also works fine: http://www.ebay.co.uk/itm/Apple-USB-Ethernet-Adapter-NEW-MC704ZM-A-/290983700399?pt=UK_Computing_USB_Cables&hash=item43bffae7af Thanks, Andrew Klettke Systems Admin Optic Fusion On 10/02/2013 12:50

Re: BeagleBone Black cereal

2013-10-03 Thread Nick Holland
On 10/03/2013 10:18 AM, Jan Stary wrote: Dear BBB users, I just bought me a BeagleBone Black board, and want to install the latest snapshot. Firstly, OpenBSD/beagle is dead, replaced by OpenBSD/armv7, right yep. Secondly, I need a serial cable to connect to the board. http://circuitco.com

[patch] src/sys/dev/usb/if_urlreg.h

2013-10-03 Thread Paul A. Patience
Hello, I found a bug and a typo in url(4)'s if_urlreg.h. The spec and the freebsd driver both say IFG0 should be 1<<3. Here's the patch: --- if_urlreg.h.originalThu Oct 3 02:49:58 2013 +++ if_urlreg.h Thu Oct 3 02:51:47 2013 @@ -80,7 +80,7 @@ #define URL_TCR_TXRR1 (1<<

Re: Interrupts cause uaudio stuttering with mpd

2013-10-03 Thread Alex Holst
Quoting Alexandre Ratchov (a...@caoua.org): > Is this the graphic-mode console or bare 80x25 text-mode console? This is bare 80x25 text-mode console. Yes, yes. I know. I'm a freak. aucat -i foo.wav has the same stuttering when the console is used and the same random stuttering when i/o occurs.

BeagleBone Black cereal

2013-10-03 Thread Jan Stary
Dear BBB users, I just bought me a BeagleBone Black board, and want to install the latest snapshot. Firstly, OpenBSD/beagle is dead, replaced by OpenBSD/armv7, right? Secondly, I need a serial cable to connect to the board. http://circuitco.com/support/index.php?title=BeagleBone_Black_Serial m

Re: suspend/resume regression

2013-10-03 Thread Fred Crowson
On 3 October 2013 14:08, Fred Crowson wrote: > should have built an mp kernel :~) > > > On 3 October 2013 14:04, Fred Crowson wrote: >> >> I had the same issue - I've just built a kernel from cvs and suspend / >> resume is now working again, but I seem to have lost a few cores :~p >> >> dmesg bel

Re: getrlimit(RLIMIT_AS, ...) on OpenBSD

2013-10-03 Thread Antoine Jacoutot
On Thu, Oct 03, 2013 at 05:20:46PM +0400, niXman wrote: > Hi, > > I'm trying to port some code from Linux to OpenBSD. > In Linux, for getrlimit() there is the RLIMIT_AS parameter, which does > not exist in OpenBSD. > > From manpages: > "RLIMIT_AS: The maximum size of the process's virtual memory

getrlimit(RLIMIT_AS, ...) on OpenBSD

2013-10-03 Thread niXman
Hi, I'm trying to port some code from Linux to OpenBSD. In Linux, for getrlimit() there is the RLIMIT_AS parameter, which does not exist in OpenBSD. >From manpages: "RLIMIT_AS: The maximum size of the process's virtual memory (address space) in bytes. This limit affects calls to brk(2), mmap(2) a

Re: suspend/resume regression

2013-10-03 Thread Fred Crowson
should have built an mp kernel :~) On 3 October 2013 14:04, Fred Crowson wrote: > I had the same issue - I've just built a kernel from cvs and suspend / > resume is now working again, but I seem to have lost a few cores :~p > > dmesg below. > > Cheers > > Fred > > [1] dmesg: > OpenBSD 5.4-curre

Re: suspend/resume regression

2013-10-03 Thread Otto Moerbeek
On Thu, Oct 03, 2013 at 02:04:14PM +0100, Fred Crowson wrote: > I had the same issue - I've just built a kernel from cvs and suspend / > resume is now working again, but I seem to have lost a few cores :~p You are running GENERIC, not GENERIC.MP -Otto > > dmesg below. > > Cheers > > F

Re: suspend/resume regression

2013-10-03 Thread Fred Crowson
I had the same issue - I've just built a kernel from cvs and suspend / resume is now working again, but I seem to have lost a few cores :~p dmesg below. Cheers Fred [1] dmesg: OpenBSD 5.4-current (GENERIC) #0: Thu Oct 3 13:40:24 BST 2013 f...@port.crowsons.com:/usr/src/sys/arch/amd64/compi

Re: USB ethernet for OpenBSD

2013-10-03 Thread Vijay Sankar
Quoting MERIGHI Marcus : obsd...@postafiok.hu (obsd, cgi), 2013.10.02 (Wed) 21:50 (CEST): Can someone please mention a working USB to Ethernet adapter for OpenBSD 5.3? (anybody has a working one and can share the name of it?) It doesn't need to be Gbit big... just a 10/100 would be more then en

Re: USB ethernet for OpenBSD

2013-10-03 Thread MERIGHI Marcus
obsd...@postafiok.hu (obsd, cgi), 2013.10.02 (Wed) 21:50 (CEST): > Can someone please mention a working USB to Ethernet adapter for OpenBSD > 5.3? (anybody has a working one and can share the name of it?) > It doesn't need to be Gbit big... just a 10/100 would be more then enough.. Digitus DN-1005