Re: What is our ultimate goal??

2008-02-19 Thread Alexander Hall

Zbigniew Baniewski wrote:

On Tue, Feb 19, 2008 at 12:42:38AM +0100, Marc Espie wrote:


You're an idiot.
[..]
Think about it.


Idiots don't think.

If you didn't knew it - you're even bigger idiot, than I am.


could_not_resist
  Oh, but they do! They are just not very successful. ;-)
/could_not_resist

The suggestion about installing packages into /whatever is fine if 
stated as a suggestion and/or question. I do not agree, but still I 
think the question is valid. However, adding It doesn't need any 
funding to fix this. makes it seem like a mistake that is trivial to 
fix, and I can understand if that pisses Marc off.


BTW, think about all ports with hardcoded paths to 
/usr/local/dependency. One might argue that those ports are broken, 
but I'd guess there are quite a lot of them.


/Alexander



Re: OpenBGP - Saving Restoring routes, possible?

2008-02-19 Thread Claudio Jeker
On Mon, Feb 18, 2008 at 05:09:29PM -0300, Eduardo Meyer wrote:
 Hello,
 
 I have setup OpenBGP doing full routing with 3 other peers, so I get
 around 240k routes from each peer. But if by some reason I have to
 restar bgpd, it takes up to 5 minutes so I can all routes updated
 again.
 
 Is there a way to save and later restore the RIB/FIB tables?
 
 Since the only problem on commodity hardware are the mobile parts, I
 am also settig up a SPARE router with carp, so if one gets down, the
 spare will assume. But resync'ing the tables is again, reason for a
 higher downtime. So if I could save the tables in a machine and
 restore it on the other, would be great.
 
 Can I do this?
 

This is currently impossible and a carp setup will not help you as it will
take the same amount of time to take over. I have some evil plans with
rfc4724 Graceful Restart Mechanism for BGP but this is still far away from
being implemented because this depends on stuff that is slowly developped
at the moment.

Your best approach is to use two routers and split the peers between the
two. If one fails you still have the other left.
-- 
:wq Claudio



Re: OpenBGP - Balancing between peers

2008-02-19 Thread Claudio Jeker
On Tue, Feb 19, 2008 at 12:41:14AM -0300, Eduardo Meyer wrote:
 On Feb 18, 2008 8:47 PM, Dustin Lundquist [EMAIL PROTECTED] wrote:
  To balance your inbound you can prepend your AS number to your
  advertisements to depreference them. Some larger ISPs do this on a per
  prefix basis, but since a sizable portion of ISPs are running Cisco gear
  with a 256K prefix limit it is not advisable to create additional
  prefixes for the purposes of traffic balancing.
 
  For outbound, its easier you can use local preference. For reference
  here is the Cisco BGP path selection process, OpenBGPD is similar:
  http://www.cisco.com/warp/public/459/25.shtml
 
 
  Dustin Lundquist
 
 Right, I could define the preffered outbound traffic to a certain AS
 with localpref. However, I could not balance it, and did not find how
 I am supposed to.
 
 For example, I have a certain traffic outgoing to AS 4230, it was
 going via AS17379, and with localpref I could make it go via 18881.
 
 However, I need to balance it in the adequated ratio, say, make 40% of
 outgoing traffic to 4230 go via 1881 while 60% goes out via 17379.
 
 If you could point me to what to read, or suggest anything, thats what
 I need, some words from the experienced ones.
 

You can not do load balancing between upstreams on a single prefix.
This is just not possible. You can use filters and localpref to toss
prefixes to a specific upstream.

Correctly balancing traffic with bgp is the high art of network
engineering. Most of the time you need to try a bit until you're happy.
One hint don't try to build up prefect rules one week from now the world
will look different and your rules may probably backfire on you. Try to
make a few broad rules, e.g.
match from $PEER source-as 4230 prefix 189.0.0.0/8 set localpref 300

Last but not least monitor your traffic and figure out which traffic goes
over which link.
-- 
:wq Claudio



Re: em(4) diff that needs testing.

2008-02-19 Thread Martin Toft
On Mon, Feb 18, 2008 at 04:43:59PM -0500, Brad wrote:
 On Thursday 14 February 2008 00:34:54 Brad wrote:
  The following diffs adds support for the Intel ICH9 Ethernet chipsets.
  There is also a small change in here that affects the ICH8 chipsets.
  Please test this with any em(4) adapters but especially with ICH8 and
  ICH9. Please provide a dmesg.
 
 This could still use more testing from additional users.

I would like to test it on my Thinkpad T41, but I don't know whether it
will help you or not:

OpenBSD 4.2-current (GENERIC) #2: Wed Feb  6 23:03:09 CET 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 1600MHz (GenuineIntel 686-class) 1.60 
GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF,EST,TM2
real mem  = 535785472 (510MB)
avail mem = 510173184 (486MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 04/19/05, BIOS32 rev. 0 @ 0xfd750, SMBIOS 
rev. 2.33 @ 0xe0010 (61 entries)
bios0: vendor IBM version 1RETDKWW (3.16 ) date 04/19/2005
bios0: IBM 2373NG9
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 100%
apm0: AC on, battery charge high
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/272 (15 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #6 is the last bus
bios0: ROM list: 0xc/0x1 0xdc000/0x4000! 0xe/0x1
cpu0 at mainbus0
cpu0: Enhanced SpeedStep 1600 MHz (1484 mV): speeds: 1600, 1400, 1200, 1000, 
800, 600 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82855PM Host rev 0x03
agp0 at pchb0: aperture at 0xd000, size 0x1000
ppb0 at pci0 dev 1 function 0 Intel 82855PM AGP rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M9 Lf rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x01: irq 11
uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x01: irq 11
uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x01: irq 11
ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x01: irq 11
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x81
pci2 at ppb1 bus 2
cbb0 at pci2 dev 0 function 0 TI PCI4520 CardBus rev 0x01: irq 11
cbb1 at pci2 dev 0 function 1 TI PCI4520 CardBus rev 0x01: irq 11
em0 at pci2 dev 1 function 0 Intel PRO/1000MT (82540EP) rev 0x03: irq 11, 
address 00:11:25:44:6c:4a
ral0 at pci2 dev 2 function 0 Ralink RT2561S rev 0x00: irq 11, address 
00:12:0e:61:81:1c
ral0: MAC/BBP RT2561C, RF RT5225
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0 cacheline 0x8, lattimer 0xb0
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 6 device 0 cacheline 0x8, lattimer 0xb0
pcmcia1 at cardslot1
ichpcib0 at pci0 dev 31 function 0 Intel 82801DBM LPC rev 0x01: 24-bit timer 
at 3579545Hz
pciide0 at pci0 dev 31 function 1 Intel 82801DBM IDE rev 0x01: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: WDC WD1200BEVE-11UYT0
wd0: 16-sector PIO, LBA48, 114473MB, 234441648 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, DVD-ROM GDR8083N, 0K04 SCSI0 5/cdrom 
removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
ichiic0 at pci0 dev 31 function 3 Intel 82801DB SMBus rev 0x01: irq 11
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM non-parity PC2700CL2.5
auich0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x01: irq 11, ICH4 
AC97
ac97: codec id 0x41445374 (Analog Devices AD1981B)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auich0
Intel 82801DB Modem rev 0x01 at pci0 dev 31 function 6 not configured
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
aps0 at isa0 port 0x1600/31
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
biomask effd netmask effd ttymask 
mtrr: Pentium Pro MTRR support
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
auich0: measured ac97 link rate at 46201 Hz, 

Re: What is our ultimate goal??

2008-02-19 Thread Tony Abernethy
Trolling a troll.

Do you like bing trolled?
Do you think the list like being trolled by you?
I know what I am doing.
You apparently have no clue what you are doing.

There are good and nice people on this list.
I am not one of them. 

 -Original Message-
 From: Mayuresh Kathe [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, February 19, 2008 2:41 AM
 To: [EMAIL PROTECTED]
 Subject: Re: What is our ultimate goal??
 
 You claim that the thread is already polluted far beyond your feeble
 efforts to further such.
 So you agree that you are polluting the list.
 Then you are a troll.
 
 On Feb 19, 2008 12:38 PM, Tony Abernethy [EMAIL PROTECTED] wrote:
  You claim you don't have enough vision or intelligence to 
 understand me.
  and you offer (to the list included) no explanation.
  I may lack the vision and intelli9gence, but why do you 
 insist that the rest
  of the list also lacks vision and intelligence?
 
  This thread is already polluted far beyond my feeble 
 efforts to further
  such.
  Innate quality of threads?
  Imagine this thread if (no make that when) some thread 
 decides to go beserk.
  (That is assuming you are in fact capable of imagining anything)
  Just think, if this were shared memory I could be popping 
 up in ALL your
  correspondences.
 
   -Original Message-
   From: Mayuresh Kathe [mailto:[EMAIL PROTECTED]
 
   Sent: Tuesday, February 19, 2008 12:56 AM
   To: [EMAIL PROTECTED]
   Subject: Re: What is our ultimate goal??
  
   Tony, you are really weird, stop polluting the mailing 
 list with all
   of your useless garbage.
   If you want to have an email based altercation with me, do it
   off-list.
  
   About my true colours, forget it, you don't have enough vision or
   intelligence to understand me.
  
   On Feb 19, 2008 12:22 PM, Tony Abernethy 
 [EMAIL PROTECTED] wrote:
I may be an oaf, but it is with FULL REALIZATION THAT I AM
   SENDING THIS TO
THE LIST
   
MY PURPOSE IN DOING SO IS TO PAINT YOU WITH SOMEHTING
   RESEMBLING YOUR TRUE
COLORS.
   
BTW, what is the color of a dead goat?
   
 -Original Message-
 From: Mayuresh Kathe [mailto:[EMAIL PROTECTED]
   
 Sent: Tuesday, February 19, 2008 12:46 AM
 To: [EMAIL PROTECTED]
 Subject: Re: What is our ultimate goal??

 You are an Oaf, you don't realise that you are 
 sending all these
 useless emails to the list where its not needed, 
 while *I* on the
 other hand have been only sending mails to you.

 Thats why I say, you are disconnected from reality.
 Go get yourself a life, and more importantly, get 
 yourself treated
 from a psychiatrist.

 On Feb 19, 2008 12:11 PM, Tony Abernethy
   [EMAIL PROTECTED] wrote:
  Which half?
  You really ought to go back to kindergarden.
 
   -Original Message-
   From: Mayuresh Kathe [mailto:[EMAIL PROTECTED]
 
   Sent: Tuesday, February 19, 2008 12:40 AM
   To: [EMAIL PROTECTED]
   Subject: Re: What is our ultimate goal??
  
   From this long nonsensical discussion, I'm sure, you are a
   schizophrenic.
  
   On Feb 19, 2008 12:03 PM, Tony Abernethy
 [EMAIL PROTECTED] wrote:
I think therefore I am.
I think you are a billy goat, therefore you are.
   
 -Original Message-
 From: Mayuresh Kathe [mailto:[EMAIL PROTECTED]
   
 Sent: Tuesday, February 19, 2008 12:31 AM
 To: [EMAIL PROTECTED]
 Subject: Re: What is our ultimate goal??

 There you go again, disconnected from reality.
 Please don't even try to think.

 On Feb 19, 2008 11:59 AM, Tony Abernethy
   [EMAIL PROTECTED] wrote:
  Dead billy goat or dead nanny goat?
  which are you?
 
   -Original Message-
   From: Mayuresh Kathe 
 [mailto:[EMAIL PROTECTED]
 
   Sent: Tuesday, February 19, 2008 12:26 AM
   To: [EMAIL PROTECTED]
   Subject: Re: What is our ultimate goal??
  
   Are you as weird as your writing suggests.
   Do you get disconnected from reality when you
 start thinking?
  
   On Feb 19, 2008 9:53 AM, Tony Abernethy
 [EMAIL PROTECTED] wrote:
I understand English sentences.
What is this English-based sentences 
 you speak of?
   
My logic may be flawed, but it seems it
   surpasses you
   abilty to elucidate
the exact nature of the presumed flaw.
   
I've got a life. What have you got.
In fact beating up on dead goats might make an
 entertaining
   diversion.
   
 -Original Message-
 From: Mayuresh Kathe
   [mailto:[EMAIL PROTECTED]
   
 Sent: Monday, February 18, 2008 10:18 PM
 To: [EMAIL PROTECTED]
 Subject: Re: What is our ultimate 

rtorrent + OpenBSD = freeze

2008-02-19 Thread Daniel Andersson
Hi!

I tried OpenBSD last autumn but had some trouble running rtorrent.
Quoting a post I made at a forum:

Every now and then it Freezes. I can't access it through ssh or
physically.
The login prompt is blinking normally(I can't input anything though).
The network still works though since I can browse the world wide web from
my desktop(openbsd is fw/router). I have run memtest86 and seagate's
seatools
 on the disks(SATA). The only programs the box is running is rtorrent and
a ventrilo server. I tried capping rtorrent to no avail. The box is running
4.2.
 It ran 4.1 prior to 4.2's release. At first I thought it might be some
issues
 with the integrated NICs but I've bought two new and it still freezes, if
maybe
 a bit less frequently. 

dmesg: http://pastebin.com/f55031392

Found someone else that have/had similar problems:

http://permalink.gmane.org/gmane.os.openbsd.bugs/10449

Is there is a fix for it yet?

This is my first post at a mailing list so please
don't bite my head off. =P

- Daniel Andersson



Re: Using CVS to back up /etc

2008-02-19 Thread Clint Pachl

Richard Wilson wrote:

Increasingly, I find that I have many servers, especially OpenBSD
servers, where the only bit of the hard drive worth backing up is /etc.
Good examples are routers or spamtrap boxes where everything is part of
base. If a hard drive goes pop, all I need is to install the OS, and
re-populate /etc.

Currently I back up /etc on these machines using variants on rsync and
rsnapshot, and it works OK. However, I've got it into my head to shift
to using CVS to back up /etc on these machines. Advantages I think I see:

1) /etc is mostly flat text files. It makes more sense to back it up
using a system which is text-based, rather than the belt and braces of
rsync.

2) CVS is big on diffs and such. Checking to see which config changes
happened to a given file, and when, gets really easy.

3) The nightly backup procedure just becomes a 'cvs ci' in cron. If
nothing changed, no additional space is taken. However, if a change has
been made, that change is stored efficiently, and cron will
auto-magically send me an email of the change delta, because of the
output from the cvs ci.

4) If someone makes big changes, they can manually do a checkin, just to
be sure.

5) If everything goes hideously titsup, and there's disk corruption on
the CVS server, I've still got a chance to recover data, as the CVS data
storage format looks vaguely like plain text. This is more of a
cvs-vs-svn (eep BDB.) If things are sufficiently bad that both a machine
I back up and the CVS server are having issues, I suspect I will care
about something this unlikely.



Before I embark on this, I have a couple of questions:

1) Can anyone think of an idea why I'm being dumb? I hope not, but it
doesn't hurt to ask.

2) How will /etc, and the things that read it, react to /etc becoming a
working copy, with CVS, Entries, et al? I'm thinking of things that eg
Include /etc/appname/* barfing on unexpected files left by CVS.
  


This is exactly why I don't allow /etc, /var/cron/tabs, and so on to be 
working directories. Like you mentioned, it will crap out some programs. 
I use rcs instead of cvs; much simpler and effortless to setup and 
manage. What I do is create an RCS root, /root/rcsroot. The first time I 
need to change a system file, I copy it into /root/rcsroot, maintaining 
directory hierarchy of course. For example, /etc/pf.conf would go to 
/root/rcsroot/etc/pf.conf. I make changes to files in the rcsroot, and 
when I like the way they look, I copy them to the system and check them 
in. This preserves original file permissions and doesn't clutter the 
system with repos stuff. Also, I can quickly see and maintain only what 
I have modified.


I must confess that I perform these actions manually, like the copying 
of the working file back to the system. This could be scripted to make 
it even easier. I thought about it, but it's just so easy already. For 
example you could modify a config file using a single command: `confedit 
/etc/pf.conf`. It could perform the 2 or 3 other commands needed to copy 
files around and do the check-in.


For backup, I do `dump | ssh backupbox` from cron. Simple and easy.


To any and all who have read all the way through my disjointed waffle, I
thank you. I'll report back once I give it a go :-)
  


This is a good discussion. Please do enlighten use with your setup.

-pachl



Re: Why not update Groff?

2008-02-19 Thread Jason McIntyre
On Mon, Feb 18, 2008 at 02:35:01PM +0100, Pieter Verberne wrote:
 
 Why is Groff not updated? OpenBSD 4.2 has Groff 1.15 from 1999.
 Some compatability issues?
 

someone would need to do the work.
jmc



Re: What is our ultimate goal??

2008-02-19 Thread Duncan Patton a Campbell
On Sun, 17 Feb 2008 17:33:12 +0530
Mayuresh Kathe [EMAIL PROTECTED] wrote:

 It just led me to ponder, what is OpenBSD's ultimate goal?

What, exactly, is yours?  

I've read thru this thread and you are remarkably obscure 
about your intentions, but it seems to me that OBSD somehow
does not fit your marketing plan, which seems to have a lot
in common with New, Improved, Diamond-shaped Shreddies.

Dhu



Re: Kernel panic with HP Compaq dc7800 and ACPI (with attachement)

2008-02-19 Thread Nicolas Legrand
Aurelien [EMAIL PROTECTED] writes:

 Oups... Correct version with attachement. Sorry.

 When booting a 4.2-current kernel on a HP Compaq dc7800, the system crashes
if ACPI is enabled (this is by default with current).

 Attached a dmesg. I can test patches if necessary.
 The same problem arises on Linux 2.6, so this might be related to the BIOS.

I have the same trouble on a dc7700, i have to disable acpiprt* to
avoid the panic. It is like this since i have upgraded from -release
to current. Since i have built the GENERIC kernel with updated source
from CVS, and i still have the trouble, last cvs checkout and build
was yesterday.

On the panic, in ddb, i typed trace, ps, boot dump or boot crash. I
failed to find the kernel panic in /var/log/messages*. I have space in
all partitions, read http://www.openbsd.org/report.html, crash(4),
savecore(8) have ddb.log=1 in sysctl. In /var/crash, i only have B :

$more /var/crash/minfree
4096

The panic message first showB : panic : aml_die aml_setbufint : 988

(Note that disabling the acpiprt is not enough in GENERIC.MP, no panic
but the kernel seems to hang on the hard disk detection. I did not
investigate more.)

I'm sorry not to report the whole message, but i didn't understood how
to get it. I'd be glad to report it if someone is kind enough to tell
me how to do it.

Anyway here is my dmesg with acpiprt disabled with the -c option on bootB :

OpenBSD 4.2-current (GENERIC) #2: Mon Feb 18 12:36:58 CET 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz (GenuineIntel 686-class) 1.87
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SS
E3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
real mem  = 4291720151040 (15021961547293392896MB)
avail mem = 4115583893504 (15021961550783053824MB)
User Kernel Config
UKC disable 426
426 acpiprt* disabled
UKC exit
Continuing...
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/30/06, BIOS32 rev. 0 @ 0xea130,
SMBIOS rev. 2.4 @ 0xeb9f0 (69 entries)
bios0: vendor Hewlett-Packard version 786E1 v01.05 date 08/30/2006
bios0: Hewlett-Packard HP Compaq dc7700p Convertible Minitower
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC ASF! MCFG TCPA SLIC
acpi0: wakeup devices COM1(S4) COM2(S4) PCI0(S4) PEG1(S4) IGBE(S4) PCX1(S4)
PCX2(S4) HUB_(S4) USB1(S3) USB2(S3) USB3(S3) USB4(S
3) USB5(S3) EUS1(S3) EUS2(S3) PBTN(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiprt at acpi0 not configured
acpiprt at acpi0 not configured
acpiprt at acpi0 not configured
acpiprt at acpi0 not configured
acpiprt at acpi0 not configured
acpicpu0 at acpi0
acpibtn0 at acpi0: PBTN
bios0: ROM list: 0xc/0xb000! 0xcb000/0x1000 0xcc000/0x1000
0xe7600/0x8a00!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82Q965 Host rev 0x02
agp0 at pchb0: aperture at 0xe000, size 0x800
vga1 at pci0 dev 2 function 0 Intel 82Q965 Video rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
Intel 82Q965 HECI rev 0x02 at pci0 dev 3 function 0 not configured
pciide0 at pci0 dev 3 function 2 Intel 82Q965 PT IDER rev 0x02: DMA
(unsupported), channel 0 wired to native-PCI, channel 1 w
ired to native-PCI
pciide0: using irq 10 for native-PCI interrupt
pciide0: channel 0 ignored (not responding; disabled or no drives?)
pciide0: channel 1 ignored (not responding; disabled or no drives?)
Intel 82Q965 KT rev 0x02 at pci0 dev 3 function 3 not configured
em0 at pci0 dev 25 function 0 Intel ICH8 IGP AMT rev 0x02: irq 5, address
00:0f:fe:6f:4f:46
uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x02: irq 10
uhci1 at pci0 dev 26 function 1 Intel 82801H USB rev 0x02: irq 11
ehci0 at pci0 dev 26 function 7 Intel 82801H USB rev 0x02: irq 5
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 Intel 82801H HD Audio rev 0x02: irq 11
azalia0: codec[s]: Realtek/0x0262
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801H PCIE rev 0x02
pci1 at ppb0 bus 32
uhci2 at pci0 dev 29 function 0 Intel 82801H USB rev 0x02: irq 10
uhci3 at pci0 dev 29 function 1 Intel 82801H USB rev 0x02: irq 11
ehci1 at pci0 dev 29 function 7 Intel 82801H USB rev 0x02: irq 10
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb1 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0xf2
pci2 at ppb1 bus 7
pcib0 at pci0 dev 31 function 0 Intel 82801HO LPC rev 0x02
pciide1 at pci0 dev 31 function 2 Intel 82801H SATA rev 0x02: DMA, channel 0
configured to native-PCI, channel 1 configured t
o native-PCI
pciide1: using irq 10 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: ST3160812AS
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide1 channel 1 drive 0
scsibus0 at 

Re: rtorrent + OpenBSD = freeze

2008-02-19 Thread Stuart Henderson
On 2008/02/19 11:56, Daniel Andersson wrote:
 I tried OpenBSD last autumn but had some trouble running rtorrent.
 Quoting a post I made at a forum:
 
 Every now and then it Freezes. I can't access it through ssh or
 physically.

..
 
 Is there is a fix for it yet?

No, but it has been reported that if the system is doing other things
at the same time, the chance of freezing is much less. (specifically
freezes were seen with rtorrent+top, they were not seen when logging
vmstat output at the same time).

We also have transmission in ports, which works nicely, btw - command
line, GUI, and there's a nice DHTML webinterface (clutch) available
too (clutch is not in ports yet but I have a nearly-finished port for
it).



Re: What is our ultimate goal??

2008-02-19 Thread Zbigniew Baniewski
On Tue, Feb 19, 2008 at 09:07:50AM +0100, Alexander Hall wrote:

 The suggestion about installing packages into /whatever is fine if 
 stated as a suggestion and/or question. I do not agree, but still I 
 think the question is valid. However, adding It doesn't need any 
 funding to fix this. makes it seem like a mistake that is trivial to 
 fix, and I can understand if that pisses Marc off.

...however it was just an answer to Michael Dexters suggestion... (read the
thread).

 BTW, think about all ports with hardcoded paths to 
 /usr/local/dependency. One might argue that those ports are broken, 
 but I'd guess there are quite a lot of them.

Hardcoded? So, changing LOCALBASE could be even dangerous, I'm afraid.
Nothing can I do then with this.
-- 
pozdrawiam / regards

Zbigniew Baniewski



Re: rtorrent + OpenBSD = freeze

2008-02-19 Thread Paul Irofti
On Tue, Feb 19, 2008 at 11:25:09AM +, Stuart Henderson wrote:
 On 2008/02/19 11:56, Daniel Andersson wrote:
  I tried OpenBSD last autumn but had some trouble running rtorrent.
  Quoting a post I made at a forum:
  
  Every now and then it Freezes. I can't access it through ssh or
  physically.
 
 ..
  
  Is there is a fix for it yet?
 
 No, but it has been reported that if the system is doing other things
 at the same time, the chance of freezing is much less. (specifically
 freezes were seen with rtorrent+top, they were not seen when logging
 vmstat output at the same time).
 
 We also have transmission in ports, which works nicely, btw - command
 line, GUI, and there's a nice DHTML webinterface (clutch) available
 too (clutch is not in ports yet but I have a nearly-finished port for
 it).
 

Speaking of transmission, there's a grammar error/typo in DESCR-main:

``This is the command line and daemon clients.''

I think it should be:

``These are the command line and daemon clients.''

And to the OP:

I've been using rtorrent for more than a year now and it never
stopped/blocked/froze/etc.



Re: What is our ultimate goal??

2008-02-19 Thread Mayuresh Kathe
On Feb 19, 2008 5:16 PM, Duncan Patton a Campbell [EMAIL PROTECTED] wrote:
 On Sun, 17 Feb 2008 17:33:12 +0530
 Mayuresh Kathe [EMAIL PROTECTED] wrote:

  It just led me to ponder, what is OpenBSD's ultimate goal?

 What, exactly, is yours?

My ultimate goal is to have an OS which would give me;
stability,
security,
a better default window manager,
something as good as DTrace,
something as good as FireEngine,
a file system which would hold a lot of big files, you can assume it
to be porn if you want :-)
and, a system which is as free off GNU software as possible.

That's the reason I've been gathering good C developers, so that they
could either;
1. take up complex projects like FireEngine/DTrace,
2. write replacements for as many GNU tools/utilities as possible,
3. be a landing stage for newer developers who get intimidated by the
intensity of the core developers.

 I've read thru this thread and you are remarkably obscure
 about your intentions, but it seems to me that OBSD somehow
 does not fit your marketing plan, which seems to have a lot
 in common with New, Improved, Diamond-shaped Shreddies.

I've clearly pointed out what I've wanted since my second mail to the thread.

I don't *have* a marketing plan, I'm a developer, remember?

~Mayuresh



Nuove Misure di Sicurezza !!!

2008-02-19 Thread PosteItaliane 19/02/2008
[IMAGE]



Re: What is our ultimate goal??

2008-02-19 Thread raven

Mayuresh Kathe ha scritto:

On Feb 19, 2008 5:16 PM, Duncan Patton a Campbell [EMAIL PROTECTED] wrote:
  

On Sun, 17 Feb 2008 17:33:12 +0530
Mayuresh Kathe [EMAIL PROTECTED] wrote:



It just led me to ponder, what is OpenBSD's ultimate goal?
  

What, exactly, is yours?



My ultimate goal is to have an OS which would give me;
stability,
security,
a better default window manager,
something as good as DTrace,
something as good as FireEngine,
a file system which would hold a lot of big files, you can assume it
to be porn if you want :-)
  
Download OpenSolaris from sun.com or ask Sun to send by mail, it's free 
of charge,  and dont break anymore.
A bunch of developers work every fuckin day to give us a good operating 
system, if you dont like it, change and dont bother.

and, a system which is as free off GNU software as possible.

That's the reason I've been gathering good C developers, so that they
could either;
1. take up complex projects like FireEngine/DTrace,
2. write replacements for as many GNU tools/utilities as possible,
3. be a landing stage for newer developers who get intimidated by the
intensity of the core developers.

  
Again, use OpenSolaris, in Sun new developers and core developers are 
just scared to be fired.

I've read thru this thread and you are remarkably obscure
about your intentions, but it seems to me that OBSD somehow
does not fit your marketing plan, which seems to have a lot
in common with New, Improved, Diamond-shaped Shreddies.



I've clearly pointed out what I've wanted since my second mail to the thread.

I don't *have* a marketing plan, I'm a developer, remember?

  
Are you a java developer right? Perfect, work on OpenSDK or Glassfish 
project. Or at least for javadesktopsystem.

You can use on OpenSolaris Sun Studio or Netbeans, or eclipse.


~Mayuresh

  
I hope this thread need to be closed, this thread smell like a fish 
after four days.


Francesco


PS = You dont understand my english, ok, but i think this post it's 
sharp.period.




Re: What is our ultimate goal??

2008-02-19 Thread raven

William Boshuck ha scritto:

On Mon, Feb 18, 2008 at 10:16:08AM +0530, Mayuresh Kathe wrote:
  
... I've NEVER got any of the code for FREE, 



Yes, you did.  The code is free.  The CDs are not.


  

Maybe Mr.Mayuresh Kathe, dont know anoncvs[1].
By a 4.2 release, we can download a bootable iso from ftp site. So, at 
least the first cd it's free too :P




[1] http://www.openbsd.org/cgi-bin/cvsweb/src/



Re: What is our ultimate goal??

2008-02-19 Thread Zbigniew Baniewski
On Tue, Feb 19, 2008 at 08:12:46AM -0600, Tony Abernethy wrote:

 Fair No.
 It is like dead fish after 4 days.
 Actually, what was private in that message? 

You don't have to wonder, what. Any correspondence, which hasn't been sent
to the public, is private - and needs the agreement of the party to be
published. Especially such emotional one.
-- 
pozdrawiam / regards

Zbigniew Baniewski



Re: What is our ultimate goal??

2008-02-19 Thread Tony Abernethy
Fair No.
It is like dead fish after 4 days.
Actually, what was private in that message? 

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 On Behalf Of Zbigniew Baniewski
 Sent: Tuesday, February 19, 2008 8:01 AM
 To: misc@openbsd.org
 Subject: Re: What is our ultimate goal??
 
 On Tue, Feb 19, 2008 at 12:52:35AM -0600, Tony Abernethy wrote:
 
  I may be an oaf, but it is with FULL REALIZATION THAT I AM 
 SENDING THIS TO
  THE LIST
  
  MY PURPOSE IN DOING SO IS TO PAINT YOU WITH SOMEHTING 
 RESEMBLING YOUR TRUE
  COLORS.
 
 Is it fair? Some day, someone other will forward _your_ private
 correspondence to the public.
 
 If you don't like your opponents attitude - just stop talking 
 to him, and
 it's enough.
 -- 
   pozdrawiam / regards
 
   Zbigniew Baniewski



Re: take threads off the table

2008-02-19 Thread chris rapier

I wonder where the perceived bottleneck is.  I mean, you have two boxes
connected by ethernet (whatever speed), and you're running a sftp bulk
file transfer.  What is the limiting factor?  Are the boxes less than
20% idle?  Is the nework saturated or is there room for more throughput?


Much of this is answered in the papers or presentations on the HPN-SSH 
website (http://www.psc.edu/networking/projects/hpn-ssh/). The executive 
summary is that once you start hitting GigE speeds the CPU becomes the 
limiting factor. In our test environment (two 8 core machines hooked up 
over a LAN) AES128-CTR got us around 500Mb/s. At that point the SSH 
process was pegging a core at 100%. When we tried the same test with th 
threaded/parallelized AES-CTR mode cipher we saw the performance nearly 
double to 938Mb/s.



In other words, with a multiple-CPU box, how much would threads help?


A lot. Even in a dual core box I was able to essentially double my 
throughput along a transatlantic path (nearly 800Mb/s fully encrypted 
between Pittsburgh and Switzerland).



Within the whole ssh section, where does the CPU spend its time?  Is it
crypto or is it in shuffling network packets?  Would offloading the
crypto to a separate process (and therefore processor) help?  


This is a good question and we don't actually have numbers that are firm 
enough that I feel comfortable sharing. However, I can say that well 
more than 50% of the time is spent in encryption and the HMAC cost is 
probably under 20%.


There are definite and distinct advantages to parallelization in terms 
of performance.




Re: What is our ultimate goal??

2008-02-19 Thread Tony Abernethy
If you mean it is now my private property, then I am free to do with it as I
please.
Otherwise, if it should be kept private, maybe it should be kept private.

Why should a discussion of threads be souch an emotional one?
Do the threads have feeling now? 

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 On Behalf Of Zbigniew Baniewski
 Sent: Tuesday, February 19, 2008 8:20 AM
 To: misc@openbsd.org
 Subject: Re: What is our ultimate goal??
 
 On Tue, Feb 19, 2008 at 08:12:46AM -0600, Tony Abernethy wrote:
 
  Fair No.
  It is like dead fish after 4 days.
  Actually, what was private in that message? 
 
 You don't have to wonder, what. Any correspondence, which 
 hasn't been sent
 to the public, is private - and needs the agreement of the party to be
 published. Especially such emotional one.
 -- 
   pozdrawiam / regards
 
   Zbigniew Baniewski



Re: What is our ultimate goal??

2008-02-19 Thread Gilles Chehade
Tony Abernethy a icrit :
 If you mean it is now my private property, then I am free to do with it as I
 please.
 Otherwise, if it should be kept private, maybe it should be kept private.

 Why should a discussion of threads be souch an emotional one?
 Do the threads have feeling now? 

   
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 On Behalf Of Zbigniew Baniewski
 Sent: Tuesday, February 19, 2008 8:20 AM
 To: misc@openbsd.org
 Subject: Re: What is our ultimate goal??

 On Tue, Feb 19, 2008 at 08:12:46AM -0600, Tony Abernethy wrote:

 
 Fair No.
 It is like dead fish after 4 days.
 Actually, what was private in that message? 
   
 You don't have to wonder, what. Any correspondence, which 
 hasn't been sent
 to the public, is private - and needs the agreement of the party to be
 published. Especially such emotional one.
 -- 
  pozdrawiam / regards

  Zbigniew Baniewski
 
Since you are both discussing about privacy, could you *please* take
this discussion private ?

Thanks



Re: Using CVS to back up /etc

2008-02-19 Thread Giancarlo Razzolini
Clint Pachl escreveu:
  This is exactly why I don't allow /etc, /var/cron/tabs, and so on to be
 working directories. Like you mentioned, it will crap out some programs.
 I use rcs instead of cvs; much simpler and effortless to setup and
 manage. What I do is create an RCS root, /root/rcsroot. The first time I
 need to change a system file, I copy it into /root/rcsroot, maintaining
 directory hierarchy of course. For example, /etc/pf.conf would go to
 /root/rcsroot/etc/pf.conf. I make changes to files in the rcsroot, and
 when I like the way they look, I copy them to the system and check them
 in. This preserves original file permissions and doesn't clutter the
 system with repos stuff. Also, I can quickly see and maintain only what
 I have modified.

 I must confess that I perform these actions manually, like the copying
 of the working file back to the system. This could be scripted to make
 it even easier. I thought about it, but it's just so easy already. For
 example you could modify a config file using a single command: `confedit
 /etc/pf.conf`. It could perform the 2 or 3 other commands needed to copy
 files around and do the check-in.

 For backup, I do `dump | ssh backupbox` from cron. Simple and easy.

  This is a good discussion. Please do enlighten use with your setup.

 -pachl


I do the same here, as i stated before. The difference is that i use
central svn repo on the office, and do the checkout and the commits from
 the local sites. I have a nifty script that compares the svn tree with
the / filesystem. Any changes and i will be told so immediately. The
process is manual also, but there are some things that i do point
directly to the svn tree, like squid conf's and openvpn stuff. My
/etc/squid/squid.conf points to /root/frw-name/etc/squid.conf. Only no
point things that are chrooted like named and httpd that can't being a
symlink to the tree. This is a very interesting debate, and there
certainly lots of ways of accomplish this task. It would be nice if
others enlighten us with the other methods they use.

My regards,

--
Giancarlo Razzolini
Linux User 172199
Red Hat Certified Engineer no:804006389722501
Moleque Sem Conteudo Numero #002
Slackware Current
OpenBSD Stable
Ubuntu 6.10 Edgy Eft
Snike Tecnologia em Informatica
4386 2A6F FFD4 4D5F 5842  6EA0 7ABE BBAB 9C0E 6B85

[demime 1.01d removed an attachment of type application/pgp-signature which had 
a name of signature.asc]



Re: What is our ultimate goal??

2008-02-19 Thread Tony Abernethy
Zbigniew Baniewski wrote:
 
 On Tue, Feb 19, 2008 at 12:52:35AM -0600, Tony Abernethy wrote:
 
  I may be an oaf, but it is with FULL REALIZATION THAT I AM 
 SENDING THIS TO
  THE LIST
  
  MY PURPOSE IN DOING SO IS TO PAINT YOU WITH SOMEHTING 
 RESEMBLING YOUR TRUE
  COLORS.
 
 Is it fair? Some day, someone other will forward _your_ private
 correspondence to the public.
 
 If you don't like your opponents attitude - just stop talking 
 to him, and
 it's enough.

From that should I deduce that you LIKE my attitude?
Otherwise, seems you are incapable of taking your own advice.

Proponents of something who cannot stand their own advice --- dubious at
best.

What's the term?  locally self-contradictory?
Imagine the errors when things are not so tightly connected.



Re: What is our ultimate goal??

2008-02-19 Thread Tony Abernethy
Zbigniew Baniewski wrote:
 
 On Tue, Feb 19, 2008 at 08:37:33AM -0600, Tony Abernethy wrote:
 
  You mean that the proponents of threads are overyly emotional?
 
 If the sides are calling each other with terms like idiot - 
 or something
 similar - do you really find it as non-emotional?
 
  How do you intend to have rational discourse in such an event? 
 
 As you can see, yesterday OpenBSD-developer called me an 
 idiot - just
 because I dare to not agree with him.

Most likely because you ARE an idiot.



Re: What is our ultimate goal??

2008-02-19 Thread Zbigniew Baniewski
On Tue, Feb 19, 2008 at 12:52:35AM -0600, Tony Abernethy wrote:

 I may be an oaf, but it is with FULL REALIZATION THAT I AM SENDING THIS TO
 THE LIST
 
 MY PURPOSE IN DOING SO IS TO PAINT YOU WITH SOMEHTING RESEMBLING YOUR TRUE
 COLORS.

Is it fair? Some day, someone other will forward _your_ private
correspondence to the public.

If you don't like your opponents attitude - just stop talking to him, and
it's enough.
-- 
pozdrawiam / regards

Zbigniew Baniewski



Re: What is our ultimate goal??

2008-02-19 Thread Zbigniew Baniewski
On Tue, Feb 19, 2008 at 08:42:13AM -0600, Tony Abernethy wrote:

 If you mean it is now my private property, then I am free to do with it as I
 please.
 Otherwise, if it should be kept private, maybe it should be kept private.
 
 Why should a discussion of threads be souch an emotional one?
 Do the threads have feeling now? 

I'm pretty sure - I'm supposing this in your favor - that you know, what I
mean. The semantics used above isn't going to change anything; we aren't in
court at the trial here, anyway.
-- 
pozdrawiam / regards

Zbigniew Baniewski



Re: rtorrent + OpenBSD = freeze

2008-02-19 Thread Girish Venkatachalam
On 14:42:37 Feb 19, Paul Irofti wrote:
 I've been using rtorrent for more than a year now and it never
 stopped/blocked/froze/etc.
 

I can second that . Little annoyances here and there but overall
rtorrent works very well under OpenBSD.

If it freezes very likely it is a network issue.

-Girish



Re: rtorrent + OpenBSD = freeze

2008-02-19 Thread Daniel Andersson
Thanks for the speedy replies guys!

No, but it has been reported that if the system is doing other things
at the same time, the chance of freezing is much less. (specifically
freezes were seen with rtorrent+top, they were not seen when logging
vmstat output at the same time).

We also have transmission in ports, which works nicely, btw - command
line, GUI, and there's a nice DHTML webinterface (clutch) available
too (clutch is not in ports yet but I have a nearly-finished port for
it).

Okay, too bad. Does transmission support rss, or the watch_directory thingie
that rtorrent has?


On 14:42:37 Feb 19, Paul Irofti wrote:
 I've been using rtorrent for more than a year now and it never
 stopped/blocked/froze/etc.


I can second that . Little annoyances here and there but overall
rtorrent works very well under OpenBSD.

If it freezes very likely it is a network issue.

-Girish

Could you please elaborate? The only thing that was working after
the freeze was the routing. I guess I could try FreeBSD since they
have pf too. iptables is driving me nuts.



Re: rtorrent + OpenBSD = freeze

2008-02-19 Thread raven

Girish Venkatachalam ha scritto:

On 14:42:37 Feb 19, Paul Irofti wrote:
  

I've been using rtorrent for more than a year now and it never
stopped/blocked/froze/etc.




I can second that . Little annoyances here and there but overall
rtorrent works very well under OpenBSD.

If it freezes very likely it is a network issue.

-Girish


  
I agree. I use rtorrent and my system never freeze. I think it's a 
network problem. Maybe a network card that freak out...


Francesco



Powerbook G4 turn off screen

2008-02-19 Thread Floor Terra
Hi,

I have installed OpenBSD 4.2 GENERIC#1517 macppc
on my Powerbook G4 (dmesg below) to use it as a server.
Is there a way to power down the screen to save power?


Floor Terra





[ using 375776 bytes of bsd ELF symbol table ]
console out [NVDA,Display-A]console in [keyboard] ADB found
using parent NVDA,Parent:: memaddr a000 size 1000, : consaddr
a0008000, : ioaddr 9100, size 100: memtag 8000, iotag 8000:
width 1024 linebytes 1024 height 768 depth 8
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2007 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.2 (GENERIC) #1517: Tue Aug 28 10:42:20 MDT 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/macppc/compile/GENERIC
real mem = 1342177280 (1280MB)
avail mem = 1287536640 (1227MB)
mainbus0 at root: model PowerBook6,8
cpu0 at mainbus0: 7447A (Revision 0x102): 1499 MHz: 512KB L2 cache
memc0 at mainbus0: uni-n
hw-clock at memc0 not configured
kiic0 at memc0 offset 0xf8001000
iic0 at kiic0
adt0 at iic0 addr 0x2e: adt7467 rev 0x71
asms0 at iic0 addr 0x58, rev 1.34, version 0.1
mpcpcibr0 at mainbus0 pci: uni-north, Revision 0xff
pci0 at mpcpcibr0 bus 0
pchb0 at pci0 dev 11 function 0 Apple UniNorth AGP rev 0x00
vgafb0 at pci0 dev 16 function 0 NVIDIA GeForce FX Go 5200 rev 0xa1, mmio
wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation)
mpcpcibr1 at mainbus0 pci: uni-north, Revision 0x5
pci1 at mpcpcibr1 bus 0
pchb1 at pci1 dev 11 function 0 Apple UniNorth PCI rev 0x00
Broadcom BCM4306 rev 0x03 at pci1 dev 18 function 0 not configured
macobio0 at pci1 dev 23 function 0 Apple Intrepid rev 0x00
openpic0 at macobio0 offset 0x4: version 0x4614 little endian
macgpio0 at macobio0 offset 0x50
modem-reset at macgpio0 offset 0x1d not configured
modem-power at macgpio0 offset 0x1c not configured
accelerometer-1 at macgpio0 offset 0x13 not configured
accelerometer-2 at macgpio0 offset 0x14 not configured
headphone-mute at macgpio0 offset 0x1f not configured
amp-mute at macgpio0 offset 0x20 not configured
hw-reset at macgpio0 offset 0x25 not configured
linein-detect at macgpio0 offset 0xc not configured
headphone-detect at macgpio0 offset 0x17 not configured
macgpio1 at macgpio0 offset 0x9 irq 47
programmer-switch at macgpio0 offset 0x11 not configured
cpu-vcore-select at macgpio0 offset 0x6b not configured
gpio4 at macgpio0 offset 0x1e not configured
escc-legacy at macobio0 offset 0x12000 not configured
zsc0 at macobio0 offset 0x13000: irq 22,23
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
snapper0 at macobio0 offset 0x0: irq 30,1,2
timer at macobio0 offset 0x15000 not configured
adb0 at macobio0 offset 0x16000 irq 25: via-pmu, 2 targets
akbd0 at adb0 addr 2: iBook keyboard with inverted T (ISO layout)
wskbd0 at akbd0: console keyboard, using wsdisplay0
abtn0 at adb0 addr 7: brightness/volume/eject buttons
apm0 at adb0: battery flags 0x5, 98% charged
piic0 at adb0
iic1 at piic0
battery at macobio0 offset 0x0 not configured
backlight at macobio0 offset 0xf300 not configured
kiic1 at macobio0 offset 0x18000
iic2 at kiic1
wdc0 at macobio0 offset 0x2 irq 24: DMA
atapiscsi0 at wdc0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: MATSHITA, CD-RW CW-8123, CA14 SCSI0
5/cdrom removable
cd0(wdc0:0:0): using BIOS timings, DMA mode 2
audio0 at snapper0
ohci0 at pci1 dev 24 function 0 Apple Intrepid USB rev 0x00: irq 0,
version 1.0, legacy support
ohci1 at pci1 dev 25 function 0 Apple Intrepid USB rev 0x00: irq 0,
version 1.0, legacy support
ohci2 at pci1 dev 26 function 0 Apple Intrepid USB rev 0x00: irq 29,
version 1.0, legacy support
ohci3 at pci1 dev 27 function 0 NEC USB rev 0x43: irq 63, version 1.0
ohci4 at pci1 dev 27 function 1 NEC USB rev 0x43: irq 63, version 1.0
ehci0 at pci1 dev 27 function 2 NEC USB rev 0x04: irq 63
usb0 at ehci0: USB revision 2.0
uhub0 at usb0: NEC EHCI root hub, rev 2.00/1.00, addr 1
usb1 at ohci0: USB revision 1.0
uhub1 at usb1: Apple OHCI root hub, rev 1.00/1.00, addr 1
usb2 at ohci1: USB revision 1.0
uhub2 at usb2: Apple OHCI root hub, rev 1.00/1.00, addr 1
usb3 at ohci2: USB revision 1.0
uhub3 at usb3: Apple OHCI root hub, rev 1.00/1.00, addr 1
usb4 at ohci3: USB revision 1.0
uhub4 at usb4: NEC OHCI root hub, rev 1.00/1.00, addr 1
usb5 at ohci4: USB revision 1.0
uhub5 at usb5: NEC OHCI root hub, rev 1.00/1.00, addr 1
mpcpcibr2 at mainbus0 pci: uni-north, Revision 0x6
pci2 at mpcpcibr2 bus 0
pchb2 at pci2 dev 11 function 0 Apple UniNorth PCI rev 0x00
kauaiata0 at pci2 dev 13 function 0 Apple Intrepid ATA rev 0x00
wdc1 at kauaiata0 irq 39: DMA
wd0 at wdc1 channel 0 drive 0: SAMSUNG HM160JC
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(wdc1:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5
Apple UniNorth Firewire rev 0x81 at pci2 dev 14 function 0 not configured
gem0 at pci2 dev 15 function 0 Apple Uni-N2 GMAC rev 0x80: irq 41,
address 00:11:24:da:75:ee
bmtphy0 at gem0 phy 

Re: take threads off the table

2008-02-19 Thread bofh
On Feb 19, 2008 9:30 AM, chris rapier [EMAIL PROTECTED] wrote:
  I wonder where the perceived bottleneck is.  I mean, you have two boxes
  connected by ethernet (whatever speed), and you're running a sftp bulk
  file transfer.  What is the limiting factor?  Are the boxes less than
  20% idle?  Is the nework saturated or is there room for more throughput?

 Much of this is answered in the papers or presentations on the HPN-SSH
 website (http://www.psc.edu/networking/projects/hpn-ssh/). The executive
 summary is that once you start hitting GigE speeds the CPU becomes the
 limiting factor. In our test environment (two 8 core machines hooked up
 over a LAN) AES128-CTR got us around 500Mb/s. At that point the SSH
 process was pegging a core at 100%. When we tried the same test with th
 threaded/parallelized AES-CTR mode cipher we saw the performance nearly
 double to 938Mb/s.

Probably out of scope, but I wonder if you guys would take a look at
the Via C7 or Eden cpus?  Apparently, in the past, some benchmarks
showed spectacular results, compared with intel cpus.


-- 
http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
This officer's men seem to follow him merely out of idle curiosity.
-- Sandhurst officer cadet evaluation.
Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks
factory where smoking on the job is permitted.  -- Gene Spafford
learn french:  http://www.youtube.com/watch?v=j1G-3laJJP0feature=related



Re: rtorrent + OpenBSD = freeze

2008-02-19 Thread bofh
On Feb 19, 2008 10:45 AM, nicodache [EMAIL PROTECTED] wrote:
 I've been using rtorrent on openbsd 4.1 for more than 6 months without
 a single breakdown.
 now, in less than 2 weeks, my 4.2 box (the same hardware, just
 upgraded version) froze twice...

 is it really a network issue ? or is it more like an rtorrent problem ?

You've been using windows too much.  If an application freezes the OS,
it's an OS issue (it still may be an application issue, but no amount
of application tickling of the OS should freeze the OS).


-- 
http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
This officer's men seem to follow him merely out of idle curiosity.
-- Sandhurst officer cadet evaluation.
Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks
factory where smoking on the job is permitted.  -- Gene Spafford
learn french:  http://www.youtube.com/watch?v=j1G-3laJJP0feature=related



openvpn client with tap device

2008-02-19 Thread thomas
Hi misc,

I have the parameters below, in openvpn config. OpenBSD is the client,
the server is already working with non OpenBSD clients.

dev tun0
dev-type tap

When I start openvpn, the system creates the interface tun0, ifconfig
shows it like a real interface not a point to point, like I saw without
the dev-type tap parameter. When the connection is setup I can ping
the local IP address but not the server one.

I played with route a bit, and I am not convinced with my settings yet.

Before going further, I wanted to be sure that tap devices worked Ok
with openvpn as there are not much information on it on google.

Thanks in advance.



Re: Powerbook G4 turn off screen

2008-02-19 Thread Antoine Jacoutot

On Tue, 19 Feb 2008, Floor Terra wrote:

I have installed OpenBSD 4.2 GENERIC#1517 macppc
on my Powerbook G4 (dmesg below) to use it as a server.
Is there a way to power down the screen to save power?


$ xset dpms force off

--
Antoine



Re: Multi-Threaded SSH/SCP made by university of Puttsburgh

2008-02-19 Thread chris rapier

dhiggs wrote:

If someone can split SSH into multiple threads, it should be just as
possible to split it into multiple processes.  However, I expect that
most high-speed SSH traffic is SCP-/SFTP-based and therefore largely
I/O bound, so it hasn't been high on anyone's requirements list.


Based on my experience on working in the field of bulk data transfers on 
high speed networks for the past 6 years I'd have to say that you are, 
at the least, partly mistaken. However, maybe I'm not really 
understanding what you are saying. Could you expand on this a bit more?


Chris



Re: rtorrent + OpenBSD = freeze

2008-02-19 Thread Han Boetes
Please report bugs to libtorrent/rtorrent to the rtorrent
website. He is more than willing to resolve bugs.

As a matter of fact the main developer has a shell on my machine
and regularly testbuilds before releasing stuff to ensure it
builds out of the box on OpenBSD.

~% sudo grep rak /var/log/sshd/current U
Password:
2007-09-07 23:24:13.714581500 Accepted publickey for rakshasa from x.x.x.x port 
3731 ssh2
2007-10-25 16:27:34.605498500 Accepted publickey for rakshasa from x.x.x.x port 
59548 ssh2
2008-01-29 13:49:04.304542500 Accepted publickey for rakshasa from x.x.x.x port 
47815 ssh2


# Han



Re: rtorrent + OpenBSD = freeze

2008-02-19 Thread nicodache
I've been using rtorrent on openbsd 4.1 for more than 6 months without
a single breakdown.
now, in less than 2 weeks, my 4.2 box (the same hardware, just
upgraded version) froze twice...

is it really a network issue ? or is it more like an rtorrent problem ?

Cheers,

On Feb 19, 2008 3:53 PM, Girish Venkatachalam
[EMAIL PROTECTED] wrote:
 On 14:42:37 Feb 19, Paul Irofti wrote:
  I've been using rtorrent for more than a year now and it never
  stopped/blocked/froze/etc.
 

 I can second that . Little annoyances here and there but overall
 rtorrent works very well under OpenBSD.

 If it freezes very likely it is a network issue.

 -Girish



Re: -current, softraid on root?

2008-02-19 Thread bofh
On Feb 18, 2008 10:17 PM, Marco Peereboom [EMAIL PROTECTED] wrote:
 Not just yet!

 You can boot of something non-softraid and do the rest on softraid.
 This will be a feature I will work on once I have the initial 3
 disciplines ready and we can handle foreign metadata.  Then I'll work on
 booting/rooting a softraid.  My todo list is still on my website if
 you'd like to contribute.

Ah!  Unfortunately, my coding-fu is non-existent.  I take it you
want raid-0, raid-1 and raid-5?  OK.  I think I'm going to just live
with a 2pm nightly rsync to the backup drive. :)


-- 
http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
This officer's men seem to follow him merely out of idle curiosity.
-- Sandhurst officer cadet evaluation.
Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks
factory where smoking on the job is permitted.  -- Gene Spafford
learn french:  http://www.youtube.com/watch?v=j1G-3laJJP0feature=related



stupide question

2008-02-19 Thread cassier sebastien
i'm looking for the same function as locale on debian.

i have looked on the faq and broswed man pages but i'm unable to find
something interesting.

thank you for your help

-- 
Cassier Sebastien
Network and Security staff
LP-system
23 rue la boetie
75008 Paris
[EMAIL PROTECTED]  06 08 23 20 53



Re: Proxy between pop3s and pop3-only speaking blob?

2008-02-19 Thread Stefan Castille

Jon wrote:
Here at work we're using an old version of Gordano Messaging Suite 
which only supports POP3, running on Redhat. The only way to get POP3s 
(if we can) is to upgrade to a newer version but we want to migrate to 
OpenBSD eventually. What tool(s) (that will work best with OpenBSD 
when we move over) would be ideal to run on the same machine to 
translate pop3 and pop3s or fetch the mail from Gordano then offer it 
via pop3s?



You should be able to use stunnel.
Stunnel listens as 'pop3s' and forwards the connection to pop3.

I'm pretty sure there is a stunnel package and the sample config file 
even has an entry for pop3.



You can even use it the other way too, a pop3 client connecting to a 
local stunnel instance that then connects to a pop3s server.


Kind regards,
Stefan



Re: stupide question

2008-02-19 Thread Gilles Chehade
cassier sebastien a icrit :
 i'm looking for the same function as locale on debian.
   
function or command ?



Re: Proxy between pop3s and pop3-only speaking blob?

2008-02-19 Thread Stuart Henderson
On 2008/02/19 07:46, Jon wrote:
 Here at work we're using an old version of Gordano Messaging Suite which 
 only supports POP3, running on Redhat. The only way to get POP3s (if we 
 can) is to upgrade to a newer version but we want to migrate to OpenBSD 
 eventually. What tool(s) (that will work best with OpenBSD when we move 
 over) would be ideal to run on the same machine to translate pop3 and 
 pop3s or fetch the mail from Gordano then offer it via pop3s?

Dovecot can do this, it's an imap/pop3 server with a built-in proxy
(whether a mailbox is proxied or handled directly is controlled by
fields in the user database); this also gives a nice path where you
can migrate to another email system user-by-user.

You can also do a simple SSL offload with hoststated (now renamed
relayd) or stunnel, haven't tried those with POP3 but I don't see why
they wouldn't work.



Re: Proxy between pop3s and pop3-only speaking blob?

2008-02-19 Thread Martin Toft
On Tue, Feb 19, 2008 at 07:46:01AM -0800, Jon wrote:
 Here at work we're using an old version of Gordano Messaging Suite which 
 only supports POP3, running on Redhat. The only way to get POP3s (if we 
 can) is to upgrade to a newer version but we want to migrate to OpenBSD 
 eventually. What tool(s) (that will work best with OpenBSD when we move 
 over) would be ideal to run on the same machine to translate pop3 and 
 pop3s or fetch the mail from Gordano then offer it via pop3s?

I use stunnel to wrap ssl around pop3. There's a package for OpenBSD.

http://www.stunnel.org/
http://www.openbsd.org/4.2_packages/i386/stunnel-4.20.tgz-long.html

Martin



Proxy between pop3s and pop3-only speaking blob?

2008-02-19 Thread Jon
Here at work we're using an old version of Gordano Messaging Suite which 
only supports POP3, running on Redhat. The only way to get POP3s (if we 
can) is to upgrade to a newer version but we want to migrate to OpenBSD 
eventually. What tool(s) (that will work best with OpenBSD when we move 
over) would be ideal to run on the same machine to translate pop3 and 
pop3s or fetch the mail from Gordano then offer it via pop3s?




Re: stupide question

2008-02-19 Thread raven

Gilles Chehade ha scritto:

cassier sebastien a icrit :
  

i'm looking for the same function as locale on debian.
  


function or command ?


  
I think he talking about a command that return as output a 
locale-specific information. Or better that do the same thing.


Francesco



Mysql performance

2008-02-19 Thread Gustavo Polillo
Is there any benchmark with mysql + openbsd and Mysql + others OS like
freebsd or linux? Anyone work with mysql on openbsd? I will work with
theses and i need some sugestions.. thanks..



Re: rtorrent + OpenBSD = freeze

2008-02-19 Thread Brian
--- Daniel Andersson [EMAIL PROTECTED] wrote:

 Hi!
 
 I tried OpenBSD last autumn but had some trouble running rtorrent.

For the longest time, I ran the port net/BitTorrent with a script, and I
recently solved some hardware related issues I had with it.  But I never had
system freezes.

Yesterday, I switched over the net/ktorrent since it supports encryption, which
I am finding I need for some very low seeded torrents, where all the seeds are
running encryption.  I have not experienced any system freezes with
net/ktorrent, and I would definitely recommend it.

Brian

Note: I still run the default fvwm.



  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 



Re: rtorrent + OpenBSD = freeze

2008-02-19 Thread Daniel Andersson
Yesterday, I switched over the net/ktorrent since it supports encryption,
which
I am finding I need for some very low seeded torrents, where all the seeds
are
running encryption.  I have not experienced any system freezes with
net/ktorrent, and I would definitely recommend it.

Brian

Note: I still run the default fvwm.

Thanks for the suggestion. However, I will not be running a GUI on that box.


'Ive been using rtorrent on openbsd 4.1 for more than 6 months without
a single breakdown.
now, in less than 2 weeks, my 4.2 box (the same hardware, just
upgraded version) froze twice...

is it really a network issue ? or is it more like an rtorrent problem ?

Cheers,

Hrm. I'm not sure if my box froze with 4.1. I remember having other issues
with the integrated NICs though.


I agree. I use rtorrent and my system never freeze. I think it's a
network problem. Maybe a network card that freak out...

Francesco

I don't think it is the NICs, I bought two Intel PRO/1000 something.



Re: stupide question

2008-02-19 Thread raven

Gilles Chehade ha scritto:

cassier sebastien a icrit :
  

i'm looking for the same function as locale on debian.
  


function or command ?


  

I think he talking about a command that return as output a
locale-specific information. Or better that do the same thing.


Cassier if you search a function: man NL_LANGINFO(3)

Francesco



Re: rtorrent + OpenBSD = freeze

2008-02-19 Thread Tasmanian Devil
 I tried OpenBSD last autumn but had some trouble running rtorrent.
 Quoting a post I made at a forum:

 Every now and then it Freezes. I can't access it through ssh or
 physically.
 The login prompt is blinking normally(I can't input anything though).
 The network still works though since I can browse the world wide web from
 my desktop(openbsd is fw/router).

I tried to find out myself by reading this thread a few times, but I'm
still not sure, so I need to ask: With Every now and then it
Freezes  you mean permanently? Your box doesn't recover by itself
after a minute or two?

Because I've a remotely similar problem at the moment, also since 4.2
or even a bit earlier (I run current). I don't think yet that it's
similar enough to post about it in this thread, and if your box
freezes permanently, it's probably not related.

Tas.



Re: -current, softraid on root?

2008-02-19 Thread Marco Peereboom
Enabled are RAID 0 and RAID 1.  RAID 0 is for all intents and purposes
good to go.  RAID 1 misses rebuilds (hi henning!) at this moment.
Crypto is being evaluated to ensure the crypto is strong enough to be
trusted.  It will remain disabled until that evaluation is complete.
More on that one later.

RAID 5 is a post 4.3 item for me.

On Tue, Feb 19, 2008 at 12:22:42PM -0500, bofh wrote:
 On Feb 18, 2008 10:17 PM, Marco Peereboom [EMAIL PROTECTED] wrote:
  Not just yet!
 
  You can boot of something non-softraid and do the rest on softraid.
  This will be a feature I will work on once I have the initial 3
  disciplines ready and we can handle foreign metadata.  Then I'll work on
  booting/rooting a softraid.  My todo list is still on my website if
  you'd like to contribute.
 
 Ah!  Unfortunately, my coding-fu is non-existent.  I take it you
 want raid-0, raid-1 and raid-5?  OK.  I think I'm going to just live
 with a 2pm nightly rsync to the backup drive. :)
 
 
 -- 
 http://www.glumbert.com/media/shift
 http://www.youtube.com/watch?v=tGvHNNOLnCk
 This officer's men seem to follow him merely out of idle curiosity.
 -- Sandhurst officer cadet evaluation.
 Securing an environment of Windows platforms from abuse - external or
 internal - is akin to trying to install sprinklers in a fireworks
 factory where smoking on the job is permitted.  -- Gene Spafford
 learn french:  http://www.youtube.com/watch?v=j1G-3laJJP0feature=related



Re: rtorrent + OpenBSD = freeze

2008-02-19 Thread Christian Weisgerber
Paul Irofti [EMAIL PROTECTED] wrote:

 Speaking of transmission, there's a grammar error/typo in DESCR-main:
 
 ``This is the command line and daemon clients.''
 
 I think it should be:
 
 ``These are the command line and daemon clients.''

I intended this to refer to _this package_, but I agree that the
concord mismatch is very clunky.  I'll rephrase the sentence.

-- 
Christian naddy Weisgerber  [EMAIL PROTECTED]



Re: openvpn client with tap device

2008-02-19 Thread Giancarlo Razzolini
thomas escreveu:
 Hi misc,

 I have the parameters below, in openvpn config. OpenBSD is the client,
 the server is already working with non OpenBSD clients.

 dev tun0
 dev-type tap

 When I start openvpn, the system creates the interface tun0, ifconfig
 shows it like a real interface not a point to point, like I saw without
 the dev-type tap parameter. When the connection is setup I can ping
 the local IP address but not the server one.

 I played with route a bit, and I am not convinced with my settings yet.

 Before going further, I wanted to be sure that tap devices worked Ok
 with openvpn as there are not much information on it on google.

 Thanks in advance.


From the openbsd tun(4) man page:
.
.
.
 Both layer 3 and layer 2 tunneling is supported.  Layer 3 tunneling is
 the default mode; to enable layer 2 tunneling mode the link0 flag needs
 to be set with ifconfig(8), or by setting up a hostname.if(5)
configura-
 tion file for netstart(8).  In layer 2 mode the tun interface is
simulat-
 ing an Ethernet network interface.
.
.
.

So you need to set the link0 flag on the tun0 if. You do this by
creating a /etc/hostname.tun0 containing the following statement:

link0 up

This should solve your problem. But, why use tap instead of tun? Routing
is way more efficient than bridging.

My regards,

--
Giancarlo Razzolini
Linux User 172199
Red Hat Certified Engineer no:804006389722501
Moleque Sem Conteudo Numero #002
Slackware Current
OpenBSD Stable
Ubuntu 7.04 Feisty Fawn
Snike Tecnologia em Informatica
4386 2A6F FFD4 4D5F 5842  6EA0 7ABE BBAB 9C0E 6B85

[demime 1.01d removed an attachment of type application/pgp-signature which had 
a name of signature.asc]



Re: rtorrent + OpenBSD = freeze

2008-02-19 Thread Jon Olsson
On Tue, Feb 19, 2008 at 06:11:12PM +0100, Daniel Andersson wrote:
 I don't think it is the NICs, I bought two Intel PRO/1000 something.

FWIW, I also saw this freeze while using rtorrent, and I also have 
an Intel PRO/1000 NIC:

em0 at pci0 dev 2 function 0 Intel PRO/1000MT (82540EM) rev 0x02: irq 10, 
address 00:c0:9f:1e:26:2c

I have no more data than this, it's just a mere 'me too' and one thing
we have in common (the NIC).

Cheers,
-- 
Jon



Re: Powerbook G4 turn off screen

2008-02-19 Thread Antoine Jacoutot

On Tue, 19 Feb 2008, Floor Terra wrote:

Now I have to run X, but that's ok.


Ah... well then:
$ wsconsctl display.backlight=0

--
Antoine



Re: Powerbook G4 turn off screen

2008-02-19 Thread Floor Terra
On 2/19/08, Antoine Jacoutot [EMAIL PROTECTED] wrote:
 On Tue, 19 Feb 2008, Floor Terra wrote:
  I have installed OpenBSD 4.2 GENERIC#1517 macppc
  on my Powerbook G4 (dmesg below) to use it as a server.
  Is there a way to power down the screen to save power?

 $ xset dpms force off

Thanks.
Now I have to run X, but that's ok.

Floor



Not updating .libs-XXXXX, remember to clean it (huh?)

2008-02-19 Thread Juan Miscaro
I am working with a recent snapshot installation (090208) and I have
some questions regarding updating packages with pkg_add.


...
1. I am shown the following:

Not updating .libs-curl-7.16.2, remember to clean it
Not updating .libs-db-4.2.52p11, remember to clean it
Not updating .libs-pcre-7.1, remember to clean it
Not updating .libs-png-1.2.18, remember to clean it

How do I clean it?

I have these files on my system.  By cleaning it should I merely
delete the earlier version?  If so, why doesn't pkg_add do it?

/usr/local/lib/libcurl.so.8.0
/usr/local/lib/libcurl.so.6.0

/usr/local/lib/db4/libdb.so.4.2
/usr/local/lib/db4/libdb.so.5.0

/usr/local/lib/libpcre.so.2.1
/usr/local/lib/libpcre.so.1.1

/usr/local/lib/libpng.so.5.2
/usr/local/lib/libpng.so.6.0


...
2. I am using the following incantation:

# pkg_add -ui

but the documentation [1] says to use:

# pkg_add -ui -F depends -F updatedepends

However, the man page states that the first keyword is unsafe.

What is the recommended procedure and why would I need to use special
keywords for forcing stuff?


...
3. To serve remote systems, on my server I store installed packages
locally through the use of the PKG_CACHE variable.  Thus, after a
packages upgrade, I am left with multiple versions of the same package.

Is there any known method, besides manual deletion, that will clear out
the older versions?


Thanks in advance,

/juan


[1] http://www.openbsd.org/faq/upgrade42.html#Pkgup


  Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/



Re: Powerbook G4 turn off screen

2008-02-19 Thread Floor Terra
On 2/19/08, Antoine Jacoutot [EMAIL PROTECTED] wrote:
 On Tue, 19 Feb 2008, Floor Terra wrote:
  Now I have to run X, but that's ok.

 Ah... well then:
 $ wsconsctl display.backlight=0

Even better!

Floor



Re: rtorrent + OpenBSD = freeze

2008-02-19 Thread Bernhard Leiner
On 19/02/2008, nicodache [EMAIL PROTECTED] wrote:
 I've been using rtorrent on openbsd 4.1 for more than 6 months without
 a single breakdown.
 now, in less than 2 weeks, my 4.2 box (the same hardware, just
 upgraded version) froze twice...

I have very similar experiences. Since my upgrade to 4.2 and rtorrent
0.7.4 + libtorrent 0.11.4 my system (soekris 4801) freezes after
running rtorrent for a couple of hours. I had no problems at all
before upgrading.

Some interesting facts:
  - no running daemon is responding any more (sshd, dhcpd, smbd)
  - no response to pings
  - no response to commands via serial connection
BUT
  - routing and NAT still works

Some debug output can be found below:

ddb trace
Debugger(d0b1fc00,d3c95700,d3bc6016,f9040001,3f8) at Debugger+0x4
comintr(d0b1f000) at comintr+0x9f
Xrecurse_legacy4() at Xrecurse_legacy4+0xad
--- interrupt ---
apm_cpu_idle(c0,d078d380,d078d200,7fff,d0335a7b) at apm_cpu_idle+0x42
idle_loop(d08c7f00,4,d08c7f18,d0332d66,d08c7f00) at idle_loop+0x5
sleep_finish(d08c7f00,1,4,d06979cc,0) at sleep_finish+0x4d
tsleep(d078d200,4,d06979cc,0) at tsleep+0x7a
uvm_scheduler(d078d1dc,3,0,d064e610,2) at uvm_scheduler+0x1b
main(0,0,0,0,0) at main+0x713
ddb ps
   PID   PPID   PGRPUID  S   FLAGS  WAIT  COMMAND
 12318  30727  30727  0  3  0x4000  km_alloc1wnewsyslog
 30727  24283  30727  0  3  0x4080  pause sh
 24283   8572   8572  0  30x80  piperdcron
  5981   9083   5981   1001  3  0x4002  km_alloc1wrtorrent
  9083  28865   9083   1001  3  0x4082  pause ksh
 28865  1  28865   1001  30x80  selectscreen
 11974  1  11974  0  3  0x4002  inode login
  8572  1   8572  0  3  0x2000  km_alloc1wcron
 20227  1  20227  0  30x81  selectnmbd
  5055   9940   9940  0  3   0x181  pause smbd
  9940  1   9940  0  3   0x181  selectsmbd
  4635  1   4635  0  30x80  selectsshd
 23343  1  23343  0  3   0x180  selectinetd
  7434  11543  11543 74  3   0x180  bpf   pflogd
 11543  1  11543  0  30x80  netio pflogd
 16394  20490  20490 73  3   0x180  poll  syslogd
 20490  1  20490  0  30x88  netio syslogd
 19176  1  19176 77  3   0x180  poll  dhclient
 13003  1  13276  0  30x82  poll  dhclient
12  0  0  0  30x100200  crypto_wait   crypto
11  0  0  0  30x100200  aiodoned  aiodoned
10  0  0  0  30x100200  syncerupdate
 9  0  0  0  30x100200  cleaner   cleaner
 8  0  0  0  30x100200  reaperreaper
 7  0  0  0  30x100200  inode pagedaemon
 6  0  0  0  30x100200  pftm  pfpurge
 5  0  0  0  30x100200  usbtskusbtask
 4  0  0  0  30x100200  usbevtusb0
 3  0  0  0  30x100200  bored syswq
 2  0  0  0  30x100200  kmalloc   kmthread
 1  0  1  0  3  0x4080  wait  init
 0 -1  0  0  3 0x80200  scheduler swapper



Re: Not updating .libs-XXXXX, remember to clean it (huh?)

2008-02-19 Thread Markus Lude
On Tue, Feb 19, 2008 at 01:07:25PM -0500, Juan Miscaro wrote:
 I am working with a recent snapshot installation (090208) and I have
 some questions regarding updating packages with pkg_add.
 
 
 ...
 1. I am shown the following:
 
 Not updating .libs-curl-7.16.2, remember to clean it
 Not updating .libs-db-4.2.52p11, remember to clean it
 Not updating .libs-pcre-7.1, remember to clean it
 Not updating .libs-png-1.2.18, remember to clean it
 
 How do I clean it?

You could remove those packages with something like

# pkg_delete /var/db/pkg/.libs-curl-7.16.2

But make sure you have not compiled something without using the ports
system which need those libs.

 I have these files on my system.  By cleaning it should I merely
 delete the earlier version?  If so, why doesn't pkg_add do it?

At the time of updating those packages the shared libraries were still
needed from other packages. Therefore those .libs-* packages which only
contain the shared libs.

 /usr/local/lib/libcurl.so.8.0
 /usr/local/lib/libcurl.so.6.0
 
 /usr/local/lib/db4/libdb.so.4.2
 /usr/local/lib/db4/libdb.so.5.0
 
 /usr/local/lib/libpcre.so.2.1
 /usr/local/lib/libpcre.so.1.1
 
 /usr/local/lib/libpng.so.5.2
 /usr/local/lib/libpng.so.6.0

This are these old libs and their newer versions.

 ...
 2. I am using the following incantation:
 
 # pkg_add -ui
 
 but the documentation [1] says to use:
 
 # pkg_add -ui -F depends -F updatedepends

You could add  -F alwaysupdate

 However, the man page states that the first keyword is unsafe.
 
 What is the recommended procedure and why would I need to use special
 keywords for forcing stuff?

IMO the above looks good. For example package B depends on A and both
need an update. You can't simply update A because there is another
package (B) which depends on it and the dependancies doesn't match for
the newer A. You can't simply update B because of missing dependancy
either. Therefore you need to force the update. I hope I understood and
explained this correct.

 ...
 3. To serve remote systems, on my server I store installed packages
 locally through the use of the PKG_CACHE variable.  Thus, after a
 packages upgrade, I am left with multiple versions of the same package.
 
 Is there any known method, besides manual deletion, that will clear out
 the older versions?

I don't know.

 Thanks in advance,
 
 /juan
 
 
 [1] http://www.openbsd.org/faq/upgrade42.html#Pkgup

Regards,
Markus



Re: Not updating .libs-XXXXX, remember to clean it (huh?)

2008-02-19 Thread Frank Bax

Juan Miscaro wrote:

1. I am shown the following:

Not updating .libs-curl-7.16.2, remember to clean it
Not updating .libs-db-4.2.52p11, remember to clean it
Not updating .libs-pcre-7.1, remember to clean it
Not updating .libs-png-1.2.18, remember to clean it

How do I clean it?



http://archives.neohapsis.com/archives/openbsd/2007-04/1780.html



Re: -current, softraid on root?

2008-02-19 Thread bofh
On Feb 19, 2008 12:55 PM, Marco Peereboom [EMAIL PROTECTED] wrote:
 Enabled are RAID 0 and RAID 1.  RAID 0 is for all intents and purposes
 good to go.  RAID 1 misses rebuilds (hi henning!) at this moment.
 Crypto is being evaluated to ensure the crypto is strong enough to be
 trusted.  It will remain disabled until that evaluation is complete.
 More on that one later.

Wait - you're talking about full disk crypto, raid 1, bootable, in the
future?  Oooo, I heartily endorse and subscribe to this product and/or
feature.

 RAID 5 is a post 4.3 item for me.

Cool.  Useful for the future, I just like bootable root on raid1 - no
pressures from me though! :)

-- 
http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
This officer's men seem to follow him merely out of idle curiosity.
-- Sandhurst officer cadet evaluation.
Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks
factory where smoking on the job is permitted.  -- Gene Spafford
learn french:  http://www.youtube.com/watch?v=j1G-3laJJP0feature=related



Re: rtorrent + OpenBSD = freeze

2008-02-19 Thread Pierre Riteau
On Tue, Feb 19, 2008 at 08:08:50PM +0100, Jon Olsson wrote:
 On Tue, Feb 19, 2008 at 06:11:12PM +0100, Daniel Andersson wrote:
  I don't think it is the NICs, I bought two Intel PRO/1000 something.
 
 FWIW, I also saw this freeze while using rtorrent, and I also have 
 an Intel PRO/1000 NIC:
 
 em0 at pci0 dev 2 function 0 Intel PRO/1000MT (82540EM) rev 0x02: irq 10, 
 address 00:c0:9f:1e:26:2c
 
 I have no more data than this, it's just a mere 'me too' and one thing
 we have in common (the NIC).
 
 Cheers,
 -- 
 Jon
 

I have seen this freeze with both xl(4) and nfe(4).

--
Pierre Riteau



Re: What is our ultimate goal??

2008-02-19 Thread Ted Unangst
On Feb 19, 2008 4:50 AM, Mayuresh Kathe [EMAIL PROTECTED] wrote:
 That's the reason I've been gathering good C developers, so that they
 could either;
 1. take up complex projects like FireEngine/DTrace,
 2. write replacements for as many GNU tools/utilities as possible,
 3. be a landing stage for newer developers who get intimidated by the
 intensity of the core developers.

good luck with that.  be sure to let us know when it's all done, ok?  thanks.



Re: Mysql performance

2008-02-19 Thread Matthew Weigel

raven wrote:

Gustavo Polillo ha scritto:

Is there any benchmark with mysql + openbsd and Mysql + others OS like
freebsd or linux? Anyone work with mysql on openbsd? I will work with
theses and i need some sugestions.. thanks..


[Google link shortened, but search terms preserved:]

http://www.google.it/search?q=mysql+performance+freebsd


Somehow I don't think that's going to cover OpenBSD results much...

Gustavo: what kind of hardware?  On single processor systems, OpenBSD 
MySQL performance was relatively close to FreeBSD and Linux last time I 
looked at these kinds of benchmarks.  FreeBSD (particularly 7) and Linux 
are going to smoke OpenBSD's MySQL performance on multiple processors.


On the other hand, PostgreSQL will see performance gains from SMP on all 
of those platforms.  What's more, you will find many examples across the 
'Net of PostgreSQL scaling to high load or more CPUs better than MySQL. 
 I mention this mostly because I have no idea what you're doing, or 
what your requirements are, so it is possible that PostgreSQL will serve 
your needs better - but perhaps you have some restrictions that require 
MySQL after all.


(for everyone else: I'm really not trying to argue about OpenBSD's 
threading implementation here, and I don't want to get into whether 
threads or processes are generally the right solution...)

--
 Matthew Weigel
 hacker
 [EMAIL PROTECTED]



Re: rtorrent + OpenBSD = freeze

2008-02-19 Thread Daniel Andersson
I have very similar experiences. Since my upgrade to 4.2 and rtorrent
0.7.4 + libtorrent 0.11.4 my system (soekris 4801) freezes after
running rtorrent for a couple of hours. I had no problems at all
before upgrading.

Some interesting facts:
 - no running daemon is responding any more (sshd, dhcpd, smbd)
 - no response to pings
 - no response to commands via serial connection
BUT
  - routing and NAT still works

Yes. That is exactly how it was for me too.


I tried to find out myself by reading this thread a few times, but I'm
still not sure, so I need to ask: With Every now and then it
Freezes  you mean permanently? Your box doesn't recover by itself
after a minute or two?

Because I've a remotely similar problem at the moment, also since 4.2
or even a bit earlier (I run current). I don't think yet that it's
similar enough to post about it in this thread, and if your box
freezes permanently, it's probably not related.

Tas.

Yes. it is a permanent freeze. It would freeze sometime at night, and the
next morning it would still be frozen. Only the routing part works.

Daniel Andersson



Re: -current, softraid on root?

2008-02-19 Thread Pierre Riteau
Hijacking this thread to ask another question related to softraid:
is it possible to disassemble a RAID volume?
I wanted to test RAID0, typed 1 instead, searched the manpages...
seems the only solution is wiping metadata and rebooting?

On Tue, Feb 19, 2008 at 11:55:44AM -0600, Marco Peereboom wrote:
 Enabled are RAID 0 and RAID 1.  RAID 0 is for all intents and purposes
 good to go.  RAID 1 misses rebuilds (hi henning!) at this moment.
 Crypto is being evaluated to ensure the crypto is strong enough to be
 trusted.  It will remain disabled until that evaluation is complete.
 More on that one later.
 
 RAID 5 is a post 4.3 item for me.
 
 On Tue, Feb 19, 2008 at 12:22:42PM -0500, bofh wrote:
  On Feb 18, 2008 10:17 PM, Marco Peereboom [EMAIL PROTECTED] wrote:
   Not just yet!
  
   You can boot of something non-softraid and do the rest on softraid.
   This will be a feature I will work on once I have the initial 3
   disciplines ready and we can handle foreign metadata.  Then I'll work on
   booting/rooting a softraid.  My todo list is still on my website if
   you'd like to contribute.
  
  Ah!  Unfortunately, my coding-fu is non-existent.  I take it you
  want raid-0, raid-1 and raid-5?  OK.  I think I'm going to just live
  with a 2pm nightly rsync to the backup drive. :)
  
  
  -- 
  http://www.glumbert.com/media/shift
  http://www.youtube.com/watch?v=tGvHNNOLnCk
  This officer's men seem to follow him merely out of idle curiosity.
  -- Sandhurst officer cadet evaluation.
  Securing an environment of Windows platforms from abuse - external or
  internal - is akin to trying to install sprinklers in a fireworks
  factory where smoking on the job is permitted.  -- Gene Spafford
  learn french:  http://www.youtube.com/watch?v=j1G-3laJJP0feature=related



Re: rtorrent + OpenBSD = freeze

2008-02-19 Thread Julien Cabillot
On mar, 2008-02-19 at 20:08 +0100, Jon Olsson wrote:
 On Tue, Feb 19, 2008 at 06:11:12PM +0100, Daniel Andersson wrote:
  I don't think it is the NICs, I bought two Intel PRO/1000 something.
 
 FWIW, I also saw this freeze while using rtorrent, and I also have 
 an Intel PRO/1000 NIC:
 
 em0 at pci0 dev 2 function 0 Intel PRO/1000MT (82540EM) rev 0x02: irq 10, 
 address 00:c0:9f:1e:26:2c
 
 I have no more data than this, it's just a mere 'me too' and one thing
 we have in common (the NIC).
 
 Cheers,

me too :) with an
em0 at pci2 dev 1 function 0 Intel PRO/1000XT (82544EI) rev 0x02: apic
4 int 0 (irq 10), address 00:40:d0:2e:96:ef
rtorrent freeze some time when I have many torrent in download, now I'm
using btpd since 1 week and I have no freeze anymore.



Re: -current, softraid on root?

2008-02-19 Thread Marco Peereboom
We will eventually boot and root all/most RAID sets.  At the previous
hackathon theo and tom wrote a whole bunch of code, which you'll never
notice, to make this possible.  We are not quiet there yet but the
groundwork has been laid.  It becomes very complicated when we get into
the MD/MI part of this discussion.

On Tue, Feb 19, 2008 at 03:26:12PM -0500, bofh wrote:
 On Feb 19, 2008 12:55 PM, Marco Peereboom [EMAIL PROTECTED] wrote:
  Enabled are RAID 0 and RAID 1.  RAID 0 is for all intents and purposes
  good to go.  RAID 1 misses rebuilds (hi henning!) at this moment.
  Crypto is being evaluated to ensure the crypto is strong enough to be
  trusted.  It will remain disabled until that evaluation is complete.
  More on that one later.
 
 Wait - you're talking about full disk crypto, raid 1, bootable, in the
 future?  Oooo, I heartily endorse and subscribe to this product and/or
 feature.
 
  RAID 5 is a post 4.3 item for me.
 
 Cool.  Useful for the future, I just like bootable root on raid1 - no
 pressures from me though! :)
 
 -- 
 http://www.glumbert.com/media/shift
 http://www.youtube.com/watch?v=tGvHNNOLnCk
 This officer's men seem to follow him merely out of idle curiosity.
 -- Sandhurst officer cadet evaluation.
 Securing an environment of Windows platforms from abuse - external or
 internal - is akin to trying to install sprinklers in a fireworks
 factory where smoking on the job is permitted.  -- Gene Spafford
 learn french:  http://www.youtube.com/watch?v=j1G-3laJJP0feature=related



Re: -current, softraid on root?

2008-02-19 Thread Marco Peereboom
Well that is one way of doing it but you can cheat by recreating the
disk using the noauto flag (-C n).  In fact when I actually will write
the delete that is all it essentially will do unless the user selects
force and then I'll clear the metadata area as well.

On Tue, Feb 19, 2008 at 10:44:18PM +0100, Pierre Riteau wrote:
 Hijacking this thread to ask another question related to softraid:
 is it possible to disassemble a RAID volume?
 I wanted to test RAID0, typed 1 instead, searched the manpages...
 seems the only solution is wiping metadata and rebooting?
 
 On Tue, Feb 19, 2008 at 11:55:44AM -0600, Marco Peereboom wrote:
  Enabled are RAID 0 and RAID 1.  RAID 0 is for all intents and purposes
  good to go.  RAID 1 misses rebuilds (hi henning!) at this moment.
  Crypto is being evaluated to ensure the crypto is strong enough to be
  trusted.  It will remain disabled until that evaluation is complete.
  More on that one later.
  
  RAID 5 is a post 4.3 item for me.
  
  On Tue, Feb 19, 2008 at 12:22:42PM -0500, bofh wrote:
   On Feb 18, 2008 10:17 PM, Marco Peereboom [EMAIL PROTECTED] wrote:
Not just yet!
   
You can boot of something non-softraid and do the rest on softraid.
This will be a feature I will work on once I have the initial 3
disciplines ready and we can handle foreign metadata.  Then I'll work on
booting/rooting a softraid.  My todo list is still on my website if
you'd like to contribute.
   
   Ah!  Unfortunately, my coding-fu is non-existent.  I take it you
   want raid-0, raid-1 and raid-5?  OK.  I think I'm going to just live
   with a 2pm nightly rsync to the backup drive. :)
   
   
   -- 
   http://www.glumbert.com/media/shift
   http://www.youtube.com/watch?v=tGvHNNOLnCk
   This officer's men seem to follow him merely out of idle curiosity.
   -- Sandhurst officer cadet evaluation.
   Securing an environment of Windows platforms from abuse - external or
   internal - is akin to trying to install sprinklers in a fireworks
   factory where smoking on the job is permitted.  -- Gene Spafford
   learn french:  http://www.youtube.com/watch?v=j1G-3laJJP0feature=related



Re: rtorrent + OpenBSD = freeze

2008-02-19 Thread Brian
--- Pierre Riteau [EMAIL PROTECTED] wrote:


 I have seen this freeze with both xl(4) and nfe(4).

Maybe it's time folks start posting their dmesg.

Brian


  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping



Re: rtorrent + OpenBSD = freeze

2008-02-19 Thread Jacob Winther
I've also experienced issues with rtorrent on 4.2. During a busy  
(freeleech) period where I had more than my usual number of torrent  
and pairs, the system would freeze after approx 3 hrs. This happened  
regularly for the 3 or so days that things were busy. When the system  
froze I found I could still ping it, but it was otherwise unresponsive  
and required a hard boot. I was not able to find any evidence after  
the crash. The only other process running on the system is screen +  
irc with very low traffic. The otherall traffic for rtorfrent was  
fairly low as I'm rate limited to about 1Mb/s international. This was  
on a vmware server. Since then I've had no issues and regularly  
transfer files from that system at 25Mb/s or proxy traffic at about  
85Mb/s.


Cheers
Jacob




On 20/02/2008, at 9:05 AM, Pierre Riteau wrote:


On Tue, Feb 19, 2008 at 08:08:50PM +0100, Jon Olsson wrote:

On Tue, Feb 19, 2008 at 06:11:12PM +0100, Daniel Andersson wrote:

I don't think it is the NICs, I bought two Intel PRO/1000 something.


FWIW, I also saw this freeze while using rtorrent, and I also have
an Intel PRO/1000 NIC:

em0 at pci0 dev 2 function 0 Intel PRO/1000MT (82540EM) rev 0x02:  
irq 10, address 00:c0:9f:1e:26:2c


I have no more data than this, it's just a mere 'me too' and one  
thing

we have in common (the NIC).

Cheers,
--
Jon



I have seen this freeze with both xl(4) and nfe(4).

--
Pierre Riteau




Re: Multi-Threaded SSH/SCP made by university of Puttsburgh

2008-02-19 Thread David Higgs
On Feb 19, 2008 9:55 AM, chris rapier [EMAIL PROTECTED] wrote:
 dhiggs wrote:
  If someone can split SSH into multiple threads, it should be just as
  possible to split it into multiple processes.  However, I expect that
  most high-speed SSH traffic is SCP-/SFTP-based and therefore largely
  I/O bound, so it hasn't been high on anyone's requirements list.

 Based on my experience on working in the field of bulk data transfers on
 high speed networks for the past 6 years I'd have to say that you are,
 at the least, partly mistaken. However, maybe I'm not really
 understanding what you are saying. Could you expand on this a bit more?

Your experience vastly trumps mine, but I'll try to explain my thought
processes:

What is SSH used for?  My initial breakdown was into two categories -
shell/batch commands and SCP/SFTP file transport.  I guessed that an
application that outputs data to stdout at a rate of 10s or 100s of
Mbit/s over long periods of time would quickly be changed.  The output
would be redirected into a file or postprocessed in some other fashion
to reduce the amount of raw output a user would have to sort through.
This left bulk file transfer as the primary source of SSH traffic.

In retrospect I competely overlooked several very important facts.
Modern disks have more than enough throughput to saturate gigabit
connections - I have NO idea where my I/O bound statement came from.
 Also, SSH encrypted transport can be used for more than just 'put'
and 'get'.  There are probably more reasons why I'm misguided, but
this is enough for now.

I apologize and retract that portion of my post; you can safely
disregard it as complete lunacy on my behalf.

--david



Re: mfi diff to try to fix 'not queued' errors

2008-02-19 Thread Kenneth R Westerback
On Fri, Feb 15, 2008 at 08:11:58PM -0600, Vijay Sankar wrote:
 On February 15, 2008 07:49:27 pm Marco Peereboom wrote:
  Making sure the folks who requested it see this...
 
  On Fri, Feb 15, 2008 at 08:21:51PM -0500, Kenneth R Westerback wrote:
   The diff below makes mfi use the 'backpressure' facility in the scsi
   layer by allowing the retry of an i/o that can't be started. It
   would be interesting to see if this helps those who are seeing the
   'not queued' errors.
 
    Ken
 
   Index: mfi.c
   ===
   RCS file: /cvs/src/sys/dev/ic/mfi.c,v
   retrieving revision 1.79
   diff -u -p -r1.79 mfi.c
   --- mfi.c  11 Feb 2008 01:07:02 -  1.79
   +++ mfi.c  16 Feb 2008 01:14:12 -
   @@ -986,7 +986,7 @@ mfi_scsi_cmd(struct scsi_xfer *xs)
 
  if ((ccb = mfi_get_ccb(sc)) == NULL) {
  DNPRINTF(MFI_D_CMD, %s: mfi_scsi_cmd no ccb\n, DEVNAME(sc));
   -  return (TRY_AGAIN_LATER);
   +  return (NO_CCB);
  }
 
  xs-error = XS_NOERROR;
 
 Thank you very much, we will test this next weekend. I hope to update the 
 firmware first, run the large writes to see if we can reproduce the error and 
 then apply this patch.
 
 -- 
 Vijay Sankar, M.Eng., P.Eng.
 President  CEO
 ForeTell Technologies Limited
 59 Flamingo Avenue, Winnipeg, MB Canada R3J 0X6
 Phone: +1 204 885 9535, E-Mail: [EMAIL PROTECTED]

Did the change that was committed fix your issues? I never saw a
report that you had been able to test it.

 Ken



Re: rtorrent + OpenBSD = freeze

2008-02-19 Thread K K
I've left rTorrent running on 4.1 for weeks on end, (on both i386 and
Sparc64), never had the OS freeze.   I will try it again with 4.2, see
if the results are different.

Recently I've seen several unexplained freezes on very simple 4.2
servers (e.g running nothing but BIND and arpwatch), similar to the
symptoms reported earlier in this thread with rTorrent.


On Feb 19, 2008 10:46 AM, bofh [EMAIL PROTECTED] wrote:
 You've been using windows too much.  If an application freezes the OS,
 it's an OS issue (it still may be an application issue, but no amount
 of application tickling of the OS should freeze the OS).

Agreed.  I'd bet the issue boils down to networking and/or disk I/O.

The rTorrent application exercises so many facets of the OS,  myriad
places where it could trigger a kernel/disk/routing/pf/etc bug, one
which lesser applications wouldn't trip.

If there's interest in putting up a tracker for a bunch of OpenBSD
ports/packages/distfiles torrents, I'll gladly assist in
exercising/exorcising this problem by running a seedbox.

Kevin



Re: What is our ultimate goal??

2008-02-19 Thread Douglas A. Tutty
On Tue, Feb 19, 2008 at 11:39:50AM +0100, Zbigniew Baniewski wrote:
 On Tue, Feb 19, 2008 at 09:07:50AM +0100, Alexander Hall wrote:
 
  The suggestion about installing packages into /whatever is fine if 
  stated as a suggestion and/or question. I do not agree, but still I 
  think the question is valid. However, adding It doesn't need any 
  funding to fix this. makes it seem like a mistake that is trivial to 
  fix, and I can understand if that pisses Marc off.
 
 ...however it was just an answer to Michael Dexters suggestion... (read the
 thread).
 
  BTW, think about all ports with hardcoded paths to 
  /usr/local/dependency. One might argue that those ports are broken, 
  but I'd guess there are quite a lot of them.
 
 Hardcoded? So, changing LOCALBASE could be even dangerous, I'm afraid.
 Nothing can I do then with this.

While I guess it would be nice if every package looked for LOCALBASE, I
think that every OS/distro has its own version of hier which you violate
at your peril.  You don't happen to agree that OpenBSD uses /usr/local
for things under the controll of package management.  However, bucking
that is likely more hard work than its worth.

I put my little scripts that I want system wide in /opt/[domain]/usr/...
which leaves /usr/local free for OBSD stuff.  I don't package them up
because then I'd have to package them up for my debian boxes:  too much
effort.

Doug.



Re: What is our ultimate goal??

2008-02-19 Thread Mayuresh Kathe
On Feb 20, 2008 2:59 AM, Ted Unangst [EMAIL PROTECTED] wrote:
 On Feb 19, 2008 4:50 AM, Mayuresh Kathe [EMAIL PROTECTED] wrote:
  That's the reason I've been gathering good C developers, so that they
  could either;
  1. take up complex projects like FireEngine/DTrace,
  2. write replacements for as many GNU tools/utilities as possible,
  3. be a landing stage for newer developers who get intimidated by the
  intensity of the core developers.

 good luck with that.  be sure to let us know when it's all done, ok?  thanks.

If thats sarcasm its really not warranted.
If its not sarcasm, then we'll be posting to the list about our progress.

Also, Ted, I'm sorry if you felt offended by my ranting about you not
completing kernel threads, but the loss of those developers really
felt bad.

~Mayuresh



Re: OpenBSD 4.1 Stable Strange Problem

2008-02-19 Thread Darrin Chandler
On Wed, Feb 20, 2008 at 11:33:46AM +0800, Wong Peter wrote:
 I know why is need to wait for long time because i have a long list of
 hacker address(table rules) hacked me before. Therefore, opnebsd need to
 check it before connect to internet.
 
 I need to wait around 5 minutes.

If this is normal for you, then why Ctrl+C?

I do not think you need to do this before bringing up the interfaces.
The default PF ruleset is fairly restrictive, and is only in place for a
brief time before the normal rules are loaded. Have you done something
custom to rc to make this happen?

 The first problem is very strange where my wireless connection cannot be
 detected by my windows client.
 
 I sure that previously it worsk perfectly as ap but now is malfunction.

Can you post your dmesg to the list? And perhaps the hostname.* file for
the wireless card, and output from ifconfig?

 How to i browse tje [EMAIL PROTECTED] mailing list.

See http://marc.info/?l=openbsd-miscr=1b=200802w=2 or subscribe to
the list.


 A billion thanks for oyur help.
 
 Thanks for add my thread to misc@openbsd.org

You will also need to use Reply All in your mail program or remember
to CC [EMAIL PROTECTED] Mail from the list does not automatically reply
back to the list.

-- 
Darrin Chandler|  Phoenix BSD User Group  |  MetaBUG
[EMAIL PROTECTED]   |  http://phxbug.org/  |  http://metabug.org/
http://www.stilyagin.com/  |  Daemons in the Desert   |  Global BUG Federation



Sending mail from external firewall to external mail server (behind firewall)

2008-02-19 Thread Albert Chin
We have the following network layout:

 
|  Internet  |
 
   |
   |
   |(fxp4: 67.95.107.117)
   | : 67.95.107.111)
   | : et. al.)
   -
  |  External Firewall  |(vlan104: 192.168.13.81)
  |  (hammer)   |--
   -   \
   | (em0: 192.168.13.82)
   -
  |External Mail|
  |   (emma)|
   -

hammer% ifconfig fxp4
fxp4: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 00:07:e9:5d:62:f8
groups: egress
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 67.95.107.117 netmask 0xffe0 broadcast 67.95.107.127
inet6 fe80::207:e9ff:fe5d:62f8%fxp4 prefixlen 64 scopeid 0x6
inet 67.95.107.111 netmask 0x broadcast 67.95.107.111
...

I have the following pf.conf rules applicable to this setup:
  ext_if = fxp4
  mail_ip = 67.95.107.111
  emma_gw = 192.168.13.82

  set skip on { lo0 }

  rdr pass log on $ext_if inet proto tcp from any to $mail_ip \
port = smtp - $emma_gw

From the Internet, if I telnet 67.95.107.111 25, everything works.
But, on hammer:
  hammer% telnet 67.95.107.111 25
  Trying 67.95.107.111...
  telnet: connect to address 67.95.107.111: Connection refused

Digging further:
  hammer% netstat -rn | grep 67.95.107.111
  67.95.107.111  127.0.0.1  UGHS0  317  33224 lo0
  67.95.107.111/32   link#6 UC  00  - fxp4

So, I then did this:
  hammer% telnet 67.95.107.111 25
  Trying 67.95.107.111...
  telnet: connect to address 67.95.107.111: Connection refused

While running the telnet, tcpdump reported:
  hammer% tcpdump -n -i lo0
  18:06:44.364940 67.95.107.111.2877  67.95.107.111.25: S 71726850:71726850(0) 
win 16384 mss 33184,nop,nop,sackOK,nop,wscale 0,nop,nop,timestamp 1184513159 
0 (DF) [tos 0x10]
  18:06:44.364949 67.95.107.111.25  67.95.107.111.2877: R 0:0(0) ack 71726851 
win 0 (DF)

Makes sense considering the netstat output. So, on hammer, how do I
get telnet 67.95.107.111 25 working?

According to pf.conf(5):
 set skip on ifspec
   List interfaces for which packets should not be filtered.  Packets
   passing in or out on such interfaces are passed as if pf was dis-
   abled, i.e. pf does not process them in any way.  This can be use-
   ful on loopback and other virtual interfaces, when packet filtering
   is not desired and can have unexpected effects.  For example:

 set skip on lo0

Is the standard solution to configure mail on hammer so delivery is
through 192.168.13.82, not 67.95.107.111?

-- 
albert chin ([EMAIL PROTECTED])



Remote syslog

2008-02-19 Thread Steve B
My employer has given me some free colo space and I thought I would take
advantage of it to do remote system logging. Those of you here who are doing
it, could you comment on whether you are using Syslog-NG or something else,
and whether you are doing it over SSH or IPSEC? I have looked at various
articles around the net but would like some first hand comments.

Steve



Re: Remote syslog

2008-02-19 Thread Zhang Huangbin

Steve B wrote:

My employer has given me some free colo space and I thought I would take
advantage of it to do remote system logging. Those of you here who are doing
it, could you comment on whether you are using Syslog-NG or something else,
and whether you are doing it over SSH or IPSEC? I have looked at various
articles around the net but would like some first hand comments.

Steve

OpenBSD 4.2 -release, i386.

I think this is what you need:
eh
# man syslogd

-u  Select the historical ``insecure'' mode, in which syslogd will
accept input from the UDP port.  Some software wants this, but
you can be subjected to a variety of attacks over the network,
including attackers remotely filling logs.



Re: rtorrent + OpenBSD = freeze

2008-02-19 Thread Matthew Dempsky
On 2/19/08, Brian [EMAIL PROTECTED] wrote:
 Maybe it's time folks start posting their dmesg.

Since I can recall rtorrent causing similar symptoms on my OpenBSD
firewall as well, I'll post mine too:

OpenBSD 4.0 (GENERIC) #1107: Sat Sep 16 19:15:58 MDT 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Geode NX (AuthenticAMD 686-class, 256KB L2 cache) 1.40 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 637038592 (622108K)
avail mem = 572289024 (558876K)
using 4256 buffers containing 31952896 bytes (31204K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(1f) BIOS, date 10/18/05, BIOS32 rev. 0 @
0xfb490, SMBIOS rev. 2.2 @ 0xf (33 entries)
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/0xdef4
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfde60/144 (7 entries)
pcibios0: PCI Exclusive IRQs: 3 5 9 10 11
pcibios0: PCI Interrupt Router at 000:02:0 (SiS 85C503 System rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0x8000 0xc8000/0x8000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 SiS 741 PCI rev 0x03
ppb0 at pci0 dev 1 function 0 SiS 648FX AGP rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 SiS 6330 VGA rev 0x00: aperture at
0xd800, size 0x40
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 2 function 0 SiS 964 ISA rev 0x36
pciide0 at pci0 dev 2 function 5 SiS 5513 EIDE rev 0x01: 741: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide0 channel 0 drive 0: ST340015A
wd0: 16-sector PIO, LBA, 38166MB, 78165360 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: ATAPI-CD, ROM-DRIVE-52MAX, 52PP SCSI0
5/cdrom removable
cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2
auich0 at pci0 dev 2 function 7 SiS 7012 AC97 rev 0xa0: irq 5, SiS7012 AC97
ac97: codec id 0x414c4760 (Avance Logic ALC655 rev 0)
audio0 at auich0
ohci0 at pci0 dev 3 function 0 SiS 5597/5598 USB rev 0x0f: irq 10,
version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: SiS OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci0 dev 3 function 1 SiS 5597/5598 USB rev 0x0f: irq 11,
version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: SiS OHCI root hub, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
ohci2 at pci0 dev 3 function 2 SiS 5597/5598 USB rev 0x0f: irq 9,
version 1.0, legacy support
usb2 at ohci2: USB revision 1.0
uhub2 at usb2
uhub2: SiS OHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 3 function 3 SiS 7002 USB rev 0x00: irq 3
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: SiS EHCI root hub, rev 2.00/1.00, addr 1
uhub3: 8 ports with 8 removable, self powered
sis0 at pci0 dev 4 function 0 SiS 900 10/100BaseTX rev 0x91: irq 11,
address 00:14:2a:b7:c9:17
rlphy0 at sis0 phy 9: RTL8201L 10/100 PHY, rev. 1
rl0 at pci0 dev 11 function 0 Accton MPX 5030/5038 rev 0x10: irq 11,
address 00:e0:29:58:9b:eb
rlphy1 at rl0 phy 0: RTL internal PHY
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
it0 at isa0 port 0x290/8: IT87
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask ff4d netmask ff4d ttymask ffcf
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
uhidev0 at uhub0 port 1 configuration 1 interface 0
uhidev0: Qtronix Generic USB K/B, rev 1.10/0.01, addr 2, iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub0 port 1 configuration 1 interface 1
uhidev1: Qtronix Generic USB K/B, rev 1.10/0.01, addr 2, iclass 3/1
uhidev1: 3 report ids
ums0 at uhidev1 reportid 1: 3 buttons and Z dir.
wsmouse0 at ums0 mux 0
uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0
uhid1 at uhidev1 reportid 3: input=4, output=0, feature=0
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302



Re: Remote syslog

2008-02-19 Thread Ryan Corder
On Tue, Feb 19, 2008 at 09:42:43PM -0700, Steve B wrote:
| My employer has given me some free colo space and I thought I would take
| advantage of it to do remote system logging. Those of you here who are doing
| it, could you comment on whether you are using Syslog-NG or something else,
| and whether you are doing it over SSH or IPSEC? I have looked at various
| articles around the net but would like some first hand comments.

I use syslog-ng and stunnel, almost trivial to setup.  Scenario looks
something like this:

1.  message arrives in syslog and is logged to a local file
2.  additionally, all messages are also sent to a remote server
3.  remote server is actually stunnel in listening on the loopback
4.  stunnel wraps up and forwards message to remote server
5.  remote server stunnel receives packet and decrypts it
6.  stunnel forwards decrypted packets (ie. message) to syslog-ng
7.  syslog-ng on the server splits logs up according to host, date, etc.

This setup has worked for me quite well.  In my last job, I had around 25
different machines all logging to a single host via syslog-ng over stunnel.
Load on the hosts, even the logging server, was negligable.

The config itself is really easy.  Work on it a while and see how you
do.  If you still are stuck, I might be convinced to provide an example.


peace.
ryanc



Re: Remote syslog

2008-02-19 Thread Kian Mohageri
On Feb 19, 2008 8:42 PM, Steve B [EMAIL PROTECTED] wrote:
 My employer has given me some free colo space and I thought I would take
 advantage of it to do remote system logging. Those of you here who are doing
 it, could you comment on whether you are using Syslog-NG or something else,
 and whether you are doing it over SSH or IPSEC? I have looked at various
 articles around the net but would like some first hand comments.


I set up an OpenBSD syslog server a few months ago.  The OpenBSD
logserver runs syslog-ng and Tenshi (to mail out alerts).

Clients run FreeBSD and OpenBSD.

No encryption currently (maybe change that in the future) because all
of the machines that log are local.

http://www.zampanosbits.com/wordpress/2007/07/08/implementing-a-central-logserver-with-openbsd/

Hope that helps,

-Kian



Re: What is our ultimate goal??

2008-02-19 Thread Duncan Patton a Campbell
On Wed, 20 Feb 2008 08:47:54 +0530
Mayuresh Kathe [EMAIL PROTECTED] wrote:

 On Feb 20, 2008 2:59 AM, Ted Unangst [EMAIL PROTECTED] wrote:
  On Feb 19, 2008 4:50 AM, Mayuresh Kathe [EMAIL PROTECTED] wrote:
   That's the reason I've been gathering good C developers, so that they
   could either;
   1. take up complex projects like FireEngine/DTrace,
   2. write replacements for as many GNU tools/utilities as possible,
   3. be a landing stage for newer developers who get intimidated by the
   intensity of the core developers.
 
  good luck with that.  be sure to let us know when it's all done, ok?  
  thanks.
 
 If thats sarcasm its really not warranted.
 If its not sarcasm, then we'll be posting to the list about our progress.
 
 Also, Ted, I'm sorry if you felt offended by my ranting about you not
 completing kernel threads, but the loss of those developers really
 felt bad.
 
 ~Mayuresh
 

Looks to me like your Tivo Box project might need to actually pay someone
to write a threads library.  

Dhu



Re: Remote syslog

2008-02-19 Thread Puthanveetil Unnikrishnan
 My employer has given me some free colo space and I thought I 
 would take advantage of it to do remote system logging. Those 
 of you here who are doing it, could you comment on whether 
 you are using Syslog-NG or something else, and whether you 
 are doing it over SSH or IPSEC? I have looked at various 
 articles around the net but would like some first hand comments.

Syslog-NG  + Stunnel is a good option. 

Syslog-NG can operate in TCP mode and Stunnel can encrypt the TCP
connections between the Loghost and the server. 


- Unni