Re: How to list available all hard disks in OpenBSD

2012-12-20 Thread Alexander Hall
On 12/21/12 04:17, Indunil Jayasooriya wrote: HI, I would like to know How to list available all hard disks in OpenBSD ? If I run below 2 commands, it will give an output. dmesg |grep wd0 fdisk wd0 If I install a new Hard Disk, How to get to know whether it is wd1 or anything eles? In Linu

Re: Plausible deniable encryption

2012-12-20 Thread Robert Connolly
On 12/19/12 23:23, Ted Unangst wrote: On Tue, Dec 18, 2012 at 21:50, Robert Connolly wrote: Assuming you have read what is out there, I have a technigur When you are locked in a room with men determined to beat you until they get what they want, you will reconsider the wisdom of being unable t

Re: How to list available all hard disks in OpenBSD

2012-12-20 Thread Raymond Lillard
Hi, Sometimes I just can't let well enough alone ;-) Add this to your .profile Fdisk-l () { sysctl hw.disknames | sed -e 's/[,=]/\ /g' ; } From my laptop command line: ryl@smag {~} Fdisk-l hw.disknames sd0:f07ccfaba910bc8e cd0: sd1:21a268bf64300a23 ryl@smag {~} vi .profile ju

Re: How to list available all hard disks in OpenBSD

2012-12-20 Thread Indunil Jayasooriya
Hi misc Thanks a lot On Fri, Dec 21, 2012 at 10:07 AM, Wesley wrote: > Hi, > > you can try this : > > > /usr/sbin/sysctl hw.disknames > > Cheers, > Wesley > > > Le 2012-12-21 7:17, Indunil Jayasooriya a écrit : > > HI, >> >> I would like to know How to list available all hard disks in OpenBS

Re: How to list available all hard disks in OpenBSD

2012-12-20 Thread Wesley
Hi, you can try this : /usr/sbin/sysctl hw.disknames Cheers, Wesley Le 2012-12-21 7:17, Indunil Jayasooriya a écrit : HI, I would like to know How to list available all hard disks in OpenBSD ? If I run below 2 commands, it will give an output. dmesg |grep wd0 fdisk wd0 If I install

Re: How to list available all hard disks in OpenBSD

2012-12-20 Thread Nick Holland
On 12/20/12 22:17, Indunil Jayasooriya wrote: > HI, > > I would like to know How to list available all hard disks in OpenBSD ? > > If I run below 2 commands, it will give an output. > > dmesg |grep wd0 > > fdisk wd0 If you want USEFUL, you might use: dmesg |grep "^[sw]d" if you care about fl

Re: NGINX wordpress error 5.2

2012-12-20 Thread Bentley, Dain
You're correct, it is. The php-fpm.conf points to /var/www. From: owner-m...@openbsd.org [owner-m...@openbsd.org] On Behalf Of frantisek holop [min...@obiit.org] Sent: Thursday, December 20, 2012 9:19 PM To: misc@openbsd.org Subject: Re: NGINX wordpress

How to list available all hard disks in OpenBSD

2012-12-20 Thread Indunil Jayasooriya
HI, I would like to know How to list available all hard disks in OpenBSD ? If I run below 2 commands, it will give an output. dmesg |grep wd0 fdisk wd0 If I install a new Hard Disk, How to get to know whether it is wd1 or anything eles? In Linux, Fdisk -l show all the available hard disks. I

Re: NGINX wordpress error 5.2

2012-12-20 Thread frantisek holop
hmm, on Thu, Dec 20, 2012 at 03:58:53PM -0500, Bentley, Dain said that > PHP_FPm is running as the www user, but the permissions on resolv.conf is > readable to everyone. > Perhaps I missed installing PHP extension required? php_fpm when installed from the ports is also running chroot by default

Re: Xfce4 and ctrl:swapcaps not working (ugly WORK-AROUND)

2012-12-20 Thread Raymond Lillard
On 12/20/2012 02:33 AM, Juan Francisco Cantero Hurtado wrote: On Wed, Dec 19, 2012 at 02:49:12PM -0800, Raymond Lillard wrote: Hello Misc, I am running -current (amd64) on a Lenovo w500. I start Xfce4 from the command line with startx. I have added: exec /usr/local/bin/startxfce4 to ~

Re: High performance IO (sendfile(), caching, and libev(ent))

2012-12-20 Thread William Ahern
On Thu, Dec 20, 2012 at 03:53:44AM -0500, Jean-Philippe Ouellet wrote: > Hello, > > I'm trying to learn about writing high performance servers, and I have a > few questions not clearly answered by any documentation I can find. I'm > comfortable with select(), poll(), and kqueue(), but that only go

Re: ospf Linkstate unknown

2012-12-20 Thread Stuart Henderson
On 2012-12-19, Kapetanakis Giannis wrote: > em0: flags=8843 mtu 1500 > lladdr 52:54:00:25:e7:a8 hang on, that is not a real em(4).

Re: kernel panic with /etc/daily and ntfs mount

2012-12-20 Thread Stuart Henderson
On 2012-12-20, Dustin Fechner wrote: > On 12/20/2012 11:36 AM, Sebastian Neuper wrote: >> it took me a while to figure out, why X just freezes every day at 0:30 am, >> and my first try was to apply the bgpd patch. I even succeeded in recompiling >> the kernel thanks to your great documentation and

Re: NGINX wordpress error 5.2

2012-12-20 Thread Bentley, Dain
PHP_FPm is running as the www user, but the permissions on resolv.conf is readable to everyone. Perhaps I missed installing PHP extension required? -Original Message- From: Aaron [mailto:def...@gmail.com] Sent: Thursday, December 20, 2012 3:53 PM To: Bentley, Dain Cc: misc@openbsd.org

Re: NGINX wordpress error 5.2

2012-12-20 Thread Aaron
On Thu, Dec 20, 2012 at 1:49 PM, Bentley, Dain wrote: > Hello Aaron, > I thought so too. Here is the error's I'm getting: > WP HTTP Error: 0: php_network_getaddresses: getaddrinfo failed: temporary > failure in name resolution AFAIK, php-fpm will use your resolv.conf in /etc, as it isn't bound

Re: NGINX wordpress error 5.2

2012-12-20 Thread Bentley, Dain
Hello Aaron, I thought so too. Here is the error's I'm getting: WP HTTP Error: 0: php_network_getaddresses: getaddrinfo failed: temporary failure in name resolution It seems to be an issue with PHP unable to open a network connection? -Original Message- From: Aaron [mailto:def...@gmail

Re: NGINX wordpress error 5.2

2012-12-20 Thread Aaron
On Thu, Dec 20, 2012 at 1:45 PM, Bentley, Dain wrote: > Hello all, > I've configured a wordpress site on NGINX/OpenBSD 5.2/php_fpm. > It works fine but I seem to have problems installing plugins and getting > information from RSS feeds because the wordpress API can't seem to resolve > hostnames.

NGINX wordpress error 5.2

2012-12-20 Thread Bentley, Dain
Hello all, I've configured a wordpress site on NGINX/OpenBSD 5.2/php_fpm. It works fine but I seem to have problems installing plugins and getting information from RSS feeds because the wordpress API can't seem to resolve hostnames. I suspect it has something to do with the fact NGINX is chroote

Re: Help with the board H77-D3H

2012-12-20 Thread Nick Holland
On 12/20/2012 11:01 AM, What you get is Not what you see wrote: I try to install OpenBSD 5.2 i386 to a box with this board. It has an Intel G645 Pentium processor with 4GB of ram and a 500G of Sata3 hard drive. It has an onboard AR8151 ethernet which I understand is not supported by the generic k

Re: Help with the board H77-D3H

2012-12-20 Thread Otto Moerbeek
On Thu, Dec 20, 2012 at 06:01:44PM +0200, What you get is Not what you see wrote: > I try to install OpenBSD 5.2 i386 to a box with this board. > It has an Intel G645 Pentium processor with 4GB of ram and a 500G of Sata3 > hard drive. > It has an onboard AR8151 ethernet which I understand is not

Help with the board H77-D3H

2012-12-20 Thread What you get is Not what you see
I try to install OpenBSD 5.2 i386 to a box with this board. It has an Intel G645 Pentium processor with 4GB of ram and a 500G of Sata3 hard drive. It has an onboard AR8151 ethernet which I understand is not supported by the generic kernel. There is a web page about a diff workaround which dont I do

Re: kernel panic with /etc/daily and ntfs mount

2012-12-20 Thread Dustin Fechner
On 12/20/2012 11:36 AM, Sebastian Neuper wrote: > it took me a while to figure out, why X just freezes every day at 0:30 am, > and my first try was to apply the bgpd patch. I even succeeded in recompiling > the kernel thanks to your great documentation and noticed afterwards, that > i didn't have t

Re: issue tracker

2012-12-20 Thread Stefan Sperling
On Wed, Dec 19, 2012 at 09:43:18PM +, sickm...@lavabit.com wrote: > Hi, > > I have been using OpenBSD for quite a long time, and find it awesome. > I've got some spare time lately and decided to hunt some bugs, but I > don't really know where to start. Any suggestions? > > P.S. Yeah, I know a

Crash while loading pf.conf ("quick" in a load balance rule)

2012-12-20 Thread Gilles LAMIRAL
Hello, I encountered a issue loading a pf.conf file The syntax is correct but the loading crashed the system. It happened in production via a network connection. The issue is reproducible and I join a simplified pf.conf that still causes the crash. The system is now offline, I can play with it f

Re: High performance IO (sendfile(), caching, and libev(ent))

2012-12-20 Thread Andres Perera
On Thu, Dec 20, 2012 at 6:06 AM, Tobias Ulmer wrote: > > The file will be in the buffer cache. While it still takes a few > in-memory copies (which is what sendfile saves you), this should be fast > enough for most cases. > > If you keep the data in your address space, you save one m-to-m copy, >

Re: High performance IO (sendfile(), caching, and libev(ent))

2012-12-20 Thread Tobias Ulmer
On Thu, Dec 20, 2012 at 04:26:48AM -0500, Jean-Philippe Ouellet wrote: > On 12/20/12 4:20 AM, Otto Moerbeek wrote: > > On Thu, Dec 20, 2012 at 04:06:52AM -0500, Jean-Philippe Ouellet wrote: > > > >> On 12/20/12 3:53 AM, Jean-Philippe Ouellet wrote: > >>> and madvise() them to not be swapped out? >

Re: Xfce4 and ctrl:swapcaps not working

2012-12-20 Thread Juan Francisco Cantero Hurtado
On Wed, Dec 19, 2012 at 02:49:12PM -0800, Raymond Lillard wrote: > Hello Misc, > > I am running -current (amd64) on a Lenovo w500. > > I start Xfce4 from the command line with startx. I have > added: > exec /usr/local/bin/startxfce4 > to ~/.xinitrc. > > Everything comes up nicely, but I c

Re: ospf Linkstate unknown

2012-12-20 Thread InterNetX - Carsten Schoene
Hello Giannis, i reported a similar problem, with snmp on emX devices on 3.12.2012 (Subject line: ifOperStatus of em(4) devices always unknown when link is up) Seems to happen only with em based devices, until now, no fix available. Cheers, Carsten Am 19.12.2012 17:24, schrieb Kapetanakis Giann

Re: no BIOS memory map supplied

2012-12-20 Thread Jan Stary
On Nov 18 12:04:46, h...@stare.cz wrote: > On Nov 14 08:39:22, h...@stare.cz wrote: > > On Nov 14 08:35:37, h...@stare.cz wrote: > > > With today's i386 snapshot (Nov 14th) and the previous (Nov 11th), > > > the booting bsd goes straight to ddb> prompt saying > > > > > > panic: no BIOS memory ma

kernel panic with /etc/daily and ntfs mount

2012-12-20 Thread Sebastian Neuper
hello guys, don't know if this is a real bug, a misconfiguration of my /etc/fstab, or already solved in -current. when i have my /win (windows 7) ntfs mount and run daily(8), the kernel panics. if i unmount /win, daily(8) exits normally. i didn't set up my mail(1)/smtpd(8) properly, so sendbug(1

Re: High performance IO (sendfile(), caching, and libev(ent))

2012-12-20 Thread Andres Perera
On Thu, Dec 20, 2012 at 4:23 AM, Jean-Philippe Ouellet wrote: > Hello, > > I'm trying to learn about writing high performance servers, and I have a > few questions not clearly answered by any documentation I can find. I'm > comfortable with select(), poll(), and kqueue(), but that only goes so > f

Re: High performance IO (sendfile(), caching, and libev(ent))

2012-12-20 Thread Jean-Philippe Ouellet
On 12/20/12 4:20 AM, Otto Moerbeek wrote: > On Thu, Dec 20, 2012 at 04:06:52AM -0500, Jean-Philippe Ouellet wrote: > >> On 12/20/12 3:53 AM, Jean-Philippe Ouellet wrote: >>> and madvise() them to not be swapped out? >> >> Oops, I think I might have misinterpreted the meaning of MADV_WILLNEED. >> I

Re: High performance IO (sendfile(), caching, and libev(ent))

2012-12-20 Thread Otto Moerbeek
On Thu, Dec 20, 2012 at 03:53:44AM -0500, Jean-Philippe Ouellet wrote: > Hello, > > I'm trying to learn about writing high performance servers, and I have a > few questions not clearly answered by any documentation I can find. I'm > comfortable with select(), poll(), and kqueue(), but that only g

Re: High performance IO (sendfile(), caching, and libev(ent))

2012-12-20 Thread Otto Moerbeek
On Thu, Dec 20, 2012 at 04:06:52AM -0500, Jean-Philippe Ouellet wrote: > On 12/20/12 3:53 AM, Jean-Philippe Ouellet wrote: > > and madvise() them to not be swapped out? > > Oops, I think I might have misinterpreted the meaning of MADV_WILLNEED. > I think I meant mlock(). Why trying to be smarter

Re: High performance IO (sendfile(), caching, and libev(ent))

2012-12-20 Thread Jean-Philippe Ouellet
On 12/20/12 3:53 AM, Jean-Philippe Ouellet wrote: > and madvise() them to not be swapped out? Oops, I think I might have misinterpreted the meaning of MADV_WILLNEED. I think I meant mlock().

High performance IO (sendfile(), caching, and libev(ent))

2012-12-20 Thread Jean-Philippe Ouellet
Hello, I'm trying to learn about writing high performance servers, and I have a few questions not clearly answered by any documentation I can find. I'm comfortable with select(), poll(), and kqueue(), but that only goes so far. I'm currently looking into how to send static files (over a network) w