Re: HP ProLiant DL320 v. Sun Fire V125

2007-12-06 Thread Kai Mosebach

Hi,

sorry for the late response, the mail just got marked as junk :(


KM enabling acpi

  How exactly do you do it?
  Mine acpi-related lines are


its already in the default kernel, not sure if its enabled by default.

# config -ef /bsd.mp
...
ukc enable acpi
414 acpi0 enabled



KM enabling write cache for wd0 in the system with:
KM # atactl wd0 writecacheenable

  Where  do  you  put  these  command?  For now I just ran it manually (and
tested  the  result).  I  think  it makes sense to activate the write cache
before  checking (and possibly recovering) RAIDframe devices, but rc.secure
and  rc.local  are  being called after that. Is it a good idea to put these
atactl commands to /etc/rc right before #Configure ccd devices line?


i ran it manually as well, and i guess you're right, even though i would 
not touch /etc/rc, since its part of the core system and i guess its not 
supposed to be changed by the user
dunno if there is a sysctl and or other way to enable it at boot time, 
maybe also config -ef /bsd?



KM Compaq iLO rev 0x03 at pci6 dev 4 function 0 not configured
KM Compaq iLO rev 0x03 at pci6 dev 4 function 2 not configured
KM uhci4 at pci6 dev 4 function 4 Hewlett-Packard USB rev 0x00: apic 8 int 
23 (irq 11)
KM Hewlett-Packard IPMI rev 0x00 at pci6 dev 4 function 6 not configured
KM usb1 at uhci4: USB revision 1.0
KM uhub1 at usb1 Hewlett-Packard UHCI root hub rev 1.00/1.00 addr 1

  Did  you  do  something special about uhci*? Mine is giving errors on two
computers already. Sometimes it even crashes to ddb:


maybe try to disable it in the kernel config

# config -ef /bsd.mp
...
ukc disable uhci
139 uhci* disabled


  Also, does iLO 2 Remote Console (a Java one) work for you?


we dont use it. sorry.

Best Kai



Re: HP ProLiant DL320 v. Sun Fire V125

2007-11-04 Thread Boris Goldberg
Hello Kai,

  Thank you very much for the reply. It's helpful.

Wednesday, October 31, 2007, 8:57:53 AM, you wrote:

KM We run quite fine here with 4.2-current from today on a DL320G5, after:

KM enabling write cache in the HP Bios !

  It  looks  like  that  BIOS  write cache settings don't change anything
(atactl does it).

KM enabling amd64 bsd.mp

  Your CPU is Xeon, mine is Pentium D. Don't think amd64 will work for me.

KM enabling acpi

  How exactly do you do it?
  Mine acpi-related lines are

#option ACPIVERBOSE
#option ACPI_ENABLE

acpi0   at mainbus?
acpitimer*  at acpi?
#acpihpet*  at acpi?
#acpiac*at acpi?
#acpibat*   at acpi?
#acpibtn*   at acpi?
acpicpu*at acpi?
#acpidock*  at acpi?
acpiec* at acpi?
acpiprt*at acpi?
acpitz* at acpi?

  Do I need to uncomment options or they are active by default anyway? Is
there any documents about it?

KM enabling write cache for wd0 in the system with:
KM # atactl wd0 writecacheenable

  Where  do  you  put  these  command?  For now I just ran it manually (and
tested  the  result).  I  think  it makes sense to activate the write cache
before  checking (and possibly recovering) RAIDframe devices, but rc.secure
and  rc.local  are  being called after that. Is it a good idea to put these
atactl commands to /etc/rc right before #Configure ccd devices line?

KM Before we had horrible 2MByte write speed, now we have 67MByte.

  I'm  getting  an about 16 times speed increase on copying a 1.2 gig file.
Is there any performance tests for the OpenBSD, BTW?

KM The bge interfaces also seem to run fine.

  Have  you  tried to boot with a network cable unplugged and than plug it?
My  bge*  (on  two  computers so far) detects a media of 10 megabit in that
case  (ifconfig  down/up  makes  it to detect the right media - 100 or 1000
megabit). em* devices don't have that (minor?) bug.

KM Compaq iLO rev 0x03 at pci6 dev 4 function 0 not configured
KM Compaq iLO rev 0x03 at pci6 dev 4 function 2 not configured
KM uhci4 at pci6 dev 4 function 4 Hewlett-Packard USB rev 0x00: apic 8 int 
23 (irq 11)
KM Hewlett-Packard IPMI rev 0x00 at pci6 dev 4 function 6 not configured
KM usb1 at uhci4: USB revision 1.0
KM uhub1 at usb1 Hewlett-Packard UHCI root hub rev 1.00/1.00 addr 1

  Did  you  do  something special about uhci*? Mine is giving errors on two
computers already. Sometimes it even crashes to ddb:

uhci4 at pci7 dev 4 function 4 Hewlett-Packard USB rev 0x00: irq 11
uhci4: cannot stop
Hewlett-Packard IPMI rev 0x00 at pci7 dev 4 function 6 not configured
Stopped at  uvm_pglistalloc_simple+0xc5:addl$0x1000,0xffec(%ebp)
uvm_pglistalloc_simple(1,100,3fe64000,d08c7af0,d07ac860) at 
uvm_pglistalloc_simple+0xc5
uvm_pglistalloc(1000,100,3fe64000,1000,0,d08c7af0,1,0) at 
uvm_pglistalloc+0x35c
_bus_dmamem_alloc_range(d075d900,1000,10,0,d18f6b4c) at 
_bus_dmamem_alloc_range+0x52
_bus_dmamem_alloc(d075d900,1000,10,0,d18f6b4c,1,d18f6b54,1) at 
_bus_dmamem_alloc+0x30
usb_block_allocmem(d075d900,1000,10,d08c7bd0) at usb_block_allocmem+0xa1
usb_allocmem(d191f000,1000,10,d08c7bd0) at usb_allocmem+0x39
uhci_alloc_sqh(d191f000,1000,1000,d191f274,d18f7234) at uhci_alloc_sqh+0x4a
uhci_init(d191f000,4,d078ebe0,80072000) at uhci_init+0x130
uhci_pci_attach_deferred(d191f000,8007f800,c,0,20) at 
uhci_pci_attach_deferred+0x24
config_process_deferred_children(d18f7180,0,0,d18f7200,20) at 
config_process_deferred_children+0x59
ddb c
usb1 at uhci4: USB revision 1.0
uhub1 at usb1: Hewlett-Packard UHCI root hub, rev 1.00/1.00, addr 1

  Also, does iLO 2 Remote Console (a Java one) work for you?

-- 
Best regards,
 Borismailto:[EMAIL PROTECTED]



Re: HP ProLiant DL320 v. Sun Fire V125

2007-10-31 Thread Kai Mosebach

Hi,

We run quite fine here with 4.2-current from today on a DL320G5, after:

enabling write cache in the HP Bios !
enabling amd64 bsd.mp
enabling acpi
enabling write cache for wd0 in the system with:

# atactl wd0 writecacheenable

Before we had horrible 2MByte write speed, now we have 67MByte.

The bge interfaces also seem to run fine.

cheers Kai

manam:~ # dmesg
OpenBSD 4.2-current (GENERIC.MP) #1436: Mon Oct 29 23:01:38 MDT 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2145415168 (2046MB)
avail mem = 2071965696 (1975MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xee000 (47 entries)
bios0: vendor HP version W04 date 03/10/2007
bios0: HP ProLiant DL320 G5
acpi0 at mainbus0: rev 2
acpi0: tables DSDT FACP SPCR MCFG HPET SPMI APIC
acpitimer at acpi0 not configured
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Xeon(R) CPU 3040 @ 1.86GHz, 1866.98 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,LONG

cpu0: 2MB 64b/line 8-way L2 cache
cpu0: apic clock running at 266MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Xeon(R) CPU 3040 @ 1.86GHz, 1866.74 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,LONG

cpu1: 2MB 64b/line 8-way L2 cache
ioapic0 at mainbus0 apid 8 pa 0xfec0, version 20, 24 pins
acpiprt0 at acpi0: bus 1 (IP2P)
acpiprt1 at acpi0: bus 4 (PCXS)
acpiprt2 at acpi0: bus 3 (PCXA)
acpiprt3 at acpi0: bus 2 (ICHE)
acpiprt3: no apic found for irq 47
acpiprt4 at acpi0: bus 7 (IPE4)
acpiprt5 at acpi0: bus 10 (PTA0)
acpiprt6 at acpi0: bus 0 (PCI0)
acpicpu at acpi0 not configured
acpicpu at acpi0 not configured
acpicpu at acpi0 not configured
acpicpu at acpi0 not configured
acpicpu at acpi0 not configured
acpicpu at acpi0 not configured
acpicpu at acpi0 not configured
acpicpu at acpi0 not configured
acpitz at acpi0 not configured
ipmi0 at mainbus0: version 2.0 interface KCS iobase 0xca2/2 spacing 1
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 Intel E7230 MCH rev 0xc0
ppb0 at pci0 dev 1 function 0 Intel E7230 PCIE rev 0xc0
pci1 at ppb0 bus 10
ppb1 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x01
pci2 at ppb1 bus 2
ppb2 at pci2 dev 0 function 0 ServerWorks PCIE-PCIX rev 0xb5
pci3 at ppb2 bus 3
bge0 at pci3 dev 4 function 0 Broadcom BCM5714 rev 0xa3, BCM5715 A3 
(0x9003): apic 8 int 16 (irq 11), address 00:1b:78:7a:c8:68

brgphy0 at bge0 phy 1: BCM5714 10/100/1000baseT PHY, rev. 0
bge1 at pci3 dev 4 function 1 Broadcom BCM5714 rev 0xa3, BCM5715 A3 
(0x9003): apic 8 int 17 (irq 10), address 00:1b:78:7a:c8:69

brgphy1 at bge1 phy 1: BCM5714 10/100/1000baseT PHY, rev. 0
ppb3 at pci3 dev 8 function 0 ServerWorks HT-1000 PCIX rev 0xb4
pci4 at ppb3 bus 4
ppb4 at pci0 dev 28 function 4 Intel 82801G PCIE rev 0x01
pci5 at ppb4 bus 7
ppb5 at pci0 dev 28 function 5 Intel 82801G PCIE rev 0x01
ppb5: not configured by system firmware
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x01: apic 8 int 
21 (irq 5)
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x01: apic 8 int 
21 (irq 5)
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x01: apic 8 int 
21 (irq 5)
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x01: apic 8 int 
21 (irq 5)
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x01: apic 8 int 
21 (irq 5)

usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb6 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0xe1
pci6 at ppb6 bus 1
vga1 at pci6 dev 3 function 0 ATI ES1000 rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
Compaq iLO rev 0x03 at pci6 dev 4 function 0 not configured
Compaq iLO rev 0x03 at pci6 dev 4 function 2 not configured
uhci4 at pci6 dev 4 function 4 Hewlett-Packard USB rev 0x00: apic 8 
int 23 (irq 11)

Hewlett-Packard IPMI rev 0x00 at pci6 dev 4 function 6 not configured
usb1 at uhci4: USB revision 1.0
uhub1 at usb1 Hewlett-Packard UHCI root hub rev 1.00/1.00 addr 1
pcib0 at pci0 dev 31 function 0 Intel 82801GB LPC rev 0x01
pciide0 at pci0 dev 31 function 1 Intel 82801GB IDE rev 0x01: DMA, 
channel 0 configured to compatibility, channel 1 configured to compatibility

atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: TEAC, DV-28E-N, C.6B SCSI0 5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 31 function 2 Intel 82801GB SATA rev 0x01: DMA, 
channel 0 configured to native-PCI, channel 1 configured to native-PCI

pciide1: using apic 8 int 20 (irq 7) for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: ST3808110AS
wd0: 16-sector 

Re: HP ProLiant DL320 v. Sun Fire V125

2007-10-24 Thread Boris Goldberg
Hello evo,

Wednesday, October 24, 2007, 12:51:13 AM, you wrote:

e I'm choosing firewall/proxy/mail-gateway hardware running (of course)
e OpenBSD for medium office and my shortlist is:
e (a) HP ProLiant DL320 and (b) Sun Fire V125

  I'm   upgrading   my  servers/firewalls  to HP ProLiant DL320 G5, and the
experience...  isn't  easy.  First  of  all you need to allow acpi in an MP
kernel,  otherwise it's slow and unstable (it's disabled by default and not
really documented).

  Then you have couple more issues I couldn't resolve yet:

  Fists - uhci (uhci4 in my case) giving an error during boot and shutdown:

OpenBSD 4.2-stable (GENERIC) #1: Thu Oct 18 12:35:10 CDT 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) D CPU 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,EST,CNXT-ID,CX16,xTPR
real mem  = 1071640576 (1021MB)
avail mem = 1028595712 (980MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/31/99, BIOS32 rev. 0 @ 0xf, SMBIOS 
rev. 2.3 @ 0xee000 (47 entries)
bios0: vendor HP version W04 date 04/06/2007
bios0: HP ProLiant DL320 G5
pcibios0 at bios0: rev 3.0 @ 0xf/0x2000
pcibios0: PCI BIOS has 7 Interrupt Routing table entries
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801GB LPC rev 0x00)
pcibios0: PCI bus #7 is the last bus
bios0: ROM list: 0xc/0xb000 0xcc400/0x1000 0xcd400/0x1000 0xce400/0x3400! 
0xe6000/0x2000!
acpi at mainbus0 not configured
ipmi0 at mainbus0: version 2.0 interface KCS iobase 0xca2/2 spacing 1
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel E7230 MCH rev 0xc0
ppb0 at pci0 dev 1 function 0 Intel E7230 PCIE rev 0xc0
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x01
pci2 at ppb1 bus 2
ppb2 at pci2 dev 0 function 0 ServerWorks PCIE-PCIX rev 0xb5
pci3 at ppb2 bus 3
bge0 at pci3 dev 4 function 0 Broadcom BCM5714 rev 0xa3, BCM5715 A3 (0x9003): 
irq 11, address 00:1b:78:07:c9:9a
brgphy0 at bge0 phy 1: BCM5714 10/100/1000baseT PHY, rev. 0
bge1 at pci3 dev 4 function 1 Broadcom BCM5714 rev 0xa3, BCM5715 A3 (0x9003): 
irq 10, address 00:1b:78:07:c9:9b
brgphy1 at bge1 phy 1: BCM5714 10/100/1000baseT PHY, rev. 0
ppb3 at pci3 dev 8 function 0 ServerWorks HT-1000 PCIX rev 0xb4
pci4 at ppb3 bus 4
ppb4 at pci0 dev 28 function 4 Intel 82801G PCIE rev 0x01
pci5 at ppb4 bus 5
em0 at pci5 dev 0 function 0 Intel PRO/1000 PT (82571EB) rev 0x06: irq 11, 
address 00:1b:78:57:58:e0
em1 at pci5 dev 0 function 1 Intel PRO/1000 PT (82571EB) rev 0x06: irq 10, 
address 00:1b:78:57:58:e1
ppb5 at pci0 dev 28 function 5 Intel 82801G PCIE rev 0x01
pci6 at ppb5 bus 6
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x01: irq 5
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x01: irq 5
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x01: irq 5
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x01: irq 5
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x01: irq 5
usb0 at ehci0: USB revision 2.0
uhub0 at usb0: Intel EHCI root hub, rev 2.00/1.00, addr 1
ppb6 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0xe1
pci7 at ppb6 bus 7
vga1 at pci7 dev 3 function 0 ATI ES1000 rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
Compaq iLO rev 0x03 at pci7 dev 4 function 0 not configured
Compaq iLO rev 0x03 at pci7 dev 4 function 2 not configured
uhci4 at pci7 dev 4 function 4 Hewlett-Packard USB rev 0x00: irq 11
uhci4: cannot stop
Hewlett-Packard IPMI rev 0x00 at pci7 dev 4 function 6 not configured
usb1 at uhci4: USB revision 1.0
uhub1 at usb1: Hewlett-Packard UHCI root hub, rev 1.00/1.00, addr 1
ichpcib0 at pci0 dev 31 function 0 Intel 82801GB LPC rev 0x01: PM disabled
pciide0 at pci0 dev 31 function 1 Intel 82801GB IDE rev 0x01: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
pciide0: channel 0 disabled (no drives)
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 31 function 2 Intel 82801GB SATA rev 0x01: DMA, channel 0 
configured to native-PCI, channel 1 configured to native-PCI
pciide1: using irq 7 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: FB160C4081
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
usb2 at uhci0: USB revision 1.0
uhub2 at usb2: Intel UHCI root hub, rev 1.00/1.00, addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at usb3: Intel UHCI root hub, rev 1.00/1.00, addr 1
usb4 at uhci2: USB revision 1.0
uhub4 at usb4: Intel UHCI root hub, rev 1.00/1.00, addr 1
usb5 at uhci3: USB revision 1.0
uhub5 at usb5: 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,