Re: 4.6 arriving

2009-10-21 Thread Jean-Gérard Pailloncy
Disc, Mug and T-Shirt, in Paris, France.
Thank You.

Jean-Girard Pailloncy



Re: Webserver frozen - OpenBSD 4.4

2009-04-02 Thread Jean-Gérard Pailloncy
Hi,

I had a webserver with mod_perl and mysql on OpenBSD 4.4
Under heavy load or long running load, the box randomly freezes.
The problem was a bug in the uvm.
The fix is a uvm patch from Ariane in 01/2009.

Hope that will help you.

JG



Re: 4.3 Freeze

2008-11-13 Thread Jean-Gérard Pailloncy
Hello,

I had the time to test a snapshot.
I download the bsd.mp i386 11 nov 2008 23h25

I install only the bsd.mp because I want keep the box in 4.4 stable if
something goes wrong. If that is not engouh I will have the next week a
better environnement to test it (with serial console, apc, etc).

I have a heavy apache with mod_perl that was crashing the box due to (I
suppose) heavy memory fragmentation under 4.3. I upgrade to 4.4, and that
was only a little better.
With the 44.2008-2325 snapshot, it is really better.




What looks strange to me is that I limit the heavy perl to 10
MaxRequestPerChild in httpd.conf as a test. And when the child exist,
sometimes the swap used grows even if the memory is not exhausted.

When there are many heavy httpd process running, if I do apachectl stop
the machine often starts to swap to death.
But if I do pkill -9 httpd, no problem.


The second thing, I use watchdogd but it never reboots the server.




I see some message in /var/log/messages
Nov 14 01:00:07 root /bsd: uvm_mapent_alloc: out of static map entries Nov
14 01:01:58 root /bsd: uvm_mapent_alloc: out of static map entries Nov 14
01:03:44 root last message repeated 9 times
Nov 14 01:08:25 root last message repeated 4 times

When I test the box with
http_load - parallel 200 -seconds 60 url.txt
the server sometimes freezes.

Here the last output of some tools at freeze times:

   6 usersLoad 112.80 53.61 29.18  Fri Nov 14 01:22:02
2008

memory totals (in KB)PAGING   SWAPPING
Interrupts
   real   virtual free   in  out   in  out  453
total
Active  1553940   2068016   133424   ops110  116100 clock
All 3212464   3726540   133424   pages *326 mpi0
 27
bge1
Proc:r  d  s  wCsw   Trp   Sys   Int   Sof  Flt   forks ehci0
   119  3 20   188  1013   421   353   141 1004   fkppw
com0
  fksvm
   0.4%Int  96.9%Sys   2.8%Usr   0.0%Nic   0.0%Idle   pwait
|||||||||||   116 relck
=116 rlkok
  noram
Namei Sys-cacheProc-cacheNo-cache 398 ndcpy
Calls hits%hits %miss   % fltcp
  112  112  100 5 zfod
  254 cow
Disks   sd0   cd0   27882 fmin
seeks   37176 ftarg
xfers   327194244 itarg
Kbyte  1314 1 wired
  sec   0.8   116 pdfre


oad averages: 115.35, 56.10, 30.35   
01:22:07
225 processes: 115 running, 109 idle, 1 on processor
CPU states:  3.6% user,  0.0% nice, 96.4% system,  0.0% interrupt,  0.0% idle
Memory: Real: 1519M/3137M act/tot  Free: 131M  Swap: 502M/502M used/tot

  PIDUID   PRI NICE  SIZE   RES STATEWAIT  TIMECPU COMMAND
   12  0   -1800K  465M sleeppgdaemo   1:52 91.21%
pagedaemon
28486997280  212M   46M run  - 0:02  0.05% httpd 
16277 67280   47M   28M run  - 0:00  0.05% httpd 
26147 67280   47M   35M run  - 0:00  0.05% httpd
20969997280  227M   14M run  - 0:00  0.05% httpd 
19676 67280   68M 3404K run  - 0:07  0.00% httpd 
31033 67280   79M 3292K run  - 0:06  0.00% httpd
15570 67280   67M 3188K run  - 0:03  0.00% httpd
30920 67280   73M 6588K run  - 0:02  0.00% httpd
 4906 67280   72M 6184K run  - 0:02  0.00% httpd
6291997280  189M   57M run  - 0:02  0.00% httpd
19720 67280   67M 7148K run  - 0:02  0.00% httpd
 6337997280  232M   17M run  - 0:02  0.00% httpd 
1030997280  193M   55M run  - 0:02  0.00% httpd
29512997280  204M   61M run  - 0:02  0.00% httpd
17457997280  189M   30M run  - 0:02  0.00% httpd
19779997280  189M   31M run  - 0:02  0.00% httpd
17380997280  189M   17M run  - 0:01  0.00% httpd


netstat -m
2157 mbufs in use:
501 mbufs allocated to data
1648 mbufs allocated to packet headers
8 mbufs allocated to socket names and addresses
431/898/6144 mbuf clusters in use (current/peak/max)
2356 Kbytes allocated to network (59% in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines



OpenBSD 4.4-current (GENERIC) #1480: Tue Nov 11 

Re: Dell R200 ipmi

2008-10-13 Thread Jean-Gérard Pailloncy
 The Dell Poweredge R200 has a ipmi board but
 ipmi at mainbus0 not configured

 Is there some new stuff in current to support the ipmi on R200 ?
 especially the watchdog feature. Or patch waiting to be tested ?

Thank for the information. I enabled ipmi in the kernel with config.

A related question:
I have a R200 and a soekris.
On both box, I launch watchdogd.
On both the same output:
# sysctl kern.watchdog
kern.watchdog.period=30
kern.watchdog.auto=0

But if i do
# kill -STOP pid of watchdogd
the soekris reboot and not the R200

On the R200, if I do
# sysctl -w kern.watchdog.auto=1
then
# kill -STOP pid of watchdogd
then the R200 reboot too.

Any explanation ? Or is it a bug ?

JG



4.3 Freeze

2008-10-06 Thread Jean-Gérard Pailloncy
Hi,

My config:
- Dell Poweredge R200
- OpenBSD 4.3
- httpd -u
- mod_perl (package)
- mysql (package)
- EPrints (www.eprints.org)

Eprints is leaking some memory. I am in the process of finding the leak

Anyhow, at random interval the box freezes. I suppose that the memory is
to fragmented and the kernel gives up, but I do not know how to debug it.

With vmstat -m | head -n16 I log the Memory statistics by bucket size.
The freeze happens when the 16 is higher than 1,000,000.

In httpd.conf, I use MaxClient 80 and MaxRequestPerChild 20 to limit
the leak. Now I am able to keep the 16 below 800,000.

What I may do to help the system to deal with this problem.
I would like to relaxe both MaxClient and MaxRequestPerChild.

Any help welcome.
Jean-Girard

dmesg for GENERIC with acpiverbose:

OpenBSD 4.3 (ACPI) #0: Thu Oct 11 02:16:28 CEST 2007
[EMAIL PROTECTED]:/var/code/src/sys/arch/i386/compile/ACPI
cpu0: Intel(R) Xeon(R) CPU E3110 @ 3.00GHz (GenuineIntel 686-class) 3.01
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
real mem  = 3487866880 (3326MB)
avail mem = 3383980032 (3227MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 03/05/08, BIOS32 rev. 0 @ 0xfac90,
SMBIOS rev. 2.5 @ 0xcff9c000 (46 entries)
bios0: vendor Dell Inc. version 1.2.1 date 03/05/2008
bios0: Dell Inc. PowerEdge R200
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP APIC SPCR HPET MCFG WDAT SLIC ERST HEST BERT EINJ
SSDT SSDT SSDT
acpi0: wakeup devices PCI0(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpi device at acpi0 from table DSDT not configured
acpi device at acpi0 from table FACP not configured
acpimadt0 at acpi0 table APIC addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 333MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Xeon(R) CPU E3110 @ 3.00GHz (GenuineIntel 686-class) 3.01
GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
ioapic1 at mainbus0: apid 3 pa 0xfec1, version 20, 24 pins
ioapic1: misconfigured as apic 0, remapped to apid 3
acpi device at acpi0 from table SPCR not configured
acpihpet0 at acpi0 table HPET: 14318179 Hz
acpi device at acpi0 from table MCFG not configured
acpi device at acpi0 from table WDAT not configured
acpi device at acpi0 from table SLIC not configured
acpi device at acpi0 from table ERST not configured
acpi device at acpi0 from table HEST not configured
acpi device at acpi0 from table BERT not configured
acpi device at acpi0 from table EINJ not configured
acpi device at acpi0 from table SSDT not configured
acpi device at acpi0 from table SSDT not configured
acpi device at acpi0 from table SSDT not configured
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PEX1)
acpiprt2 at acpi0: bus 2 (SBE0)
acpiprt3 at acpi0: bus 3 (PXHA)
acpiprt4 at acpi0: bus 4 (SBE4)
acpiprt5 at acpi0: bus 5 (SBE5)
acpiprt6 at acpi0: bus 6 (COMP)
acpicpu0 at acpi0: FVS, 3000, 2667, 2333, 2000 MHz
acpicpu1 at acpi0: FVS, 3000, 2667, 2333, 2000 MHz
bios0: ROM list: 0xc/0x9000 0xc9000/0x1000 0xca000/0x1800
0xcb800/0x5c00 0xec000/0x4000!
ipmi at mainbus0 not configured
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 vendor Intel, unknown product 0x29f0 rev
0x01
ppb0 at pci0 dev 1 function 0 vendor Intel, unknown product 0x29f1 rev
0x01: apic 2 int 16 (irq 15)
pci1 at ppb0 bus 1
mpi0 at pci1 dev 0 function 0 Symbios Logic SAS1068E rev 0x08: apic 2
int 16 (irq 15)
scsibus0 at mpi0: 112 targets
sd0 at scsibus0 targ 0 lun 0: Dell, VIRTUAL DISK, 1028 SCSI3 0/direct fixed
sd0: 75340MB, 75340 cyl, 16 head, 128 sec, 512 bytes/sec, 154296320 sec total
ppb1 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x02
pci2 at ppb1 bus 2
ppb2 at pci2 dev 0 function 0 Intel PCIE-PCIE rev 0x09
pci3 at ppb2 bus 3
ppb3 at pci0 dev 28 function 4 Intel 82801I PCIE rev 0x02
pci4 at ppb3 bus 4
bge0 at pci4 dev 0 function 0 Broadcom BCM5721 rev 0x21, BCM5750 C1
(0x4201): apic 2 int 16 (irq 15), address 00:1e:c9:bb:6e:27
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
ppb4 at pci0 dev 28 function 5 Intel 82801I PCIE rev 0x02
pci5 at ppb4 bus 5
bge1 at pci5 dev 0 function 0 Broadcom BCM5721 rev 0x21, BCM5750 C1
(0x4201): apic 2 int 17 (irq 14), address 00:1e:c9:bb:6e:28
brgphy1 at bge1 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
uhci0 at pci0 dev 29 function 0 Intel 82801I USB rev 0x02: apic 2 int 21
(irq 11)
uhci1 at pci0 dev 29 function 1 Intel 82801I USB rev 0x02: apic 2 int 20
(irq 10)
uhci2 at pci0 dev 29 function 2 Intel 82801I USB rev 0x02: apic 2 int 21
(irq 11)
ehci0 at pci0 dev 29 function 7 Intel 82801I USB rev 0x02: apic 2 int 21
(irq 11)
usb0 at ehci0: 

Dell R200 ipmi

2008-10-06 Thread Jean-Gérard Pailloncy
Hi,

The Dell Poweredge R200 has a ipmi board but
 ipmi at mainbus0 not configured

Is there some new stuff in current to support the ipmi on R200 ?
especially the watchdog feature. Or patch waiting to be tested ?

JG



spamd db size

2008-10-06 Thread Jean-Gérard Pailloncy
Hi,

I have a mail server that suffers a strange size for /var/db/spamd.

# ls -l /var/db/spamd
-rw---  1 _spamd  _spamd  167657472 Oct  6 19:45 /var/db/spamd
# spamdb | wc -l
   16784

167 Mbytes for 16784 entries...

The box is a little old: OpenBSD 4.1 (stable)

Any solution ? appart upgrading (planned)

JG



Re: spamd db size

2008-10-06 Thread Jean-Gérard Pailloncy
 berkeley db files appear larger than they are: it uses sparse files.
 Check with ls -S or du for the actual blocks used.
# du -k spamd
131120  spamd

That is a little to much, is'nt it ?

Cordialement,
Jean-Girard Pailloncy



PKI VPN

2007-12-04 Thread Jean-Gérard Pailloncy
Hi,

I am planning (I do not know when) to use a PKI to manage the key of a VPN
router.

I follow a little the last discussion: IpSec may be use without (too much)
trouble on recent Windows and MacOS client (in addition of OpenBSD
client).
No (strong) need for pptp or L2TP.

The key are manage by isakmp, and I would like to use a PKI to manage the
keys. Then to migrate the keys to the VPN servers (file or LDAP ?).

At first glance, I consider OpenCA and IDX-PKI.
But PKI are complex tools and before I do some nasty things or I loose too
much time try to setup one, I would like to know which PKI you have used
and why?

Cordialement,
Jean-Girard Pailloncy



Re: etherip lag

2007-11-02 Thread Jean-Gérard Pailloncy
Hi,

Thank you for the help.

 Perhaps a problem with MSS (so PMTU discovery).
 Could you check if all ICMP are blocked at work ?
 Is it possible you setup your iMac to use a lower mss (let's say 1200)
 and try again ?

I check with MTU 1200 on iMac. And the problem is solved.

Things look better with only the following line in pf.conf
scrub out on gif0 all max-mss 1280

I will check with MTU 1452.

Cordialement,
Jean-Girard Pailloncy



etherip lag

2007-10-31 Thread Jean-Gérard Pailloncy
Hi,

I have the following setup

In a datacenter:
- a set of racked boxes with IP a.b.c.0/255
- a box as a router R1 with IP a.b.c.21

At work:
- an ADSL connexion with IP x.y.z.91
- a router with a NAT
- a router R2 Soekris with IP 192.168.250.33 (sis0) a.b.c.22 (sis1)
- a iMac connected to the soekris (sis2) with IP a.b.c.23

I manage to have an etherip route between R1 and R2 thru the NAT, with
some parameters in the NAT and correct IPs, bridges config, etc. on both
routers.

Everything works as expected, I can surf from my iMac.

BUT, for some sites (most of the time with HTTPS), the connexion freezes
after the first page is displayed.
I try to understand what is happening, tcpdump of each interface and
trying to follow the packets. But no idea.

Does anybody has a suggestion ?

Note: I have no control on the NAT router (except to add one rule to
redirect traffic to R2).

JG



landisk

2007-06-19 Thread Jean-Gérard Pailloncy
Hello,

I try to install OpenBSD on a PX-EH 160Gb.

I have found a cable for the serial console port, but I do not know how to
connect it. The bard has the 4 holes as described: It seems I need to some
soldering...

I was wondering if it is possible to install everything from an other
computer and then migrate the disk... and then connect the box by ssh.

I move the disk to a usb HD-box connect to a soekris.
I ftp a snapshot version of OpenBSD for landisk.
I uncompress it in /install to get boot, mbr, xxboot, etc.

The drive show up as sd0 (usb on the soekris)
 fdisk -f /install/usr/mdec/mbr sd0
I fdisk it with the landisk mbr
make a a partition of 2Gb to have enough room
make a b swap of 512 Mb.
 newfs sd0a
 mount /dev/sd0a /mnt
 cd /mnt
 tar zxpf /install/base41.tgz
 tar zxpf /install/etc41.tgz
 tar zxpf /install/man41.tgz
 tar zxpf /install/misc41.tgz
 tar zxpf /install/comp41.tgz

I would like to go further but I did not find how to install the xxboot
and boot stuff.


I try to start with miniroot41.fs hoping I can growfs it.
But the geom of the disk get me some headhake.
 fdisk -i sd0
fdisk: sysctl(machdep.bios.diskinfo): Device not configured

-
-- ATTENTION - UPDATING MASTER BOOT RECORD --
-

Do you wish to write new MBR and partition table? [n] y
 fdisk sd0
fdisk: sysctl(machdep.bios.diskinfo): Device not configured
Disk: sd0   geometry: 152627/64/32 [312581809 Sectors]
Offset: 0   Signature: 0xAA55
 Starting   Ending   LBA Info:
 #: idC   H  S -C   H  S [   start:  size   ]

 0: 000   0  0 -0   0  0 [   0:   0 ] unused
 1: 000   0  0 -0   0  0 [   0:   0 ] unused
 2: 000   0  0 -0   0  0 [   0:   0 ] unused
*3: A60   1  1 - 152626  63 32 [  32:   312580064 ] OpenBSD
 dd if=/var/miniroot41.fs of=/dev/rsd0c
5120+0 records in
5120+0 records out
2621440 bytes transferred in 30.730 secs (85304 bytes/sec)
 fdisk sd0
fdisk: sysctl(machdep.bios.diskinfo): Device not configured
Disk: sd0   geometry: 152627/64/32 [312581809 Sectors]
Offset: 0   Signature: 0xAA55
 Starting   Ending   LBA Info:
 #: idC   H  S -C   H  S [   start:  size   ]

 0: 000   0  0 -0   0  0 [   0:   0 ] unused
 1: 000   0  0 -0   0  0 [   0:   0 ] unused
 2: 000   0  0 -0   0  0 [   0:   0 ] unused
*3: A60   0 17 -2  31 32 [  16:5104 ] OpenBSD

Any help is welcomed

Cordialement,
Jean-Girard Pailloncy



sensors process use 10% CPU time and high memory

2007-06-11 Thread Jean-Gérard Pailloncy
Hi,

I have 3 Tyan Trinity GC-SL boxes with OpenBSD 4.1. sensors kernel process
use 10% of the CPU time and have RES high up to 74 MB.
I did not have a sensorsd daemon runing.
I do the same on my soekris, nothing like that.

Any idea ?
JG Pailloncy

# top -uIS -s1
load averages:  1.18,  0.96,  0.75
09:34:33
70 processes:  5 running, 64 idle, 1 on processor
CPU states:  3.2% user,  0.0% nice, 11.4% system,  0.0% interrupt, 85.4% idle
Memory: Real: 75M/388M act/tot  Free: 615M  Swap: 0K/1028M used/tot
renice
  PIDUID   PRI NICE  SIZE   RES STATEWAIT TIMECPU COMMAND
5  01000K   40M sleeptimeou  57:32  9.03% sensors
# sysctl hw.sensors
hw.sensors.lm1.temp0=0.00 degC
hw.sensors.lm1.temp1=-44.50 degC
hw.sensors.lm1.temp2=-44.50 degC
hw.sensors.lm1.fan0=3199 RPM
hw.sensors.lm1.fan1=49 RPM
hw.sensors.lm1.fan2=49 RPM
hw.sensors.lm1.volt0=0.00 VDC (VCore)
hw.sensors.lm1.volt1=0.00 VDC (VINR0)
hw.sensors.lm1.volt2=0.00 VDC (+3.3V)
hw.sensors.lm1.volt3=0.00 VDC (+5V)
hw.sensors.lm1.volt4=0.00 VDC (+12V)
hw.sensors.lm1.volt5=-14.91 VDC (-12V)
hw.sensors.lm1.volt6=4.56 VDC (-5V)
hw.sensors.lm1.volt7=0.00 VDC (5VSB)
hw.sensors.lm1.volt8=0.00 VDC (VBAT)
# dmesg
OpenBSD 4.1 (GENERIC) #1435: Sat Mar 10 19:07:45 MST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 2.66GHz (GenuineIntel 686-class) 2.66 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID,xTPR
real mem  = 1073246208 (1048092K)
avail mem = 745324544 (727856K)
using 4278 buffers containing 280363008 bytes (273792K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 11/09/04, BIOS32 rev. 0 @ 0xfdb80,
SMBIOS rev. 2.3 @ 0xf0640 (50 entries)
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf4ee0/272 (15 entries)
pcibios0: PCI Interrupt Router at 000:01:7 (ServerWorks CSB5 rev 0x00)
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc/0x8000 0xc8000/0x2200 0xca800/0x1000 0xcb800/0x1800
acpi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 ServerWorks GCNB-LE Host rev 0x32
pchb1 at pci0 dev 0 function 1 ServerWorks GCNB-LE Host rev 0x00
pci1 at pchb1 bus 1
ami0 at pci1 dev 3 function 0 Symbios Logic MegaRAID rev 0x01: irq 10
ami0: LSI 520, 64b/lhc, FW 1L37, BIOS vG119, 64MB RAM
ami0: 1 channels, 0 FC loops, 1 logical drives
scsibus0 at ami0: 40 targets
sd0 at scsibus0 targ 0 lun 0: AMI, Host drive #00,  SCSI2 0/direct fixed
sd0: 70512MB, 70512 cyl, 64 head, 32 sec, 512 bytes/sec, 144408576 sec total
scsibus1 at ami0: 16 targets
vga1 at pci0 dev 7 function 0 ATI Rage XL rev 0x27
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
fxp0 at pci0 dev 8 function 0 Intel 8255x rev 0x10, i82551: irq 9,
address 00:e0:81:29:42:76
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
piixpm0 at pci0 dev 15 function 0 ServerWorks CSB5 rev 0x93: polling
iic0 at piixpm0
lm1 at iic0 addr 0x28: W83782D
piixpm0: exec: op 1, addr 0x49, cmdlen 1, len 0, flags 0x08: timeout,
status 0x9BUSY,BUSERR
pciide0 at pci0 dev 15 function 1 ServerWorks CSB5 IDE rev 0x93: DMA
atapiscsi0 at pciide0 channel 0 drive 0
scsibus2 at atapiscsi0: 2 targets
cd0 at scsibus2 targ 0 lun 0: SAMSUNG, CD-ROM SH-152A, C504 SCSI0
5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
ohci0 at pci0 dev 15 function 2 ServerWorks OSB4/CSB5 USB rev 0x05: irq
10, version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: ServerWorks OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
pchb2 at pci0 dev 15 function 3 ServerWorks CSB5 LPC rev 0x00
pchb3 at pci0 dev 16 function 0 ServerWorks CIOB-X2 PCIX rev 0x05
pchb4 at pci0 dev 16 function 2 ServerWorks CIOB-X2 PCIX rev 0x05
pci2 at pchb4 bus 2
em0 at pci2 dev 7 function 0 Intel PRO/1000MT (82545EM) rev 0x01: irq 5,
address 00:e0:81:29:42:77
isa0 at mainbus0
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
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom0: console
pccom1 at isa0 port 0x2f8/8 irq 3: 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 fd45 netmask ff65 ttymask ffe7
pctr: user-level cycle counter enabled
dkcsum: sd0 matches BIOS drive 0x80
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02



Re: sensors process use 10% CPU time and high memory

2007-06-11 Thread Jean-Gérard Pailloncy
 I have 3 Tyan Trinity GC-SL boxes with OpenBSD 4.1. sensors kernel
 process
 use 10% of the CPU time and have RES high up to 74 MB.
 I did not have a sensorsd daemon runing.
 I do the same on my soekris, nothing like that.

 try to disable iic and ichicc in UKC (boot bsd -c).
Works.
Thank you.
JG



Re: iic raidframe

2007-06-11 Thread Jean-Gérard Pailloncy
 * Jean-Girard Pailloncy wrote:
 Hi,

 I have 3 Tyan Trinity GC-SL boxes with OpenBSD 4.1. sensors kernel
 process
 use 10% of the CPU time and have RES high up to 74 MB.
 I did not have a sensorsd daemon runing.
 I do the same on my soekris, nothing like that.

 try to disable iic and ichicc in UKC (boot bsd -c).

Wonderful, by disabling iic I sole a problem with raidframe.
Raidframe was very slow, I got only 3 Mb/s, and the first build of the
parity was slw.
With iic disabled. Sensors CPU time down to zero. Raidframe runs!
I got 22 Mb/s on each drive. 7 times quicker.
It becomes usable.

Cordialement,
Jean-Girard Pailloncy



carp trunk

2007-06-10 Thread Jean-Gérard Pailloncy
Hi,

I have configured two OpenBSD 4.1 Box with trunk on their two network cards.
Each card is connected to a different switch connected together.
I created a virtual IP with carp with one of the box as slave and the
other as master.

When trunk is configured with trunkproto failover everything works as
expected.
When trunk is configured with trunkproto roundrobin or loadbalance, the
backup doesn't become master when master is done.

I think it is because of trunk carp receive advertizing in loop from itself.
I see with tcpdump each advertizing twice.

Did I miss something ?
Or the roundrobin or loadbalance trunkproto is not smart enough for carp ?

Thx for any help
JG Pailloncy