Re: how to use cpu affinity from user space

2013-01-22 Thread Peter Hessler
On 2013 Jan 22 (Tue) at 09:25:04 +0500 (+0500), Илья Шипицин wrote: :Hello! : :I'm investigating how program should set cpu affinity, is there any :examples ? (I didn't find any except the commit that adds cpu affinity :thing, but there's no user space documentation, no utility, no man page). :

Re: firefox-18.0p0 segmentation faulting after upgrade to current

2013-01-22 Thread Jamie Paul Griffin
* Robert Connolly rob...@secondfloor.ca [2013-01-21 20:37:39 -0800]: On 01/21/13 15:45, OpenBSD wrote: Hi Misc, I've just upgraded to -current (OpenBSD 5.2-current (GENERIC) #17: Fri Jan 18 19:42:57 MST 2013) dmesg at [2] from the Jan 11 snapshot and done a pkg_add -vui. But when I

How do I compile 32-bit binaries on amd64 OpenBSD?

2013-01-22 Thread Salil Wadnerkar
Hi, Some programs like smlnj, which is SML by New Jersey, support only 32-bit binaries. On Linux distros, I can use gcc multilib support. How do I do that in OpenBSD? I installed gcc-4.7.2 package and used that to compile to see whether I can get it to generate a 32-bit binary. $ egcc -m32

Re: firefox-18.0p0 segmentation faulting after upgrade to current

2013-01-22 Thread Stefan Wollny
Gesendet: Dienstag, 22. Januar 2013 um 05:37 Uhr Von: Robert Connolly rob...@secondfloor.ca An: OpenBSD open...@crowsons.net Cc: misc@openbsd.org Betreff: Re: firefox-18.0p0 segmentation faulting after upgrade to current On 01/21/13 15:45, OpenBSD wrote: Hi Misc, I've just upgraded to -current

Re: How do I compile 32-bit binaries on amd64 OpenBSD?

2013-01-22 Thread Peter Hessler
On 2013 Jan 22 (Tue) at 17:37:18 +0800 (+0800), Salil Wadnerkar wrote: :Hi, : :Some programs like smlnj, which is SML by New Jersey, support only 32-bit :binaries. On Linux distros, I can use gcc multilib support. How do I do :that in OpenBSD? OpenBSD does not support multilib, and has no

Re: how to use cpu affinity from user space

2013-01-22 Thread David Diggles
Then if the scheduler always knows what's best, the backup process will be completely uninhibited, on a system maxed out on all cores. On Tue, Jan 22, 2013 at 09:29:43AM +0100, Peter Hessler wrote: On 2013 Jan 22 (Tue) at 09:25:04 +0500 (+0500), ?? wrote: :Hello! : :I'm

ordered OBSD cd set.

2013-01-22 Thread Friedrich Locke
Hi Folks, has anyone already had problems related to delivery of OBSD CD set ? thanks.

Re: ordered OBSD cd set.

2013-01-22 Thread Peter N. M. Hansteen
On Tue, Jan 22, 2013 at 08:22:24AM -0200, Friedrich Locke wrote: Hi Folks, has anyone already had problems related to delivery of OBSD CD set ? It would probably help debugging the situation if you tell us where you ordered from and to where (country or region). Some countries or

Re: firefox-18.0p0 segmentation faulting after upgrade to current

2013-01-22 Thread Ralf Horstmann
Hi, * OpenBSD open...@crowsons.net [2013-01-22 00:45]: Hi Misc, I've just upgraded to -current (OpenBSD 5.2-current (GENERIC) #17: Fri Jan 18 19:42:57 MST 2013) dmesg at [2] from the Jan 11 snapshot and done a pkg_add -vui. But when I start firefox[1] now it opens the window but shortly

Re: ordered OBSD cd set.

2013-01-22 Thread Friedrich Locke
I order from my home, in Brasil! None of my orders arrive! Then the folks at calgary store send a replacement. The day they post the replacement i get the original one. Did this already happens with anyone else ? []s On Tue, Jan 22, 2013 at 8:30 AM, Peter N. M. Hansteen pe...@bsdly.netwrote:

Re: How do I compile 32-bit binaries on amd64 OpenBSD?

2013-01-22 Thread Janne Johansson
2013/1/22 Peter Hessler phess...@openbsd.org: On 2013 Jan 22 (Tue) at 17:37:18 +0800 (+0800), Salil Wadnerkar wrote: :Some programs like smlnj, which is SML by New Jersey, support only 32-bit :binaries. On Linux distros, I can use gcc multilib support. How do I do :that in OpenBSD? OpenBSD

Re: firefox-18.0p0 segmentation faulting after upgrade to current

2013-01-22 Thread Zé Loff
On Tue, Jan 22, 2013 at 10:08:43AM +0100, Stefan Wollny wrote: Gesendet: Dienstag, 22. Januar 2013 um 05:37 Uhr Von: Robert Connolly rob...@secondfloor.ca An: OpenBSD open...@crowsons.net Cc: misc@openbsd.org Betreff: Re: firefox-18.0p0 segmentation faulting after upgrade to current On

Re: ordered OBSD cd set.

2013-01-22 Thread David Coppa
On Tue, Jan 22, 2013 at 11:37 AM, Friedrich Locke friedrich.lo...@gmail.com wrote: I order from my home, in Brasil! None of my orders arrive! Then the folks at calgary store send a replacement. The day they post the replacement i get the original one. Did this already happens with anyone else

Re: ordered OBSD cd set.

2013-01-22 Thread Pedro Martelletto
I order from my home, in Brasil! i've ordered a couple of openbsd cds from brazil (rio) in the past and it wasn't unusual for the shipment to take longer than 6 months to be delivered; i.e after the next version of openbsd had been tagged. :) -p.

Re: how to use cpu affinity from user space

2013-01-22 Thread Gregor Best
On Tue, Jan 22, 2013 at 07:56:22PM +1000, David Diggles wrote: Then if the scheduler always knows what's best, the backup process will be completely uninhibited, on a system maxed out on all cores. [...] What backup process? And why will it be uninhibited? If the system's maxed out, all

Re: ordered OBSD cd set.

2013-01-22 Thread Otto Moerbeek
On Tue, Jan 22, 2013 at 08:37:41AM -0200, Friedrich Locke wrote: I order from my home, in Brasil! None of my orders arrive! Then the folks at calgary store send a replacement. The day they post the replacement i get the original one. Did this already happens with anyone else ? First you

Re: how to use cpu affinity from user space

2013-01-22 Thread Gregory Edigarov
On 01/22/2013 12:55 PM, Gregor Best wrote: On Tue, Jan 22, 2013 at 07:56:22PM +1000, David Diggles wrote: Then if the scheduler always knows what's best, the backup process will be completely uninhibited, on a system maxed out on all cores. [...] What backup process? And why will it be

Re: how to use cpu affinity from user space

2013-01-22 Thread David Diggles
I've seen situations where it has been useful to dedicate a core to a backup process so the nightly backup would complete, on a busy linux machine, with a cpuset. If this isn't a planned feature in the near future it's not bothering me. I'm very happy with what OpenBSD does for me. On Tue, Jan

Re: How do I compile 32-bit binaries on amd64 OpenBSD?

2013-01-22 Thread Janne Johansson
2013/1/22 Janne Johansson icepic...@gmail.com: Then again, if you haven't figured out that during the last two centuries, chances are that you won't ever. decades. Though interpreting it as since the last century still holds. -- May the most significant bit of your life be positive.

Re: How do I compile 32-bit binaries on amd64 OpenBSD?

2013-01-22 Thread Martin Schröder
2013/1/22 Janne Johansson icepic...@gmail.com: decades. Though interpreting it as since the last century still holds. I prefer since the last millenium. :-) SCNR Martin

Re: How do I compile 32-bit binaries on amd64 OpenBSD?

2013-01-22 Thread Salil Wadnerkar
Thanks Peter. I found that many autotools packaged programs out there expect newer gcc environments. So, when I run ./configure make make install most of the time, make fails because the system gcc toolchain is old. I tried using a newer toolchain by setting the environment variables: export

Re: how to use cpu affinity from user space

2013-01-22 Thread Илья Шипицин
I meant OpenBSD feature to use only CPU00 for network things. and I am afraid it could cause network issues when some process works on CPU00 as well. 2013/1/22 Gregory Edigarov ediga...@qarea.com On 01/22/2013 12:55 PM, Gregor Best wrote: On Tue, Jan 22, 2013 at 07:56:22PM +1000, David

Re: How do I compile 32-bit binaries on amd64 OpenBSD?

2013-01-22 Thread Vadim Zhukov
22.01.2013 16:32 пользователь Salil Wadnerkar rohsh...@gmail.com написал: Thanks Peter. I found that many autotools packaged programs out there expect newer gcc environments. So, when I run ./configure make make install most of the time, make fails because the system gcc

Re: how to use cpu affinity from user space

2013-01-22 Thread Marc Espie
On Tue, Jan 22, 2013 at 05:37:42PM +0500, ??? wrote: I meant OpenBSD feature to use only CPU00 for network things. and I am afraid it could cause network issues when some process works on CPU00 as well. OpenBSD is not a real-time OS. As far as I know there's no intention to make it

any special trick to use hwfeatures on em ?

2013-01-22 Thread Илья Шипицин
Hello! I'mtrying to figure out whether or not my em cards are set up for high performance. ifconfig em0 hwfeatures does not show nothing on rx/tx checksum, neither man pages on ifconfig and em explain how to do that. I notice network delays on very moderate bit rates, say 500mbit or even less,

Re: how to use cpu affinity from user space

2013-01-22 Thread Илья Шипицин
I appreciate your attention for homeopathy and astrology, however I see no relation of those to CPU00. Maybe modern processors will handle that stuff, I don't know. I'm running https web reverse proxy. at 200-500mbit scale, I see 3500 interrupts per second at em0, em1, also 12 cpus are running at

Re: ordered OBSD cd set.

2013-01-22 Thread Yusof Khalid - FreeBSD / OpenBSD
Hi, My first order was version 5.2 and delivered to Malaysia. I've received about 2 3 weeks after officially released. I think you should blame the postal service :) On Tue, Jan 22, 2013 at 6:55 PM, Otto Moerbeek o...@drijf.net wrote: On Tue, Jan 22, 2013 at 08:37:41AM -0200, Friedrich Locke

Re: How do I compile 32-bit binaries on amd64 OpenBSD?

2013-01-22 Thread Stuart Henderson
On 2013-01-22, Salil Wadnerkar rohsh...@gmail.com wrote: Thanks Peter. I found that many autotools packaged programs out there expect newer gcc environments. So, when I run ./configure make make install most of the time, make fails because the system gcc toolchain is old. On the more

Re: how to use cpu affinity from user space

2013-01-22 Thread Rudolf Leitgeb
under such load server is experience somewhat to general network delays, network conections become slow (both incoming and outgoing), sometimes even 5 sec on 1G network. It sounds unlikely that CPU congestion is responsible for 5 s network delays unless your hardware is significantly

Re: how to use cpu affinity from user space

2013-01-22 Thread Stuart Henderson
On 2013-01-22, Илья Шипицин chipits...@gmail.com wrote: I'm running https web reverse proxy. at 200-500mbit scale, I see 3500 interrupts per second at em0, em1, also 12 cpus are running at 70-80%, CPU00 is running at interrupt level, also there're user processes at user and system levels.

Re: How do I compile 32-bit binaries on amd64 OpenBSD?

2013-01-22 Thread Amit Kulkarni
On Tue, Jan 22, 2013 at 3:37 AM, Salil Wadnerkar rohsh...@gmail.com wrote: Hi, Some programs like smlnj, which is SML by New Jersey, support only 32-bit binaries. On Linux distros, I can use gcc multilib support. How do I do that in OpenBSD? in general, if a port exists look at the Makefile

Re: vnd and softraid panic

2013-01-22 Thread Joel Sing
On Thu, 3 Jan 2013, Eivind Evensen wrote: On Mon, Dec 31, 2012 at 07:21:08PM +1100, Joel Sing wrote: On Mon, 31 Dec 2012, Eivind Evensen wrote: Hello. Trying to play around a bit with softraid using vnd reliably results in a panic when assembling the raid volume. I think the first

Re: any special trick to use hwfeatures on em ?

2013-01-22 Thread Christian Weisgerber
Ilya Shipitsin chipits...@gmail.com wrote: ifconfig em0 hwfeatures does not show nothing on rx/tx checksum, neither man pages on ifconfig and em explain how to do that. There is nothing to do. If the chip offers the feature and the driver can take advantage of it, it will do so automatically.

Re: firefox-18.0p0 segmentation faulting after upgrade to current

2013-01-22 Thread Denis Fondras
I'm also getting segfaults on i386, after a clean install of (not so) -current (#15 Jan 11). Will upgrade to #17 and try again. And I am too. Clean install of snapshot from Jan.14 on an i386 laptop. Exact same backtrace as posted earlier. Denis

Athn0 DHCP problem...

2013-01-22 Thread slhac tivist
Hi there misc! I'm having trouble connecting to my router. Any help would be appreciated. I can get athn0 to link, but then it sends a dozen DHCPREQUESTs, and then sends DHCPDISCOVERs until it sleeps... I've never had this problem before. Last time I switch routers, I just changed nwid, and

Re: Athn0 DHCP problem...

2013-01-22 Thread Peter N. M. Hansteen
slhac tivist slhactiv...@gmail.com writes: I can get athn0 to link, but then it sends a dozen DHCPREQUESTs, and then sends DHCPDISCOVERs until it sleeps... I've never had this problem before. Last time I switch routers, I just changed nwid, and wpakey with ifconfig, then ran dhclient for

Re: How do I compile 32-bit binaries on amd64 OpenBSD?

2013-01-22 Thread Brad Smith
- Original message - Thanks Peter. I found that many autotools packaged programs out there expect newer gcc environments. I'd love to what programs these are. I haven't run into these many programs, only a very small few. -- This message has been scanned for viruses and dangerous

Re: How do I compile 32-bit binaries on amd64 OpenBSD?

2013-01-22 Thread Salil Wadnerkar
Thanks Amit for pointers. Helpful indeed. On Tue, Jan 22, 2013 at 11:12 PM, Amit Kulkarni amitk...@gmail.com wrote: On Tue, Jan 22, 2013 at 3:37 AM, Salil Wadnerkar rohsh...@gmail.com wrote: Hi, Some programs like smlnj, which is SML by New Jersey, support only 32-bit binaries. On

Re: Still possible to get OpenBSD onto Soekris net5501 via qemu install to flashcard?

2013-01-22 Thread Mihai Popescu
I do think that using quemu is a good (and simple) way to go for me because: - I have qemu installed on my box for other reasons - one only needs an attached cf card and a current version of install.iso (no CD \ burning or laptop reboot required) - with qemu the install to

Re: How do I compile 32-bit binaries on amd64 OpenBSD?

2013-01-22 Thread Brad Smith
- Original message - - Original message - Thanks Peter. I found that many autotools packaged programs out there expect newer gcc environments. I'd love to what programs these are. I haven't run into these many programs, only a very small few. love to know* -- This

Re: How do I compile 32-bit binaries on amd64 OpenBSD?

2013-01-22 Thread Salil Wadnerkar
Hi Brad, You may be right. I am trying to build a standard ML implementation on my 64-bit machine. This is because the only SML implementation in the ports is smlnj, which works beautifully on 32-bit architecture, but is not supported on 64-bit one. I tried polyml, which is the next popular SML

Re: How do I compile 32-bit binaries on amd64 OpenBSD?

2013-01-22 Thread Marc Espie
On Wed, Jan 23, 2013 at 06:32:16AM +0800, Salil Wadnerkar wrote: Hi Brad, You may be right. I am trying to build a standard ML implementation on my 64-bit machine. This is because the only SML implementation in the ports is smlnj, which works beautifully on 32-bit architecture, but is not

Re: How do I compile 32-bit binaries on amd64 OpenBSD?

2013-01-22 Thread Salil Wadnerkar
I know SML is not really an industrial programming language. And one is better off using OCaml. I am attending one course from coursera.org called 'Programming languages' where I need to use SML. On Wed, Jan 23, 2013 at 6:53 AM, Marc Espie es...@nerim.net wrote: On Wed, Jan 23, 2013 at

Re: firefox-18.0p0 segmentation faulting after upgrade to current

2013-01-22 Thread OpenBSD
On 01/23/13 00:11, Stefan Wollny wrote: OK: I updated to 5.2-current #18 tonight on a Lenovo T60 and an iMac (both i386) but firefox keeps crashing on both machines as reported by others as well. On both machines if have: $ pkg_info | grep firefox firefox-18.0p0 Mozilla web browser

Re: How do I compile 32-bit binaries on amd64 OpenBSD?

2013-01-22 Thread Philip Guenther
On Wed, Jan 23, 2013 at 06:32:16AM +0800, Salil Wadnerkar wrote: ... I tried polyml, which is the next popular SML implementation - built using autotools. http://www.polyml.org/. (Download: http://sourceforge.net/projects/polyml/) $ gmake ... libtool: compile: g++ -DHAVE_CONFIG_H -I.

Re: Athn0 DHCP problem...

2013-01-22 Thread slhac tivist
Thanks for the tip about no 'n' band. Here's some more info: Here's my /etc/hostname.athn0 file: -wol group egress chan 11 bssid ** nwid ** nwkey ** wpakey ** wpaakms pks dhcp NONE NONE NONE And here is ifconfig athn0: athn0 flag=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu

Athn0 won't link with new router!!

2013-01-22 Thread slhactivist
Hi there misc! I'm having trouble connecting to my router. Any help would be appreciated. I can get athn0 to link, but then it sends a dozen DHCPREQUESTs, and then sends DHCPDISCOVERs until it sleeps... I've never had this problem before. Last time I switch routers, I just changed nwid, and

Re: Still possible to get OpenBSD onto Soekris net5501 via qemu install to flashcard?

2013-01-22 Thread Aaron Mason
On Wed, Jan 23, 2013 at 8:31 AM, Mihai Popescu mih...@gmail.com wrote: I do think that using quemu is a good (and simple) way to go for me because: - I have qemu installed on my box for other reasons - one only needs an attached cf card and a current version of install.iso (no CD \

firefox crashes

2013-01-22 Thread Salil Wadnerkar
Hi, On my amd64 machine, firefox crashes regularly after some time. Here is the info about the crash: gdb /usr/local/bin/firefox firefox.core GNU gdb 6.3 This GDB was configured as amd64-unknown-openbsd5.2...(no debugging symbols found) ... Core was generated by `firefox'. Program terminated

Re: firefox crashes

2013-01-22 Thread Brad Smith
On Wed, Jan 23, 2013 at 08:43:36AM +0800, Salil Wadnerkar wrote: Hi, On my amd64 machine, firefox crashes regularly after some time. Here is the info about the crash: gdb /usr/local/bin/firefox firefox.core GNU gdb 6.3 This GDB was configured as amd64-unknown-openbsd5.2...(no debugging

Re: Athn0 DHCP problem...

2013-01-22 Thread Kirill Bychkov
On Wed, January 23, 2013 02:50, slhac tivist wrote: Thanks for the tip about no 'n' band. Here's some more info: Here's my /etc/hostname.athn0 file: -wol group egress chan 11 bssid ** nwid ** nwkey ** wpakey ** wpaakms pks dhcp NONE NONE NONE You're mixing WEP and WPA keys.

Re: Interface and trunking performance

2013-01-22 Thread Tomas Bodzar
On Tue, Jan 22, 2013 at 4:02 PM, Patrick Vultier xinfor...@gmail.com wrote: Hi, I tried to use two OpenBSD systems as network load with iperf and netperf. Each server is equipped with two Intel dual NIC gigabit (plus one embedded gigabit NIC), two Xeon 3.2GHz H.T., 12GB RAM and OpenBSD 5.2

Re: Still possible to get OpenBSD onto Soekris net5501 via qemu install to flashcard?

2013-01-22 Thread Jan Stary
On Jan 22 23:31:36, mih...@gmail.com wrote: I do think that using quemu is a good (and simple) way to go for me because: - I have qemu installed on my box for other reasons - one only needs an attached cf card and a current version of install.iso (no CD \ burning or