Re: Getting unswapped?

2014-05-26 Thread bodie
On 27.05.2014 08:10, Brett Lymn wrote: On Tue, May 27, 2014 at 08:04:54AM +0200, bodie wrote: Setting swappiness to 0 helps more, but then why is that parameter here at all? Why Linux is swapping most used pages even as there's plenty of free RAM and cache is total mystery. because it is d

Re: Getting unswapped?

2014-05-26 Thread Brett Lymn
On Tue, May 27, 2014 at 08:04:54AM +0200, bodie wrote: > > Setting swappiness to 0 helps more, but then why is that parameter here > at all? > Why Linux is swapping most used pages even as there's plenty of free > RAM and cache is > total mystery. > because it is doing exactly what you asked i

Re: Getting unswapped?

2014-05-26 Thread bodie
On 27.05.2014 07:33, Alan Corey wrote: Mostly so when I switch to a different application, maybe on a different page of the FVWM desktop, it isn't sitting there swapped out and it's responsive. I've usually got 20 or more applications open at once (most just RXVT windows) and reboot about once

Re: Getting unswapped?

2014-05-26 Thread Alan Corey
Mostly so when I switch to a different application, maybe on a different page of the FVWM desktop, it isn't sitting there swapped out and it's responsive. I've usually got 20 or more applications open at once (most just RXVT windows) and reboot about once a week. If I invest in RAM I expect it to

Re: Wrong Shutdown

2014-05-26 Thread Otto Moerbeek
On Tue, May 27, 2014 at 07:14:49AM +0200, Otto Moerbeek wrote: > On Mon, May 26, 2014 at 11:19:00PM +0200, frantisek holop wrote: > > > hmm, on Mon, May 26, 2014 at 04:46:04PM +0200, Otto Moerbeek said that > > > Yes it does, in most cases. But the most important is to use large > > > block and/o

Re: Run 'n' play missing home-based package manager for OpenBSD

2014-05-26 Thread bodie
On 27.05.2014 07:09, Giancarlo Razzolini wrote: Em 27-05-2014 01:22, bodie escreveu: Why do you think that it's good idea to allow users install 3rd party packages without need for root privileges? Users can compile and run whatever they want in their home directories, and any other directo

Re: Wrong Shutdown

2014-05-26 Thread Otto Moerbeek
On Mon, May 26, 2014 at 11:19:00PM +0200, frantisek holop wrote: > hmm, on Mon, May 26, 2014 at 04:46:04PM +0200, Otto Moerbeek said that > > Yes it does, in most cases. But the most important is to use large > > block and/or fragments sizes, if that is acceptable for your use (it > > wastes space

Re: Run 'n' play missing home-based package manager for OpenBSD

2014-05-26 Thread Giancarlo Razzolini
Em 27-05-2014 01:22, bodie escreveu: > > Why do you think that it's good idea to allow users install 3rd party > packages > without need for root privileges? Users can compile and run whatever they want in their home directories, and any other directory they can write to. There is no need for root

Re: Getting unswapped?

2014-05-26 Thread Philip Guenther
On Mon, May 26, 2014 at 9:49 PM, Philip Guenther wrote: > On Mon, May 26, 2014 at 9:36 PM, Alan Corey wrote: > >> Several hours ago I edited a few big images in The Gimp so there was >> some swapping. I still have about 60 megs swapped out even though >> I've got 600 megs of RAM free. I've seen

Re: Getting unswapped?

2014-05-26 Thread Philip Guenther
On Mon, May 26, 2014 at 9:36 PM, Alan Corey wrote: > Several hours ago I edited a few big images in The Gimp so there was > some swapping. I still have about 60 megs swapped out even though > I've got 600 megs of RAM free. I've seen this before, sometimes it'll > stay swapped out overnight until

Getting unswapped?

2014-05-26 Thread Alan Corey
Several hours ago I edited a few big images in The Gimp so there was some swapping. I still have about 60 megs swapped out even though I've got 600 megs of RAM free. I've seen this before, sometimes it'll stay swapped out overnight until I reboot to clear it. The Gimp was closed hours ago. Is the

Re: Get rid of /bsd: arp info overwritten for ?

2014-05-26 Thread bodie
On 26.05.2014 21:07, Giancarlo Razzolini wrote: Em 26-05-2014 04:30, bodie escreveu: On 22.05.2014 22:35, Mihai Popescu wrote: Will collect pcap here as well of whole process for interested devs in private replies. It should be interesting for other people too, especially for the ones read

Re: Chain loading from grub 0.97

2014-05-26 Thread bodie
On 26.05.2014 20:51, Benjamin Heath wrote: On May 26, 2014 11:50 AM, "Jérémie Courrèges-Anglas" wrote: Benjamin Heath writes: > Hello misc! > > I've had Openbsd 5.5 for a while as the sole system on my eeepc. I decided > to install grub and multi boot to either Linux or Freebsd. > > # p

Re: Run 'n' play missing home-based package manager for OpenBSD

2014-05-26 Thread bodie
On 26.05.2014 22:07, Antonio Feitosa wrote: Hi fellows, I have been written in Perl a "package manager" to run as user, with no root access called "Kornbrew". Actually it's just a installation by compiling, like ports (but with Homebrew concept). I tough: "So, I X running with no root, I could

Re: Calgary, this Tuesday

2014-05-26 Thread STeve Andre'
On 05/26/14 09:21, dera...@cvs.openbsd.org wrote: I'm sorry for the late public announcement... Tomorrow (Tuesday) Bob Beck will be hurtling down the Highway from Edmonton to Calgary. Then in the evening, he and I will present at the local calgary unix group meeting about recent changes in Libr

Re: Wrong Shutdown

2014-05-26 Thread Ted Unangst
On Mon, May 26, 2014 at 14:14, Philip Guenther wrote: > On Mon, May 26, 2014 at 6:56 AM, Salim Shaw wrote: > >> Enable "SoftUpdates." >> >> /dev/sd0a / ffs rw,softdep 1 1 > > > Since OpenBSD doesn't have background fsck for softupdates, nor does it > have softupdates journaling, how will that s

Re: Ignoring some warning

2014-05-26 Thread Stuart Henderson
On 2014-05-26, sven falempin wrote: > I get it, i also agree it must warn, but i like -Werror :( These are linker warnings. -Werror doesn't trigger on them.

Re: Wrong Shutdown

2014-05-26 Thread Stuart Henderson
On 2014-05-26, Theo de Raadt wrote: >> I have a machine with a HardDrive with a slice of 2.7TB, and I have no >> UPS.. when sometimes I have power failure, and consequently a wrong >> shutdown, The fsck spends much time to recover the filse system, what can I >> do? I need to be faster. > > Get a

Re: Wrong Shutdown

2014-05-26 Thread frantisek holop
hmm, on Mon, May 26, 2014 at 04:46:04PM +0200, Otto Moerbeek said that > Yes it does, in most cases. But the most important is to use large > block and/or fragments sizes, if that is acceptable for your use (it > wastes space if you have a lot of small files). i meant to ask now for some time, wha

Re: Wrong Shutdown

2014-05-26 Thread Philip Guenther
On Mon, May 26, 2014 at 6:56 AM, Salim Shaw wrote: > Enable "SoftUpdates." > > /dev/sd0a / ffs rw,softdep 1 1 Since OpenBSD doesn't have background fsck for softupdates, nor does it have softupdates journaling, how will that solve the original problem? Philip Guenther

Re: Wrong Shutdown

2014-05-26 Thread Salim Shaw
Enable "SoftUpdates." /dev/sd0a / ffs rw,softdep 1 1 On 05/26/2014 09:52 AM, Walter Souza wrote: > Why OpenBSD has no interest in using journal file system? > > > On Mon, May 26, 2014 at 10:48 AM, Theo de Raadt > wrote: > >>> I have a machine with a HardDrive with a slice of 2.7TB, and I ha

Re: cross compilation tool

2014-05-26 Thread sven falempin
On Mon, May 26, 2014 at 4:38 PM, Philip Guenther wrote: > On Mon, May 26, 2014 at 12:46 PM, sven falempin > wrote: > >> documentation about this are ... sparse >> > > Intentionally. As far as the project is concerned, cross-compiling is for > bringing up a new platform, and that's about it. > >

Re: Wrong Shutdown

2014-05-26 Thread Dennis Davis
On Mon, 26 May 2014, Theo de Raadt wrote: > From: Theo de Raadt > To: Walter Souza > Cc: misc@openbsd.org > Date: Mon, 26 May 2014 15:09:03 > Subject: Re: Wrong Shutdown ... > > And let's work in World Peace too.. :) > > Your makeup has a smudge, so you don't win. That's not makeup! That's t

Re: cross compilation tool

2014-05-26 Thread Philip Guenther
On Mon, May 26, 2014 at 12:46 PM, sven falempin wrote: > documentation about this are ... sparse > Intentionally. As far as the project is concerned, cross-compiling is for bringing up a new platform, and that's about it. > # GENERIC.MP#315 amd64 > TARGET_ARCH=i386 > TARGET_CPU=geode > TARGET

Run 'n' play missing home-based package manager for OpenBSD

2014-05-26 Thread Antonio Feitosa
Hi fellows, I have been written in Perl a "package manager" to run as user, with no root access called "Kornbrew". Actually it's just a installation by compiling, like ports (but with Homebrew concept). I tough: "So, I X running with no root, I could intall and run anything with the right package

cross compilation tool

2014-05-26 Thread sven falempin
Hello, documentation about this are ... sparse # GENERIC.MP#315 amd64 TARGET_ARCH=i386 TARGET_CPU=geode TARGET=i386 # vi ./Makefile.cross # make -f ./Makefile.cross cross-distrib host and target have different size longs But gcc is able to target 32bit cpu from 64bit , so why this restriction ?

Re: [Bulk] Re: slow qemu openbsd

2014-05-26 Thread Kevin Chadwick
previously on this list Robert contributed: > > What I may do to work VM QEMU faster??? > > Not much. > QEMU is faster on Linux, because they use KVM - which doesn't exist on > OpenBSD. > > http://marc.info/?l=openbsd-misc&m=133612666103598 > > kind regards, I'm switching my main workstati

Re: Get rid of /bsd: arp info overwritten for ?

2014-05-26 Thread Giancarlo Razzolini
Em 26-05-2014 04:30, bodie escreveu: > On 22.05.2014 22:35, Mihai Popescu wrote: >>> Will collect pcap here as well of whole process for interested devs in >>> private replies. >> >> It should be interesting for other people too, especially for the ones >> reading your long and confuse posts. >> >>

Re: WebDAV server for nginx?

2014-05-26 Thread Giancarlo Razzolini
Em 25-05-2014 21:23, Tyler Morgan escreveu: > On 5/25/2014 1:48 AM, raul o wrote: >> Hi buddies, can anyone tell me as I implement WebDAV with nginx? Thanks. > > Are you hitting any specific problems that may be OpenBSD-centric? As > long as nginx is compiled with --with-http_dav_module (which it i

Re: Chain loading from grub 0.97

2014-05-26 Thread Benjamin Heath
On May 26, 2014 11:50 AM, "Jérémie Courrèges-Anglas" wrote: > > Benjamin Heath writes: > > > Hello misc! > > > > I've had Openbsd 5.5 for a while as the sole system on my eeepc. I decided > > to install grub and multi boot to either Linux or Freebsd. > > > > # pkg_add grub > > # grub-install >

Re: Chain loading from grub 0.97

2014-05-26 Thread Jérémie Courrèges-Anglas
Benjamin Heath writes: > Hello misc! > > I've had Openbsd 5.5 for a while as the sole system on my eeepc. I decided > to install grub and multi boot to either Linux or Freebsd. > > # pkg_add grub > # grub-install > # reboot > > Oops. I didn't configure it. Oh well, I'm sure I can just use grub ma

Re: slow qemu openbsd

2014-05-26 Thread Abel Abraham Camarillo Ojeda
On Mon, May 26, 2014 at 10:16 AM, Швецов Михаил wrote: > Maybe I'm doing something wrong. Please help me. > > I install openbsd 5.5 i386 and qemu-1.7.0 from packages. > > qemu-img create -f qcow2 /vm/qcow2.img 10G > > qemu-system-i386 -name qcow2 -nodefaults -m 512 -hda /mnt/ qcow2.img > -cdrom /o

Chain loading from grub 0.97

2014-05-26 Thread Benjamin Heath
Hello misc! I've had Openbsd 5.5 for a while as the sole system on my eeepc. I decided to install grub and multi boot to either Linux or Freebsd. # pkg_add grub # grub-install # reboot Oops. I didn't configure it. Oh well, I'm sure I can just use grub manually to chainload Openbsd. First I make

Re: slow qemu openbsd

2014-05-26 Thread Robert
On Mon, 26 May 2014 19:16:12 +0400 Швецов Михаил wrote: > What I may do to work VM QEMU faster??? Not much. QEMU is faster on Linux, because they use KVM - which doesn't exist on OpenBSD. http://marc.info/?l=openbsd-misc&m=133612666103598 kind regards, Robert

slow qemu openbsd

2014-05-26 Thread Швецов Михаил
Maybe I'm doing something wrong. Please help me. I install openbsd 5.5 i386 and qemu-1.7.0 from packages. qemu-img create -f qcow2 /vm/qcow2.img 10G qemu-system-i386 -name qcow2 -nodefaults -m 512 -hda /mnt/ qcow2.img -cdrom /obraz/install55.iso -net nic -net tap,ifname=tun1,script=no,downscri

Re: Wrong Shutdown

2014-05-26 Thread Otto Moerbeek
On Mon, May 26, 2014 at 09:32:57AM -0500, Adam Thompson wrote: > On May 26, 2014 9:16:17 AM CDT, "Martin Schr??der" wrote: > >2014-05-26 15:52 GMT+02:00 Walter Souza : > >> Why OpenBSD has no interest in using journal file system? > > > >http://www.openbsd.org/faq/faq8.html#Journaling > > > >Plea

Re: Wrong Shutdown

2014-05-26 Thread Adam Thompson
On May 26, 2014 9:16:17 AM CDT, "Martin Schröder" wrote: >2014-05-26 15:52 GMT+02:00 Walter Souza : >> Why OpenBSD has no interest in using journal file system? > >http://www.openbsd.org/faq/faq8.html#Journaling > >Please read the FAQ. > >Best > Martin Arguably, Walter might be better served b

Re: Wrong Shutdown

2014-05-26 Thread Jan Stary
On May 26 10:46:30, wsouz...@gmail.com wrote: > I have a machine with a HardDrive with a slice of 2.7TB, Why exactly are you using such a huge partition? Do you need to? Can't you use smaller, more manageable partitions? > and I have no UPS.. when sometimes I have power failure, > and consequentl

Re: Wrong Shutdown

2014-05-26 Thread Walter Souza
On Mon, May 26, 2014 at 11:09 AM, Theo de Raadt wrote: > > So do you have interest? > > > > I have interest in help.. I love OpenBSD project and I want to use it in > > everything. > > There is a large gap between "how do I make fsck faster without buying > a UPS" and "I will help give you guys a

Re: Wrong Shutdown

2014-05-26 Thread Martin Schröder
2014-05-26 15:52 GMT+02:00 Walter Souza : > Why OpenBSD has no interest in using journal file system? http://www.openbsd.org/faq/faq8.html#Journaling Please read the FAQ. Best Martin

Re: Ignoring some warning

2014-05-26 Thread Theo de Raadt
> I get it, i also agree it must warn, but i like -Werror :( Sorry, this is a linker warning. And it is on by default, INTENTIONALLY. > So i got two options: > - So if there 's a lots of code i need to 2>&1 and grep . to extract all > those warnings, and then check with a list of analyzed> >

Re: Ignoring some warning

2014-05-26 Thread sven falempin
On Mon, May 26, 2014 at 9:47 AM, Theo de Raadt wrote: > > Some warning may be ignored, and imho should be because they may hide > other > > more important one: > > > > /usr/local/lib/libevent_core.a(evutil.o)(.text+0x5e1): In function > > `_evutil_weakrand': > > : warning: random() isn't random; c

Re: Wrong Shutdown

2014-05-26 Thread Theo de Raadt
> So do you have interest? > > I have interest in help.. I love OpenBSD project and I want to use it in > everything. There is a large gap between "how do I make fsck faster without buying a UPS" and "I will help give you guys a working journal filesystem". I don't know you, maybe I am misinterp

Re: Wrong Shutdown

2014-05-26 Thread Walter Souza
So do you have interest? I have interest in help.. I love OpenBSD project and I want to use it in everything. And let's work in World Peace too.. :) On Mon, May 26, 2014 at 10:58 AM, Theo de Raadt wrote: > > Why OpenBSD has no interest in using journal file system? > > Because we simply don't h

Re: Wrong Shutdown

2014-05-26 Thread Kenneth Westerback
On May 26, 2014 9:53 AM, "Walter Souza" wrote: > > Why OpenBSD has no interest in using journal file system? > OpenBSD has great interest in using journal filesystem. Nobody has sent us the diffs that would add one. Ken > > On Mon, May 26, 2014 at 10:48 AM, Theo de Raadt wrote: > > > > I h

Re: Wrong Shutdown

2014-05-26 Thread Gilles Chehade
On Mon, May 26, 2014 at 07:58:00AM -0600, Theo de Raadt wrote: > > [...] > > As far as I know, none of the developers are specifically working on > World Peace, either. > That was a work in progress, but it was aborted due to lack of general interest :-/ -- Gilles Chehade https://www.poolp.or

Re: Wrong Shutdown

2014-05-26 Thread Theo de Raadt
> Why OpenBSD has no interest in using journal file system? Because we simply don't have anyone working on it at the moment. What is so hard to understand about that? We are a group of volunteers! We work on what we want to, and as a group we don't try to overcommit our efforts into specific dir

Re: Wrong Shutdown

2014-05-26 Thread Walter Souza
Why OpenBSD has no interest in using journal file system? On Mon, May 26, 2014 at 10:48 AM, Theo de Raadt wrote: > > I have a machine with a HardDrive with a slice of 2.7TB, and I have no > > UPS.. when sometimes I have power failure, and consequently a wrong > > shutdown, The fsck spends much t

Re: Wrong Shutdown

2014-05-26 Thread Theo de Raadt
> I have a machine with a HardDrive with a slice of 2.7TB, and I have no > UPS.. when sometimes I have power failure, and consequently a wrong > shutdown, The fsck spends much time to recover the filse system, what can I > do? I need to be faster. Get a UPS. fsck is required to ensure the directo

Re: Ignoring some warning

2014-05-26 Thread Theo de Raadt
> Some warning may be ignored, and imho should be because they may hide other > more important one: > > /usr/local/lib/libevent_core.a(evutil.o)(.text+0x5e1): In function > `_evutil_weakrand': > : warning: random() isn't random; consider using arc4random() > > Is it possible to ignore this ? Yea

Wrong Shutdown

2014-05-26 Thread Walter Souza
Hello guys, I have a machine with a HardDrive with a slice of 2.7TB, and I have no UPS.. when sometimes I have power failure, and consequently a wrong shutdown, The fsck spends much time to recover the filse system, what can I do? I need to be faster. Thanks in advance. -- Walter Neto Analista

Ignoring some warning

2014-05-26 Thread sven falempin
Hello, Some warning may be ignored, and imho should be because they may hide other more important one: /usr/local/lib/libevent_core.a(evutil.o)(.text+0x5e1): In function `_evutil_weakrand': : warning: random() isn't random; consider using arc4random() Is it possible to ignore this ? same questio

Calgary, this Tuesday

2014-05-26 Thread deraadt
I'm sorry for the late public announcement... Tomorrow (Tuesday) Bob Beck will be hurtling down the Highway from Edmonton to Calgary. Then in the evening, he and I will present at the local calgary unix group meeting about recent changes in LibreSSL, OpenBSD, and how the OpenBSD Foundation fits i

Re: WebDAV server for nginx?

2014-05-26 Thread Stuart Henderson
On 2014-05-26, Tyler Morgan wrote: > On 5/25/2014 1:48 AM, raul o wrote: >> Hi buddies, can anyone tell me as I implement WebDAV with nginx? Thanks. > > Are you hitting any specific problems that may be OpenBSD-centric? As long as > nginx is compiled with --with-http_dav_module (which it isn't by

Re: Get rid of /bsd: arp info overwritten for ?

2014-05-26 Thread bodie
On 22.05.2014 22:35, Mihai Popescu wrote: Will collect pcap here as well of whole process for interested devs in private replies. It should be interesting for other people too, especially for the ones reading your long and confuse posts. Try to present here your setup (configuration files)