Re: project : openbsd as nas

2010-08-31 Thread Michal

On 30/08/10 13:03, Jean-Francois wrote:

Hello,

I was thinking about how to help openbsd project, and since I am not able to
help in programming, I'm thinking about starting something aroung openbsd such
as a layer making it an easy enough to manage home nas server of good quality.

I have not yet the whole picture of how to do it but maybe a project that will
take quite sometime and whose goal is to transform a standard install into a
ready to run nas server with few efforts.

I don't know yet what it will be like, probably it needs to be package or
something else, I need to study it more in details so far.

I hope that you will receive well this idea I have and maybe if you do wish,
support if it is needed.

I will then open something on my own wiki to prepare and work on the complete
project, describe it in detail and start to implement things.

Again thanks for the quality of that os and its documentation which makes it
very interesting to work on.

Regards
JF

   
Are you trying to make pure OBSD version of projects like Openfiler and 
FreeNAS? If you don't know about those, check those out as contributing 
to those may be more worth while then starting a new project




multihead broken in current on ATI radeon X300

2010-08-31 Thread Didier Wiroth
Hello,
I'm running current with an ATI Readon X300. I used to use X11 in
multihead but for some reason it doesn't work anymore and at some
point it broke after updating.

I'm running multihead like this from my xinitrc:
xrandr  --output DVI-0 --left-of DVI-1 

and have the following section in Xorg.conf:
SubSection Display
Viewport   0 0
Depth 24
Modes 1920x1200
Virtual 3840 1200
EndSubSection

This config used to work in the past.

Thank you very much for helping.

Kind regards,
Didier

Here is my dmesg and Xorg.conf

OpenBSD 4.8 (GENERIC.MP) #334: Wed Aug 11 10:14:41 MDT 2010
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 3200811008 (3052MB)
avail mem = 3101786112 (2958MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe2d00 (38 entries)
bios0: vendor Intel Corp. version CO96510J.86A.6070.2008.0413.2329
date 04/13/2008
bios0: PRIMINFO UNLOCK INSTALL
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC WDDT MCFG ASF! SSDT SSDT SSDT SSDT SSDT TCPA
acpi0: wakeup devices SLPB(S4) P32_(S4) UAR1(S4) UAR2(S4) ILAN(S4)
PEGP(S4) PEX0(S4) PEX1(S4) PEX2(S4) PEX3(S4) PEX4(S4) PEX5(S4)
UHC1(S3) UHC2(S3) UHC3(S3) UHC4(S3) EHCI(S3) EHC2(S3) UH42(S3)
UHC5(S3) AZAL(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 CPU 6320 @ 1.86GHz, 1865.02 MHz
cpu0: 
FPU,VME,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,SSSE3,CX16,xTPR,PDCM,NXE,LONG
cpu0: 4MB 64b/line 16-way L2 cache
cpu0: apic clock running at 269MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 CPU 6320 @ 1.86GHz, 1883.45 MHz
cpu1: 
FPU,VME,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,SSSE3,CX16,xTPR,PDCM,NXE,LONG
cpu1: 4MB 64b/line 16-way L2 cache
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 7 (P32_)
acpiprt2 at acpi0: bus 2 (PEX0)
acpiprt3 at acpi0: bus 3 (PEX1)
acpiprt4 at acpi0: bus 4 (PEX2)
acpiprt5 at acpi0: bus 5 (PEX3)
acpiprt6 at acpi0: bus 6 (PEX4)
acpiprt7 at acpi0: bus -1 (PEX5)
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpibtn0 at acpi0: SLPB
cpu0: Enhanced SpeedStep 1883 MHz: speeds: 1862, 1596 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel 82Q965 Host rev 0x02
ppb0 at pci0 dev 1 function 0 Intel 82Q965 PCIE rev 0x02: apic 2 int
16 (irq 255)
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Radeon X300 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: apic 2 int 16 (irq 11)
drm0 at radeondrm0
ATI Radeon X300 Sec rev 0x00 at pci1 dev 0 function 1 not configured
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 wired to
native-PCI
pciide0: using apic 2 int 18 (irq 9) 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: apic 2
int 20 (irq 11), address 00:19:d1:69:cb:c1
uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x02: apic 2
int 16 (irq 11)
uhci1 at pci0 dev 26 function 1 Intel 82801H USB rev 0x02: apic 2
int 21 (irq 9)
ehci0 at pci0 dev 26 function 7 Intel 82801H USB rev 0x02: apic 2
int 18 (irq 9)
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:
apic 2 int 22 (irq 10)
azalia0: codecs: Sigmatel STAC9227X
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 Intel 82801H PCIE rev 0x02: apic 2
int 17 (irq 255)
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 1 Intel 82801H PCIE rev 0x02: apic 2
int 16 (irq 255)
pci3 at ppb2 bus 3
pciide1 at pci3 dev 0 function 0 Marvell 88SE6101 IDE rev 0xb1: DMA
(unsupported), channel 0 configured to native-PCI, channel 1
configured to native-PCI
pciide1: using apic 2 int 17 (irq 10) for native-PCI interrupt
atapiscsi0 at pciide1 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: TSSTcorp, DVD-ROM SH-D162C, TS05 ATAPI
5/cdrom removable
atapiscsi1 at pciide1 channel 0 drive 1
scsibus1 at atapiscsi1: 2 targets
cd1 at scsibus1 targ 0 lun 0: TSSTcorp, CD/DVDW SH-S182D, SB05 ATAPI
5/cdrom removable
pciide1: channel 1 ignored (not responding; disabled or no drives?)
ppb3 at pci0 dev 28 function 2 Intel 82801H PCIE rev 0x02: 

dmesg first line information

2010-08-31 Thread pix
Hi,
I am able to spare a machine to follow -current.
So far so good with cvs, updates, and compiling.
Is it possible to change one attribute in the dmesg?
For example - dmesg first line
---
OpenBSD 4.8-current (GENERIC) #0 (...)
---
I would like to change #0 sequence number to something I can use for my
purposes.
Anyone has a hint as to where I could look to set this variable if the option
is avaiable?
Regards
CF



Slow disk IO HP DL120 G5 with LSI1068E

2010-08-31 Thread Evgeniy Sudyr
I have troubles with on OpenBSD 4.7 with HP DL 120 G5

Actually I'm trying to unpack src.tar.gz and see that it's very slow.

There is my systat during unpacking and dmesg for the server

 systat

   2 usersLoad 2.77 2.48 2.17  Tue Aug 31 19:46:02 2010

memory totals (in KB)PAGING   SWAPPING Interrupts
   real   virtual free   in  out   in  out  568 total
Active13212 13212  3281736   ops400 clock
All  410024410024  7342468   pages   79 ipi
 88 mpi0
Proc:r  d  s  wCsw   Trp   Sys   Int   Sof  Flt   forks   1 em0
2  6   164 1   25889   1009   fkppw uhci3
  fksvm ehci1
   0.0%Int   0.1%Sys   0.2%Usr   0.0%Nic  99.7%Idle   pwait
|||||||||||   relck
  rlkok
  noram
Namei Sys-cacheProc-cacheNo-cache ndcpy
Calls hits%hits %miss   % fltcp
  881  742   84   4 0 135  15 zfod
  cow
Disks   sd0 30764 fmin
seeks   41018 ftarg
xfers88   itarg
speed  761K49 wired
  sec   1.0   pdfre
  pdscn
  pzidle
   15 kmapent

 dmesg

OpenBSD 4.7 (GENERIC.MP) #130: Wed Mar 17 20:48:50 MDT 2010
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 3889758208 (3709MB)
avail mem = 3780005888 (3604MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xdc010 (43 entries)
bios0: vendor HP version O22 date 10/09/2009
bios0: HP ProLiant DL120 G5
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SPMI EINJ HEST BERT SSDT ERST MCFG APIC BOOT
SPCR SSDT SSDT SSDT
acpi0: wakeup devices USB4(S3) USB5(S3) USB7(S3) ESB2(S4) EXP1(S4)
EXP2(S4) EXP3(S4) EXP4(S4) EXP5(S4) EXP6(S4) USB1(S3) USB2(S3)
USB3(S3) USB6(S3) ESB1(S3) PCIB(S3) PWRB(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Xeon(R) CPU X3210 @ 2.13GHz, 2133.65 MHz
cpu0: 
FPU,VME,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,NXE,LONG
cpu0: 4MB 64b/line 16-way L2 cache
cpu0: apic clock running at 266MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Xeon(R) CPU X3210 @ 2.13GHz, 2133.33 MHz
cpu1: 
FPU,VME,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,NXE,LONG
cpu1: 4MB 64b/line 16-way L2 cache
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Xeon(R) CPU X3210 @ 2.13GHz, 2133.33 MHz
cpu2: 
FPU,VME,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,NXE,LONG
cpu2: 4MB 64b/line 16-way L2 cache
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Xeon(R) CPU X3210 @ 2.13GHz, 2133.33 MHz
cpu3: 
FPU,VME,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,NXE,LONG
cpu3: 4MB 64b/line 16-way L2 cache
ioapic0 at mainbus0: apid 4 pa 0xfec0, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PEG1)
acpiprt2 at acpi0: bus -1 (PEG2)
acpiprt3 at acpi0: bus 5 (EXP1)
acpiprt4 at acpi0: bus -1 (EXP2)
acpiprt5 at acpi0: bus -1 (EXP3)
acpiprt6 at acpi0: bus -1 (EXP4)
acpiprt7 at acpi0: bus 13 (EXP5)
acpiprt8 at acpi0: bus 14 (EXP6)
acpiprt9 at acpi0: bus 17 (PCIB)
acpicpu0 at acpi0: C3, PSS
acpicpu1 at acpi0: C3, PSS
acpicpu2 at acpi0: C3, PSS
acpicpu3 at acpi0: C3, PSS
acpibtn0 at acpi0: PWRB
ipmi at mainbus0 not configured
cpu0: Enhanced SpeedStep 2133 MHz: speeds: 2133, 1600 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel 3200/3210 Host rev 0x01
ppb0 at pci0 dev 1 function 0 Intel 3200/3210 PCIE rev 0x01: apic 4
int 16 (irq 5)
pci1 at ppb0 bus 1
mpi0 at pci1 dev 0 function 0 Symbios Logic SAS1068E rev 0x08: apic
4 int 16 (irq 5)
scsibus0 at mpi0: 112 targets
sd0 at scsibus0 targ 1 lun 0: LSILOGIC, Logical Volume, 3000 SCSI2
0/direct fixed
sd0: 237464MB, 512 bytes/sec, 486326272 sec total
uhci0 at pci0 

Re: Slow disk IO HP DL120 G5 with LSI1068E

2010-08-31 Thread Marco Peereboom
Your disks have write cache disabled.  I started on a diff but hit a
roadblock and didn't get back to figuring this out.  Currently the only
way to fix this is to undo the raid volume and let the actual physical
disks show up.  Then enable write cache on them using scsi.  Not really
something for the faint hearted.  At some point I'll go spend some time
to figure this out but not anytime soon :-(

On Tue, Aug 31, 2010 at 06:52:44PM +0300, Evgeniy Sudyr wrote:
 I have troubles with on OpenBSD 4.7 with HP DL 120 G5
 
 Actually I'm trying to unpack src.tar.gz and see that it's very slow.
 
 There is my systat during unpacking and dmesg for the server
 
  systat
 
2 usersLoad 2.77 2.48 2.17  Tue Aug 31 19:46:02 
 2010
 
 memory totals (in KB)PAGING   SWAPPING Interrupts
real   virtual free   in  out   in  out  568 total
 Active13212 13212  3281736   ops400 clock
 All  410024410024  7342468   pages   79 ipi
  88 mpi0
 Proc:r  d  s  wCsw   Trp   Sys   Int   Sof  Flt   forks   1 em0
 2  6   164 1   25889   1009   fkppw uhci3
   fksvm ehci1
0.0%Int   0.1%Sys   0.2%Usr   0.0%Nic  99.7%Idle   pwait
 |||||||||||   relck
   rlkok
   noram
 Namei Sys-cacheProc-cacheNo-cache ndcpy
 Calls hits%hits %miss   % fltcp
   881  742   84   4 0 135  15 zfod
   cow
 Disks   sd0 30764 fmin
 seeks   41018 ftarg
 xfers88   itarg
 speed  761K49 wired
   sec   1.0   pdfre
   pdscn
   pzidle
15 kmapent
 
  dmesg
 
 OpenBSD 4.7 (GENERIC.MP) #130: Wed Mar 17 20:48:50 MDT 2010
 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
 real mem = 3889758208 (3709MB)
 avail mem = 3780005888 (3604MB)
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xdc010 (43 entries)
 bios0: vendor HP version O22 date 10/09/2009
 bios0: HP ProLiant DL120 G5
 acpi0 at bios0: rev 2
 acpi0: tables DSDT FACP SPMI EINJ HEST BERT SSDT ERST MCFG APIC BOOT
 SPCR SSDT SSDT SSDT
 acpi0: wakeup devices USB4(S3) USB5(S3) USB7(S3) ESB2(S4) EXP1(S4)
 EXP2(S4) EXP3(S4) EXP4(S4) EXP5(S4) EXP6(S4) USB1(S3) USB2(S3)
 USB3(S3) USB6(S3) ESB1(S3) PCIB(S3) PWRB(S3)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: Intel(R) Xeon(R) CPU X3210 @ 2.13GHz, 2133.65 MHz
 cpu0: 
 FPU,VME,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,NXE,LONG
 cpu0: 4MB 64b/line 16-way L2 cache
 cpu0: apic clock running at 266MHz
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: Intel(R) Xeon(R) CPU X3210 @ 2.13GHz, 2133.33 MHz
 cpu1: 
 FPU,VME,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,NXE,LONG
 cpu1: 4MB 64b/line 16-way L2 cache
 cpu2 at mainbus0: apid 2 (application processor)
 cpu2: Intel(R) Xeon(R) CPU X3210 @ 2.13GHz, 2133.33 MHz
 cpu2: 
 FPU,VME,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,NXE,LONG
 cpu2: 4MB 64b/line 16-way L2 cache
 cpu3 at mainbus0: apid 3 (application processor)
 cpu3: Intel(R) Xeon(R) CPU X3210 @ 2.13GHz, 2133.33 MHz
 cpu3: 
 FPU,VME,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,NXE,LONG
 cpu3: 4MB 64b/line 16-way L2 cache
 ioapic0 at mainbus0: apid 4 pa 0xfec0, version 20, 24 pins
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus 1 (PEG1)
 acpiprt2 at acpi0: bus -1 (PEG2)
 acpiprt3 at acpi0: bus 5 (EXP1)
 acpiprt4 at acpi0: bus -1 (EXP2)
 acpiprt5 at acpi0: bus -1 (EXP3)
 acpiprt6 at acpi0: bus -1 (EXP4)
 acpiprt7 at acpi0: bus 13 (EXP5)
 acpiprt8 at acpi0: bus 14 (EXP6)
 acpiprt9 at acpi0: bus 17 (PCIB)
 acpicpu0 at acpi0: C3, PSS
 acpicpu1 at acpi0: C3, PSS
 acpicpu2 at acpi0: C3, PSS
 acpicpu3 at acpi0: C3, PSS
 

Reportage vidéo

2010-08-31 Thread Céline Bois
Bonjour, 

Je me permets de vous contacter afin de vous proposer nos services de
production vidio, aux meilleures conditions.

Chaque annie, nous rialisons de nombreux films pour des entreprises trhs
variies qui nous accordent et nous
renouvellent rigulihrement leur confiance pour des tournages rialisis
partout en France. 

Film publicitaire, institutionnel ou dicali, interviews, reportages type
journal de 13h, montage de photos ou vidio existantes ...
Vous avez un projet de rialisation ou une simple idie, nous avons des
iquipes techniques prjtes ` les mettre en place. 

En me prisentant votre projet, vous recevrez une proposition commerciale
sous 48h. Nous sommes heureux de vous faire binificier d'une remise
supplimentaire exceptionnelle de 10 % pour notre premihre collaboration. 

Nous espirons vivement avoir le plaisir de participer ` l'ilaboration
prochaine de votre vidio.  

Je suis votre interlocutrice, ` votre disposition et ` votre icoute et
j'esphre ne pas vous avoir importuni avec mon mail.

Ciline BOIS - @mail
AM Entertainment Groupe - website
3, rue Jean Jaurhs - Z.I.
91860 Epinay Sous Sinart
Tiliphone Standard : 01 75 43 19 80
Tilicopie : 01 75 43 19 89

Se disinscrire de la mailing list

[IMAGE]



Problem with dhclient and resolv.conf

2010-08-31 Thread ted . m . w
Hello:

Using 4.6 (updating to 4.7 is my next project), I have set up two machines at
two separate sites to that create a ipsec tunnel between them.

Both machines get a dynamic ip address for their internet connection from the
ISP (comcast at one end, AT+T at the other).

Both machines have the /etc/dhclient.conf file modified to include:

request subnet-mask, broadcast-address, time-offset, routers;

The line above is the ONLY line that is not a comment in either dhclient.conf
file.

Both machines have /etc/hostname.sk0 (the world facing interface) set up as:

dhcp NONE NONE NONE

(i think i don't need the NONEs, but that's the way I originally did it
several months ago)

I also have a resolv.conf.tail file, although given the fact that I have
excluded domain-name and domain-name-servers, I shouldn't need it.

I have set up resolv.conf on each machine as I want it.

BUT, one machine (the comcast one) works like I would expect.B  It gets a
dynamic ip address and does not change the resolv.conf file.B  When i look at
/var/db/dhclient.leases.sk0, i see that no information exists regarding dns
servers or domain names.

ON the other machine (the AT+T one) things are different.B  It gets a dynamic
ip address, but also updates the resolv.conf with a domain name and dns server
from the dhcp server.B  it also, as expected, then appends the contents of
resolv.conf.tail to the new resolv.conf file, and also creates a
resolv.conf.save file. Also, the data in /var/db/dhclient.leases.sk0 shows
that the dhcp client received dns server and domain name info from the dchp
server:

B  option domain-name-servers 192.168.1.254;
B  option domain-name gateway.2wire.net;

(despite the dhclient.conf file specifically excluding that information from
the request line)

I can (sort of), make it do what i want by using supersede lines in the
dhclient.conf file; but I don't understand what I have done different between
the two machines.B  As I said, both hostname.sk0 and dhclient.conf files are
identical.B  I have tried (on the problem machine) deleting resolv.conf.save
and /var/db/dhclient.leases.sk0, and then rebooting (starting with a clean
slate, I was thinking), but that does nothing.

What am I missing?

Thanks
bye - ted



Re: Problem with dhclient and resolv.conf

2010-08-31 Thread Kenneth Gober
the difference between the two machines is that they're talking to different
DHCP servers.

what you request from the DHCP server, and what the DHCP server decides to
send you, are two different things.  if you're unhappy with what the DHCP
server sends you, that's what the default, supersede, prepend and
append options are for.

-ken

On Tue, Aug 31, 2010 at 12:24 PM, ted@comcast.net wrote:

 Hello:

 Using 4.6 (updating to 4.7 is my next project), I have set up two machines
 at
 two separate sites to that create a ipsec tunnel between them.

 Both machines get a dynamic ip address for their internet connection from
 the
 ISP (comcast at one end, AT+T at the other).

 Both machines have the /etc/dhclient.conf file modified to include:

 request subnet-mask, broadcast-address, time-offset, routers;

 The line above is the ONLY line that is not a comment in either
 dhclient.conf
 file.

 Both machines have /etc/hostname.sk0 (the world facing interface) set up
 as:

 dhcp NONE NONE NONE

 (i think i don't need the NONEs, but that's the way I originally did it
 several months ago)

 I also have a resolv.conf.tail file, although given the fact that I have
 excluded domain-name and domain-name-servers, I shouldn't need it.

 I have set up resolv.conf on each machine as I want it.

 BUT, one machine (the comcast one) works like I would expect.B  It gets a
 dynamic ip address and does not change the resolv.conf file.B  When i look
 at
 /var/db/dhclient.leases.sk0, i see that no information exists regarding dns
 servers or domain names.

 ON the other machine (the AT+T one) things are different.B  It gets a
 dynamic
 ip address, but also updates the resolv.conf with a domain name and dns
 server
 from the dhcp server.B  it also, as expected, then appends the contents of
 resolv.conf.tail to the new resolv.conf file, and also creates a
 resolv.conf.save file. Also, the data in /var/db/dhclient.leases.sk0 shows
 that the dhcp client received dns server and domain name info from the dchp
 server:
 
 B  option domain-name-servers 192.168.1.254;
 B  option domain-name gateway.2wire.net;
 
 (despite the dhclient.conf file specifically excluding that information
 from
 the request line)

 I can (sort of), make it do what i want by using supersede lines in the
 dhclient.conf file; but I don't understand what I have done different
 between
 the two machines.B  As I said, both hostname.sk0 and dhclient.conf files
 are
 identical.B  I have tried (on the problem machine) deleting
 resolv.conf.save
 and /var/db/dhclient.leases.sk0, and then rebooting (starting with a clean
 slate, I was thinking), but that does nothing.

 What am I missing?

 Thanks
 bye - ted



Re: Slow disk IO HP DL120 G5 with LSI1068E

2010-08-31 Thread Evgeniy Sudyr
Marco,

thank you for your super fast answer!

As I understood you told that I need to delete raid logical disk, and
use two separate disks.

I did it and I'm installing OpenBSD on first disk right now.

I have question for you - how should I enable write cache on them
using scsi ?

--
Thanks!



On Tue, Aug 31, 2010 at 7:00 PM, Marco Peereboom sl...@peereboom.us wrote:
 Your disks have write cache disabled. B I started on a diff but hit a
 roadblock and didn't get back to figuring this out. B Currently the only
 way to fix this is to undo the raid volume and let the actual physical
 disks show up. B Then enable write cache on them using scsi. B Not really
 something for the faint hearted. B At some point I'll go spend some time
 to figure this out but not anytime soon :-(

 On Tue, Aug 31, 2010 at 06:52:44PM +0300, Evgeniy Sudyr wrote:
 I have troubles with on OpenBSD 4.7 with HP DL 120 G5

 Actually I'm trying to unpack src.tar.gz and see that it's very slow.

 There is my systat during unpacking and dmesg for the server

 B systat

 B  B 2 users B  B Load 2.77 2.48 2.17 B  B  B  B  B  B  B  B  B  B  B Tue
Aug 31 19:46:02 2010

 B  B  B  B  B  B  memory totals (in KB) B  B  B  B  B  B PAGING B  SWAPPING
B  B  Interrupts
 B  B  B  B  B  B real B  virtual B  B  free B  B  B  B  B  in B out B  in
B out B  B  B 568 total
 Active B  B 13212 B  B  13212 B 3281736 B  ops B  B  B  B  B  B  B  B  B 
B  B  B  B  B 400 clock
 All B  B  B 410024 B  B 410024 B 7342468 B  pages B  B  B  B  B  B  B  B 
B  B  B  B  B  79 ipi
 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
B  B  B  B  B  B  B  B  B  B 88 mpi0
 Proc:r B d B s B w B  B Csw B  Trp B  Sys B  Int B  Sof B Flt B  B  B 
forks B  B  B  1 em0
 B  B  B  B  2 B 6 B  B  B  164 B  B  1 B  258 B  B 89 B  100 B  B 9 B  B 
B  fkppw B  B  B  B  uhci3
 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
B  B  B  B  fksvm B  B  B  B  ehci1
 B  B 0.0%Int B  0.1%Sys B  0.2%Usr B  0.0%Nic B 99.7%Idle B  B  B  pwait
 | B  B | B  B | B  B | B  B | B  B | B  B | B  B | B  B | B  B | B  B | B 
B  B  relck
 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
B  B  B  B  rlkok
 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
B  B  B  B  noram
 Namei B  B  B  B  Sys-cache B  B Proc-cache B  B No-cache B  B  B  B 
ndcpy
 B  B  Calls B  B  hits B  B % B  B hits B  B  % B  B miss B  % B  B  B  B 
fltcp
 B  B  B  881 B  B  B 742 B  84 B  B  B  4 B  B  0 B  B  135 B 15 B  B  B 
B  zfod
 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
B  B  B  B  cow
 Disks B  sd0 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
30764 fmin
 seeks B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
41018 ftarg
 xfers B  B 88 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
B  B  B  itarg
 speed B 761K B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
B 49 wired
 B  sec B  1.0 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
B  B  B  pdfre
 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
B  B  B  B  pdscn
 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
B  B  B  B  pzidle
 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
B  B  B 15 kmapent

 B dmesg

 OpenBSD 4.7 (GENERIC.MP) #130: Wed Mar 17 20:48:50 MDT 2010
 B  B  dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
 real mem = 3889758208 (3709MB)
 avail mem = 3780005888 (3604MB)
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xdc010 (43 entries)
 bios0: vendor HP version O22 date 10/09/2009
 bios0: HP ProLiant DL120 G5
 acpi0 at bios0: rev 2
 acpi0: tables DSDT FACP SPMI EINJ HEST BERT SSDT ERST MCFG APIC BOOT
 SPCR SSDT SSDT SSDT
 acpi0: wakeup devices USB4(S3) USB5(S3) USB7(S3) ESB2(S4) EXP1(S4)
 EXP2(S4) EXP3(S4) EXP4(S4) EXP5(S4) EXP6(S4) USB1(S3) USB2(S3)
 USB3(S3) USB6(S3) ESB1(S3) PCIB(S3) PWRB(S3)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: Intel(R) Xeon(R) CPU X3210 @ 2.13GHz, 2133.65 MHz
 cpu0:
FPU,VME,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,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,
xTPR,NXE,LONG
 cpu0: 4MB 64b/line 16-way L2 cache
 cpu0: apic clock running at 266MHz
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: Intel(R) Xeon(R) CPU X3210 @ 2.13GHz, 2133.33 MHz
 cpu1:
FPU,VME,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,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,
xTPR,NXE,LONG
 cpu1: 4MB 64b/line 16-way L2 cache
 cpu2 at mainbus0: apid 2 (application processor)
 cpu2: Intel(R) Xeon(R) CPU X3210 @ 2.13GHz, 2133.33 MHz
 cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS

Re: dmesg first line information

2010-08-31 Thread Ted Unangst
On Tue, Aug 31, 2010 at 11:32 AM,  p...@bell.net wrote:
 Hi,
 I am able to spare a machine to follow -current.
 So far so good with cvs, updates, and compiling.
 Is it possible to change one attribute in the dmesg?
 For example - dmesg first line
 ---
 OpenBSD 4.8-current (GENERIC) #0 (...)
 ---
 I would like to change #0 sequence number to something I can use for my
 purposes.
 Anyone has a hint as to where I could look to set this variable if the option
 is avaiable?

it's in a string in the kernel.  you can edit it with a hexeditor.



Re: Slow disk IO HP DL120 G5 with LSI1068E

2010-08-31 Thread Marco Peereboom
Something like:

# scsi -f /dev/rsd0c -m 8

change WCE: 0 to WCE: 1

On Tue, Aug 31, 2010 at 08:20:18PM +0300, Evgeniy Sudyr wrote:
 Marco,
 
 thank you for your super fast answer!
 
 As I understood you told that I need to delete raid logical disk, and
 use two separate disks.
 
 I did it and I'm installing OpenBSD on first disk right now.
 
 I have question for you - how should I enable write cache on them
 using scsi ?
 
 --
 Thanks!
 
 
 
 On Tue, Aug 31, 2010 at 7:00 PM, Marco Peereboom sl...@peereboom.us wrote:
  Your disks have write cache disabled. B I started on a diff but hit a
  roadblock and didn't get back to figuring this out. B Currently the only
  way to fix this is to undo the raid volume and let the actual physical
  disks show up. B Then enable write cache on them using scsi. B Not really
  something for the faint hearted. B At some point I'll go spend some time
  to figure this out but not anytime soon :-(
 
  On Tue, Aug 31, 2010 at 06:52:44PM +0300, Evgeniy Sudyr wrote:
  I have troubles with on OpenBSD 4.7 with HP DL 120 G5
 
  Actually I'm trying to unpack src.tar.gz and see that it's very slow.
 
  There is my systat during unpacking and dmesg for the server
 
  B systat
 
  B  B 2 users B  B Load 2.77 2.48 2.17 B  B  B  B  B  B  B  B  B  B  B Tue
 Aug 31 19:46:02 2010
 
  B  B  B  B  B  B  memory totals (in KB) B  B  B  B  B  B PAGING B  SWAPPING
 B  B  Interrupts
  B  B  B  B  B  B real B  virtual B  B  free B  B  B  B  B  in B out B  in
 B out B  B  B 568 total
  Active B  B 13212 B  B  13212 B 3281736 B  ops B  B  B  B  B  B  B  B  B 
 B  B  B  B  B 400 clock
  All B  B  B 410024 B  B 410024 B 7342468 B  pages B  B  B  B  B  B  B  B 
 B  B  B  B  B  79 ipi
  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
 B  B  B  B  B  B  B  B  B  B 88 mpi0
  Proc:r B d B s B w B  B Csw B  Trp B  Sys B  Int B  Sof B Flt B  B  B 
 forks B  B  B  1 em0
  B  B  B  B  2 B 6 B  B  B  164 B  B  1 B  258 B  B 89 B  100 B  B 9 B  B 
 B  fkppw B  B  B  B  uhci3
  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
 B  B  B  B  fksvm B  B  B  B  ehci1
  B  B 0.0%Int B  0.1%Sys B  0.2%Usr B  0.0%Nic B 99.7%Idle B  B  B  pwait
  | B  B | B  B | B  B | B  B | B  B | B  B | B  B | B  B | B  B | B  B | B 
 B  B  relck
  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
 B  B  B  B  rlkok
  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
 B  B  B  B  noram
  Namei B  B  B  B  Sys-cache B  B Proc-cache B  B No-cache B  B  B  B 
 ndcpy
  B  B  Calls B  B  hits B  B % B  B hits B  B  % B  B miss B  % B  B  B  B 
 fltcp
  B  B  B  881 B  B  B 742 B  84 B  B  B  4 B  B  0 B  B  135 B 15 B  B  B 
 B  zfod
  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
 B  B  B  B  cow
  Disks B  sd0 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
 30764 fmin
  seeks B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
 41018 ftarg
  xfers B  B 88 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
 B  B  B  itarg
  speed B 761K B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
 B 49 wired
  B  sec B  1.0 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
 B  B  B  pdfre
  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
 B  B  B  B  pdscn
  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
 B  B  B  B  pzidle
  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
 B  B  B 15 kmapent
 
  B dmesg
 
  OpenBSD 4.7 (GENERIC.MP) #130: Wed Mar 17 20:48:50 MDT 2010
  B  B  dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
  real mem = 3889758208 (3709MB)
  avail mem = 3780005888 (3604MB)
  mainbus0 at root
  bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xdc010 (43 entries)
  bios0: vendor HP version O22 date 10/09/2009
  bios0: HP ProLiant DL120 G5
  acpi0 at bios0: rev 2
  acpi0: tables DSDT FACP SPMI EINJ HEST BERT SSDT ERST MCFG APIC BOOT
  SPCR SSDT SSDT SSDT
  acpi0: wakeup devices USB4(S3) USB5(S3) USB7(S3) ESB2(S4) EXP1(S4)
  EXP2(S4) EXP3(S4) EXP4(S4) EXP5(S4) EXP6(S4) USB1(S3) USB2(S3)
  USB3(S3) USB6(S3) ESB1(S3) PCIB(S3) PWRB(S3)
  acpitimer0 at acpi0: 3579545 Hz, 24 bits
  acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
  cpu0 at mainbus0: apid 0 (boot processor)
  cpu0: Intel(R) Xeon(R) CPU X3210 @ 2.13GHz, 2133.65 MHz
  cpu0:
 FPU,VME,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,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,
 xTPR,NXE,LONG
  cpu0: 4MB 64b/line 16-way L2 cache
  cpu0: apic clock running at 266MHz
  cpu1 at mainbus0: apid 1 (application processor)
  cpu1: Intel(R) Xeon(R) CPU X3210 @ 2.13GHz, 2133.33 MHz
  cpu1:
 FPU,VME,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,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,
 xTPR,NXE,LONG
  

Problem with dhclient and resolv.conf

2010-08-31 Thread Theodore Wynnychenko
Hello:

Using 4.6 (updating to 4.7 is my next project), I have set up two
machines at
two separate sites to that create an ipsec tunnel between them.

Both machines get a dynamic ip address for their internet connection from
the
ISP (comcast at one end, AT+T at the other).

Both machines have the /etc/dhclient.conf file modified to include:

request subnet-mask, broadcast-address, time-offset, routers;

The line above is the ONLY line that is not a comment in either
dhclient.conf
file.

Both machines have /etc/hostname.sk0 (the world facing interface) set up
as:

dhcp NONE NONE NONE

(i think i don't need the NONEs, but that's the way I originally did it
several months ago)

I also have a resolv.conf.tail file, although given the fact that I
have
excluded domain-name and domain-name-servers, I shouldn't need it.

I have set up resolv.conf on each machine as I want it.

BUT, one machine (the comcast one) works like I would expect. It gets a
dynamic ip address and does not change the resolv.conf file. When i look
at
/var/db/dhclient.leases.sk0, I see that no information exists regarding
dns
servers or domain names.

ON the other machine (the AT+T one) things are different. It gets a
dynamic
ip address, but also updates the resolv.conf with a domain name and dns
server
from the dhcp server. It also, as expected, then appends the contents of
resolv.conf.tail to the new resolv.conf file, and also creates a
resolv.conf.save file. Also, the data in /var/db/dhclient.leases.sk0
shows
that the dhcp client received dns server and domain name info from the
dchp
server:

 option domain-name-servers 192.168.1.254;
 option domain-name gateway.2wire.net;

(despite the dhclient.conf file specifically excluding that information
from
the request line)

I can (sort of), make it do what i want by using supersede lines in the
dhclient.conf file; but I don't understand what I have done different
between
the two machines. As I said, both hostname.sk0 and dhclient.conf files
are
identical. I have tried (on the problem machine) deleting
resolv.conf.save
and /var/db/dhclient.leases.sk0, and then rebooting (starting with a
clean
slate, I was thinking), but that does nothing.

What am I missing?

Thanks
bye - ted



Re: Slow disk IO HP DL120 G5 with LSI1068E

2010-08-31 Thread Ivan Nudzik
Download Smart Start CD from HP site. Boot this CD and configure SCSI
adapter an RAID settings. There is far more options to configure, than
from SCSI adapter BIOS. Btw if you have battery backed cache, you can
switch on write cache. You should also download and boot Firmware
CD...

I.

On Tue, 2010-08-31 at 18:52 +0300, Evgeniy Sudyr wrote:

 I have troubles with on OpenBSD 4.7 with HP DL 120 G5
 
 Actually I'm trying to unpack src.tar.gz and see that it's very slow.
 
 There is my systat during unpacking and dmesg for the server
 
  systat
 
2 usersLoad 2.77 2.48 2.17  Tue Aug 31 19:46:02 
 2010
 
 memory totals (in KB)PAGING   SWAPPING Interrupts
real   virtual free   in  out   in  out  568 total
 Active13212 13212  3281736   ops400 clock
 All  410024410024  7342468   pages   79 ipi
  88 mpi0
 Proc:r  d  s  wCsw   Trp   Sys   Int   Sof  Flt   forks   1 em0
 2  6   164 1   25889   1009   fkppw uhci3
   fksvm ehci1
0.0%Int   0.1%Sys   0.2%Usr   0.0%Nic  99.7%Idle   pwait
 |||||||||||   relck
   rlkok
   noram
 Namei Sys-cacheProc-cacheNo-cache ndcpy
 Calls hits%hits %miss   % fltcp
   881  742   84   4 0 135  15 zfod
   cow
 Disks   sd0 30764 fmin
 seeks   41018 ftarg
 xfers88   itarg
 speed  761K49 wired
   sec   1.0   pdfre
   pdscn
   pzidle
15 kmapent
 
  dmesg
 
 OpenBSD 4.7 (GENERIC.MP) #130: Wed Mar 17 20:48:50 MDT 2010
 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
 real mem = 3889758208 (3709MB)
 avail mem = 3780005888 (3604MB)
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xdc010 (43 entries)
 bios0: vendor HP version O22 date 10/09/2009
 bios0: HP ProLiant DL120 G5
 acpi0 at bios0: rev 2
 acpi0: tables DSDT FACP SPMI EINJ HEST BERT SSDT ERST MCFG APIC BOOT
 SPCR SSDT SSDT SSDT
 acpi0: wakeup devices USB4(S3) USB5(S3) USB7(S3) ESB2(S4) EXP1(S4)
 EXP2(S4) EXP3(S4) EXP4(S4) EXP5(S4) EXP6(S4) USB1(S3) USB2(S3)
 USB3(S3) USB6(S3) ESB1(S3) PCIB(S3) PWRB(S3)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: Intel(R) Xeon(R) CPU X3210 @ 2.13GHz, 2133.65 MHz
 cpu0: 
 FPU,VME,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,NXE,LONG
 cpu0: 4MB 64b/line 16-way L2 cache
 cpu0: apic clock running at 266MHz
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: Intel(R) Xeon(R) CPU X3210 @ 2.13GHz, 2133.33 MHz
 cpu1: 
 FPU,VME,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,NXE,LONG
 cpu1: 4MB 64b/line 16-way L2 cache
 cpu2 at mainbus0: apid 2 (application processor)
 cpu2: Intel(R) Xeon(R) CPU X3210 @ 2.13GHz, 2133.33 MHz
 cpu2: 
 FPU,VME,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,NXE,LONG
 cpu2: 4MB 64b/line 16-way L2 cache
 cpu3 at mainbus0: apid 3 (application processor)
 cpu3: Intel(R) Xeon(R) CPU X3210 @ 2.13GHz, 2133.33 MHz
 cpu3: 
 FPU,VME,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,NXE,LONG
 cpu3: 4MB 64b/line 16-way L2 cache
 ioapic0 at mainbus0: apid 4 pa 0xfec0, version 20, 24 pins
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus 1 (PEG1)
 acpiprt2 at acpi0: bus -1 (PEG2)
 acpiprt3 at acpi0: bus 5 (EXP1)
 acpiprt4 at acpi0: bus -1 (EXP2)
 acpiprt5 at acpi0: bus -1 (EXP3)
 acpiprt6 at acpi0: bus -1 (EXP4)
 acpiprt7 at acpi0: bus 13 (EXP5)
 acpiprt8 at acpi0: bus 14 (EXP6)
 acpiprt9 at acpi0: bus 17 (PCIB)
 acpicpu0 at acpi0: C3, PSS
 acpicpu1 at acpi0: C3, PSS
 acpicpu2 at acpi0: C3, PSS
 acpicpu3 at acpi0: C3, PSS
 acpibtn0 at acpi0: PWRB
 ipmi at mainbus0 not configured
 cpu0: Enhanced SpeedStep 2133 MHz: speeds: 2133, 1600 MHz
 pci0 at 

Re: Slow disk IO HP DL120 G5 with LSI1068E

2010-08-31 Thread Evgeniy Sudyr
Marco,

thank you for your super fast answer!

As I understood you told that I need to delete raid logical disk, and
use two separate disks.

1. I deleted array and selected disk 1 to be boot disk in LSI configuration.
2. During installation I was able to see 2 disks (as expected), so I
installed OBSD on 1st drive.
3. After installation I tried to do the same unpack and figured that it's

Then enable write cache on them using scsi - how can I do this ?

Let me know if I can help with this issues testing on my hardware :) -
I would like to help you in this!

--
Thank you!
Evgeniy Sudyr


On Tue, Aug 31, 2010 at 7:00 PM, Marco Peereboom sl...@peereboom.us wrote:
 Your disks have write cache disabled. B I started on a diff but hit a
 roadblock and didn't get back to figuring this out. B Currently the only
 way to fix this is to undo the raid volume and let the actual physical
 disks show up. B Then enable write cache on them using scsi. B Not really
 something for the faint hearted. B At some point I'll go spend some time
 to figure this out but not anytime soon :-(

 On Tue, Aug 31, 2010 at 06:52:44PM +0300, Evgeniy Sudyr wrote:
 I have troubles with on OpenBSD 4.7 with HP DL 120 G5

 Actually I'm trying to unpack src.tar.gz and see that it's very slow.

 There is my systat during unpacking and dmesg for the server

 B systat

 B  B 2 users B  B Load 2.77 2.48 2.17 B  B  B  B  B  B  B  B  B  B  B Tue
Aug 31 19:46:02 2010

 B  B  B  B  B  B  memory totals (in KB) B  B  B  B  B  B PAGING B  SWAPPING
B  B  Interrupts
 B  B  B  B  B  B real B  virtual B  B  free B  B  B  B  B  in B out B  in
B out B  B  B 568 total
 Active B  B 13212 B  B  13212 B 3281736 B  ops B  B  B  B  B  B  B  B  B 
B  B  B  B  B 400 clock
 All B  B  B 410024 B  B 410024 B 7342468 B  pages B  B  B  B  B  B  B  B 
B  B  B  B  B  79 ipi
 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
B  B  B  B  B  B  B  B  B  B 88 mpi0
 Proc:r B d B s B w B  B Csw B  Trp B  Sys B  Int B  Sof B Flt B  B  B 
forks B  B  B  1 em0
 B  B  B  B  2 B 6 B  B  B  164 B  B  1 B  258 B  B 89 B  100 B  B 9 B  B 
B  fkppw B  B  B  B  uhci3
 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
B  B  B  B  fksvm B  B  B  B  ehci1
 B  B 0.0%Int B  0.1%Sys B  0.2%Usr B  0.0%Nic B 99.7%Idle B  B  B  pwait
 | B  B | B  B | B  B | B  B | B  B | B  B | B  B | B  B | B  B | B  B | B 
B  B  relck
 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
B  B  B  B  rlkok
 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
B  B  B  B  noram
 Namei B  B  B  B  Sys-cache B  B Proc-cache B  B No-cache B  B  B  B 
ndcpy
 B  B  Calls B  B  hits B  B % B  B hits B  B  % B  B miss B  % B  B  B  B 
fltcp
 B  B  B  881 B  B  B 742 B  84 B  B  B  4 B  B  0 B  B  135 B 15 B  B  B 
B  zfod
 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
B  B  B  B  cow
 Disks B  sd0 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
30764 fmin
 seeks B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
41018 ftarg
 xfers B  B 88 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
B  B  B  itarg
 speed B 761K B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
B 49 wired
 B  sec B  1.0 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
B  B  B  pdfre
 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
B  B  B  B  pdscn
 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
B  B  B  B  pzidle
 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
B  B  B 15 kmapent

 B dmesg

 OpenBSD 4.7 (GENERIC.MP) #130: Wed Mar 17 20:48:50 MDT 2010
 B  B  dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
 real mem = 3889758208 (3709MB)
 avail mem = 3780005888 (3604MB)
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xdc010 (43 entries)
 bios0: vendor HP version O22 date 10/09/2009
 bios0: HP ProLiant DL120 G5
 acpi0 at bios0: rev 2
 acpi0: tables DSDT FACP SPMI EINJ HEST BERT SSDT ERST MCFG APIC BOOT
 SPCR SSDT SSDT SSDT
 acpi0: wakeup devices USB4(S3) USB5(S3) USB7(S3) ESB2(S4) EXP1(S4)
 EXP2(S4) EXP3(S4) EXP4(S4) EXP5(S4) EXP6(S4) USB1(S3) USB2(S3)
 USB3(S3) USB6(S3) ESB1(S3) PCIB(S3) PWRB(S3)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: Intel(R) Xeon(R) CPU X3210 @ 2.13GHz, 2133.65 MHz
 cpu0:
FPU,VME,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,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,
xTPR,NXE,LONG
 cpu0: 4MB 64b/line 16-way L2 cache
 cpu0: apic clock running at 266MHz
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: Intel(R) Xeon(R) CPU X3210 @ 2.13GHz, 2133.33 MHz
 cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS

Re: Slow disk IO HP DL120 G5 with LSI1068E

2010-08-31 Thread Evgeniy Sudyr
Did it, but looks something wrong:

1. scsi -f /dev/rsd0c -m 8 -P 3 -e
2. Opened vi where I edited WCE: 0 to 1 and and saved file
3. Message appears:

/var/tmp/scrvzvir1o: 2 lines, 16 characters.
SCIOCCOMMAND ioctl: Command accepted.
return status 3 (Sense Returned) host adapter status 2
Command out (6 of 6):
15 01 00 00 18 00

Data out (0 of 24):

Error code is current errors
Segment number is 00
Sense key is Illegal request
The Information field is not valid but contains  (0).
The Command Specific Information field is  (0).
Additional sense code: 24
Additional sense code qualifier: 00
sense (32 of 48):
70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00



On Tue, Aug 31, 2010 at 9:24 PM, Marco Peereboom sl...@peereboom.us wrote:
 Something like:

 # scsi -f /dev/rsd0c -m 8

 change WCE: 0 to WCE: 1

 On Tue, Aug 31, 2010 at 08:20:18PM +0300, Evgeniy Sudyr wrote:
 Marco,

 thank you for your super fast answer!

 As I understood you told that I need to delete raid logical disk, and
 use two separate disks.

 I did it and I'm installing OpenBSD on first disk right now.

 I have question for you - how should I enable write cache on them
 using scsi ?

 --
 Thanks!



 On Tue, Aug 31, 2010 at 7:00 PM, Marco Peereboom sl...@peereboom.us
wrote:
  Your disks have write cache disabled. B I started on a diff but hit a
  roadblock and didn't get back to figuring this out. B Currently the only
  way to fix this is to undo the raid volume and let the actual physical
  disks show up. B Then enable write cache on them using scsi. B Not
really
  something for the faint hearted. B At some point I'll go spend some time
  to figure this out but not anytime soon :-(
 
  On Tue, Aug 31, 2010 at 06:52:44PM +0300, Evgeniy Sudyr wrote:
  I have troubles with on OpenBSD 4.7 with HP DL 120 G5
 
  Actually I'm trying to unpack src.tar.gz and see that it's very slow.
 
  There is my systat during unpacking and dmesg for the server
 
  B systat
 
  B B B 2 users B B B Load 2.77 2.48 2.17 B B B B B B B B B B B B B B B
B B B B B B Tue
 Aug 31 19:46:02 2010
 
  B B B B B B B B B B B B memory totals (in KB) B B B B B B B B B B B
PAGING B B SWAPPING
 B B B B Interrupts
  B B B B B B B B B B B real B B virtual B B B B free B B B B B B B B B
B in B out B B in
 B out B B B B B 568 total
  Active B B B 13212 B B B B 13212 B 3281736 B B ops B B B B B B B B B B B
B B B B B B
 B B B B B B B B B 400 clock
  All B B B B B 410024 B B B 410024 B 7342468 B B pages B B B B B B B B B
B B B B B B
 B B B B B B B B B B 79 ipi
  B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B
B B B B B B B B B B B B B B
 B B B B B B B B B B B B B B B B B B B 88 mpi0
  Proc:r B d B s B w B B B Csw B B Trp B B Sys B B Int B B Sof B Flt B B B
B B
 forks B B B B B B 1 em0
  B B B B B B B B 2 B 6 B B B B B B 164 B B B B 1 B B 258 B B B 89 B B 100
B B B 9 B B B
 B B fkppw B B B B B B B B uhci3
  B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B
B B B B B B B B B B B B B B
 B B B B B B B B fksvm B B B B B B B B ehci1
  B B B 0.0%Int B B 0.1%Sys B B 0.2%Usr B B 0.0%Nic B 99.7%Idle B B B B B
B pwait
  | B B B | B B B | B B B | B B B | B B B | B B B | B B B | B B B | B B B
| B B B | B
 B B B B relck
  B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B
B B B B B B B B B B B B B B
 B B B B B B B B rlkok
  B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B
B B B B B B B B B B B B B B
 B B B B B B B B noram
  Namei B B B B B B B B Sys-cache B B B Proc-cache B B B No-cache B B B
B B B B
 ndcpy
  B B B B Calls B B B B hits B B B % B B B hits B B B B % B B B miss B B %
B B B B B B B
 fltcp
  B B B B B B 881 B B B B B 742 B B 84 B B B B B B 4 B B B B 0 B B B B 135
B 15 B B B B B
 B B zfod
  B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B
B B B B B B B B B B B B B B
 B B B B B B B B cow
  Disks B B sd0 B B B B B B B B B B B B B B B B B B B B B B B B B B B B B
B B B B B B B B B B
 30764 fmin
  seeks B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B
B B B B B B B B B B B B
 41018 ftarg
  xfers B B B 88 B B B B B B B B B B B B B B B B B B B B B B B B B B B B B
B B B B B B B B B B
 B B B B B B itarg
  speed B 761K B B B B B B B B B B B B B B B B B B B B B B B B B B B B B
B B B B B B B B B B B B
 B 49 wired
  B B sec B B 1.0 B B B B B B B B B B B B B B B B B B B B B B B B B B B
B B B B B B B B B B B B
 B B B B B B pdfre
  B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B
B B B B B B B B B B B B B B
 B B B B B B B B pdscn
  B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B
B B B B B B B B B B B B B B
 B B B B B B B B pzidle
  B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B
B B B B B B B B B B B B B B
 B B B B B 15 kmapent
 
  B dmesg
 
  OpenBSD 4.7 (GENERIC.MP) #130: Wed Mar 17 20:48:50 MDT 2010
  B B B
B 

Re: Slow disk IO HP DL120 G5 with LSI1068E

2010-08-31 Thread Marco Peereboom
This is mpi so this response doesn't seem accurate as they don't have
battery cache etc.

On Tue, Aug 31, 2010 at 08:30:53PM +0200, Ivan Nudzik wrote:
 Download Smart Start CD from HP site. Boot this CD and configure SCSI
 adapter an RAID settings. There is far more options to configure, than
 from SCSI adapter BIOS. Btw if you have battery backed cache, you can
 switch on write cache. You should also download and boot Firmware
 CD...
 
 I.
 
 On Tue, 2010-08-31 at 18:52 +0300, Evgeniy Sudyr wrote:
 
  I have troubles with on OpenBSD 4.7 with HP DL 120 G5
  
  Actually I'm trying to unpack src.tar.gz and see that it's very slow.
  
  There is my systat during unpacking and dmesg for the server
  
   systat
  
 2 usersLoad 2.77 2.48 2.17  Tue Aug 31 19:46:02 
  2010
  
  memory totals (in KB)PAGING   SWAPPING 
  Interrupts
 real   virtual free   in  out   in  out  568 
  total
  Active13212 13212  3281736   ops400 
  clock
  All  410024410024  7342468   pages   79 ipi
   88 mpi0
  Proc:r  d  s  wCsw   Trp   Sys   Int   Sof  Flt   forks   1 em0
  2  6   164 1   25889   1009   fkppw 
  uhci3
fksvm 
  ehci1
 0.0%Int   0.1%Sys   0.2%Usr   0.0%Nic  99.7%Idle   pwait
  |||||||||||   relck
rlkok
noram
  Namei Sys-cacheProc-cacheNo-cache ndcpy
  Calls hits%hits %miss   % fltcp
881  742   84   4 0 135  15 zfod
cow
  Disks   sd0 30764 fmin
  seeks   41018 ftarg
  xfers88   itarg
  speed  761K49 wired
sec   1.0   pdfre
pdscn
pzidle
 15 kmapent
  
   dmesg
  
  OpenBSD 4.7 (GENERIC.MP) #130: Wed Mar 17 20:48:50 MDT 2010
  dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
  real mem = 3889758208 (3709MB)
  avail mem = 3780005888 (3604MB)
  mainbus0 at root
  bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xdc010 (43 entries)
  bios0: vendor HP version O22 date 10/09/2009
  bios0: HP ProLiant DL120 G5
  acpi0 at bios0: rev 2
  acpi0: tables DSDT FACP SPMI EINJ HEST BERT SSDT ERST MCFG APIC BOOT
  SPCR SSDT SSDT SSDT
  acpi0: wakeup devices USB4(S3) USB5(S3) USB7(S3) ESB2(S4) EXP1(S4)
  EXP2(S4) EXP3(S4) EXP4(S4) EXP5(S4) EXP6(S4) USB1(S3) USB2(S3)
  USB3(S3) USB6(S3) ESB1(S3) PCIB(S3) PWRB(S3)
  acpitimer0 at acpi0: 3579545 Hz, 24 bits
  acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
  cpu0 at mainbus0: apid 0 (boot processor)
  cpu0: Intel(R) Xeon(R) CPU X3210 @ 2.13GHz, 2133.65 MHz
  cpu0: 
  FPU,VME,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,NXE,LONG
  cpu0: 4MB 64b/line 16-way L2 cache
  cpu0: apic clock running at 266MHz
  cpu1 at mainbus0: apid 1 (application processor)
  cpu1: Intel(R) Xeon(R) CPU X3210 @ 2.13GHz, 2133.33 MHz
  cpu1: 
  FPU,VME,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,NXE,LONG
  cpu1: 4MB 64b/line 16-way L2 cache
  cpu2 at mainbus0: apid 2 (application processor)
  cpu2: Intel(R) Xeon(R) CPU X3210 @ 2.13GHz, 2133.33 MHz
  cpu2: 
  FPU,VME,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,NXE,LONG
  cpu2: 4MB 64b/line 16-way L2 cache
  cpu3 at mainbus0: apid 3 (application processor)
  cpu3: Intel(R) Xeon(R) CPU X3210 @ 2.13GHz, 2133.33 MHz
  cpu3: 
  FPU,VME,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,NXE,LONG
  cpu3: 4MB 64b/line 16-way L2 cache
  ioapic0 at mainbus0: apid 4 pa 0xfec0, version 20, 24 pins
  acpiprt0 at acpi0: bus 0 (PCI0)
  acpiprt1 at acpi0: bus 1 (PEG1)
  acpiprt2 at acpi0: bus -1 (PEG2)
  acpiprt3 at acpi0: bus 5 (EXP1)
  acpiprt4 at acpi0: bus -1 (EXP2)
  acpiprt5 at acpi0: bus -1 (EXP3)
  acpiprt6 at acpi0: bus -1 (EXP4)
  acpiprt7 at acpi0: bus 13 (EXP5)
  acpiprt8 at acpi0: bus 14 (EXP6)
  acpiprt9 

Re: Slow disk IO HP DL120 G5 with LSI1068E

2010-08-31 Thread Evgeniy Sudyr
Guys,

I have no battery backed cache. I even don`t need it for current
configuration.

Why controller's cache matters if current write speed is 0.5 Mb/sec ?
In windows (prior installation OBSD) I noted ~ 80 MB/sec write speed
on same configuration.

My current test (after deleting array and installing on single SATA disk):

# dd if=/dev/zero of=/tmp/test bs=1 count=1000
1000+0 records in
1000+0 records out
1000 bytes transferred in 17.020 secs (587515 bytes/sec)

Ivan:
my controller is not HP SmartArray but LSI, not sure that HP
SmartStart supports it, but I will try it :)

---
Thanks!


On Tue, Aug 31, 2010 at 9:30 PM, Ivan Nudzik ivan.nud...@gmail.com wrote:
 Download Smart Start CD from HP site. Boot this CD and configure SCSI
 adapter an RAID settings. There is far more options to configure, than
 from SCSI adapter BIOS. Btw if you have battery backed cache, you can
 switch on write cache. You should also download and boot Firmware
 CD...

 I.

 On Tue, 2010-08-31 at 18:52 +0300, Evgeniy Sudyr wrote:

 I have troubles with on OpenBSD 4.7 with HP DL 120 G5

 Actually I'm trying to unpack src.tar.gz and see that it's very slow.

 There is my systat during unpacking and dmesg for the server

 B systat

 B  B 2 users B  B Load 2.77 2.48 2.17 B  B  B  B  B  B  B  B  B  B  B Tue
Aug 31 19:46:02 2010

 B  B  B  B  B  B  memory totals (in KB) B  B  B  B  B  B PAGING B  SWAPPING
B  B  Interrupts
 B  B  B  B  B  B real B  virtual B  B  free B  B  B  B  B  in B out B  in
B out B  B  B 568 total
 Active B  B 13212 B  B  13212 B 3281736 B  ops B  B  B  B  B  B  B  B  B 
B  B  B  B  B 400 clock
 All B  B  B 410024 B  B 410024 B 7342468 B  pages B  B  B  B  B  B  B  B 
B  B  B  B  B  79 ipi
 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
B  B  B  B  B  B  B  B  B  B 88 mpi0
 Proc:r B d B s B w B  B Csw B  Trp B  Sys B  Int B  Sof B Flt B  B  B 
forks B  B  B  1 em0
 B  B  B  B  2 B 6 B  B  B  164 B  B  1 B  258 B  B 89 B  100 B  B 9 B  B 
B  fkppw B  B  B  B  uhci3
 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
B  B  B  B  fksvm B  B  B  B  ehci1
 B  B 0.0%Int B  0.1%Sys B  0.2%Usr B  0.0%Nic B 99.7%Idle B  B  B  pwait
 | B  B | B  B | B  B | B  B | B  B | B  B | B  B | B  B | B  B | B  B | B 
B  B  relck
 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
B  B  B  B  rlkok
 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
B  B  B  B  noram
 Namei B  B  B  B  Sys-cache B  B Proc-cache B  B No-cache B  B  B  B 
ndcpy
 B  B  Calls B  B  hits B  B % B  B hits B  B  % B  B miss B  % B  B  B  B 
fltcp
 B  B  B  881 B  B  B 742 B  84 B  B  B  4 B  B  0 B  B  135 B 15 B  B  B 
B  zfod
 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
B  B  B  B  cow
 Disks B  sd0 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
30764 fmin
 seeks B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
41018 ftarg
 xfers B  B 88 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
B  B  B  itarg
 speed B 761K B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
B 49 wired
 B  sec B  1.0 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
B  B  B  pdfre
 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
B  B  B  B  pdscn
 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
B  B  B  B  pzidle
 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
B  B  B 15 kmapent

 B dmesg

 OpenBSD 4.7 (GENERIC.MP) #130: Wed Mar 17 20:48:50 MDT 2010
 B  B  dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
 real mem = 3889758208 (3709MB)
 avail mem = 3780005888 (3604MB)
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xdc010 (43 entries)
 bios0: vendor HP version O22 date 10/09/2009
 bios0: HP ProLiant DL120 G5
 acpi0 at bios0: rev 2
 acpi0: tables DSDT FACP SPMI EINJ HEST BERT SSDT ERST MCFG APIC BOOT
 SPCR SSDT SSDT SSDT
 acpi0: wakeup devices USB4(S3) USB5(S3) USB7(S3) ESB2(S4) EXP1(S4)
 EXP2(S4) EXP3(S4) EXP4(S4) EXP5(S4) EXP6(S4) USB1(S3) USB2(S3)
 USB3(S3) USB6(S3) ESB1(S3) PCIB(S3) PWRB(S3)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: Intel(R) Xeon(R) CPU X3210 @ 2.13GHz, 2133.65 MHz
 cpu0:
FPU,VME,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,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,
xTPR,NXE,LONG
 cpu0: 4MB 64b/line 16-way L2 cache
 cpu0: apic clock running at 266MHz
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: Intel(R) Xeon(R) CPU X3210 @ 2.13GHz, 2133.33 MHz
 cpu1:
FPU,VME,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,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,
xTPR,NXE,LONG
 cpu1: 4MB 64b/line 16-way L2 cache
 cpu2 at mainbus0: apid 2 

Re: Slow disk IO HP DL120 G5 with LSI1068E

2010-08-31 Thread Kenneth Gober
On Tue, Aug 31, 2010 at 2:42 PM, Evgeniy Sudyr eject.in...@gmail.comwrote:

 Why controller's cache matters if current write speed is 0.5 Mb/sec ?
 In windows (prior installation OBSD) I noted ~ 80 MB/sec write speed
 on same configuration.

 My current test (after deleting array and installing on single SATA disk):

 # dd if=/dev/zero of=/tmp/test bs=1 count=1000
 1000+0 records in
 1000+0 records out
 1000 bytes transferred in 17.020 secs (587515 bytes/sec)


500KB/s is pretty good with bs=1.  on my own (rather old) machine I get
64KB/s with bs=1.  but if you don't use an insanely small block size
performance goes way up.  with bs=64k that same machine jumps from 64KB/s to
5.5MB/s.

-ken



Conseil des Ministres du 26 Août 2010

2010-08-31 Thread CICG (Centre d'Information et de Communication Gouvernementale)
  Visitez le portail officiel du Gouvernement de Ctte d'Ivoire, Cliquez ici (
http://www.gouv.ci/; )  
( http://www.gouv.ci/; )

CONSEIL DES MINISTRES


 
Conseil des Ministres du 26 Ao{t 2010




Le Conseil des Ministres s'est tenu le jeudi 26 ao{t 2010, de 13H15mn `14H30
mn au Palais de la Prisidence de la Ripublique au Plateau, sous la prisidence
de Son Excellence Monsieur Laurent GBAGBO, Prisident de la Ripublique.

A l'ouverture du conseil, le Prisident de la Ripublique a commenti l'actualiti
nationale. Il a rappeli que le rtle essentiel de l'actuel Gouvernement est
l'organisation et la riussite des ilections fixies au 31 octobre 2010.



Lire plus [+] ( http://www.gouv.ci/conseil_ministre.php?recordID=82; )


 
 
 PROJETS  DE  LOI  ET DICRETS

 
Au titre du Ministhre d'Etat, Ministhre du Plan et du Diveloppement :
Sur exposi du Ministre d'Etat, Ministre du Plan et du Diveloppement, le
Prisident de la Ripublique a signi un dicret portant criation de la Commission
Nationale de la Prospective.




Cette commission a pour mission de riflichir au futur ` long terme de la Ctte
d'Ivoire avec l'idie d'instaurer de larges concertations permettant de
rialiser un consensus minimal sur les problhmes majeurs du pays.


Lire plus [+] (
http://www.gouv.ci/conseil_ministre.php?recordID=82#PROJETS%20DE%20LOI%20ET%
20DECRETS )



 
 
 COMMUNICATIONS

 
Au titre du Ministhre d'Etat, Ministhre du Plan et du Diveloppement :
Le conseil a entendu une communication relative ` l'adoption de la Politique
Nationale de Population.
Cette politique est un ensemble de mesures publiques cohirentes en vue
d'influencer la dynamique dimographique et son impact sur le diveloppement
durable de la Ctte d'Ivoire. Les principes qui sous-tendent cette politique
sont :
- respect des droits fondamentaux de la population ;
- priservation de la paix, de la dimocratie ;
- respect des droits de la famille notamment en matihre de procriation ;
- acchs iquitable de tous ` la santi, ` l'iducation, ` la culture, `
l'information, ` l'emploi ;
- etc.


Lire plus [+] (
http://www.gouv.ci/conseil_ministre.php?recordID=82#COMMUNICATIONS%20:%20%20
POLITIQUE%20NATIONALE%20DE%20LA%20POPULATION )



 

 




 



 Le pricident conseil 



Le conseil des Ministres s'est tenu le jeudi 22 juillet 2010, de 17H20 mn `
18H15 mn, au Palais de la Prisidence de la Ripublique au Plateau, sous la
prisidence de Son Excellence Monsieur Laurent GBAGBO, Prisident de la
Ripublique.


Lire plus [+] ( http://www.gouv.ci/conseil_ministre.php?recordID=81; )
 
  Le Site Web de la semaine 

-
( http://www.plan.gouv.ci/; )



 Visitez ce site  ( http://www.plan.gouv.ci/; )


 
  Grands dossiers

 
( http://www.gouv.ci/bonnegouvernance2009_2013.php; )



--



 ( http://www.gouv.ci/ajustemet_prix_petrol31052010.php; )


 
 

 





 

LA COMMUNICATION AU COEUR DE L'ACTION GOUVERNEMENTALE
   Continuez de nous faire part de vos suggestions (
http://www.gouv.ci/webmaster.php; ). 
Merci ` toutes celles et tous ceux qui nous ont dij` icrit !



 

 Si vous ne souhaitez plus recevoir notre lettre d'informations, cliquez ici
pour vous disabonner
 

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
=?iso-8859-1?Q?ajustemet=5Fprix=5Foro2.Jpg?=]

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
=?iso-8859-1?Q?bonne_gouvernance.Jpg?=]

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
=?iso-8859-1?Q?conseilministre15072010.Jpg?=]

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
=?iso-8859-1?Q?gouvletter.jpg?=]

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
=?iso-8859-1?Q?logo.jpg?=]

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
=?iso-8859-1?Q?Minist=E8re_du_plan_et_du_d=E9veloppement.Jpg?=]



Actualización Urgente: Nuevo Reglamento de la Ley de Adquisiciones, Arrendamientos y Servicios, 21 de Septiembre.

2010-08-31 Thread Lic. Karla Quintero
[IMAGE]

!Promociones Especiales para Actualizar a todo su personal!

Mayores informes responda este correo electrsnico con los siguientes
datos.
Empresa:
Nombre:
Telifono:
Email:
Nzmero de Interesados:
Y en breve le haremos llegar la informacisn completa del evento. 
O bien comunmquense a nuestros telifonos  un ejecutivo con gusto le
atendera
Tels. (33) 8851-2365, (33)8851-2741.

Copyright (C) 2010, PMS Capacitacisn Efectiva de Mixico  S.C. Derechos
Reservados. PMS de Mixico, El logo de PMS de Mixico son marcas
registradas. ADVERTENCIA PMS de Mixico no cuenta con alianzas
estratigicas de ningzn tipo dentro de la Republica Mexicana. NO SE DEJE
ENGAQAR - DIGA NO A LA PIRATERIA. Todos los logotipos, marcas comerciales
e imagenes son propiedad de sus respectivas corporaciones y se utilizan
con fines informativos solamente.

Este Mensaje ha sido enviado a misc@openbsd.org  como usuario de Pms de
Mixico o bien un usuario le refiris para recibir este boletmn.
Como usuario de Pms de Mixico, en este acto autoriza de manera expresa
que Pms de Mixico le puede contactar vma correo electrsnico u otros
medios.
Si usted ha recibido este mensaje por error, haga caso omiso de el y
reporte su cuenta respondiendo este correo con el subject
BAJAADQUISICIONES. Unsubscribe to this mailing list, reply a blank
message with the subject UNSUBSCRIBE BAJAADQUISICIONES
Tenga en cuenta que la gestisn de nuestras bases de datos es de suma
importancia y no es intencisn de la empresa la inconformidad del
receptor.

[demime 1.01d removed an attachment of type image/jpeg which had a name of 2 
nuevo reglamento adquisiciones.jpg]



new bsdtalk

2010-08-31 Thread Noah Pugsley

Didn't see this on undeadly. Thought it was a good listen.

http://bsdtalk.blogspot.com/2010/08/bsdtalk195-mike-larkin.html
http://cisx1.uma.maine.edu/~wbackman/bsdtalk/bsdtalk195.mp3
http://cisx1.uma.maine.edu/~wbackman/bsdtalk/bsdtalk195.ogg

-noah



Re: Slow disk IO HP DL120 G5 with LSI1068E

2010-08-31 Thread Stuart Henderson
On 2010-08-31, Evgeniy Sudyr eject.in...@gmail.com wrote:
 I have troubles with on OpenBSD 4.7 with HP DL 120 G5

 Actually I'm trying to unpack src.tar.gz and see that it's very slow.
...
 mpi0 at pci1 dev 0 function 0 Symbios Logic SAS1068E rev 0x08: apic
 4 int 16 (irq 5)
...
 # dd if=/dev/zero of=/tmp/tmp bs=1 count=1000
 1000+0 records in
 1000+0 records out
 1000 bytes transferred in 14.213 secs (703548 bytes/sec)

First try current / 4.8.

If that doesn't help then see
http://kerneltrap.org/mailarchive/openbsd-tech/2008/5/5/1725504

I am pretty confident that one or other of these will work.



Re: dmesg first line information

2010-08-31 Thread Stuart Henderson
On 2010-08-31, p...@bell.net p...@bell.net wrote:
 Hi,
 I am able to spare a machine to follow -current.
 So far so good with cvs, updates, and compiling.
 Is it possible to change one attribute in the dmesg?
 For example - dmesg first line
 ---
 OpenBSD 4.8-current (GENERIC) #0 (...)
 ---
 I would like to change #0 sequence number to something I can use for my
 purposes.
 Anyone has a hint as to where I could look to set this variable if the option
 is avaiable?

keep building kernels, it will increment by 1 each time.

but it is recommended to follow snapshots rather than source.



Diseño y Decoracion

2010-08-31 Thread Marcel Partida
Somos  fabricantes de una amplia variedad de persianas lo cual, nos permite
beneficiarle con los mejores precios del mercado ademas de poder realizar
diseqos especiales.

Persianas Enrollables desde $520.00  Panel Japonis, Romanas, PVC,
Shangri-la, Fibras Naturales, Verticales, Plisada, Cortinas Antibacterial.

Somos la mejor opcisn si usted necesita Persianas para su hogar, oficina,
hospital  Servicio de decoracisn.



?Qui tal si se decide por escoger su persiana y ordenarla directamente con
nosotros?

Nuestros representantes de servicio al cliente gustosamente le ayudaran con
cualquier duda sobre nuestros productos.



Ambience Happy Spaces



Tel. GDL  0133 3647-9435

NextelID 52*298748*13

Tel. Mixico DF 0155 4611-4316

www.ambience.com.mx file:///F:\www.ambience.com.mx



Si desea ya no recibir nuestras ofertas reenviar  borrar

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
image001.jpg]



Re: dmesg first line information

2010-08-31 Thread pix
On 2010.08.31 22:43  s...@spacehopper.org wrote:
 On 2010-08-31, p...@bell.net p...@bell.net wrote:
  Hi,
  I am able to spare a machine to follow -current.
  So far so good with cvs, updates, and compiling.
  Is it possible to change one attribute in the dmesg?
  For example - dmesg first line
  ---
  OpenBSD 4.8-current (GENERIC) #0 (...)
  ---
  I would like to change #0 sequence number to something I can use for my
  purposes.
  Anyone has a hint as to where I could look to set this variable if the
option
  is avaiable?

 keep building kernels, it will increment by 1 each time.

 but it is recommended to follow snapshots rather than source.

Thank you all with your suggestions.
I did not realize this deleting /compile/GENERIC every built
tampered with sequencial kernel numbering.
Guess that the file version acts like a counter variable.
Now I know better.

Went CD release 4.7, applied all the -current.html notes, built kernel, then
world.
So far so good, anyway, version 4.8 CD coming soon, so I experiment.
Perhaps it is why I saw so many warning messages on the monitor.
The machine (P4P800) is slow so I have time to read every lines.
One notorius one got my attention:
---
Warning isc_atomic_xadd defined but not used
Warning isc_atomic_store defined but not used
Warning isc_atomic_cmpxchg defined but not used
---
So I decided to look into the file to see what was causing the warning:
/usr/src/urs.sbin/bind/lib/isc/x86_32/include/isc/atomic.h
The 3 functions above are defined TWICE!
Wonder if it is good programing practices?
Not my bag of expertise for now...

Regards
CF



pre-order 4.8

2010-08-31 Thread Internet Retard
When can we pre-order 4.8?

Sincerely,

IR

User - It was AES 256, but the hackers broke it! I had a strong password too.
It was 8 characters long and all numbers.



Check this out...

2010-08-31 Thread Krystel Alain Lanz
I found a site I thought you'd like to see:

Do you want to earn money at home? I have a secret over here.
This has worked out so nicely. Once I did it a few times, it has become 
like clockwork. I have got it down to about 15 minutes a day, and I am 
having fun doing it. This is the BEST Work from home out there.
Just follow this link below and you will be amaze!
https://www.plimus.com/jsp/redirect.jsp?contractId=1690243referrer=nillanz
https://www.plimus.com/jsp/redirect.jsp?contractId=1690243referrer=nillanz

For your success,



Re: Slow disk IO HP DL120 G5 with LSI1068E

2010-08-31 Thread David Gwynne
On 01/09/2010, at 8:37 AM, Stuart Henderson wrote:

 On 2010-08-31, Evgeniy Sudyr eject.in...@gmail.com wrote:
 I have troubles with on OpenBSD 4.7 with HP DL 120 G5
 
 Actually I'm trying to unpack src.tar.gz and see that it's very slow.
 ...
 mpi0 at pci1 dev 0 function 0 Symbios Logic SAS1068E rev 0x08: apic
 4 int 16 (irq 5)
 ...
 # dd if=/dev/zero of=/tmp/tmp bs=1 count=1000
 1000+0 records in
 1000+0 records out
 1000 bytes transferred in 14.213 secs (703548 bytes/sec)
 
 First try current / 4.8.

i will second sthen's advice here.

dlg

 
 If that doesn't help then see
 http://kerneltrap.org/mailarchive/openbsd-tech/2008/5/5/1725504
 
 I am pretty confident that one or other of these will work.