Re: Light HTTP servers.

2008-08-22 Thread Frank Denis
Le Fri, Aug 22, 2008 at 11:29:42AM +0200, Toni Mueller ecrivait :
 My experience from running some low-traffic sites with both nginx and
 lighttpd is that nginx is by far easier to handle, more robust, and
 also more flexible in its configuration, and I hope to get rid of
 lighttpd asap (eg. my bugs would linger for months, or longer). The
 only point where lighttpd imho shines, sort of, is easier launching
 of internal FastCGI servers.

  With low-traffic sites, there's not much difference between lighty and
nginx, both are quite stable and they can serve a lot of static content
without any CPU hit, even on a Soekris box.

  When it comes to the configuration, you can achieve the same results with
both, but indeed nginx configuration files are usually cleaner.

  The lighty development status is a bit messy (see the lighty blog), while
nginx development is clear and very active.

  Sure, lighty can start fastcgi servers, but on sites with medium traffic,
php-fpm blows lighty's fastcgi servers. Switching from lighty (1.5) to
nginx + php-fpm with GOTO for the Zend VM reduced the average time to serve
pages of a busy vbulletin board down to a factor of 4. I never went back to
lighty since.

  By the way, is anyone working on adding php-fpm to the php port? The patch
requires some tweaks in order to properly merge and compile, but it's really
worth it especially with nginx.

  


 
 Do you have any problems running nginx as a reverse proxy for Zope? We
 do it, and it gives us less trouble than the built-in Apache, I must
 say (even ignoring the system load).
 
 
 Kind regards,
 --Toni++
 

-- 
Frank Denis - j [at] pureftpd.org - http://00f.net - http://www.cotery.com



Re: Logitech diNovo Edge Keyboard with OpenBSD 4.3

2008-08-02 Thread Frank Denis
Le Sat, Aug 02, 2008 at 02:17:08AM -0700, Chris ecrivait :
 I want to buy this keyboard and like to know if anyone uses it with
 OpenBSD 4.3 [http://tinyurl.com/5szfz6] [ebay.com].
 
 From little what I understand, it uses USB technology and the
 connection from the USB to the keyboard is wireless and uses
 bluetooth. I wonder if this would actually work with OpenBSD.

  Hello Chris,
  
  It comes with a Blutooth USB dongle. Once plugged, the dongle just looks
like a regular USB keyboard.

  I use that keyboard (and also previous DiNovo versions) on OpenBSD without
any trouble.

  Even the volume thing works with KDE.
  
  However, I highly recommend you buy a regular mouse. The built-in trackpad
is ok if you don't need precision, but the lack of wheel is really
frustrating. There's a pseudo-wheel emulation when you touch the sides of
the pad, but it's very unreliable.

  This is not a cheap keyboard but you won't regret it.

  Best regards,
  
-Frank.

--
Frank Denis - j [at] pureftpd.org - http://00f.net - http://www.cotery.com



bad tcp cksum and odd delay to close a connection on OpenBSD?

2008-07-25 Thread Frank Denis
  Hello,
  
  Well, I didn't have enough sleep lately, so probably this is an obvious
and expected result.

  But connecting to a closed TCP port (that replies with RST) from OpenBSD
doesn't immediately return.

  Extremely trivial demo (assuming nothing listens on 4242):
  
$ nc 127.0.0.1 4242

  It waits a while before throwing Connection refused. Same thing for a
remote host:

$ nc openbsd.org 4242

  The same command with any another OS immediately returns ECONNREFUSED.

  PF isn't enabled. The behavior is the same with -current, OpenBSD 4.1 and
OpenBSD 3.9, so this is not new.

  Is it intentional? What is the point?

  Another thing, with -current :
  
$ sudo tcpdump -nvi vge0 dst host 199.185.137.3 
$ nc 199.185.137.3 4242
tcpdump: listening on vge0, link-type EN10MB
01:24:53.473955 88.191.38.240.48850  199.185.137.3.4242: SWE [bad tcp cksum
d965!] 1361218769:1361218769(0) win 16384 mss
1460,nop,nop,sackOK,nop,wscale 0,nop,nop,timestamp 138557634 0 (DF) (ttl
64, id 18485, len 64, bad cksum 14!)
01:24:59.462216 88.191.38.240.48850  199.185.137.3.4242: S [bad tcp cksum
8d66!] 1361218769:1361218769(0) win 16384 mss
1460,nop,nop,sackOK,nop,wscale 0,nop,nop,timestamp 138557646 0 (DF) (ttl
64, id 52715, len 64, bad cksum 14!)
  
  This is with a vge NIC on OpenBSD/i386. I tried on completely different
hardware, on OpenBSD/amd64 with a re NIC and also got those bad checksums
everytime.

  
  
-- 
Frank Denis - j [at] pureftpd.org - http://00f.net - http://www.cotery.com



Re: bad tcp cksum and odd delay to close a connection on OpenBSD?

2008-07-25 Thread Frank Denis
Le Fri, Jul 25, 2008 at 05:54:28PM -0600, Daniel Melameth ecrivait :
 Can't reproduce on a 4.2 -stable box with fxp NICs:

  Hello Daniel,

  Try to with net.inet.tcp.ecn=1



Re: ftpd follow symlinks

2007-11-03 Thread Frank Denis
Le Fri, Nov 02, 2007 at 11:50:39PM -0700, Clint Pachl ecrivait :
 Lord Sporkton wrote:
 ahh, yes, they are, i have it chrooting to the user home, however the
 symlink in the user home is linked to something in /mnt

 hadnt thought of that, any way around that then?

 Yeah, don't chroot or bring the linked stuff into the chroot.

  Or use net/pure-ftpd with the virtual_chroot flavor.
  
  It will follow links outside the chroot.
  
--
Frank Denis - j [at] pureftpd.org - NSI / Young Nails / CND nail tech
http://forum.manucure.info - http://www.manucure-pro.com - http://00f.net



System time 100% on Vmware Fusion

2007-10-24 Thread Frank Denis
  Hello,
  
  On Vmware Fusion (tested with Fusion 1.1 on a Core2duo imac), OpenBSD
(-current) is very slow on anything that is not just a pure computation task.

  While compiling something, or while running MySQL, PgSQL, Apache or
Sendmail, top always shows that the CPU spends 99% or 100% of its time in
the system state.

  This is of course with the vic(4) and mpi(4) drivers. But this is always
the case anyway, even without any disk or network I/O.

  Does anyone know what might be wrong?

  Best regards,
  
 -Frank.



Re: pagedaemon: deadlock detected

2007-08-02 Thread Frank Denis

Le Thu, Aug 02, 2007 at 12:55:44PM -0400, Jean Raby ecrivait :

I had several similar cases with an Apple macmini (i386),  also
running a couple of rtorrent instances.
Needless to say, there is no serial console on this box...
so i didn't see the pagedaemon: deadlock detected msg, but the
symptoms were quite similar: ping works, all tcp services seems to
complete connection but no data is transmitted, i could plug an usb
keyboard, it attached correctly, but couldn't type anything.


 This is something that still happens on my Net4801 with -current, even
with that patch applied.



Networking issue: two routers with the same IP

2007-04-30 Thread Frank Denis

 Hello,
 
 I currently have a remote server with a trivial network setup:
 
[Server 10.0.0.1]-[NAT router 10.0.0.30 - external IP 1]-ADSL


 A second ADSL line and router have just been added. Unfortunately I have no
control over the routers. Both routers come with the same IP address, it's
why I have to setup something like this:
 
   10.0.0.1|-[NAT router 10.0.0.30 - external IP 1]-ADSL 1

[Server |
   10.0.0.2|-[NAT router 10.0.0.30 - external IP 2]-ADSL 2

 Eacher router has a dedicated network interface on the server. I don't need
bandwidth aggregation nor load balancing, but the server should be able to
receive packets from external IP 1 and external IP 2.

 Is such a setup possible with OpenBSD? How would you do it?
 
 Thanks in advance for your help,
 
  -Frank.




Re: strange output on openbsd C code

2007-03-19 Thread Frank Denis

Le Mon, Mar 19, 2007 at 07:12:24PM -0300, Gustavo Rios ecrivait :

I am writing a very simple program but the output change for the c
variable value change every time i run it.
int
main(int argc, char **argv)
{
   unsigned long long  x, c;
   unsigned*p;
   p = (void *)x;
   fprintf(stdout, 0,1:%u,%u\n, p[0], p[1]);


 p is the address of x. That address is not supposed to be anything fixed.


--
Frank Denis - j [at] pureftpd.org - My geeky blog: http://00f.net



Re: OpenBSD 4.1 Pre-Orders...

2007-03-12 Thread Frank Denis

Le Mon, Mar 12, 2007 at 03:22:39PM -0700, Allie D. ecrivait :

Oh hell yea I did.right when it came out on undeadly I ordered 


 Wonderful artwork for a wonderful OS as usual. Can't wait for the shirts.

--
Frank Denis - j [at] pureftpd.org - My geeky blog: http://00f.net



Re: Flash Player 9 on OpenBSD

2007-01-17 Thread Frank Denis

Le Wed, Jan 17, 2007 at 03:36:07PM -0500, Matthew Szudzik ecrivait :

Adobe released Flash Player 9 for Linux today.  (I know, it's not
open-source, but it's sometimes hard to navigate the web without it.)

http://www.adobe.com/aboutadobe/pressroom/pressreleases/200701/011707FlashPlayerLinux.html


 Well, I see two ways of having flash work with native apps:

- linuxpluginwrapper: this is an horrible hack for DragonflyBSD and FreeBSD.
It's an userland linux to openbsd functions wrapper. Scary, but it works. It
easily compiles on OpenBSD but don't expect it to run without much tweaking.

- GenRes, a generic scriptable plugin. It's designed to use external
programs for EMBED and OBJECT tags , like OpenOffice documents, mplayer, etc.
Is there a standalone Flash 9 player for Linux, or is it easy to build one
around the plugin? If this is the case, we could get Flash 9 run as an
external Linux app, and GenRes would be the bridge to Firefox / Seamonkey /
Konqueror.

 Best regards,

--
Frank Denis - frank [at] nailbox.fr - NSI / Young Nails / Akzentz nail tech
Authorized Akzentz dealer - http://www.nailbox.fr
http://forum.manucure.info - http://www.manucure-pro.com



Re: Flash Player 9 on OpenBSD

2007-01-17 Thread Frank Denis

Le Wed, Jan 17, 2007 at 05:14:33PM -0800, Marco S Hyman ecrivait :

Frank Denis writes:
   Well, I see two ways of having flash work with native apps:

And these methods work on my hppa box?  Or my Sparc64 box?  Or on
any non-i386/amd64 box?


 The second method could work through qemu :)



Re: rthreads

2006-09-22 Thread Frank Denis

 Hello Sam,

Le Fri, Sep 22, 2006 at 10:15:20AM -0400, Sam Chill ecrivait :

My $0.02. I don't know the offical status of the project, but I have
been running a kernel with rthreads enabled in it for quite a while on
a development box and not run into any issues.


 Did you actually test threaded apps?
 
 At least neither MySQL nor KDE properly work, probably because of signal

handling issues.

--
Frank Denis - frank [at] nailbox.fr - Young Nails / Akzentz nail tech
Authorized Akzentz dealer - http://www.nailbox.fr
http://forum.manucure.info - http://www.manucure-pro.com



Re: OpenOffice.org 2.0 works on OpenBSD

2006-06-07 Thread Frank Denis

Le Wed, Jun 07, 2006 at 12:09:04PM +0530, Siju George ecrivait :

Thankyou so much Frank for your reply.
Will the same steps work for an amd64 OpenbSD 3.9 ?


 Unfortunately not, only on i386.
 
--

Frank Denis - frank [at] nailbox.fr - Young Nails / Akzentz nail tech
http://forum.manucure.info - http://www.manucure-pro.com



Re: OpenOffice.org 2.0 works on OpenBSD

2006-06-06 Thread Frank Denis

 Hello,

Le Tue, Jun 06, 2006 at 08:51:28PM +0200, Nikolaus Hiebaum ecrivait :

In October of last year, Frank reported that he succeeded in installing 
OpenOffice 2.0 on
OpenBSD


 Openoffice.org still works fine under OpenBSD.
 I don't have any host with X11 right now, but the basic steps to install
it were :

- pkg_add redhat_base
- get the Openoffice.org RPM
- /emul/linux/bin/rpm --ignoreos --ignorearch -ivh *.rpm
- /opt/openoffice.org2.2/program/soffice

 If java is installed and in your path, you may want to rename it before
the first run of Openoffice or odd things can happen.

--
Frank Denis - frank [at] nailbox.fr - Young Nails / Akzentz nail tech
http://forum.manucure.info - http://www.manucure-pro.com



Re: LZMA and the Install Sets?

2006-04-18 Thread Frank Denis

Le Mon, Apr 17, 2006 at 11:55:34PM -0400, Nick Holland ecrivait :

~/comptest $ time lzma e comp39d.tar comp39d.tar.lz
7m5.59s real 6m54.79s user 0m0.59s system
(maximum RAM used: around 80M, I think)

Comments:
rzip and lzma turned in some good numbers (REALLY good numbers),


 The lzma package is useless.
 
 Although the algorithm is also LZMA, every time I tried, p7zip was better.

2x faster and always with greater compression (both at max compression level).

448032  comp39.tar
155904  comp39.tgz
42912   comp39.tar.lzma
34272   comp39.tar.7z

 lzma : 403.22s user 0.45s system 87% cpu 7:43.96 total
 7za  : 211.07s user 2.48s system 89% cpu 3:58.25 total
 
 http://p7zip.sourceforge.net/
 
 Sure, LZMA compression needs memory, though.


--
Frank Denis - frank [at] nailbox.fr
Young Nails / Akzentz nail tech



Re: Apache speed limitation

2006-04-07 Thread Frank Denis

Le Fri, Apr 07, 2006 at 02:03:41PM +0300, edgarz ecrivait :
At the moment i have huge loaded Apache web server, download bw is 
~3MB/s. And almost all sites now is very slow. Is here any built in 
speed limitation functions? If no what should i use?


 lighttpd.



Re: Site indexing application

2006-03-22 Thread Frank Denis

Le Tue, Mar 21, 2006 at 02:18:10PM +0200, Gabriel George POPA ecrivait :

Frank Denis wrote:


Yes, very interesting. But I was looking for a very secure, highly 
proven solution, prepackaged for OpenBSD with Apache chrooted.


 Well, Hyper Estraier is far from being a beta project. It's an evolution
of Estraier, itself based upon Snatcher, whoose work began 6 years ago. The
code is very clean, it works and it's fast.

 The code of Mnogosearch (and DPsearch since it's based upon it) is messy and
designed in a totally insecure and unreliable way. I had a hard time last
year with it in order to add various hacks to have it work with our blog web
site (skyblog.com). There were many ways to get it die with segmentation
faults. And the indexer wasn't always able to resume its activity after a
crash. Plus Mnogosearch doesn't scale as well as advertised.
 OTOH, Hyper Estraier scales really well.
 
 It just needs an OpenBSD port.


--
Frank Denis - frank [at] nailbox.fr
Young Nails / Akzentz nail tech



Re: Site indexing application

2006-03-21 Thread Frank Denis

Le Tue, Mar 21, 2006 at 02:03:27PM +0200, Gabriel George POPA ecrivait :

  I must install a search facility for my site.


 Have a look at Hyper Estraier : http://hyperestraier.sourceforge.net/
 
 It works amazingly well.


--
Frank Denis - frank [at] nailbox.fr
Young Nails / Akzentz nail tech
http://www.manucure.info



VMWare is b0rked?

2005-11-15 Thread Frank Denis (Jedi/Sector One)

 Hello,
 
 Is anyone still able to run ports/vmware/3 on OpenBSD 3.8 or -current?
 
 Even with a valid license, the configuration wizard crashes with

Unexpected output - VMware SLAVE PANIC: (UI) NOT_IMPLEMENTED F(638):637

 VMWare modules were properly loaded.
 
 Any idea?


--
Frank - my stupid blog: http://00f.net
L'annuaire des professionnels de la manucure et de la pedicure :
http://www.manucure-pro.com



Re: VMWare is b0rked?

2005-11-15 Thread Frank Denis \(Jedi/Sector One\)

On Tue, Nov 15, 2005 at 03:49:52PM +0059, Frank Denis (Jedi/Sector One) wrote:

 Even with a valid license, the configuration wizard crashes with
Unexpected output - VMware SLAVE PANIC: (UI) NOT_IMPLEMENTED F(638):637


 It works with a manual configuration, though.



Re: Mac Mini as Firewall

2005-11-01 Thread Frank Denis \(Jedi/Sector One\)

On Tue, Nov 01, 2005 at 11:32:32AM +0100, Antoine Jacoutot wrote:
You may want to have a look at the hard drive which is slow and might be 
a bottleneck...


 The Mac Mini hard drive can easily be replaced by a 7200 RPM drive. Mine
is running with a Hitachi 7K100 drive and it is way faster than the original
drive.

 And replacing the hard drive does *not* void the warranty.
 
 Best regards,


--
Frank - my stupid blog: http://00f.net
L'annuaire des professionnels de la manucure et de la pedicure :
http://www.manucure-pro.com



Re: powernow

2005-10-28 Thread Frank Denis \(Jedi/Sector One\)

On Fri, Oct 28, 2005 at 12:16:10AM -0700, Ted Unangst wrote:

thanks all.  there's some newer code in cvs now..


 It still hangs for me when changing hw.setperf

--
Frank - my stupid blog: http://00f.net
L'annuaire des professionnels de la manucure et de la pedicure :
http://www.manucure-pro.com



Re: powernow

2005-10-27 Thread Frank Denis \(Jedi/Sector One\)

On Wed, Oct 26, 2005 at 11:16:31PM -0700, Ted Unangst wrote:

there is a diff from gordon klok in the snapshots that should improve
support for k7 and k8 family powernow (cool and quiet).  i'd like to
know where/if it works, what messages get printed, and if hw.setperf
does anything useful.  md5 -t with setperf=0 and 100 would be nice.


 Changing hw.setperf totally freezes the system. Hardware is a Biostar
iDEQ 220K (VIA VT8237, AMD64 3400).

dmesg follows :

OpenBSD 3.8-current (GENERIC) #210: Tue Oct 25 23:07:20 MDT 2005
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(tm) 64 Processor 3400+ (AuthenticAMD 686-class, 512KB L2 
cache) 2.40 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2
cpu0: AMD Powernow: TS FID VID TTP
cpu0: AMD Cool`n'Quiet K8: 0 available states
real mem  = 535273472 (522728K)
avail mem = 481550336 (470264K)
using 4278 buffers containing 26865664 bytes (26236K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(c5) BIOS, date 07/27/05, BIOS32 rev. 0 @ 0xf9fa0
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0xc834
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfc790/160 (8 entries)
pcibios0: PCI Exclusive IRQs: 3 5 10 12
pcibios0: PCI Interrupt Router at 000:17:0 (VIA VT82C596A ISA rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0x1 0xd/0x1000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 VIA K8M800 Host rev 0x00
pchb1 at pci0 dev 0 function 1 VIA K8M800 Host rev 0x00
pchb2 at pci0 dev 0 function 2 VIA K8M800 Host rev 0x00
pchb3 at pci0 dev 0 function 3 VIA K8M400 Host rev 0x00
pchb4 at pci0 dev 0 function 4 VIA K8M800 Host rev 0x00
pchb5 at pci0 dev 0 function 7 VIA K8M800 Host rev 0x00
ppb0 at pci0 dev 1 function 0 VIA K8HTB AGP rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Radeon VE QY rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
wi0 at pci0 dev 8 function 0 Intersil PRISM2.5 rev 0x01: irq 5
wi0: PRISM2.5 ISL3874A(Mini-PCI) (0x8013), Firmware 1.1.1 (primary), 1.7.4 
(station), address 00:09:5b:41:d8:19
VIA VT6306 FireWire rev 0x80 at pci0 dev 11 function 0 not configured
rl0 at pci0 dev 13 function 0 Realtek 8139 rev 0x10: irq 12, address 
00:e0:4c:da:e1:ab
rlphy0 at rl0 phy 0: RTL internal phy
pciide0 at pci0 dev 15 function 0 VIA VT6420 SATA rev 0x80: DMA
pciide0: using irq 10 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: HDS722525VLSA80
wd0: 16-sector PIO, LBA48, 238475MB, 488397168 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
pciide1 at pci0 dev 15 function 1 VIA VT82C571 IDE rev 0x06: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
wd1 at pciide1 channel 0 drive 0: IBM-DJNA-371800
wd1: 16-sector PIO, LBA, 17206MB, 35239680 sectors
wd2 at pciide1 channel 0 drive 1: IBM-DTLA-307045
wd2: 16-sector PIO, LBA, 43979MB, 90069840 sectors
wd1(pciide1:0:0): using PIO mode 4, DMA mode 2
wd2(pciide1:0:1): using PIO mode 4, DMA mode 2
atapiscsi0 at pciide1 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: TOSHIBA, DVD-ROM SD-M1612, 1004 SCSI0 5/cdrom 
removable
cd0(pciide1:1:0): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 16 function 0 VIA VT83C572 USB rev 0x81: irq 5
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 16 function 1 VIA VT83C572 USB rev 0x81: irq 5
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 16 function 2 VIA VT83C572 USB rev 0x81: irq 10
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 16 function 3 VIA VT83C572 USB rev 0x81: irq 10
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 16 function 4 VIA VT6202 USB rev 0x86: irq 3
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: VIA EHCI root hub, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
pcib0 at pci0 dev 17 function 0 VIA VT8237 ISA rev 0x00
auvia0 at pci0 dev 17 function 5 VIA VT8233 AC97 rev 0x60: irq 3
ac97: codec id 0x414c4760 (Avance Logic ALC655)
audio0 at auvia0
pchb6 at pci0 dev 24 function 0 AMD AMD64 HyperTransport rev 0x00
pchb7 at pci0 dev 24 function 1 AMD AMD64 Address Map rev 0x00
pchb8 at pci0 dev 24 function 2 AMD AMD64 DRAM Cfg rev 0x00
pchb9 at pci0 dev 24 function 3 AMD AMD64 Misc Cfg rev 0x00
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: 

OpenOffice.org 2.0 works on OpenBSD

2005-10-20 Thread Frank Denis \(Jedi/Sector One\)

 Hello,
 
 Just a little note to tell that the just-released OpenOffice.org 2.0

perfectly works on OpenBSD with the Linux emulation (tested with
OpenBSD-current).

 Basic instructions:
http://www.00f.net/php/show-article.php/openoffice_on_openbsd

 Best regards,

--
Frank - my stupid blog: http://00f.net
L'annuaire des professionnels de la manucure et de la pedicure :
http://www.manucure-pro.com



Re: Happy Birthday OpenBSD ! 10 years !

2005-10-14 Thread Frank Denis \(Jedi/Sector One\)

On Fri, Oct 14, 2005 at 08:39:15AM -0600, Theo de Raadt wrote:

Oct 14  OpenBSD born, Saturday 16:36 MST, 1995


Sorry, but so many of you are uninformed.

date: 1995/10/18 08:37:01;  author: deraadt;  state: Exp;

That is when the repository was created.  That is the official
date.  I don't know where people get the other date from.


 This is the calendar.openbsd entry for Oct 14.



Re: uvm_mapent_alloc: out of static map entries, check MAX_KMAPENT

2005-10-08 Thread Frank Denis \(Jedi/Sector One\)

On Fri, Oct 07, 2005 at 12:29:17PM -0400, Brad wrote:


Now instead of your system panicing, the kernel will try to allocate more
memory for additional map entries. The kernel will print ouf the usual
uvm_mapent_alloc: out of static map entries but not panic.


 Indeed, I upgraded a system that used to panic() without raising
MAX_KMAPENT and now if only prints the message without panic()ing.


Also, looking at the vmstat display of systat you will see that kmapent
has been added to the bottom right corner, this will show you the number of
map entries currently in use by the kernel.


 Unfortunately, that number is hidden in a 80x24 terminal.
 
 That host currently has 1583 kmap entries.


--
Frank - my stupid blog: http://00f.net
L'annuaire des professionnels de la manucure et de la pedicure :
http://www.manucure-pro.com



Re: nfs mounting

2005-10-08 Thread Frank Denis \(Jedi/Sector One\)

On Sat, Oct 08, 2005 at 05:27:59PM -0400, Chuck Robey wrote:
I have just ogtten usb networking up on my Zaurus, and now I'm tryingto 
get /usr/local, /usr/ports, and /usr/src remotely mounted from my nearby 
FreeBSD system.  I can get the mount done, but I can't affect any files 
... for example, if I tryi to touch (as root on the Zaurus) 
/usr/local/garbage, I get Permission denied.


 When you access a file as root, the access is made as the nobody user
by default. See the -mapproot= option in export(5).  


--
Frank - my stupid blog: http://00f.net
L'annuaire des professionnels de la manucure et de la pedicure :
http://www.manucure-pro.com



Re: cpuburn: operation not permitted

2005-08-07 Thread Frank Denis \(Jedi/Sector One\)

On Sun, Aug 07, 2005 at 12:49:02PM -0500, Matt Garman wrote:

I'd like to load the CPU as much as possible, while at the same time
monitoring temperatures, so that I can make sure my computer doesn't
overheat. 


 Try running blogbench - http://blogbench.pureftpd.org/ - it brings hardware
to its knees and it can help to discover overheating.



Re: Choices for Soekris disk drives

2005-07-15 Thread Frank Denis \(Jedi/Sector One\)

On Fri, Jul 15, 2005 at 07:55:59PM +0530, Mayuresh Kathe wrote:

*AVOID* 2.5 IDE Laptop drives.
I've had pretty bad experience with them,
1. They heat up a lot
2. Are slow
3. Fail quite often (this could be due to the heat)
   (face problems with Toshiba and IBM)


 I have the opposite experience. My Net4801 is running 24/7 for one year with
a Momentus drive (5400 RPMs) and it is neither slow nor hot.

 Hitachi also produces drives that are designed to run 24/7 (Eudurastar,
now obsoleted by E7K60 and E7K100 drives). My Mac Mini is running with a
7K100 (80 Gb, 7200 RPM, 8 Mb cache) drive and it is as fast as any 3,5
drive. It seems to heat up more than the Momentus since the fan often wakes
up, but it works reliably.



Re: Mini-PC recommendation?

2005-07-06 Thread Frank Denis \(Jedi/Sector One\)
On Sun, Jul 03, 2005 at 02:28:00PM -0500, Matthew Weigel wrote:
 Take a look at the BioStar iDeq 220K, which uses K8M800 and VT8237... 
 looks like on-board SATA, LAN*, and sound are supported, but useable
 graphics might be missing.

  I'm going to buy one.
  
  Support for the Via Unichrome chipset seems to be missing in OpenBSD Xorg
server, but it is in the Xorg CVS tree.



Re: Flash Plugin for Firefox

2005-07-06 Thread Frank Denis \(Jedi/Sector One\)
On Tue, Jul 05, 2005 at 05:44:01PM -0800, JR Dalrymple wrote:
 I think if you used Opera for 5 days you'd find it better in EVERY WAY
 POSSIBLE than Firefox... My 2 cents. I find page loads to be much faster,
 and nav is 10x faster with gestures and keyboard shortcuts.

  Except that there is nothing like AdBlock, DOM Inspector, CSS editor and
Developer Toolbar for Opera.

  swfdec is exciting, unfortunately it just never works with real-life Flash
files.



Re: sleep patterns...

2005-07-05 Thread Frank Denis \(Jedi/Sector One\)
On Tue, Jul 05, 2005 at 02:22:13PM +0100, Stuart Henderson wrote:
 Dragonfly have 'rm -I' (ask for confirmation if deleting 3 files or 
 -r) which works very well. Used routinely (e.g. in an alias in login 
 shells), I think it gives better protection than 'rm -i' since the 
 prompt is rare enough you don't train yourself to confirm automatically.

  You can apply the following old patch to do it in OpenBSD.
  
  http://42-networks.com/obsd_patches/rm_I.patch



Re: Mini-PC recommendation?

2005-07-03 Thread Frank Denis \(Jedi/Sector One\)
On Sun, Jul 03, 2005 at 12:57:04PM +0200, [EMAIL PROTECTED] wrote:
 This heavily depends on what you use it for.  We make good experiences with
 Geode based systems (like the Soekris 4801) as they are low power devices 
 for router/firewall applications.

  I also have a Net4801 that performs perfectly as a firewall and home server.
  
  But I was more looking for a workstation, preferably based supporting socket
AMD64. But in this area, every vendor seems to use nothing but Nforce or
Radeon chipsets.



Mini-PC recommendation?

2005-07-02 Thread Frank Denis \(Jedi/Sector One\)
  What experiences do people have with OpenBSD and a mini-PC like Biostar's
or Soltek's?

  Most interesting ones seems to based upon Nvidia chipsets, but unfortunately
they don't seem to be supported by OpenBSD.



Re: human-time limit.

2005-06-27 Thread Frank Denis \(Jedi/Sector One\)
On Sun, Jun 26, 2005 at 05:55:25PM +, David Pluoe wrote:
 Are you gonna add anytime soon a resource limit for human-time, so it would 
 be easier to keep dead locks and any other same kind of type processes in 
 control?
 httpd would really benefit from it when providing service for many newbie 
 users out there.

  http://www.42-networks.com/obsd_patches/rlimit_time.patch



How to set up a read-only CVS server?

2005-06-22 Thread Frank Denis \(Jedi/Sector One\)
  Hello,
  
  I'd like to offer a public OpenBSD CVS mirror, but I have no experience
with setting up CVS servers, especially public ones.

  My question may sound obvious: how to set up a read-only CVS server, using
the reference CVS or OpenCVS?
  
  I found various tutorials and scripts, but they all describe the insecure
pserver way. I tried to have different uids for the files and for the
anoncvs account, but the CVS server chokes when it comes to creating lock
files. The only working way I found was a systrace policy (just in case it
would be useful to anyone, you can find it here:
ftp://ftp.00f.net/misc/systrace/usr_bin_cvs). But there must be a most
obvious way to do it. How are you doing it, guys?

  TIA,
  
 -Frank.



Re: Gigabit Firewall NIC Interrupt Performance Problem

2005-05-30 Thread Frank Denis \(Jedi/Sector One\)
On Mon, May 30, 2005 at 11:37:16AM -0400, Jamie Yukes wrote:
 I have a Dell Poweredge 1750 with basically OpenBSD 3.6 (3.5-current Aug 2004)
 It has the dual onboard Gigabit links, using the Broadcom BCM5704C chipset.
 I can't seem to handle more than 120Mbps of VoIP traffic on this link.
 The system reports 96% time in Interrupts.

  Try to run bsd.mp even if you only have one processor. IOAPIC helps a lot.



Re: mounting ext3fs via ext2fs

2005-05-30 Thread Frank Denis \(Jedi/Sector One\)
On Mon, May 30, 2005 at 03:25:02PM +, Thorsten Glaser wrote:
 ports/sysutils/e2fsprogs

  Sure, but to be fair, if he cares about his data, it's probably a bad idea
to try a 3-years old version of e2fsprogs on a platform that the software
was almost never tested on and that refused to mount the filesystem for a
(yet) undetermined reason.



Re: mounting ext3fs via ext2fs

2005-05-29 Thread Frank Denis \(Jedi/Sector One\)
On Sun, May 29, 2005 at 11:00:34PM +0200, Rogier Krieger wrote:
 Feel free to correct me if I'm wrong, but as far as I know, ext3fs is
 not supported.

  ext3 is mostly ext2 with an extra inode to handle the journal.
  You can usually mount the partition as ext3 or ext2 without any special
tweak.

  However on some distributions (at least Fedora it seems), directory
hashing (htree) is enabled by default when partitions are formatted as
ext3. And *BSD don't support htree yet. So maybe this is your showstopper.

  While running Linux, try
tune2fs -O ^dir_index /dev/your volume
  in order to remove htree on the partition.

-- 
Frank - my stupid blog: http://00f.net



Re: Burn Testing

2005-05-24 Thread Frank Denis \(Jedi/Sector One\)
On Tue, May 24, 2005 at 04:00:20PM +0100, Gaby vanhegan wrote:
 I have acquired some second-hand dual processor servers with the 
 intention of putting OpenBSD with on them.  I have put Debian on one of 
 them and FreeBSD on another, and am pounding them as hard as I can with 
 setiathome to see if they fall over.
 Is there a similar burn-testing app that I can run on OpenBSD to test 
 the stability of the machines over a 12 day period?

  Try blogbench:
  
  http://blogbench.pureftpd.org/
  
  It stresses a lot your hardware and your OS, and if often triggers kernel
panics if something is wrong.



Re: Missing stdint.h

2005-05-23 Thread Frank Denis
On Sun, May 22, 2005 at 11:31:40PM -0500, Emilio Perea wrote:
 The names c9x and iso9899:199x are deprecated.

  *whine*



Re: Dell HW?

2005-05-19 Thread Frank Denis \(Jedi/Sector One\)
On Thu, May 19, 2005 at 02:10:06PM -0500, L. V. Lammert wrote:
 We have been requested to use Dell HW for some new systems. Any recommended 
 models (RM) for:
 
 1) Gateway/firewall?
 2) SAN?

  It really depends on your exact needs (how many NICs, how many disks, etc).
  
  Almost every Dell seems to work fine with OpenBSD, but definitely avoid
CERC controllers, especially the SATA ones. Go with PERC 4 that are way more
reliable.

  The company I'm working for is almost exclusively buying Dell 1850
nowadays. They work flawlessly with Linux, DragonFlyBSD and OpenBSD even in
64-bit mode.

  And unless you absolutely need Dell, also have a look at Transtec
hardware, which is almost half the price of Dell's for the same features and
the same support.

  http://www.transtec.de/D/E/index.html
  
  We use their Opteron systems (1001L for web servers and processing and
2500L for databases and file servers) with no issue so far. For a SAN, their
2500L are really nice, as you can put up to 10 disks there, without the need
for any external enclosure.

  Best regards,

-- 
Frank - my stupid blog: http://00f.net



Re: Nine months girl begin learning OpenBSD!

2005-05-17 Thread Frank Denis \(Jedi/Sector One\)
On Tue, May 17, 2005 at 09:24:04PM +0200, Frank Denis (Jedi/Sector One) wrote:
   Mine was also tainted by OpenBSD when she was 4 :
   http://www.c9x.org/jedi/openbaby.html

  Ah no, she was 8 months old, sorry :(

  OpenBSD still lacks software for kids like Tuxpaint or Gcompris, though.



Re: need help: system freezes unexpectedly

2005-05-10 Thread Frank Denis \(Jedi/Sector One\)
On Mon, May 09, 2005 at 09:30:52PM +0200, Georg Kremsner wrote:
 Could you tell me a good alternative to mount_null ?
 It's for my ftp-share and i don't want to share the whole disks, because
 not all data is to be shared.

  Use pure-ftpd and symbolic links.