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

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

Re: seeking SQLite on OpenBSD stories

2011-01-01 Thread Edwin Eyan Moragas
Thanks to Marco, Marc and Jim for the responses. gives me a warm, fuzzy feeling to go on ahead and continue using SQLite. On Tue, Dec 7, 2010 at 11:48 PM, Marco Peereboom sl...@peereboom.us wrote: -- 8 --- The only thing I don't like is not having access to a non-sql API. One

seeking SQLite on OpenBSD stories

2010-12-06 Thread Edwin Eyan Moragas
Hi Misc, i'm looking for experience of using SQLite on OpenBSD. if anybody in the list can share 1) how SQLite is being used 2) size of the database 3) performance metrics (if you have them) anything about SQLite on OpenBSD. link would be appreciated too. cheers! /e

Re: sendmail relay defaults

2010-11-02 Thread Edwin Eyan Moragas
On Tue, Nov 2, 2010 at 4:19 PM, Joachim Schipper joac...@joachimschipper.nl wrote: i'm using openbsd 4.6. You're aware that 4.6 is unsupported as of today, right? Fortunately, upgrades are easy. missed by a day. :) two questions: 1) i want to make sure that sendmail won't relay email

sendmail relay defaults

2010-11-01 Thread Edwin Eyan Moragas
hi misc, i was looking at rc.conf to activate sendmail and i ran into this: # For normal use: -L sm-mta -bd -q30m, and note there is a cron job sendmail_flags=-L sm-mta -C/etc/mail/localhost.cf -bd -q30m as i understand, sendmail is initially configured to send emails locally (ie, users on the

significance of order of inclusion of header files

2010-10-06 Thread Edwin Eyan Moragas
Hi misc, while compiling picolisp on openbsd, i encounter this warning: gcc -c -O2 -m32 -pipe -falign-functions -fomit-frame-pointer -fno-strict-aliasing -W -Wimplicit -Wreturn-type -Wunused -Wformat -Wuninitialized -Wstrict-prototypes -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_OS='OpenBSD' net.c

Re: ld necessary? (was Re: help on compile/link flags)

2010-08-12 Thread Edwin Eyan Moragas
Hi Patrick, On Thu, Aug 12, 2010 at 6:59 AM, patrick keshishian pkesh...@gmail.com wrote: i am stupid. the buffer used for the param to dlopen() was truncated. expanding it and passing the full absolute path, dlerror() returns Cannot load specified object. clues, pointers? You can help us

solved (was Re: ld necessary? (was Re: help on compile/link flags))

2010-08-12 Thread Edwin Eyan Moragas
- DYNAMIC-LIB-FLAGS = -m32 -shared -export-dynamic + DYNAMIC-LIB-FLAGS = -Wl,-E -Wl,-shared STRIP = strip else On Thu, Aug 12, 2010 at 2:41 PM, Edwin Eyan Moragas e...@yndy.org wrote: Hi Patrick, On Thu, Aug 12, 2010 at 6:59 AM, patrick keshishian pkesh...@gmail.com wrote: i

Re: ld necessary? (was Re: help on compile/link flags)

2010-08-12 Thread Edwin Eyan Moragas
On Thu, Aug 12, 2010 at 3:26 PM, patrick keshishian pkesh...@gmail.com wrote: It looks like your lib/ht has undefined references to all above symbols. You need to figure out where these are defined. Are they part of picolist or some other library built? the undefined symbols are part of the

Re: ld necessary? (was Re: help on compile/link flags)

2010-08-11 Thread Edwin Eyan Moragas
Hi Philip/misc, On Wed, Aug 11, 2010 at 12:01 AM, Philip Guenther guent...@gmail.com wrote: On Tue, Aug 10, 2010 at 8:41 AM, Edwin Eyan Moragas e...@yndy.org wrote: actually find the shared object. If the path you give dlopen() doesn't contain a slash, then it will _not_ normally search

Re: ld necessary? (was Re: help on compile/link flags)

2010-08-11 Thread Edwin Eyan Moragas
i'm trying to compile picoLisp on obsd 4.7. as suggest i passed an absolute path to dlopen(). dlerror() says File not found. i am stupid. the buffer used for the param to dlopen() was truncated. expanding it and passing the full absolute path, dlerror() returns Cannot load specified object.

Re: ld necessary? (was Re: help on compile/link flags)

2010-08-11 Thread Edwin Eyan Moragas
Hi David, CCing misc On Wed, Aug 11, 2010 at 9:50 PM, David Coppa dco...@gmail.com wrote: On Wed, Aug 11, 2010 at 3:42 PM, Edwin Eyan Moragas e...@yndy.org wrote: i'm trying to compile picoLisp on obsd 4.7. as suggest i passed an absolute path to dlopen(). dlerror() says File not found

help on compile/link flags

2010-08-10 Thread Edwin Eyan Moragas
Hi misc, i'm stumped and my makefile foo is not up to par. i need some help to figure this out. i'm trying to make picoLisp run on openbsd 4.7. the common gcc invocation looks like: gcc -c -O2 -m32 -pipe -falign-functions -fomit-frame-pointer -fno-strict-aliasing -W -Wimplicit -Wreturn-type

Re: help on compile/link flags

2010-08-10 Thread Edwin Eyan Moragas
in the right place. thank you looking at it. On Tue, Aug 10, 2010 at 9:43 AM, Edwin Eyan Moragas e...@yndy.org wrote: Hi misc, i'm stumped and my makefile foo is not up to par. i need some help to figure this out. i'm trying to make picoLisp run on openbsd 4.7. the common gcc invocation

ld necessary? (was Re: help on compile/link flags)

2010-08-10 Thread Edwin Eyan Moragas
Hi again misc, taking another stab at my problem... is ld(1) necessary for dlopen(3) to work? thank you and apologies for my previous brainless post. best, /e

clobbered by `longjmp' warning

2010-08-09 Thread Edwin Eyan Moragas
Hi misc, i have this warning when i compile picolisp in obsd 4.7: flow.c: In function `doCatch': flow.c:1351: warning: argument `x' might be clobbered by `longjmp' or `vfork' the offending code is: any doCatch(any x) { any y; catchFrame f; x = cdr(x), f.tag = EVAL(car(x)), f.fin =

Re: clobbered by `longjmp' warning

2010-08-09 Thread Edwin Eyan Moragas
Hi Hiroyasu, On Tue, Aug 10, 2010 at 1:37 PM, Kamo Hiroyasu w...@ics.nara-wu.ac.jp wrote: Hello, From: Edwin Eyan Moragas e...@yndy.org Subject: clobbered by `longjmp' warning Date: Tue, 10 Aug 2010 08:20:49 +0800 i have this warning when i compile picolisp in obsd 4.7: flow.c

memory fragmentation

2010-08-07 Thread Edwin Eyan Moragas
Hi misc, assuming that a long running app would malloc(3) when needed and then free(3)s the resource immediately when it is done, is memory fragmentation still a concern for long running apps? what are steps that you take to manage this problem if ever it is a problem? best, /e

Re: memory fragmentation

2010-08-07 Thread Edwin Eyan Moragas
On Sun, Aug 8, 2010 at 4:03 AM, Henning Brauer lists-open...@bsws.de wrote: * Ted Unangst ted.unan...@gmail.com [2010-08-07 19:54]: you write your own allocator. don't. ever. i don't intend to. thank you Ted and Henning for pointing that out. -- Henning Brauer, h...@bsws.de,

Re: memory fragmentation

2010-08-07 Thread Edwin Eyan Moragas
On Sun, Aug 8, 2010 at 4:19 AM, Kenneth Gober kgo...@gmail.com wrote: On Sat, Aug 7, 2010 at 4:03 PM, Henning Brauer lists-open...@bsws.dewrote: * Ted Unangst ted.unan...@gmail.com [2010-08-07 19:54]: you write your own allocator. don't. ever. to put it another way, if memory

Re: Question on read write from Linux to OpenBSD

2010-04-07 Thread Edwin Eyan Moragas
On Thu, Apr 8, 2010 at 7:34 AM, Super Biscuit super_bisq...@yahoo.com wrote: Using mount -t ufs -o ufstype=44bsd -o ro /mount/point /mount/directory does not allow reading of /home /var /tmp and /root. The option of -o rw doesn't work from Linux to any BSD. (At least for me because I do not

Re: encrypt downloads

2010-04-05 Thread Edwin Eyan Moragas
On Tue, Apr 6, 2010 at 1:44 PM, open...@e-solutions.re wrote: Hi, I have at Home an OpenBSD Workstation notebook (4.6), and an OpenBSD Box gateway (PF, OpenBSD 4.6). I want to encrypt my downloads, but i have no idea about how to proceed ... uhmm scp? I m thinking about : 1) Using

Re: Multipath with pppoe(4)? Is it possible?

2010-03-20 Thread Edwin Eyan Moragas
On Sat, Mar 20, 2010 at 3:32 AM, Tom Murphy open...@pertho.net wrote: I have an OpenBSD firewall with two external interfaces which are pppoe(4). Is it possible to use multipath on them? I tried adding two default routes with multipath but it would refuse. I don't think it likes -ifp and

Re: managing routes for multiple PPPoE connections

2010-02-26 Thread Edwin Eyan Moragas
On Fri, Feb 26, 2010 at 9:56 PM, Stuart Henderson s...@spacehopper.org wrote: On 2010-02-26, Edwin Eyan Moragas haa...@gmail.com wrote: On Fri, Feb 26, 2010 at 6:28 AM, Stuart Henderson s...@spacehopper.org wrote: ah, the thing that mightn't have been apparent with my suggestion of route

Re: managing routes for multiple PPPoE connections

2010-02-25 Thread Edwin Eyan Moragas
hi Stuart, so i guess i should remove the callout from hostname.pppoe to adding a default route? thank you for the assist. :) On Fri, Feb 26, 2010 at 6:28 AM, Stuart Henderson s...@spacehopper.org wrote: On 2010-02-25, Edwin Eyan Moragas haa...@gmail.com wrote: hi misc, this is a follow up

managing routes for multiple PPPoE connections

2010-02-24 Thread Edwin Eyan Moragas
hi misc, this is a follow up on the post i made regarding multiple PPPoE connections. from the manpage of pppoe(4), a default route is added using the pppoe connection: !/sbin/route add default -ifp pppoe0 0.0.0.1 i have no idea how to manage the routes when a connection goes down. is a simple

load balancing PPPoE connections

2010-02-23 Thread Edwin Eyan Moragas
hi misc, i have two outgoing DSL connections using PPPoE. i've read about mpath in the FAQ (together with ifstated(8)) and scoured the PF examples but i haven't found any straightforward examples using PPPoE. any pointers or advice would be most welcome. /e

Re: load balancing PPPoE connections

2010-02-23 Thread Edwin Eyan Moragas
On Tue, Feb 23, 2010 at 10:43 PM, Jussi Peltola pe...@pelzi.net wrote: On Tue, Feb 23, 2010 at 10:10:16PM +0800, Edwin Eyan Moragas wrote: hi misc, i have two outgoing DSL connections using PPPoE. i've read about mpath in the FAQ (together with ifstated(8)) and scoured the PF examples but i

Re: load balancing PPPoE connections

2010-02-23 Thread Edwin Eyan Moragas
On Wed, Feb 24, 2010 at 12:58 AM, Stuart Henderson s...@spacehopper.org wrote: On 2010-02-23, Edwin Eyan Moragas haa...@gmail.com wrote: hi misc, i have two outgoing DSL connections using PPPoE. i've read about mpath in the FAQ (together with ifstated(8)) and scoured the PF examples but i

Buen día

2010-01-18 Thread Shung Hin Hiu Edwin
Yo soy el seqor Shung Hin Hui Edwin un gerente de relaciones con los inversores en el Standard Chartered Bank, Hong Kong. Tengo una propuesta para su negocio. Si esta interesado psngase en contacto conmigo mas detalles.

Apache theoretical questions (was Re: no thttpd.conf for OpenBSD?)

2008-06-19 Thread Edwin Eyan Moragas
On Fri, Jun 20, 2008 at 10:42 AM, Ted Unangst [EMAIL PROTECTED] wrote: For better or worse, the base web server is Apache 1, and that's how things are going to be. Since the subject of apache came up, i was reminded of a thread some time back about improving (?) apache in base. anybody (aside

curses web man pages

2008-06-07 Thread Edwin Eyan Moragas
ey list, i was checking things out her: http://www.openbsd.org/cgi-bin/man.cgi?query=ncursesapropos=0sektion=0manpath=OpenBSD+Currentarch=i386format=html and clicked the link for one of the curs_* man pages. say for example curs_pad(3). it led me here:

Re: poll(2) vs kqueue(2) performance

2008-04-21 Thread Edwin Eyan Moragas
Marc, Henning, thank you for the insight. On Mon, Apr 21, 2008 at 8:38 PM, Marc Espie [EMAIL PROTECTED] wrote: On Sat, Apr 19, 2008 at 11:43:20AM +0200, Jonathan Schleifer wrote: Edwin Eyan Moragas [EMAIL PROTECTED] wrote: the question is, which one is more useful when writing new

Re: poll(2) vs kqueue(2) performance

2008-04-19 Thread Edwin Eyan Moragas
thank you, Theo. On Sat, Apr 19, 2008 at 1:50 PM, Theo de Raadt [EMAIL PROTECTED] wrote: been reading the select(2) man pages and it mentions poll(2) being more efficient in most cases. this makes it obvious to discard the use of select(2) in writing new servers. select requires that

Re: poll(2) vs kqueue(2) performance

2008-04-19 Thread Edwin Eyan Moragas
Hi Eric, On Sat, Apr 19, 2008 at 4:17 PM, Eric Faurot [EMAIL PROTECTED] wrote: the question is, which one is more useful when writing new servers? kqueue or poll? The more useful is event(3). i've been looking also at libevent and libev, both of which are excellent libraries. however,

Re: poll(2) vs kqueue(2) performance

2008-04-19 Thread Edwin Eyan Moragas
On Sat, Apr 19, 2008 at 5:43 PM, Jonathan Schleifer [EMAIL PROTECTED] wrote: Edwin Eyan Moragas [EMAIL PROTECTED] wrote: the question is, which one is more useful when writing new servers? kqueue or poll? poll is more portable, while kqueue should be more performant (at least, that's

poll(2) vs kqueue(2) performance

2008-04-18 Thread Edwin Eyan Moragas
Hi all, been reading the select(2) man pages and it mentions poll(2) being more efficient in most cases. this makes it obvious to discard the use of select(2) in writing new servers. i've come across some performance benchmarks which is trying to use kqueue(2). the question is, which one is

Re: Problems with socket created before fork() in multi-threaded application

2008-03-21 Thread Török Edwin
Philip Guenther wrote: On Thu, Mar 20, 2008 at 3:01 PM, Tvrvk Edwin [EMAIL PROTECTED] wrote: ClamAV has changed to call fork() after creating its local socket. This causes weird behaviours when communicating on the socket [1] If fork() is called before creating the socket() it works

Problems with socket created before fork() in multi-threaded application

2008-03-20 Thread Török Edwin
[2], is the situation the same on OpenBSD? I am using OpenBSD 4.2 GENERIC#375 i386. Thanks, --Edwin [1] https://wwws.clamav.net/bugzilla/show_bug.cgi?id=885 [2] http://lists.freebsd.org/pipermail/freebsd-hackers/2005-August/013310.html

Re: Installing apsfilter package fails

2008-03-19 Thread - Edwin -
in a temp directory (2) find libexpatsomething in usr/X11R6/lib (3) mkdir /usr/X11R6/lib and cp the file you found in (2). Then, try pkg_add'ing apsfilter* again. -- - Edwin - The righteous themselves will possess the earth, And they will reside forever upon it./Psalms 37:29

questions on fork()

2006-07-04 Thread Edwin Eyan Moragas
ey misc, from the fork(2) man pages: fork() causes creation of a new process. The new process (child process) is an exact copy of the calling process (parent process) except for the following: snip i have several questions/clarifications regarding this. 1) when it says exact copy, does this

socketpair(2) portability (was Re: questions on fork())

2006-07-04 Thread Edwin Eyan Moragas
On 7/4/06, Bernd Schoeller [EMAIL PROTECTED] wrote: 1) when it says exact copy, does this mean just a copy of the process? is it right to state that the memory allocated by the parent process is not accessible to the child process? Yes, copy is not the original (though normally Unix-OSs do a

ath(4) support on sparc64

2005-07-04 Thread Edwin Steele
or are there some platform specific issues that would prevent it from running? I'm happy to grab a card (probably an ath(4) based DWL-G520) and see if I can't make it work but wanted to check first and see what the situation is. Cheers, Edwin.