Re: 4.6 arriving

2009-10-07 Thread Rod Whitworth
On Wed, 07 Oct 2009 18:03:23 +1300, Richard Toohey wrote:

On 7/10/2009, at 12:09 AM, Victor Camacho wrote:

 CD Showed up in San Antonio Texas on Monday, Oct. 6.

 Thank you Theo and all the developers.

 I appreciate and am grateful for the hard work and pride you put  
 into OpenBSD.

 Thank You,
 Victor Camacho


And today in Tauranga, New Zealand.

Thanks to Theo and all the developers and everyone
behind this release.

Been using OpenBSD in production use for 2+ years
(firewalls, FTP, Samba file server), and on a number
of desktops during 2009 - been absolutely rock solid.

Thanks.

And today in Sydney, Australia. 2.5 to 4.6 now and determined to keep
adding releases.

Thanks,

*** NOTE *** Please DO NOT CC me. I am subscribed to the list.
Mail to the sender address that does not originate at the list server is 
tarpitted. The reply-to: address is provided for those who feel compelled to 
reply off list. Thankyou.

Rod/
---
This life is not the real thing.
It is not even in Beta.
If it was, then OpenBSD would already have a man page for it.



Re: automating 'fsck -y' after a power failure

2009-10-07 Thread Janne Johansson
Joachim Schipper wrote:
 make a dump of the partition before going to execute potentially data
 destroying actions?
 yes, this is sound advice of course.  but what are you going
 to do with the dump if say, fsck is not able to revive the fs?
 dump it back, run fsck again and answer no at a couple of
 fsck prompts?  how is it going to change anything in the end?
 
 Well, if fsck can't revive your partition, you can always try different
 tools. Something like fsdb may be able to recover part or all of your
 filesystem even in cases where fsck loses the plot.

Also, fsck may fail in the middle due to lack of memory, so moving the
dump to a bigger box to make it run through may be a good solution in
that case. Or old fsck fails where a -current fsck won't.



Re: Sendmail Locking Up System

2009-10-07 Thread Joachim Schipper
On Mon, Oct 05, 2009 at 05:25:15PM -0400, Chris wrote:
 Quoting Joachim Schipper joac...@joachimschipper.nl:
 On Mon, Oct 05, 2009 at 01:16:07PM -0400, Chris wrote:
 I just reinstalled 4.5.  I touched nothing [but] I installed mutt
 through pkg_add, then created a 1M empty file from /dev/null.
 
 I sent this email to myself thusly: mutt -a 1megfile m...@myaddress.com
 /dev/null
 
 (...) It spools, then I have about .5 - 1 second
 before then entire system locks up.
 
 (...) I am running this on a Xen virutal server (on Debian Lenny)...

 The OpenBSD stance on virtualization is pretty much don't (...)

 [But] it is possible.
 
 (...) OpenBSD can only run as a guest with hardware
 support (Intel VT/Vanderpool or AMD-V/Pacifica); so-called
 paravirtualization doesn't work. If you do not have the required
 hardware - and you can see whether or not you have it in the Xen logs -
 you could use qemu[, which is] known to work.
 
 I'm not sure if Xen uses the hardware support by default; you might want
 to look into that, too.
 
 [T]ry compiling /usr/src [to] test of a large number of subsystems.

 Well, it ran poorly under vmware... and it seemed to work great under
 Xen, until this showed up.  Everything else worked fine -- it is just
 the sendmail issue, and only with large emails.  I can move large
 files back and forth just fine via http and sftp.
 
 Yes, I do run it as an hvm, and I have an AMD/Pacifica compliant chip
 -- no issues there.  It is rock solid with this one exception.  I have
 another built as web server, and again, no issues.
 
 I'm not entirely sure what you meant by hardware support, when you
 say not sure if xen uses the hardware support by default.
 
 My biggest problem is that I cannot get it to create any error output
 anywhere, not in the xen logs, not in the qemu logs, not in
 /var/log/messages (on either dom0 or domu), not with sendmail running
 in the foreground and not in /var/log/maillog (on domu)... It just
 dies Very frustrating!
 
 I was following the stable branch, and I have actually compiled
 /usr/src -- twice now, it was about 18-20hrs of compiling but went
 without a hitch.  It is just this one issue that takes it down - 100%
 of the time.
 
 Maybe if you can clarify what you meant by hardware support, I can
 follow that lead... otherwise, I... I think I'm hosed...
 
 I appreciate the input.  Thanks.

Hardware support, indeed, means something like Pacifica. So apparently
that isn't the issue.

It's rather disappointing that you don't see any log output at all; that
makes it rather hard to debug the issue. Still, it's very surprising
that sendmail and only sendmail causes this crash; sendmail isn't *that*
special.

Just to clarify: have you tried running httpd or sshd on the guest
system? httpd, in particular, does the same take things from disk and
stuff them onto the network as sendmail. (I fail to see why running the
server end on the Xen guest instead of host would make a difference,
but...)

I hope someone with more knowledge weighs in; I must admit that I don't
know what could be wrong. Maybe a Xen list could be of more assistance?

Joachim



VirtualBox2.2+OpenBSD4.4 (fail)

2009-10-07 Thread Ishwor Gurung
Hi guys,
(Pardon since lot of people use *BSD and Linux together but if rude,
I'll take it off-list)
Ok. It installs fine.
However, I keep getting segfaults on simple programs (such as xorgconfig).
(I don't have exact text/dmesg to dump right now but I can produce it
if required)

Is it that VirtualBox isn't emulating x86 hardware properly? Or, is it
a bug in obsd? (I am thinking the former). Any Ideas/suggestion are
entertained (Trying in VMware right now)

Thanks.
-- 
Regards,
Ishwor Gurung



Re: VirtualBox2.2+OpenBSD4.4 (fail)

2009-10-07 Thread Peter Kay - Syllopsium

Hi guys,
(Pardon since lot of people use *BSD and Linux together but if rude,
I'll take it off-list)
Ok. It installs fine.
However, I keep getting segfaults on simple programs (such as xorgconfig).
(I don't have exact text/dmesg to dump right now but I can produce it
if required)

Is it that VirtualBox isn't emulating x86 hardware properly? Or, is it
a bug in obsd? (I am thinking the former). Any Ideas/suggestion are
entertained (Trying in VMware right now)
It's VirtualBox - looks like it's still crap. VMWare works fine, so does 
qemu.


PK 



Re: VirtualBox2.2+OpenBSD4.4 (fail)

2009-10-07 Thread Joel Dinel
 Is it that VirtualBox isn't emulating x86 hardware properly? Or, is it
 a bug in obsd? (I am thinking the former). Any Ideas/suggestion are
 entertained (Trying in VMware right now)

First, get VirtualBox 3.0.8. Your version is ancient.

Run it on a machine that has either Intel VT-x or AMD-V. Make a new vm
host and make sure the VT-X or AMD-V option is enable for that host.
OpenBSD should run fine afterwards.

OR, get VMWare server. It's free, and doesn't emulate a poor CPU like
VirtualBox does.

http://www.virtualbox.org/ticket/639



Re: VirtualBox2.2+OpenBSD4.4 (fail)

2009-10-07 Thread Ishwor Gurung
Folks,
Hi. Thanks for replying.

 First, get VirtualBox 3.0.8. Your version is ancient.
Yep I figured after posting. I will do that when I have some time(but
not for some time now[see below]).

 Run it on a machine that has either Intel VT-x or AMD-V. Make a new vm
 host and make sure the VT-X or AMD-V option is enable for that host.
 OpenBSD should run fine afterwards.
Yep. Did that on VirtualBox2.2 already still didn't like it. This
rig's cpu has VT-x.

 OR, get VMWare server. It's free, and doesn't emulate a poor CPU like
 VirtualBox does.
Did this actually. Obsd4.4 is running great. Recommend it to folks for
sure. Nothing but praise.
(I used VMware server on Linux ages ago, the damn UI has moved to web!
now now talking about web2.0.. ;-))
-- 
Regards,
Ishwor Gurung



Re: VirtualBox2.2+OpenBSD4.4 (fail)

2009-10-07 Thread Ishwor Gurung
[...]

 rig's cpu has VT-x.
s/has/supports
-- 
Regards,
Ishwor Gurung



Using all mod_perl in chrooted Apache, what needs to be inside?

2009-10-07 Thread Chris Bennett
After seeing Jason Dixon's suggestion to use mod_perl to solve chroot 
problem, I am going to setup a test server on my laptop while traveling.
With no mod_cgi scripts at all, what, if anything would I need to move 
inside chroot?


I'm going on trip today, so I will read any replies tomorrow at earliest.

Thanks,
Chris Bennett

--
A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give orders, cooperate, act alone, solve equations, analyze a new
problem, pitch manure, program a computer, cook a tasty meal, fight
efficiently, die gallantly. Specialization is for insects.
  -- Robert Heinlein



Re: VirtualBox2.2+OpenBSD4.4 (fail)

2009-10-07 Thread L. V. Lammert
On Wed, 7 Oct 2009, Peter Kay - Syllopsium wrote:

 It's VirtualBox - looks like it's still crap. VMWare works fine, so does
 qemu.

As does VirtualBox with proper hardware support (AMD64 Socket AM2), ..
though we do not use X on VMx.

Lee



Re: Using all mod_perl in chrooted Apache, what needs to be inside?

2009-10-07 Thread Dan Brosemer
On Wed, Oct 07, 2009 at 07:59:42AM -0500, Chris Bennett wrote:
 After seeing Jason Dixon's suggestion to use mod_perl to solve chroot 
 problem, I am going to setup a test server on my laptop while traveling.
 With no mod_cgi scripts at all, what, if anything would I need to move 
 inside chroot?
 
 I'm going on trip today, so I will read any replies tomorrow at earliest.

Depends what you're doing.  I believe if you're just using core Perl, you
don't need to bring anything else in.  I have a big mod_perl app that runs
in chroot and accesses PostgreSQL and uses a number of CPAN modules:

I have libc, libz, libm, libpq, libcom_err, libssl, libcrypto, libjpeg,
libpng, libiconv, and libgd libraries copied in.  I also just bring in all
my Perl libraries with local NFS mounts:

  /etc/exports 
/usr/local/libdata/perl5 -ro 127.0.0.1
/usr/libdata/perl5 -ro 127.0.0.1

  /etc/fstab 
127.0.0.1:/usr/local/libdata/perl5 /var/www/usr/local/libdata/perl5 nfs ro 0 0
127.0.0.1:/usr/libdata/perl5 /var/www/usr/libdata/perl5 nfs ro 0 0

I suggest you list out what your dependencies are for your app and run
ldd(1) on the binaries and libraries you identify.  That'll tell you what
you need.

-Dan

-- 
Burnished gallows set with red
 Caress the fevered, empty mind
 Of man who hangs bloodied and blind
 To reach for wisdom, not for bread.  -- Deoridhe Grimsdaughter



Re: VirtualBox2.2+OpenBSD4.4 (fail)

2009-10-07 Thread Christiano Farina Haesbaert
2009/10/7 Ishwor Gurung ishwor.gur...@gmail.com:
 Hi guys,
 (Pardon since lot of people use *BSD and Linux together but if rude,
 I'll take it off-list)
 Ok. It installs fine.
 However, I keep getting segfaults on simple programs (such as xorgconfig).
 (I don't have exact text/dmesg to dump right now but I can produce it
 if required)

This is an ancient bug in virtualbox, check their bug track I believe
it is fixed.


 Is it that VirtualBox isn't emulating x86 hardware properly? Or, is it
 a bug in obsd? (I am thinking the former). Any Ideas/suggestion are
 entertained (Trying in VMware right now)

 Thanks.
 --
 Regards,
 Ishwor Gurung



Re: Using all mod_perl in chrooted Apache, what needs to be inside?

2009-10-07 Thread Jason Dixon
On Wed, Oct 07, 2009 at 07:59:42AM -0500, Chris Bennett wrote:
 After seeing Jason Dixon's suggestion to use mod_perl to solve chroot  
 problem, I am going to setup a test server on my laptop while traveling.
 With no mod_cgi scripts at all, what, if anything would I need to move  
 inside chroot?

In most cases, nothing.  But I left my mind-reading beanie at home, so
there's a reasonable chance you might try to do something I hadn't
foreseen.  In that case, you might need to put something in the chroot.

Definitive enough for you?  ;)

-- 
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net/



Re: VirtualBox2.2+OpenBSD4.4 (fail)

2009-10-07 Thread Peter Kay - Syllopsium

From: L. V. Lammert l...@omnitec.net
On Wed, 7 Oct 2009, Peter Kay - Syllopsium wrote:


It's VirtualBox - looks like it's still crap. VMWare works fine, so does
qemu.


As does VirtualBox with proper hardware support (AMD64 Socket AM2), ..
though we do not use X on VMx.
Are you seriously saying VirtualBox is a viable option by specifying one 
hardware

platform? I don't see why AMD64 really helps, or AM2 for that matter - some
AMD platforms have iommu but that shouldn't be relevant either.

Qemu runs OpenBSD without VT. So does VMWare server (although that will
transparently switch it on, at least on VMWare server x64)

OpenBSD wasn't the only OS VirtualBox had problems with last time I tried, 
either.

VMWare, Qemu and VirtualPC all worked flawlessly.

VT may help, but the VMM should run without it.

PK 



Re: Using all mod_perl in chrooted Apache, what needs to be inside?

2009-10-07 Thread Jason Dixon
On Wed, Oct 07, 2009 at 10:28:19AM -0400, Jason Dixon wrote:
 On Wed, Oct 07, 2009 at 07:59:42AM -0500, Chris Bennett wrote:
  After seeing Jason Dixon's suggestion to use mod_perl to solve chroot  
  problem, I am going to setup a test server on my laptop while traveling.
  With no mod_cgi scripts at all, what, if anything would I need to move  
  inside chroot?
 
 In most cases, nothing.  But I left my mind-reading beanie at home, so
 there's a reasonable chance you might try to do something I hadn't
 foreseen.  In that case, you might need to put something in the chroot.

Let me clarify my answer a bit.

There are times, which I experienced recently with Blogsum, that CPAN
modules you use() will import other modules within a certain scope (i.e.
within a function).  In those cases you might have to ktrace httpd to
figure out what it's trying to include so that you can add it to your
startup.pl.  LWP::UserAgent was a major PITA here.

I worked around this by not using the module that depended on LWP and
rewriting the functionality (Captcha) in my own code and using
p5-HTTP-Lite.  It was a little more work but it made the application
much cleaner and easier to port.  This is just meant as an example,
YMMV.  None of this affected what I had to copy into the chroot
(nothing).

Obviously, any non-module files that you open() will need to be in the
chroot.

-- 
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net/



Re: VirtualBox2.2+OpenBSD4.4 (fail)

2009-10-07 Thread Theo de Raadt
 Is it that VirtualBox isn't emulating x86 hardware properly? Or, is it
 a bug in obsd? (I am thinking the former). Any Ideas/suggestion are
 entertained (Trying in VMware right now)

Yes, Virtualbox is not emulating a PC correctly.



Re: VirtualBox2.2+OpenBSD4.4 (fail)

2009-10-07 Thread L. V. Lammert

At 03:27 PM 10/7/2009 +0100, Peter Kay - Syllopsium wrote:

From: L. V. Lammert l...@omnitec.net
On Wed, 7 Oct 2009, Peter Kay - Syllopsium wrote:


It's VirtualBox - looks like it's still crap. VMWare works fine, so does
qemu.

As does VirtualBox with proper hardware support (AMD64 Socket AM2), ..
though we do not use X on VMx.
Are you seriously saying VirtualBox is a viable option by specifying one 
hardware

platform? I don't see why AMD64 really helps, or AM2 for that matter - some
AMD platforms have iommu but that shouldn't be relevant either.


No, I am reinforcing two complementary points:

1) Hardware support is required to run OBSD on VirtualBox, and it runs on 
AMD64AM2;

2) Virtualbox can be used as a host for OBSD with AMD64AM2.

Sorry, thought that would have been obvious. Nothing more, nothing less.

Lee



Re: Using all mod_perl in chrooted Apache, what needs to be inside?

2009-10-07 Thread Alexander Hall
Chris Bennett wrote:
 After seeing Jason Dixon's suggestion to use mod_perl to solve chroot
 problem, I am going to setup a test server on my laptop while traveling.
 With no mod_cgi scripts at all, what, if anything would I need to move
 inside chroot?

Any dynamically loaded stuff that failed to load prior to the chroot'ing
and forking. Normally I try to preload stuff using statements like

BEGIN {
my $nevermind = PackageName::doWhatIWantToDoLater();
}

to be executed prior to chrooting and forking. However it can be hard to
pinpoint and trigger all variants, e.g. if you are using an imaging
library, make sure you preload the parsers for all input file formats
you will use, etc. etc.

I do not know of a way to bypass the wonderful dynamic loading stuff.
I would love to though.

/Alexander

 
 I'm going on trip today, so I will read any replies tomorrow at earliest.
 
 Thanks,
 Chris Bennett



Re: VirtualBox2.2+OpenBSD4.4 (fail)

2009-10-07 Thread Ross Cameron
On Wed, Oct 7, 2009 at 4:57 PM, L. V. Lammert l...@omnitec.net wrote:

 At 03:27 PM 10/7/2009 +0100, Peter Kay - Syllopsium wrote:

 From: L. V. Lammert l...@omnitec.net
 On Wed, 7 Oct 2009, Peter Kay - Syllopsium wrote:

  It's VirtualBox - looks like it's still crap. VMWare works fine, so does
 qemu.

 As does VirtualBox with proper hardware support (AMD64 Socket AM2), ..
 though we do not use X on VMx.

 Are you seriously saying VirtualBox is a viable option by specifying one
 hardware
 platform? I don't see why AMD64 really helps, or AM2 for that matter -
 some
 AMD platforms have iommu but that shouldn't be relevant either.


 No, I am reinforcing two complementary points:

 1) Hardware support is required to run OBSD on VirtualBox, and it runs on
 AMD64AM2;
 2) Virtualbox can be used as a host for OBSD with AMD64AM2.

 Sorry, thought that would have been obvious. Nothing more, nothing less.

Lee


I am using VirtualBox 3.0.8 on OS X and the following OSs run better than
they do in VMware Server on an identical laptop running RHEL.

FreeBSD 6.2-7.2
OpenBSD 4.3-4.5
RHEL 4-5.4
Windows 2003 and XP

-- 
Opportunity is most often missed by people because it is dressed in
overalls and looks like work.
   Thomas Alva Edison
   Inventor of 1093 patents, including:
   The light bulb, phonogram and motion pictures.



CD Distribution

2009-10-07 Thread Theo de Raadt
Please be nice to the other distributors shipping OpenBSD CD's.  Not
all of them have the CDs yet to distribute.  Be patient.



Re: vsftpd

2009-10-07 Thread Han Boetes
Alfredo Perez wrote:
 Sorry to continue with this simple simple thing but

 I added the following line to rc.conf
^^^

 /usr/local/sbin/vsftpd

 and then reboot. After that I check if vsftpd is running #ps aux | grep ftp
 and I don't see it.

 Can you point out what I am doing wrong?

Yes, you misread me.

 On Tue, Oct 06, 2009 at 09:28:27PM +0200, Han Boetes wrote:
  Alfredo Perez wrote:
   Is there a way to start vsftpd at boot time?
 
  Sure, add an entry for it in /etc/rc.local
 ^

And please use bottom quoting since it makes email messsages
logical and easy to follow up unto.



# Han



Re: Using all mod_perl in chrooted Apache, what needs to be inside?

2009-10-07 Thread Jason Dixon
On Wed, Oct 07, 2009 at 04:51:28PM +0200, Alexander Hall wrote:
 Chris Bennett wrote:
  After seeing Jason Dixon's suggestion to use mod_perl to solve chroot
  problem, I am going to setup a test server on my laptop while traveling.
  With no mod_cgi scripts at all, what, if anything would I need to move
  inside chroot?
 
 Any dynamically loaded stuff that failed to load prior to the chroot'ing
 and forking. Normally I try to preload stuff using statements like
 
 BEGIN {
 my $nevermind = PackageName::doWhatIWantToDoLater();
 }
 
 to be executed prior to chrooting and forking. However it can be hard to
 pinpoint and trigger all variants, e.g. if you are using an imaging
 library, make sure you preload the parsers for all input file formats
 you will use, etc. etc.
 
 I do not know of a way to bypass the wonderful dynamic loading stuff.
 I would love to though.

ktrace.  Welcome to hell.  ;)

-- 
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net/



Re: Sendmail Locking Up System

2009-10-07 Thread Philip Guenther
On Mon, Oct 5, 2009 at 10:16 AM, Chris cjd...@brokensolstice.com wrote:
 I just reinstalled 4.5.  I touched nothing on the system.  I installed
 mutt through pkg_add, then created a 1M empty file from /dev/null.

 I sent this email to myself thusly: mutt -a 1megfile m...@myaddress.com
 /dev/null

 Same exact behavior.  It spools, then I have about .5 - 1 second
 before then entire system locks up.

Random guess: sendmail is one of the few standard programs that makes
heavy use of fsync().  Perhaps there's something on the deal with
stuff being forced to 'disk' paths of the xen emulation that confuses
the kernel.  If so, the turning off sendmail's SuperSafe option in the
sendmail.cf should make things more stable.  That would be *JUST* a
debugging measure, as doing that on a production server, particularly
one which is unstable, is a recipe for losing email.

The other question is whether you've tried breaking into ddb from the
console when this happens.  Make sure you have ddb.console=1 in your
/etc/sysctl.conf and read the ddb(4) manpage.  (If xen doesn't offer
console access then throw it out.)


Philip Guenther



Re: Sendmail Locking Up System

2009-10-07 Thread Anil Madhavapeddy

On 7 Oct 2009, at 17:25, Philip Guenther wrote:

On Mon, Oct 5, 2009 at 10:16 AM, Chris cjd...@brokensolstice.com  
wrote:
I just reinstalled 4.5.  I touched nothing on the system.  I  
installed

mutt through pkg_add, then created a 1M empty file from /dev/null.

I sent this email to myself thusly: mutt -a 1megfile m...@myaddress.com
/dev/null

Same exact behavior.  It spools, then I have about .5 - 1 second
before then entire system locks up.


Random guess: sendmail is one of the few standard programs that makes
heavy use of fsync().  Perhaps there's something on the deal with
stuff being forced to 'disk' paths of the xen emulation that confuses
the kernel.  If so, the turning off sendmail's SuperSafe option in the
sendmail.cf should make things more stable.  That would be *JUST* a
debugging measure, as doing that on a production server, particularly
one which is unstable, is a recipe for losing email.


OpenBSD doesn't have PV-on-HVM drivers yet (this is the hybrid mode  
which lets guests run in HVM mode but use high-performance I/O).  This  
means that you would going via the much slower qemu-dm emulated  
devices.  What backing store are you using for the disks?  Can you dd  
a large file from /dev/random into a file and not have it lockup? What  
version of Xen is it?


Overall, I wouldn't really recommend running a mail server under a  
pure emulated virtualised environment (Xen, KVM, VMWare, they all are  
at the moment for OpenBSD) since the emulation path is usually slow  
but also mainly only used to boot the guest before switching to high- 
performance PV drivers.



The other question is whether you've tried breaking into ddb from the
console when this happens.  Make sure you have ddb.console=1 in your
/etc/sysctl.conf and read the ddb(4) manpage.  (If xen doesn't offer
console access then throw it out.)


Of course you can access the guest console.

-anil



Re: azalia0 at pci0 dev 20 function 2 ATI SBx00 HD Audio rev 0x00: can't map device i/o space

2009-10-07 Thread Mark Kettenis
 mem address conflict 0xd0608000/0x4000

Your BIOS is a bit crappy; no surprises there!

 0:20:2: ATI SBx00 HD Audio
   0x: Vendor ID: 1002 Product ID: 4383
   0x0004: Command: 0006 Status ID: 0410
   0x0008: Class: 04 Subclass: 03 Interface: 00 Revision: 00
   0x000c: BIST: 00 Header Type: 00 Latency Timer: 40 Cache Line Size: 10
   0x0010: BAR mem 64bit addr: 0x000a

And OpenBSD's code to fix this up made a bad choice.  This is fixed in
-current; see arch/i386/pci/pci_machdep.c rev. 1.50.



aoe(4)

2009-10-07 Thread Daniel Barowy

Hey guys,

  The 4.5 changelog references aoe(4), but aoe man pages don't appear to 
exist.  If have net/if_aoe.h on my 4.5 system but nothing else.  Looking 
through CVS, it appears that this hasn't been touched in awhile.  Do any 
developers have plans to pick this up again?


  We're currently stuck on StorNext and are looking for something with 
better driver support (and also, possibly, cheaper) and AoE looked 
interesting.  If we end up putting together an AoE setup, we'd be happy to 
be guinea pigs.


Thanks,
Dan



Re: NUT UPS monitor APC Back UPS CS-350 (nut-2.2.2p1)

2009-10-07 Thread Fred Crowson
On 10/6/09, Zbigniew li...@ispid.com.pl wrote:
 Hallo,

 Following the tips found at https://calomel.org/nut_ups.html I was trying to
 make NUT operate APC Back UPS CS-350. The device introduces itself as:

 #v+
   ugen0 at uhub0 port 1 American Power Conversion Back-UPS CS 350
 FW:807.q7.I
   USB FW:q7 rev 1.10/0.06 addr 2
 #v-


 My config:

 #v+
 [apc]
 driver = usbhid-ups
 port = /dev/ugen0.00
 pollfreq = 60
 desc = Back UPS CS-350
 #v-

Your port looks incorrect for OpenBSD.

It should look like:  /dev/ttyU0

see: tty(4) for more info

Fred



Re: 4.6 arriving

2009-10-07 Thread Nick Berg
With all the hot air spewed on this thread, if we could tap into this
theothermal energy there'd be practically unlimited funding available.
 Then everyone could take a break from the trivial work of updating an
entire bloody operating system and tackle the real hard-core
near-impossible challenge of automating FTP servers.

Now if you'll excuse me while I go back to living in the filth of telnet...



Re: NUT UPS monitor APC Back UPS CS-350 (nut-2.2.2p1)

2009-10-07 Thread Brynet
Fred Crowson wrote:
 Your port looks incorrect for OpenBSD.

 It should look like:  /dev/ttyU0

 see: tty(4) for more info

 Fred

Hi Fred,

His device does not attach as a ucom(4), it instead is attaching as a
ugen(4) device.. software can use the libusb port to access devices
that do not have a kernel driver.

Also, if this program supports serial UPS devices.. and if it happened
to attach as a ucom(4) device.. the proper device node would be
/dev/cuaU0 not /dev/ttyU0.

See tty(4) and ucom(4) for more info.

Note; he's moved on to something else..
http://marc.info/?l=openbsd-miscm=125484508731563w=2

-Brynet



Re: aoe(4)

2009-10-07 Thread Marco Peereboom

I'll pick this up again once life calms down a little.

On Oct 7, 2009, at 13:52, Daniel Barowy m...@barowy.net wrote:


Hey guys,

 The 4.5 changelog references aoe(4), but aoe man pages don't appear  
to exist.  If have net/if_aoe.h on my 4.5 system but nothing else.   
Looking through CVS, it appears that this hasn't been touched in  
awhile.  Do any developers have plans to pick this up again?


 We're currently stuck on StorNext and are looking for something  
with better driver support (and also, possibly, cheaper) and AoE  
looked interesting.  If we end up putting together an AoE setup,  
we'd be happy to be guinea pigs.


Thanks,
Dan




Re: 4.6 arriving

2009-10-07 Thread Andres Genovez
I prearrange my order today!

Hope to have Puffy on next days @ southamerica -  Ecuador


Thanks all!



--
Atentamente

Andris Genovez Tobar / Sistemas
www.crice.org



image editor

2009-10-07 Thread Frank Bax

I'm looking for basic image editor: crop, resize, lossless jpg rotation.

Something minimalistic would be nice, so GIMP is out.



Re: image editor

2009-10-07 Thread Nick Guenther
On Wed, Oct 7, 2009 at 5:38 PM, Frank Bax f...@sympatico.ca wrote:
 I'm looking for basic image editor: crop, resize, lossless jpg rotation.

 Something minimalistic would be nice, so GIMP is out.

This will force KDE libs on your system, but KolourPaint is actually
really really good. I'm not sure what package it's in, if it is in
one, but you can always build from source.



Re: image editor

2009-10-07 Thread Todd Alan Smith
On Wed, Oct 7, 2009 at 5:38 PM, Frank Bax f...@sympatico.ca wrote:
 I'm looking for basic image editor: crop, resize, lossless jpg rotation.

 Something minimalistic would be nice, so GIMP is out.

I like ImageMagick for such tasks. Command line fits your minimalistic
requirement. It's in Packages.



PF simple rdr help?

2009-10-07 Thread Andres Salazar
Hello guys,

I have the following rules .. iam trying to put the IP of the PF box
into the browser and have it get the page thats on 208.99.249.95.

When I do that the connection just hangs and doesnt give me any content.

cat /etc/pf.conf
## Macros
## TABLES
## GLOBAL OPTIONS
## TRAFFIC NORMALIZATION
## QUEUEING RULES
## TRANSLATION RULES (NAT)
rdr pass on re0 proto tcp from any to any port 80 - 208.99.249.95
## FILTER RULES
pass in log all keep state
pass out log all keep state

# cat /etc/sysctl.conf
 net.inet.ip.forwarding=1# 1=Permit forwarding (routing) of IPv4 packets
 net.inet.ip.mforwarding=1   # 1=Permit forwarding (routing) of
IPv4 multicast packets


pflog says:


Oct 08 00:44:27.605603 rule 0/(match) rdr in on re0: my.ip.here.50755
 208.99.249.95.80: S 6447955:6447955(0) win 5840 mss
1460,sackOK,timestamp 8290643[|tcp] (DF)
Oct 08 00:44:27.605612 rule 1/(match) pass out on re0:
my.ip.here.50755  208.99.249.95.80: S 6447955:6447955(0) win 5840
mss 1460,sackOK,timestamp 8290643[|tcp] (DF)

Thanks for the help.

Andres



Re: image editor

2009-10-07 Thread Paul M

As far as I'm aware, you wont get lossless jpeg rotation.

There does appear to be an orientation tag of some sort in the jpeg
header, so rewriting that could cause a jpeg to be displayed with a
different orientation. I'm not aware of any software that will do
this however.

All editors that I've seen will re-encode a jpeg whenever any change
is made. Whenever that happens, you'll lose information.
(Actually, lossless jpeg encoding is possible but I've never seen a
publicly available app or library that impliments it.)


paulm



On 8/10/2009, at 10:38 AM, Frank Bax wrote:

I'm looking for basic image editor: crop, resize, lossless jpg 
rotation.


Something minimalistic would be nice, so GIMP is out.




Re: image editor

2009-10-07 Thread Paul M

I should have checked first - Google tells me there are quite a few
lossless jpeg rotators. A quick ckeck showed qite a few hits for
windows apps, 'lossless jpeg open source' turned up lots of hits too,
perhaps there's something there ...

sorry for the noise.


paulm


On 8/10/2009, at 10:38 AM, Frank Bax wrote:

I'm looking for basic image editor: crop, resize, lossless jpg 
rotation.


Something minimalistic would be nice, so GIMP is out.




Re: image editor

2009-10-07 Thread Martin Schröder
2009/10/8 Paul M l...@no-tek.com:
 As far as I'm aware, you wont get lossless jpeg rotation.

NACK, http://sylvana.net/jpegcrop/jpegtran/

Best
   Martin



Re: PF simple rdr help?

2009-10-07 Thread Dorian Büttner
On Thursday 08 October 2009 00:47:09 Andres Salazar wrote:
 Hello guys,
 
 I have the following rules .. iam trying to put the IP of the PF box
 into the browser and have it get the page thats on 208.99.249.95.
 
 When I do that the connection just hangs and doesnt give me any content.
 
 cat /etc/pf.conf
 ## Macros
 ## TABLES
 ## GLOBAL OPTIONS
 ## TRAFFIC NORMALIZATION
 ## QUEUEING RULES
 ## TRANSLATION RULES (NAT)
 rdr pass on re0 proto tcp from any to any port 80 - 208.99.249.95
 ## FILTER RULES
 pass in log all keep state
 pass out log all keep state
 
 # cat /etc/sysctl.conf
  net.inet.ip.forwarding=1# 1=Permit forwarding (routing) of IPv4
  packets net.inet.ip.mforwarding=1   # 1=Permit forwarding (routing) of
  IPv4 multicast packets
 
 
 pflog says:
 
 
 Oct 08 00:44:27.605603 rule 0/(match) rdr in on re0: my.ip.here.50755
 
  208.99.249.95.80: S 6447955:6447955(0) win 5840 mss
 
 1460,sackOK,timestamp 8290643[|tcp] (DF)
 Oct 08 00:44:27.605612 rule 1/(match) pass out on re0:
 my.ip.here.50755  208.99.249.95.80: S 6447955:6447955(0) win 5840
 mss 1460,sackOK,timestamp 8290643[|tcp] (DF)
 
 Thanks for the help.
 
 Andres
 
Probably what you want might be something like this in pf.conf
match in on $int_if proto tcp from any to ($ext_if) port www rdr-to 127.0.0.1 
port 5000
and in inetd.conf:
127.0.0.1:5000  stream  tcp nowait  nobody  /usr/bin/nc nc -w 20 
my.internal.gateway.ip.here 80

I believe this was somewhere in the pf faq, not exactly sure, you should start 
inetd of course.

If I'm right you wanna see what's your home hosted httpd doing on the outside 
interface using your dyndns fqdn from internal network or similar. Actually 
there's changes in pf so you might want to specify your version.

Regards,
Dorian



HP Mini 110-1020NR

2009-10-07 Thread Brad Tilley
I purchased one of these to replace an old first-gen Asus eeePC. It
was inexpensive and had a very nice keyboard (feels full-sized) and a
sharp display. Nice touchpad and buttons too. Works fine with
-current. I use USB 802.11 devices when I need to be online. It's
extremely fast compared to the old Asus. I was surprised to see how
many bios settings had been removed. I could disable crap like the
built-in camera in the eeePC, but not this one. There's only like 3 or
4 settings in the entire bios. Here is the dmesg:

http://16systems.com/hp/hp-mini-110-1020NR.txt



Dear friend!

2009-10-07 Thread Michael Steinfeld
Hi,
I bought a TV last week from a website:www.hkeles.com.  I have
received the product. The quality is very good. They also sell
phones,motor,psp and so on. Because of the financial crisis, their
products are very cheap. by the way, they only sell new and original
products .If you need these products, you can have a look . I think
you will get many benefits.
Greetings!



Re: PF simple rdr help?

2009-10-07 Thread Andres Salazar
Dorian,

Thank you. I take it for granted that match is for 4.6 . Thats fine.

What is the difference passing it onto netcat, then doing it directly?

Aside from this I also need to redirect a range of ports (1500-2000)..
and I think the issue would get more difficult if i do it with this
method..

--Andres

On Wed, Oct 7, 2009 at 6:38 PM, Dorian B|ttner dorian.buett...@gmx.de
wrote:
 Probably what you want might be something like this in pf.conf
 match in on $int_if proto tcp from any to ($ext_if) port www rdr-to
127.0.0.1
 port 5000
 and in inetd.conf:
 127.0.0.1:5000  stream  tcp nowait  nobody  /usr/bin/nc nc -w 20
 my.internal.gateway.ip.here 80

 I believe this was somewhere in the pf faq, not exactly sure, you should
start
 inetd of course.

 If I'm right you wanna see what's your home hosted httpd doing on the
outside
 interface using your dyndns fqdn from internal network or similar. Actually
 there's changes in pf so you might want to specify your version.

 Regards,
 Dorian



Re: image editor

2009-10-07 Thread Vadim Zhukov
On 8 October 2009 c. 02:48:32 Paul M wrote:
 As far as I'm aware, you wont get lossless jpeg rotation.

 There does appear to be an orientation tag of some sort in the jpeg
 header, so rewriting that could cause a jpeg to be displayed with a
 different orientation. I'm not aware of any software that will do
 this however.

 All editors that I've seen will re-encode a jpeg whenever any change
 is made. Whenever that happens, you'll lose information.
 (Actually, lossless jpeg encoding is possible but I've never seen a
 publicly available app or library that impliments it.)


 paulm

AFAIK, Gwenview/digiKam/other ones using kipi plugins can. But better
check it by yourself.

--
  Best wishes,
Vadim Zhukov

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?