Re: web sites not accessible

2007-02-12 Thread Timo Schoeler
In epistula a Gustavo Rios [EMAIL PROTECTED] die horaque Sun, 11 Feb 2007 21:08:08 -0200: Dear gentelmen/madams, i would like to thank you all for you suggestion. They were to the point. Now, one doubt raised up in regards to man 4 pppoe and the link suggested below. In theory, what

Re: pf rules

2007-02-12 Thread Rogier Krieger
On 2/12/07, Artyom Goryainov [EMAIL PROTECTED] wrote: block in quick on $ext_if proto tcp from {!$me, !$mynet} to $ext_if port 80 You will probably want to see the PF FAQ [1] on this, specifically the section on Lists and Macros. It tells you why you should use tables for this purpose. The

Re: pf rules

2007-02-12 Thread Paul Pruett
block in quick on $ext_if proto tcp from {!$me, !$mynet} to $ext_if port 80 read also http://www.openbsd.org/faq/pf/tables.html another way to deal with negative in your pf.conf is to use tables... maybe try a table with safeip combinations like, but do test and read and try variations, this

Re: pcn in VMware, 5KB/s

2007-02-12 Thread Stephan A. Rickauer
Srebrenko Sehic wrote: You could always try using vmxnet/vic. Using the Intel 'em' driver is also an option. ethernet0.virtualDev = vmxnet ethernet0.virtualDev = e1000 -- Stephan A. Rickauer --- Institute of Neuroinformatics

Re: Writing Device Drivers Dokumentation

2007-02-12 Thread Reyk Floeter
On Sun, Feb 11, 2007 at 10:12:25AM +0100, Marc Balmer wrote: Markus Ritzer wrote: I would like to write a framebuffer driver for OpenBSD (for the MS Xbox platform). Where can I find documentation about writing OpenBSD drivers in general or especially for framebuffers? There is a list

Port trunking/bonding

2007-02-12 Thread Jon Morby
Hi I'm trying to run an experiment (initially) with regards bonding/ trunking ethernet ports under OpenBSD (current) .. but I'm hitting a snag and I haven't been able to google my way out of it as yet ... I have 2 x Broadcom NICS set at 10mbit full duplex (for the purposes of the test ..

Re: Port trunking/bonding

2007-02-12 Thread Stuart Henderson
On 2007/02/12 12:44, Jon Morby wrote: My problem is that graphs of the 2 cisco ports show traffic is only going via the 1 port and not being balanced across both ports as I would have expected. loadbalance hashes the header to determine which link to use; you might want round-robin

Re: Port trunking/bonding

2007-02-12 Thread Jon Morby
On 12 Feb 2007, at 13:18, Stuart Henderson wrote: On 2007/02/12 12:44, Jon Morby wrote: My problem is that graphs of the 2 cisco ports show traffic is only going via the 1 port and not being balanced across both ports as I would have expected. loadbalance hashes the header to determine which

altq+hfsc in pf

2007-02-12 Thread Ralf Braga
I'm with one few dificults for configure altq+pf+hfsc, Need balancear traffic of the output and input, See my script: #Default configuration ## set limit { states 4, frags 2, src-nodes 35000 } set block-policy return set loginterface fxp0 set

BGP Connection For Two OpenBSD Machines

2007-02-12 Thread demuel
Anyone, I have one OpenBGP machine running OpenBGPd that is currently connected to the Internet running OpenBGPd. Furthermore, it has two NIC interfaces. The external NIC is designated as xl0(3com) whereas the internal NIC is rl0(rtlink). From the internal NIC, I connected it to another

Re: Port trunking/bonding

2007-02-12 Thread Jon Morby
Actually .. maybe I'm expecting too much from this ... With 1 of the ports disabled, and roundrobin specified - transfer speeds dropped from 1.2MB/s to about 780KB/s Certainly at GigE speeds the graphs look a little more as I would expect, so it could also be an artefact of testing at

Re: Port trunking/bonding

2007-02-12 Thread Reyk Floeter
On Mon, Feb 12, 2007 at 01:30:18PM +, Jon Morby wrote: On 12 Feb 2007, at 13:18, Stuart Henderson wrote: On 2007/02/12 12:44, Jon Morby wrote: My problem is that graphs of the 2 cisco ports show traffic is only going via the 1 port and not being balanced across both ports as I would

Re: Port trunking/bonding

2007-02-12 Thread Claudio Jeker
On Mon, Feb 12, 2007 at 03:09:27PM +0100, Reyk Floeter wrote: On Mon, Feb 12, 2007 at 01:30:18PM +, Jon Morby wrote: On 12 Feb 2007, at 13:18, Stuart Henderson wrote: On 2007/02/12 12:44, Jon Morby wrote: My problem is that graphs of the 2 cisco ports show traffic is only going via

Re: BGP Connection For Two OpenBSD Machines

2007-02-12 Thread Ronnie Garcia
[EMAIL PROTECTED] a icrit : Anyone, I have one OpenBGP machine running OpenBGPd that is currently connected to the Internet running OpenBGPd. Furthermore, it has two NIC interfaces. The external NIC is designated as xl0(3com) whereas the internal NIC is rl0(rtlink). From the internal NIC, I

Re: BGP Connection For Two OpenBSD Machines

2007-02-12 Thread demuel
in /etc/sysctl.conf, the net.inet.ip.forwarding=1 and in /etc/resolv.conf i added a valid public ip address as well. [EMAIL PROTECTED] a icrit : Anyone, I have one OpenBGP machine running OpenBGPd that is currently connected to the Internet running OpenBGPd. Furthermore, it has two NIC

Re: BGP Connection For Two OpenBSD Machines

2007-02-12 Thread demuel
These are my configurations: OpenBSD With Internet And OpenBGP Running - external ip xl0(internet): some-public-ip internal ip rl0: 192.168.111.254/30 $ sudo bgpctl -n show summary Neighbor ASMsgRcvdMsgSentOutQ Up/Down

openLDAP Unrecognized database type (bdb)

2007-02-12 Thread Antonis Faragitakis
Hi all, im trying to install openldap-server-2.3.11p4.tgz (i386) and openldap-client-2.3.11p4.tgz (i386) under OpenBSD3.9. After i've configured my slapd.conf im trying to start the server (slapd -d4 ) but the i get the following error: # /usr/local/libexec/slapd -d 4 @(#) $OpenLDAP: slapd

COMPAT_LINUX in kernel

2007-02-12 Thread Karel Kulhavy
Hello How do I figure out if my kernel was compiled with COMPAT_LINUX option or not? I didn't compile it. I put COMPAT_LINUX openbsd kernel into google but didn't find anything useful in the first several pages. I have 4.0 on i386 installed from a CD it must be running the default kernel. CL

Re: Writing Device Drivers Dokumentation

2007-02-12 Thread Nick !
On 2/12/07, Reyk Floeter [EMAIL PROTECTED] wrote: On Sun, Feb 11, 2007 at 10:12:25AM +0100, Marc Balmer wrote: There is a list of books that help at http://www.openbsd.org/books.html. I found The Design and Implementation of the 4.4BSD Operating System helpful. Then a close look at the

Re: BGP Connection For Two OpenBSD Machines

2007-02-12 Thread Stuart Henderson
OpenBSD With Internet And OpenBGP Running Does this one announce a default route into bgp to the other machine? ('announce default-route') OpenBSD machine that established BGP session to the gateway Does this one accept a default route announced by the other machine? (comment out 'deny from

Re: openLDAP Unrecognized database type (bdb)

2007-02-12 Thread Vijay Sankar
On Monday 12 February 2007 09:27, Antonis Faragitakis wrote: Hi all, im trying to install openldap-server-2.3.11p4.tgz (i386) and openldap-client-2.3.11p4.tgz (i386) under OpenBSD3.9. After i've configured my slapd.conf im trying to start the server (slapd -d4 ) but the i get the following

Re: COMPAT_LINUX in kernel

2007-02-12 Thread Miod Vallat
How do I figure out if my kernel was compiled with COMPAT_LINUX option or not? I didn't compile it. I put COMPAT_LINUX openbsd kernel into google but didn't find anything useful in the first several pages. ``sysctl kern.emul'' will list the available emulations. I have 4.0 on i386

Re: COMPAT_LINUX in kernel

2007-02-12 Thread Nick !
On 2/12/07, Karel Kulhavy [EMAIL PROTECTED] wrote: Hello How do I figure out if my kernel was compiled with COMPAT_LINUX option or not? I didn't compile it. I put COMPAT_LINUX openbsd kernel into google but didn't find anything useful in the first several pages. I have 4.0 on i386 installed

Re: COMPAT_LINUX in kernel

2007-02-12 Thread Otto Moerbeek
On Mon, 12 Feb 2007, Karel Kulhavy wrote: Hello How do I figure out if my kernel was compiled with COMPAT_LINUX option or not? I didn't compile it. I put COMPAT_LINUX openbsd kernel into google but didn't find anything useful in the first several pages. I have 4.0 on i386 installed

Re: Port trunking/bonding

2007-02-12 Thread Jon Morby
On 12 Feb 2007, at 14:31, Claudio Jeker wrote: Roundrobin may increase packet reordering which in turn reduces the tcp window size because tcp thinks it is a network congestion. In the worst case one connection may run slower over two link trunk than over a single link. You need a real

PowerEdge 2950 sd0: not queued: error 5

2007-02-12 Thread Alejandro Lozanoff

Re: BGP Connection For Two OpenBSD Machines

2007-02-12 Thread demuel
Where should I suppose to declare announce default-route? And I commented all entries in the # filter out prefixes longer than 24 or shorter than 8 bits # do not accept a default route # filter bogus networks In the internal OpenBSD machine, I did invoke: $ sudo bgpctl sh next Nexthop

compat_linux: Bad system call

2007-02-12 Thread Karel Kulhavy
Hello OpenBSD 4.0, i386, trying to copy from a 2007 Gentoo Linux. I made sure there is kern.emul.linux=1 in /etc/sysctl.conf and the machine is rebooted. Then I installed the Redhat package. Then I wanted to make the yes program work. I copied all the libraries from the Linux to /emul/linux/...:

PowerEdge 2950 sd0: not queued: error 5

2007-02-12 Thread Alejandro Lozanoff
Sorry for the message without body, im a little sleepy and hitted the wrong button... :p Ok, I had this problem last night on one of our shiny Dell PowerEdge 2950s with RAID 10 and SAS disks. For no reason it started screaming sd0: not queued: error 5 on the console, the server didnt crash (no

linux emulation without redhat_base

2007-02-12 Thread Karel Kulhavy
Hi Now I tried to make yes work without the redhat base. I uninstalled redhat_base, partial-redhat_base and partial-partial-redhat_base (??). Then ldd yes on the Linux system shows these libraries: [EMAIL PROTECTED] ~ $ ldd `which yes` linux-gate.so.1 = (0xe000) libc.so.6 =

Re: COMPAT_LINUX IN KERNEL

2007-02-12 Thread tom
Quoting Nick ! [EMAIL PROTECTED]: On 2/12/07, Karel Kulhavy [EMAIL PROTECTED] wrote: Hello How do I figure out if my kernel was compiled with COMPAT_LINUX option or not? I didn't compile it. I put COMPAT_LINUX openbsd kernel into google but didn't find anything useful in the first

Re: PowerEdge 2950 sd0: not queued: error 5

2007-02-12 Thread Marco Peereboom
I have never seen this but I am very interested in this particular instance. Apparently there is an issue with read ahead on mfi that I have never seen before on OpenBSD but other OS' have run into. Is this reproducible? If so can you try to disable read ahead in CTRL-R (bios)? Thanks, /marco

Re: BGP Connection For Two OpenBSD Machines

2007-02-12 Thread Stuart Henderson
On 2007/02/12 16:09, [EMAIL PROTECTED] wrote: Where should I suppose to declare announce default-route? In the neighbour or group definition, see bgpd.conf(5).

Re: PowerEdge 2950 sd0: not queued: error 5

2007-02-12 Thread Alejandro Lozanoff
I was planning on running bonnie tonight (This is a production server) to get some IO and see if i can reproduce the problem. We have 3 of this servers with OBSD 4.0 stable and the same RAID card running for about 2 months now, this is the first problem we encounter. If you have any idea of how

Re: COMPAT_LINUX in kernel

2007-02-12 Thread Karel Kulhavy
On Mon, Feb 12, 2007 at 06:23:45PM +0200, [EMAIL PROTECTED] wrote: On Mon, Feb 12, 2007 at 04:39:03PM +0100, Karel Kulhavy wrote: Hello How do I figure out if my kernel was compiled with COMPAT_LINUX option or not? I didn't compile it. I put COMPAT_LINUX openbsd kernel into google but

Re: Small change to /faq/pf/carp.html

2007-02-12 Thread Joel Knight
--- Quoting Mike Erdely on 2007/02/11 at 02:46 -0500: I was going through the FAQ testing my CARP set up and tried ifconfig carp1 down. The backup promoted itself to master ONLY for carp1 even though I have net.inet.carp.preempt=1. But, ifconfig em1 down DOES cause the backup firewall to

Filesystem Backwards Compatibility

2007-02-12 Thread Clint Pachl
Have the file systems from one OS version to the next always been compatible? Will they continue to be? My concern is that a 3+ year old dump may not restore correctly on current version of OBSD. Can I be assured that I can store data reliably for 3 - 5 years on a FFS? -pachl

Re: linux emulation without redhat_base

2007-02-12 Thread Mark Zimmerman
On Mon, Feb 12, 2007 at 06:04:36PM +0100, Karel Kulhavy wrote: Hi Now I tried to make yes work without the redhat base. I uninstalled redhat_base, partial-redhat_base and partial-partial-redhat_base (??). Then ldd yes on the Linux system shows these libraries: [EMAIL PROTECTED] ~ $ ldd

Re: Dell Poweredge 860 Perc 5IR - can't recognize raid device (sd0)

2007-02-12 Thread Nick Holland
Steve Williams wrote: Hi, I have a brand new Dell Poweredge 850 with two 160 G SAS disks attached to a Perc 5IR controller card. In the BIOS, I have configured them as an IM (Integrated Mirror) Logical Volume. I have synchronized the mirror, and the array is activated. I have played

Re: Filesystem Backwards Compatibility

2007-02-12 Thread Otto Moerbeek
On Mon, 12 Feb 2007, Clint Pachl wrote: Have the file systems from one OS version to the next always been compatible? Will they continue to be? My concern is that a 3+ year old dump may not restore correctly on current version of OBSD. Can I be assured that I can store data reliably for 3 -

Re: linux emulation without redhat_base

2007-02-12 Thread a . velichinsky
On Mon, Feb 12, 2007 at 06:04:36PM +0100, Karel Kulhavy wrote: 16287 yes CALL #243 (unimplemented linux_sys_set_thread_area)() 16287 yes PSIG SIGSYS SIG_DFL code 0 16287 yes NAMI yes.core What does this mean? That linux_sys_set_thread_area is unimplemented in the

Re: Filesystem Backwards Compatibility

2007-02-12 Thread Jeff Rollin
On 12/02/07, Otto Moerbeek [EMAIL PROTECTED] wrote: On Mon, 12 Feb 2007, Clint Pachl wrote: Have the file systems from one OS version to the next always been compatible? Will they continue to be? My concern is that a 3+ year old dump may not restore correctly on current version of

Re: Dell Poweredge 860 Perc 5IR - can't recognize raid device (sd0)

2007-02-12 Thread Steve Williams
Nick Holland wrote: Steve Williams wrote: Hi, I have a brand new Dell Poweredge 850 with two 160 G SAS disks attached to a Perc 5IR controller card. In the BIOS, I have configured them as an IM (Integrated Mirror) Logical Volume. I have synchronized the mirror, and the array is

Re: Filesystem Backwards Compatibility

2007-02-12 Thread Jeff Rollin
On 12/02/07, Clint Pachl [EMAIL PROTECTED] wrote: My data will be movies and music so I should be fine. Thanks Jeff. Jeff Rollin wrote: Then, of course, there's the contents of the backup to consider. You (probably) don't want your Brand New OBSD 4 installation replaced with an install

Re: COMPAT_LINUX in kernel

2007-02-12 Thread Ted Unangst
On 2/12/07, Karel Kulhavy [EMAIL PROTECTED] wrote: but don't waste your time trying with recent linux binaries/libraries - you need to modify/recompile the kernel in for that - and even then, no NPTL, etc. NPTL == ? threads

carp and load balancing between different internet connections

2007-02-12 Thread Paulo Roberto Candido dos Santos
Hello list. This is my first post here and also first contact with OpenBSD. I have a question about CARP. I'm engaged a project about redundancy and load balancing between 3 different internet links.They asked me to search for a robust open source solution that can do the job and I came to

test

2007-02-12 Thread Philippe BERNARD
test

Re: carp and load balancing between different internet connections

2007-02-12 Thread Luca Corti
On Mon, 2007-02-12 at 21:07 -0200, Paulo Roberto Candido dos Santos wrote: CARP can do that? If not, is there any other robust open source product that can do the job? I think for outgoing traffic PF could balance between the three links (see route-to in the docs), but for incoming traffic load

Re: carp and load balancing between different internet connections

2007-02-12 Thread Paulo Roberto Candido dos Santos
Thanks for the quick reply! Sorry, I forgot to tell that the priority is outgoing traffic and no need for loadbalancing incoming connections. I'll read the route-to section. On 2/12/07, Paulo Roberto Candido dos Santos [EMAIL PROTECTED] wrote: Thanks for the quick reply! Sorry, I forgot to

Re: dmesg and fdisk do not match about usb external disk

2007-02-12 Thread frantisek holop
hmm, on Tue, Jan 30, 2007 at 07:40:52PM -0500, Nick Holland said that the cylinders, heads, sectors and the number of total sectors do not match. what does this mean? It means translation is stupid, but we keep doing it. :) ok, now just to make things more interesting, i have found a disk

bsd cpu use

2007-02-12 Thread James Mackinnon
Hi All Hate to ask something that might be a simple answer but I am trying to find how it is best / easiest to get the CPU usage of a BSD 4.0 box. I only need the result and not a bunch of other data as I want to store the result in a mysql db. Basically i'm just looking for either the idle

Re: bsd cpu use

2007-02-12 Thread Darrin Chandler
On Mon, Feb 12, 2007 at 09:10:52PM -0400, James Mackinnon wrote: Hi All Hate to ask something that might be a simple answer but I am trying to find how it is best / easiest to get the CPU usage of a BSD 4.0 box. I only need the result and not a bunch of other data as I want to store the

Re: PowerEdge 2950 sd0: not queued: error 5

2007-02-12 Thread Marco Peereboom
I honestly have no clue. I have banged on my mfis as much as I could and have never seen anything like this. I am doing some investigation into this. If you find a way to repro this let me know please. On Mon, Feb 12, 2007 at 01:12:56PM -0500, Alejandro Lozanoff wrote: I was planning on

Re: dmesg and fdisk do not match about usb external disk

2007-02-12 Thread Marco S Hyman
frantisek holop writes: so what's up with these dick measurements? I think you got that part just right :-) Expecthing cyl * head * sec/cyl to come up with the number of actual sectors on the disk is your problem. Modern disk don't have a fixed number of sec/track. They use Zone Bit

Re: bsd cpu use

2007-02-12 Thread Clint Pachl
James Mackinnon wrote: Hi All Hate to ask something that might be a simple answer but I am trying to find how it is best / easiest to get the CPU usage of a BSD 4.0 box. I only need the result and not a bunch of other data as I want to store the result in a mysql db. Basically i'm just

Re: Writing Device Drivers Dokumentation

2007-02-12 Thread Ted Unangst
On 2/12/07, Nick ! [EMAIL PROTECTED] wrote: Tell me, it's a joke when it says use electron microscope at http://www.openbsd.org/papers/opencon06-drivers/mgp00020.html right? xray machines can help too.