Administración Eficaz de su Departamento de Compras, 18 de Agosto, México D.F.

2010-08-10 Thread Lic. Elsa Noriega
[IMAGE]

!Promociones Especiales para Grupos!

Mayores informes responda este correo electrsnico con los siguientes
datos.

Empresa:

Nombre:

Telifono:

Ciudad y Estado:

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 BAJAcompras
Unsubscribe to this mailing list, reply a blank message with the subject
UNSUBSCRIBEcompras
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 18 
agosto compras.jpg]



PF Layer 2 SYN Proxy

2010-08-10 Thread Metin KAYA
Hi,

Is it possible to implement layer 2 SYN proxy with PF? It seems so hard
since there is no IP information in this layer. Could you please comment on
this issue?

Thanks.

-- 
Metin KAYA



help on compile/link flags

2010-08-10 Thread Edwin Eyan Moragas
Hi misc,

i'm stumped and my makefile foo is not up to par. i need some help to
figure this out.

i'm trying to make picoLisp run on openbsd 4.7. the common gcc
invocation looks like:

gcc -c -O2 -m32 -pipe -falign-functions -fomit-frame-pointer
-fno-strict-aliasing -W -Wimplicit -Wreturn-type -Wunused -Wformat
-Wuninitialized -Wstrict-prototypes -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_OS='OpenBSD' net.c

it loads a dynamic library ht.o and links it as so (i'm not so sure if
it is linking, my apologies):

gcc -o ../lib/ht -m32 -shared -export-dynamic ht.o

i was asking around and the suspect is the flags used by gcc -o. are
the gcc -o flags correct? what's missing?

any pointers would be of great help. the full make output follows:

gcc -c -O2 -m32 -pipe -falign-functions -fomit-frame-pointer
-fno-strict-aliasing -W -Wimplicit -Wre
turn-type -Wunused -Wformat -Wuninitialized -Wstrict-prototypes
-D_GNU_SOURCE  -D_FILE_OFFSET_BITS=6
4 -D_OS='OpenBSD' main.c
gcc -c -O2 -m32 -pipe -falign-functions -fomit-frame-pointer
-fno-strict-aliasing -W -Wimplicit -Wre
turn-type -Wunused -Wformat -Wuninitialized -Wstrict-prototypes
-D_GNU_SOURCE  -D_FILE_OFFSET_BITS=6
4 -D_OS='OpenBSD' gc.c
gcc -c -O2 -m32 -pipe -falign-functions -fomit-frame-pointer
-fno-strict-aliasing -W -Wimplicit -Wre
turn-type -Wunused -Wformat -Wuninitialized -Wstrict-prototypes
-D_GNU_SOURCE  -D_FILE_OFFSET_BITS=6
4 -D_OS='OpenBSD' apply.c
gcc -c -O2 -m32 -pipe -falign-functions -fomit-frame-pointer
-fno-strict-aliasing -W -Wimplicit -Wre
turn-type -Wunused -Wformat -Wuninitialized -Wstrict-prototypes
-D_GNU_SOURCE  -D_FILE_OFFSET_BITS=6
4 -D_OS='OpenBSD' flow.c
gcc -c -O2 -m32 -pipe -falign-functions -fomit-frame-pointer
-fno-strict-aliasing -W -Wimplicit -Wre
turn-type -Wunused -Wformat -Wuninitialized -Wstrict-prototypes
-D_GNU_SOURCE  -D_FILE_OFFSET_BITS=6
4 -D_OS='OpenBSD' sym.c
gcc -c -O2 -m32 -pipe -falign-functions -fomit-frame-pointer
-fno-strict-aliasing -W -Wimplicit -Wre
turn-type -Wunused -Wformat -Wuninitialized -Wstrict-prototypes
-D_GNU_SOURCE  -D_FILE_OFFSET_BITS=6
4 -D_OS='OpenBSD' subr.c
gcc -c -O2 -m32 -pipe -falign-functions -fomit-frame-pointer
-fno-strict-aliasing -W -Wimplicit -Wre
turn-type -Wunused -Wformat -Wuninitialized -Wstrict-prototypes
-D_GNU_SOURCE  -D_FILE_OFFSET_BITS=6
4 -D_OS='OpenBSD' big.c
gcc -c -O2 -m32 -pipe -falign-functions -fomit-frame-pointer
-fno-strict-aliasing -W -Wimplicit -Wre
turn-type -Wunused -Wformat -Wuninitialized -Wstrict-prototypes
-D_GNU_SOURCE  -D_FILE_OFFSET_BITS=6
4 -D_OS='OpenBSD' io.c
gcc -c -O2 -m32 -pipe -falign-functions -fomit-frame-pointer
-fno-strict-aliasing -W -Wimplicit -Wre
turn-type -Wunused -Wformat -Wuninitialized -Wstrict-prototypes
-D_GNU_SOURCE  -D_FILE_OFFSET_BITS=6
4 -D_OS='OpenBSD' net.c
gcc -c -O2 -m32 -pipe -falign-functions -fomit-frame-pointer
-fno-strict-aliasing -W -Wimplicit -Wre
turn-type -Wunused -Wformat -Wuninitialized -Wstrict-prototypes
-D_GNU_SOURCE  -D_FILE_OFFSET_BITS=6
4 -D_OS='OpenBSD' tab.c
mkdir -p ../bin ../lib
gcc -o ../bin/picolisp -m32 -rdynamic main.o gc.o apply.o flow.o sym.o
subr.o big.o io.o net.o tab.o
 -lc -lm
strip ../bin/picolisp
gcc -c -O2 -m32 -pipe -falign-functions -fomit-frame-pointer
-fno-strict-aliasing -W -Wimplicit -Wre
turn-type -Wunused -Wformat -Wuninitialized -Wstrict-prototypes
-D_GNU_SOURCE  -D_FILE_OFFSET_BITS=6
4 -D_OS='OpenBSD' ext.c
gcc -o ../lib/ext -m32 -shared -export-dynamic ext.o
strip ../lib/ext
gcc -c -O2 -m32 -pipe -falign-functions -fomit-frame-pointer
-fno-strict-aliasing -W -Wimplicit -Wre
turn-type -Wunused -Wformat -Wuninitialized -Wstrict-prototypes
-D_GNU_SOURCE  -D_FILE_OFFSET_BITS=6
4 -D_OS='OpenBSD' ht.c
gcc -o ../lib/ht -m32 -shared -export-dynamic ht.o
strip ../lib/ht


best,

/e



Re: help on compile/link flags

2010-08-10 Thread David Coppa
Where's the error?

On Tue, Aug 10, 2010 at 9:43 AM, Edwin Eyan Moragas e...@yndy.org wrote:
 Hi misc,

 i'm stumped and my makefile foo is not up to par. i need some help to
 figure this out.

 i'm trying to make picoLisp run on openbsd 4.7. the common gcc
 invocation looks like:

 gcc -c -O2 -m32 -pipe -falign-functions -fomit-frame-pointer
 -fno-strict-aliasing -W -Wimplicit -Wreturn-type -Wunused -Wformat
 -Wuninitialized -Wstrict-prototypes -D_GNU_SOURCE
 -D_FILE_OFFSET_BITS=64 -D_OS='OpenBSD' net.c

 it loads a dynamic library ht.o and links it as so (i'm not so sure if
 it is linking, my apologies):

 gcc -o ../lib/ht -m32 -shared -export-dynamic ht.o



Re: help on compile/link flags

2010-08-10 Thread Edwin Eyan Moragas
On Tue, Aug 10, 2010 at 3:56 PM, David Coppa dco...@gmail.com wrote:
 Where's the error?

there is none. i just wanted to make sure that there are no flags that
i missed. the main program (picoLisp) just can't seem to find the
shared lib.

judging from here, i'll look at the source if it's looking in the right place.

thank you looking at it.


 On Tue, Aug 10, 2010 at 9:43 AM, Edwin Eyan Moragas e...@yndy.org wrote:
 Hi misc,

 i'm stumped and my makefile foo is not up to par. i need some help to
 figure this out.

 i'm trying to make picoLisp run on openbsd 4.7. the common gcc
 invocation looks like:

 gcc -c -O2 -m32 -pipe -falign-functions -fomit-frame-pointer
 -fno-strict-aliasing -W -Wimplicit -Wreturn-type -Wunused -Wformat
 -Wuninitialized -Wstrict-prototypes -D_GNU_SOURCE
 -D_FILE_OFFSET_BITS=64 -D_OS='OpenBSD' net.c

 it loads a dynamic library ht.o and links it as so (i'm not so sure if
 it is linking, my apologies):

 gcc -o ../lib/ht -m32 -shared -export-dynamic ht.o



Re: bgpd - How to append (not replace) communities ?

2010-08-10 Thread Stuart Henderson
Nothing special to do here, providing you don't delete them, they are added.


On 2010-08-02, rh...@hushmail.com rh...@hushmail.com wrote:
 Hi,

 At the moment, in my bgpd.conf, I've got the following amongst my 
 import filters :

 # Set communities (AS64515)
 match from group AS64515 community 64516:* set community delete 
 64516:*
 match from group AS64515 set {community 64516:2,community 
 64516:64515}


 Basically the goal is to :
 (1) Remove any communities that would match those I use internally 
 (i.e. 64516:*)
 (2) Append my communities to existing communities being received.

 Number two is where I'm having problems.  For troubleshooting and 
 traffic engineering, I would like to preserve any communities I am 
 receiving from my transit providers, whilst at the same time adding 
 a couple of extra communities for my own internal use.

 However this does not seem to be possible with bgpd.  Unless I've 
 missed something obvious in the man pages



Re: no sound Intel 82801I HD Audio in -current

2010-08-10 Thread Jacob Meuser
On Mon, Aug 09, 2010 at 09:28:34PM -0700, Luis Cortes wrote:
 Hello,
 
 I've got -current running on a Toshiba Tecra M10-S3454 laptop.
 Everything seems to be working ok.  However, I've got no audio and I
 really would like to get this working.
 
 I also noticed the patch that was provided earlier in this thread but
 I'm reluctant to try it since I get nothing from mixerctl and
 audioctl.

well, you shouldn't apply patches unless you know what they are for.
your problem is something completely different.

 Not sure what else to try.  Can someone point me in the right direction.

 azalia0 at pci0 dev 27 function 0 Intel 82801I HD Audio rev 0x03:
 apic 1 int 22 (irq 255)
 azalia0: invalid CORBSZCAP: 0x 0
 azalia0: initialization failure, detaching

don't think I've ever seen that one before.

build a kernel with AZALIA_DEBUG defined (you can uncomment the #define
in src/sys/dev/pci/azalia.h), boot it and send me the dmesg off-list.

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: PF Layer 2 SYN Proxy

2010-08-10 Thread Stuart Henderson
On 2010-08-10, Metin KAYA kayam...@gmail.com wrote:
 Is it possible to implement layer 2 SYN proxy with PF?

No.



Re: No VLAN Tag seen by switch on CARP interface on VLAN interface

2010-08-10 Thread Stuart Henderson
On 2010-08-09, Steve Johnson maill...@sjohnson.info wrote:
 Sorry about forgetting dmesg, thanks for the info about inline/pastebin. 
 Since this was very long information, I really wasn't sure. Here are all 
 the details inline:

Thanks, you will need to apply this patch (from r1.242 of
/sys/dev/pci/if_em.c), and rebuild a kernel. Alternatively
move to -current where it's fixed.

Index: if_em.c
===
RCS file: /cvs/src/sys/dev/pci/if_em.c,v
retrieving revision 1.241
retrieving revision 1.242
diff -u -p -r1.241 -r1.242
--- if_em.c 26 Jul 2010 19:21:24 -  1.241
+++ if_em.c 3 Aug 2010 16:21:52 -   1.242
@@ -1816,7 +1816,8 @@ em_setup_interface(struct em_softc *sc)
ifp-if_capabilities = IFCAP_VLAN_MTU;
 
 #if NVLAN  0
-   ifp-if_capabilities |= IFCAP_VLAN_HWTAGGING;
+   if (sc-hw.mac_type != em_82575)
+   ifp-if_capabilities |= IFCAP_VLAN_HWTAGGING;
 #endif
 
 #ifdef EM_CSUM_OFFLOAD



Re: No VLAN Tag seen by switch on CARP interface on VLAN interface

2010-08-10 Thread Steve Johnson

Sorry about forgetting dmesg, thanks for the info about inline/pastebin.

===
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 = 2141519872 (2042MB)
avail mem = 2075058176 (1978MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0x7fb9c000 (67 entries)
bios0: vendor Dell Inc. version 2.3.1 date 04/29/2008
bios0: Dell Inc. PowerEdge 1950
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP APIC SPCR HPET MCFG WD__ SLIC ERST HEST BERT 
EINJ TCPA

acpi0: wakeup devices PCI0(S5)
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 E5405 @ 2.00GHz, 1995.27 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,TM2,CX16,xTPR,NXE,LONG

cpu0: 6MB 64b/line 16-way L2 cache
cpu0: apic clock running at 332MHz
cpu1 at mainbus0: apid 4 (application processor)
cpu1: Intel(R) Xeon(R) CPU E5405 @ 2.00GHz, 1995.02 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,TM2,CX16,xTPR,NXE,LONG

cpu1: 6MB 64b/line 16-way L2 cache
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Xeon(R) CPU E5405 @ 2.00GHz, 1995.02 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,TM2,CX16,xTPR,NXE,LONG

cpu2: 6MB 64b/line 16-way L2 cache
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Xeon(R) CPU E5405 @ 2.00GHz, 1995.02 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,TM2,CX16,xTPR,NXE,LONG

cpu3: 6MB 64b/line 16-way L2 cache
cpu4 at mainbus0: apid 1 (application processor)
cpu4: Intel(R) Xeon(R) CPU E5405 @ 2.00GHz, 1995.02 MHz
cpu4: 
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,TM2,CX16,xTPR,NXE,LONG

cpu4: 6MB 64b/line 16-way L2 cache
cpu5 at mainbus0: apid 5 (application processor)
cpu5: Intel(R) Xeon(R) CPU E5405 @ 2.00GHz, 1995.02 MHz
cpu5: 
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,TM2,CX16,xTPR,NXE,LONG

cpu5: 6MB 64b/line 16-way L2 cache
cpu6 at mainbus0: apid 3 (application processor)
cpu6: Intel(R) Xeon(R) CPU E5405 @ 2.00GHz, 1995.02 MHz
cpu6: 
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,TM2,CX16,xTPR,NXE,LONG

cpu6: 6MB 64b/line 16-way L2 cache
cpu7 at mainbus0: apid 7 (application processor)
cpu7: Intel(R) Xeon(R) CPU E5405 @ 2.00GHz, 1995.02 MHz
cpu7: 
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,TM2,CX16,xTPR,NXE,LONG

cpu7: 6MB 64b/line 16-way L2 cache
ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 8
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 4 (PEX2)
acpiprt2 at acpi0: bus 5 (UPST)
acpiprt3 at acpi0: bus 6 (DWN1)
acpiprt4 at acpi0: bus 8 (DWN2)
acpiprt5 at acpi0: bus 1 (PEX3)
acpiprt6 at acpi0: bus 0 (PE2P)
acpiprt6: no apic found for irq 64
acpiprt6: no apic found for irq 65
acpiprt6: no apic found for irq 78
acpiprt7 at acpi0: bus 10 (PEX4)
acpiprt8 at acpi0: bus 15 (PEX6)
acpiprt9 at acpi0: bus 2 (SBEX)
acpiprt10 at acpi0: bus 17 (COMP)
acpicpu0 at acpi0: C3
acpicpu1 at acpi0: C3
acpicpu2 at acpi0: C3
acpicpu3 at acpi0: C3
acpicpu4 at acpi0: C3
acpicpu5 at acpi0: C3
acpicpu6 at acpi0: C3
acpicpu7 at acpi0: C3
ipmi at mainbus0 not configured
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel 5000X Host rev 0x12
ppb0 at pci0 dev 2 function 0 Intel 5000 PCIE rev 0x12
pci1 at ppb0 bus 4
ppb1 at pci1 dev 0 function 0 Intel 6321ESB PCIE rev 0x01
pci2 at ppb1 bus 5
ppb2 at pci2 dev 0 function 0 Intel 6321ESB PCIE rev 0x01
pci3 at ppb2 bus 6
ppb3 at pci3 dev 0 function 0 ServerWorks PCIE-PCIX rev 0xc3
pci4 at ppb3 bus 7
bnx0 at pci4 dev 0 function 0 Broadcom BCM5708 rev 0x12: apic 8 int 16 
(irq 6)

ppb4 at pci2 dev 1 function 0 Intel 6321ESB PCIE rev 0x01
pci5 at ppb4 bus 8
ppb5 at pci1 dev 0 function 3 Intel 6321ESB PCIE-PCIX rev 0x01
pci6 at ppb5 bus 9
ppb6 at pci0 dev 3 function 0 Intel 5000 PCIE rev 0x12
pci7 at ppb6 bus 1
mfi0 at pci7 dev 0 function 0 Symbios Logic SAS1078 rev 0x04: apic 8 
int 16 (irq 6), Dell PERC 6/i integrated

mfi0: logical drives 1, version 6.0.3-0002, 256MB RAM
scsibus0 at mfi0: 1 

Re: No VLAN Tag seen by switch on CARP interface on VLAN interface

2010-08-10 Thread Steve Johnson
Sorry about forgetting dmesg, thanks for the info about inline/pastebin. 
Since this was very long information, I really wasn't sure. Here are all 
the details inline:


===
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 = 2141519872 (2042MB)
avail mem = 2075058176 (1978MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0x7fb9c000 (67 entries)
bios0: vendor Dell Inc. version 2.3.1 date 04/29/2008
bios0: Dell Inc. PowerEdge 1950
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP APIC SPCR HPET MCFG WD__ SLIC ERST HEST BERT 
EINJ TCPA

acpi0: wakeup devices PCI0(S5)
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 E5405 @ 2.00GHz, 1995.27 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,TM2,CX16,xTPR,NXE,LONG

cpu0: 6MB 64b/line 16-way L2 cache
cpu0: apic clock running at 332MHz
cpu1 at mainbus0: apid 4 (application processor)
cpu1: Intel(R) Xeon(R) CPU E5405 @ 2.00GHz, 1995.02 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,TM2,CX16,xTPR,NXE,LONG

cpu1: 6MB 64b/line 16-way L2 cache
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Xeon(R) CPU E5405 @ 2.00GHz, 1995.02 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,TM2,CX16,xTPR,NXE,LONG

cpu2: 6MB 64b/line 16-way L2 cache
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Xeon(R) CPU E5405 @ 2.00GHz, 1995.02 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,TM2,CX16,xTPR,NXE,LONG

cpu3: 6MB 64b/line 16-way L2 cache
cpu4 at mainbus0: apid 1 (application processor)
cpu4: Intel(R) Xeon(R) CPU E5405 @ 2.00GHz, 1995.02 MHz
cpu4: 
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,TM2,CX16,xTPR,NXE,LONG

cpu4: 6MB 64b/line 16-way L2 cache
cpu5 at mainbus0: apid 5 (application processor)
cpu5: Intel(R) Xeon(R) CPU E5405 @ 2.00GHz, 1995.02 MHz
cpu5: 
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,TM2,CX16,xTPR,NXE,LONG

cpu5: 6MB 64b/line 16-way L2 cache
cpu6 at mainbus0: apid 3 (application processor)
cpu6: Intel(R) Xeon(R) CPU E5405 @ 2.00GHz, 1995.02 MHz
cpu6: 
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,TM2,CX16,xTPR,NXE,LONG

cpu6: 6MB 64b/line 16-way L2 cache
cpu7 at mainbus0: apid 7 (application processor)
cpu7: Intel(R) Xeon(R) CPU E5405 @ 2.00GHz, 1995.02 MHz
cpu7: 
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,TM2,CX16,xTPR,NXE,LONG

cpu7: 6MB 64b/line 16-way L2 cache
ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 8
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 4 (PEX2)
acpiprt2 at acpi0: bus 5 (UPST)
acpiprt3 at acpi0: bus 6 (DWN1)
acpiprt4 at acpi0: bus 8 (DWN2)
acpiprt5 at acpi0: bus 1 (PEX3)
acpiprt6 at acpi0: bus 0 (PE2P)
acpiprt6: no apic found for irq 64
acpiprt6: no apic found for irq 65
acpiprt6: no apic found for irq 78
acpiprt7 at acpi0: bus 10 (PEX4)
acpiprt8 at acpi0: bus 15 (PEX6)
acpiprt9 at acpi0: bus 2 (SBEX)
acpiprt10 at acpi0: bus 17 (COMP)
acpicpu0 at acpi0: C3
acpicpu1 at acpi0: C3
acpicpu2 at acpi0: C3
acpicpu3 at acpi0: C3
acpicpu4 at acpi0: C3
acpicpu5 at acpi0: C3
acpicpu6 at acpi0: C3
acpicpu7 at acpi0: C3
ipmi at mainbus0 not configured
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel 5000X Host rev 0x12
ppb0 at pci0 dev 2 function 0 Intel 5000 PCIE rev 0x12
pci1 at ppb0 bus 4
ppb1 at pci1 dev 0 function 0 Intel 6321ESB PCIE rev 0x01
pci2 at ppb1 bus 5
ppb2 at pci2 dev 0 function 0 Intel 6321ESB PCIE rev 0x01
pci3 at ppb2 bus 6
ppb3 at pci3 dev 0 function 0 ServerWorks PCIE-PCIX rev 0xc3
pci4 at ppb3 bus 7
bnx0 at pci4 dev 0 function 0 Broadcom BCM5708 rev 0x12: apic 8 int 16 
(irq 6)

ppb4 at pci2 dev 1 function 0 Intel 6321ESB PCIE rev 0x01
pci5 at ppb4 bus 8
ppb5 at pci1 dev 0 function 3 Intel 6321ESB PCIE-PCIX rev 0x01
pci6 at ppb5 bus 9
ppb6 at pci0 dev 3 function 0 Intel 5000 PCIE rev 0x12
pci7 at ppb6 bus 1
mfi0 at pci7 dev 0 function 0 Symbios Logic SAS1078 rev 0x04: apic 8 
int 16 (irq 6), Dell 

Mas en pierres - Provence

2010-08-10 Thread Opus Développement
Si ce message ne s'affiche pas correctement, cliquez ici.
[http://newsletter.opus-developpement.com/display.php?M=2479772C=2c8ba7c56954e134c2c4ba9cc528312aS=393L=2N=275]



PrC(s d'UZES, C  Garrigues Sainte Eulalie, OPUS Developpement vous propose
un mas en pierre de pays de 170 m2 habitable
avec piscine et grand jardin mC)diterraneen de 1400 m2.

Vue panoramique sur la plaine de l'UzC(ge. Orientation Sud.

A 30 minutes environ de l'aC)roport de Nimes, vols directs aller / retour

depuis Bruxelles - Charleroi via Ryanair.

Nous contacter au : + 33 (0)4 67 60 63 76

AmC)nagement foncier | Promotion ImmobiliC(re
SARL OPUS Developpement 
4, rue des TrC)soriers de la Bourse - 34000 Montpellier
Tel : + 33 (0)4 67 60 63 76 - Fax : + 33 (0)4 67 60 72 04   


ConformC)ment a la loi Informatique et LibertC)s du 6 Janvier 1978, les
adresses de personne morale ne sont pas soumises aux principes du
consentement prC)alable et du droit d'opposition.
Pour vous dC)sabonner, cliquez ici.
[http://newsletter.opus-developpement.com/unsubscribe.php?M=2479772C=2c8ba7c56954e134c2c4ba9cc528312aL=2N=393]

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
3beae5f5efa9b3766d663e9c84ace04f]



Re: which monitoring do you use (on OpenBSD)

2010-08-10 Thread Eugene Yunak
On 10 August 2010 02:28, Jiri B. ji...@live.com wrote:
 Hello,

 I'm thinking to choose a monitoring tool which would run on OpenBSD
 of course.

 I have been working with Tivoli and Netview for couple of years so my
 idea is:

 * clients

 - heartbeats of course
 - simple interface to give a client some input as alert
 - text configuration on client node (can be pushed from central repo)
 - light

 * infrastructure nodes

 - proxy feature for far networks or dmz
 - filtering rules (thresholds, time filters ...)
 - text configuration
 - light

 * main server(s)

 - good filtering
 - surveillance console for monitoring center
 - be able to change status of an alert (acknowledge, closed, solved...)
 - be able to have some categories of clients based on roles

 I'm watching zabbix... not sure...

 If I wouldn't want event console I would probably check snmp - sec -
 snmptt.

 jirib



Definitely nagios/cacti pair or zabbix. Having used nagios for a year
or so, i would never want to get back to Tivoli. It also gives you
lots of flexibility in how you setup your monitoring, and can neatly
work with snmp as well.

Eugene

-- 
The best the little guy can do is what
the little guy does right



AD1984A sound card on -current issue

2010-08-10 Thread Oleksii Zhmyrov
Hi, misc@

I'm trying to run -current (20100809) on HP 2133 MiniNote laptop.
It seems to me strange that sound card AD1984A on VIA VT8237S
HDA controller doesn't appear in dmesg at all.

I've seen several threads in misc@ archive for past two years which
contain discussion about sound on HP2133, but in those cases it
was at least detected by kernel.

I would be grateful for any comments or thoughts how to get it running.

One more issue is CPU load when system is idle. top(1) constantly
shows about 75% of CPU usage for interrupt and it's not depend on
current CPU frequency: 75% on both 800MHz and 1.6GHz. The same
situation is on 4.7 and 4.6 releases. Can I fix it or this hardware is not
properly supported?

Thanks.

dmesg:
OpenBSD 4.8 (GENERIC) #133: Mon Aug  9 00:13:58 MDT 2010
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: VIA C7-M Processor 1600MHz (CentaurHauls 686-class) 1.60 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,CMOV,PAT,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF,SSE3,EST,TM2,xTPR
real mem  = 937717760 (894MB)
avail mem = 912420864 (870MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/20/08, BIOS32 rev. 0 @ 0xf0010,
SMBIOS rev. 2.5 @ 0xfc590 (19 entries)
bios0: vendor Hewlett-Packard version 68VGU Ver. F.05 date 08/20/2008
bios0: Hewlett-Packard 3030
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG SLIC WDRT OEMB HPET SSDT
acpi0: wakeup devices BLAN(S0) SLPB(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: RNG AES AES-CTR SHA1 SHA256 RSA
cpu0: apic clock running at 199MHz
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 3, 24 pins
ioapic1 at mainbus0: apid 2 pa 0xfecc, version 3, 24 pins
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (P0P1)
acpiprt2 at acpi0: bus 2 (NBPG)
acpiprt3 at acpi0: bus -1 (P0P9)
acpiprt4 at acpi0: bus 7 (P0PA)
acpiprt5 at acpi0: bus 5 (NBP0)
acpiprt6 at acpi0: bus 128 (PCI1)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, PSS
acpipwrres0 at acpi0: APMF
acpitz0 at acpi0: critical temperature 105 degC
acpiac0 at acpi0: AC unit offline
acpibat0 at acpi0: BAT1 model Primary serial 10 type LiOn oem
Hewlett-Packard
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibtn2 at acpi0: PWRB
acpivideo0 at acpi0: VGA_
acpivout0 at acpivideo0: LCD_
acpivout1 at acpivideo0: CRT_
bios0: ROM list: 0xc/0xcc00
cpu0: Enhanced SpeedStep 1629 MHz: speeds: 1600, 1200, 1000, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 VIA P4M900 Host rev 0x00
viaagp0 at pchb0: v3
agp0 at viaagp0: aperture at 0xf000, size 0x1000
pchb1 at pci0 dev 0 function 1 VIA P4M900 Host rev 0x00
pchb2 at pci0 dev 0 function 2 VIA P4M900 Host rev 0x00
pchb3 at pci0 dev 0 function 3 VIA P4M900 Host rev 0x00
pchb4 at pci0 dev 0 function 4 VIA P4M900 Host rev 0x00
VIA P4M900 IOAPIC rev 0x00 at pci0 dev 0 function 5 not configured
pchb5 at pci0 dev 0 function 6 VIA P4M900 Security rev 0x00
pchb6 at pci0 dev 0 function 7 VIA P4M900 Host rev 0x00
ppb0 at pci0 dev 1 function 0 VIA VT8377 AGP rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 VIA Chrome9 HC IGP rev 0x01
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb1 at pci0 dev 2 function 0 VIA P4M900 PCI-PCI rev 0x80: apic 2 int 3
(irq 10)
pci2 at ppb1 bus 2
Broadcom BCM4312 rev 0x02 at pci2 dev 0 function 0 not configured
ppb2 at pci0 dev 3 function 0 VIA P4M900 PCI-PCI rev 0x80: apic 2 int 7
(irq 10)
pci3 at ppb2 bus 5
pciide0 at pci0 dev 15 function 0 VIA VT8237S SATA rev 0x00: DMA
pciide0: using apic 1 int 21 (irq 5) for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: ST9120817AS
wd0: 16-sector PIO, LBA48, 114473MB, 234441648 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
uhci0 at pci0 dev 16 function 0 VIA VT83C572 USB rev 0xb0: apic 1 int 20
(irq 11)
uhci1 at pci0 dev 16 function 2 VIA VT83C572 USB rev 0xb0: apic 1 int 21
(irq 3)
uhci2 at pci0 dev 16 function 3 VIA VT83C572 USB rev 0xb0: apic 1 int 23
(irq 7)
ehci0 at pci0 dev 16 function 4 VIA VT6202 USB rev 0x90: apic 1 int 21
(irq 3)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 VIA EHCI root hub rev 2.00/1.00 addr 1
viapm0 at pci0 dev 17 function 0 VIA VT8237S ISA rev 0x00
iic0 at viapm0
lisa0 at iic0 addr 0x1d: lis331dl
spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-6400CL5 SO-DIMM
pchb7 at pci0 dev 17 function 7 VIA VT8251 VLINK rev 0x00
pchb8 at pci0 dev 19 function 0 VIA VT8237A PCI-PCI rev 0x00
ppb3 at pci0 dev 19 function 1 VIA VT8237A PCI-PCI rev 0x00
pci4 at ppb3 bus 7
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 VIA UHCI root hub rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 VIA UHCI root hub rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 VIA UHCI root hub rev 1.00/1.00 addr 1

Re: which monitoring do you use (on OpenBSD)

2010-08-10 Thread Iñigo Ortiz de Urbina
Mainstream open source monitoring is pretty much about munin, cacti,
nagios, zabbix. You can make any of these run on openbsd, AFAIK.

Even though they serve different purposes, my favourite (if no custom,
tailored solution is crafted) between these is cacti.

However, its pretty disappointing the lack of support for alternative
(see psql) backends :( /rant

On 8/10/10, Eugene Yunak e.yu...@gmail.com wrote:
 On 10 August 2010 02:28, Jiri B. ji...@live.com wrote:
 Hello,

 I'm thinking to choose a monitoring tool which would run on OpenBSD
 of course.

 I have been working with Tivoli and Netview for couple of years so my
 idea is:

 * clients

 - heartbeats of course
 - simple interface to give a client some input as alert
 - text configuration on client node (can be pushed from central repo)
 - light

 * infrastructure nodes

 - proxy feature for far networks or dmz
 - filtering rules (thresholds, time filters ...)
 - text configuration
 - light

 * main server(s)

 - good filtering
 - surveillance console for monitoring center
 - be able to change status of an alert (acknowledge, closed, solved...)
 - be able to have some categories of clients based on roles

 I'm watching zabbix... not sure...

 If I wouldn't want event console I would probably check snmp - sec -
 snmptt.

 jirib



 Definitely nagios/cacti pair or zabbix. Having used nagios for a year
 or so, i would never want to get back to Tivoli. It also gives you
 lots of flexibility in how you setup your monitoring, and can neatly
 work with snmp as well.

 Eugene

 --
 The best the little guy can do is what
 the little guy does right



Re: AD1984A sound card on -current issue

2010-08-10 Thread Jacob Meuser
On Tue, Aug 10, 2010 at 04:03:24PM +0300, Oleksii Zhmyrov wrote:
 Hi, misc@
 
 I'm trying to run -current (20100809) on HP 2133 MiniNote laptop.
 It seems to me strange that sound card AD1984A on VIA VT8237S
 HDA controller doesn't appear in dmesg at all.

your problem is that the controller, which is a PCI device, is not
found.  probably has nothing at all to do with the AD1984A codec.

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: CGI : Shell Script

2010-08-10 Thread russell

Mayuresh Kathe wrote:

Has anyone experimented with using a set of shell scripts as CGI under the
stock Apache delivered with
OpenBSD?


I did.

I wanted to learn more involved shell programing.
and perhaps a little about some of the old unix languages.

so I built this mini wikipedia ish thing
out of ksh, sed awk rcs and m4.
(collaborative revision controlled cms)

It is a complete mess, I don't think I would be able to sleep at
night if it were out in the wild.

but it actually works quite well, humming along  on the old p133 I keep 
it on.


Regarding the collective horror with using shell scripts as cgi. why?
Now mine is not safe but mainly I think thats because of the m4 thrown 
in there. If you watch your inputs it should be fine.


And ksh is a static executable, I would think it would run fine in a 
chroot. I would hate, however, to do a lot of string processing using 
only ksh. main reason for m4 being in there was template processing.


If there is any scientific curiosity just ask and I can send a copy.


But it ru



ld necessary? (was Re: help on compile/link flags)

2010-08-10 Thread Edwin Eyan Moragas
Hi again misc,

taking another stab at my problem...

is ld(1) necessary for dlopen(3) to work?

thank you and apologies for my previous brainless post.

best,

/e



Re: ld necessary? (was Re: help on compile/link flags)

2010-08-10 Thread Philip Guenther
On Tue, Aug 10, 2010 at 8:41 AM, Edwin Eyan Moragas e...@yndy.org wrote:
 taking another stab at my problem...

 is ld(1) necessary for dlopen(3) to work?

The shared object that you're opening with dlopen() needs to be
generated using ld (or cc, which will invoke ld).  On the ELF
platforms that us normally done using the -shared option, though there
are other combos that work.  If you're asking whether ld needs to be
present when dlopen() is actually called, the answer is no.

That said, it sounded like your problem was one of having dlopen()
actually find the shared object.  If the path you give dlopen()
doesn't contain a slash, then it will _not_ normally search the
current directory.  Perhaps you should pass dlopen() an absolute path?


Philip Guenther



Re: which monitoring do you use (on OpenBSD)

2010-08-10 Thread Henning Brauer
* Eugene Yunak e.yu...@gmail.com [2010-08-10 15:05]:
 Definitely nagios/cacti pair or zabbix. Having used nagios for a year
 or so, i would never want to get back to Tivoli. It also gives you
 lots of flexibility in how you setup your monitoring, and can neatly
 work with snmp as well.

anyone using nagios and neat in the same sentence without negation
must also enjoy beating his head against a wall.

nagios is shit. misdesigned, horrible code, and someone who obviously
doesn't understand blocking semantics of sockets writing that part of
the code...

that said, I use it, too. and as almost every other serious user with
at least a little bit of standards left I hate it.

the old, trivial, mon package we used before just didn't cut it any
more, had its own share of problems and wasn't fix- and extendable
with reasonable effort, and there were no other options but nagios
back then. and since it took us almost a year to switch over I am not
looking forward to do it again. I am not even sure there is anything
at least halfway good out there today.


-- 
Henning Brauer, h...@bsws.de, henn...@openbsd.org
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting



Re: which monitoring do you use (on OpenBSD)

2010-08-10 Thread Martin Schröder
2010/8/10 Iqigo Ortiz de Urbina inigoortizdeurb...@gmail.com:
 Mainstream open source monitoring is pretty much about munin, cacti,
 nagios, zabbix. You can make any of these run on openbsd, AFAIK.

A munin port would be highly appreciated. :-)

Best
   Martin



Re: Thinkpad SL510 woes

2010-08-10 Thread Tomas Vavrys
You can officially call OpenBSD world first UNIX-like OS which fully
support Thinkpad SL510. Everything works fine (suspend/resume, Fn
keys), only external mute sound/microphone keys next to the keyboard
don't work properly.

I'll buy pizza to the whole team one day. :-] Thank you!

OpenBSD 4.8 (GENERIC.MP) #357: Mon Aug  9 12:12:25 MDT 2010
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM)2 Duo CPU T6570 @ 2.10GHz (GenuineIntel
686-class) 2.10 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,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE
real mem  = 2004135936 (1911MB)
avail mem = 1961361408 (1870MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 06/24/10, BIOS32 rev. 0 @
0xfdbf0, SMBIOS rev. 2.5 @ 0xe0010 (44 entries)
bios0: vendor LENOVO version 6JET81WW (1.39 ) date 06/24/2010
bios0: LENOVO 28477TG
acpi0 at bios0: rev 4
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET MCFG APIC BOOT SSDT SSDT SSDT
acpi0: wakeup devices P0P2(S4) P0P1(S4) USB0(S3) USB1(S3) USB2(S3)
USBR(S3) EHC1(S3) USB3(S3) USB4(S3) USB5(S3) EHC2(S3) HDEF(S4)
PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4)
RP04(S4) PXSX(S4) RP05(S4) RP06(S4) BLAN(S4) LID_(S3) SLPB(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU T6570 @ 2.10GHz (GenuineIntel
686-class) 2.10 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,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P2)
acpiprt2 at acpi0: bus 9 (P0P1)
acpiprt3 at acpi0: bus 2 (RP01)
acpiprt4 at acpi0: bus 3 (RP02)
acpiprt5 at acpi0: bus 4 (RP03)
acpiprt6 at acpi0: bus 5 (RP04)
acpiprt7 at acpi0: bus 6 (RP05)
acpiprt8 at acpi0: bus 8 (RP06)
acpiec0 at acpi0
acpicpu0 at acpi0: C2, C1, PSS
acpicpu1 at acpi0: C2, C1, PSS
acpitz0 at acpi0: critical temperature 105 degC
acpithinkpad0 at acpi0
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT1 model 42T4708 serial 40475 type LION oem LGC 11
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
bios0: ROM list: 0xc/0xfc00! 0xe/0x2000! 0xe2000/0x1800!
cpu0: Enhanced SpeedStep 2095 MHz: speeds: 2101, 2100, 1600, 1200 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07
vga1 at pci0 dev 2 function 0 Intel GM45 Video rev 0x07
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1: apic 2 int 16 (irq 10)
drm0 at inteldrm0
Intel GM45 Video rev 0x07 at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 2
int 16 (irq 10)
uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 2
int 21 (irq 10)
uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x03: apic 2
int 19 (irq 10)
ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 2
int 19 (irq 10)
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 82801I HD Audio rev 0x03:
apic 2 int 22 (irq 10)
azalia0: codecs: Realtek ALC269, Intel/0x2802, using Realtek ALC269
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: apic 2
int 17 (irq 11)
pci1 at ppb0 bus 2
JMicron SD/MMC rev 0x00 at pci1 dev 0 function 0 not configured
sdhc0 at pci1 dev 0 function 2 JMicron SD Host Controller rev 0x00:
apic 2 int 16 (irq 10)
sdmmc0 at sdhc0
JMicron Memory Stick rev 0x00 at pci1 dev 0 function 3 not configured
JMicron xD rev 0x00 at pci1 dev 0 function 4 not configured
ppb1 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x03: apic 2
int 16 (irq 10)
pci2 at ppb1 bus 3
ppb2 at pci0 dev 28 function 2 Intel 82801I PCIE rev 0x03: apic 2
int 18 (irq 10)
pci3 at ppb2 bus 4
ppb3 at pci0 dev 28 function 3 Intel 82801I PCIE rev 0x03: apic 2
int 19 (irq 10)
pci4 at ppb3 bus 5
Realtek 8192SE rev 0x10 at pci4 dev 0 function 0 not configured
ppb4 at pci0 dev 28 function 4 Intel 82801I PCIE rev 0x03: apic 2
int 17 (irq 11)
pci5 at ppb4 bus 6
ppb5 at pci0 dev 28 function 5 Intel 82801I PCIE rev 0x03: apic 2
int 16 (irq 10)
pci6 at ppb5 bus 8
re0 at pci6 dev 0 function 0 Realtek 8168 rev 0x03: RTL8168D/8111D
(0x2800), apic 2 int 17 (irq 11), address c8:0a:a9:30:00:2c
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
uhci3 at pci0 dev 29 function 0 Intel 82801I USB rev 0x03: apic 2
int 23 (irq 10)
uhci4 at pci0 dev 29 function 1 

Re: Thinkpad SL510 woes

2010-08-10 Thread Jacob Meuser
On Tue, Aug 10, 2010 at 07:05:55PM +0200, Tomas Vavrys wrote:
 You can officially call OpenBSD world first UNIX-like OS which fully
 support Thinkpad SL510. Everything works fine (suspend/resume, Fn
 keys), only external mute sound/microphone keys next to the keyboard
 don't work properly.

that particular codec supports unsolicited responses from the GPIO
pins, and I'm guessing that's how the key presses are conveyed to
the codec.  mail me off-list if you want to try some experiments
to figure out if that's how it's supposed to work.

 I'll buy pizza to the whole team one day. :-] Thank you!
 
 OpenBSD 4.8 (GENERIC.MP) #357: Mon Aug  9 12:12:25 MDT 2010
 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
 cpu0: Intel(R) Core(TM)2 Duo CPU T6570 @ 2.10GHz (GenuineIntel
 686-class) 2.10 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,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE
 real mem  = 2004135936 (1911MB)
 avail mem = 1961361408 (1870MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 06/24/10, BIOS32 rev. 0 @
 0xfdbf0, SMBIOS rev. 2.5 @ 0xe0010 (44 entries)
 bios0: vendor LENOVO version 6JET81WW (1.39 ) date 06/24/2010
 bios0: LENOVO 28477TG
 acpi0 at bios0: rev 4
 acpi0: sleep states S0 S3 S4 S5
 acpi0: tables DSDT FACP HPET MCFG APIC BOOT SSDT SSDT SSDT
 acpi0: wakeup devices P0P2(S4) P0P1(S4) USB0(S3) USB1(S3) USB2(S3)
 USBR(S3) EHC1(S3) USB3(S3) USB4(S3) USB5(S3) EHC2(S3) HDEF(S4)
 PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4)
 RP04(S4) PXSX(S4) RP05(S4) RP06(S4) BLAN(S4) LID_(S3) SLPB(S3)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpihpet0 at acpi0: 14318179 Hz
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: apic clock running at 199MHz
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: Intel(R) Core(TM)2 Duo CPU T6570 @ 2.10GHz (GenuineIntel
 686-class) 2.10 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,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE
 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus -1 (P0P2)
 acpiprt2 at acpi0: bus 9 (P0P1)
 acpiprt3 at acpi0: bus 2 (RP01)
 acpiprt4 at acpi0: bus 3 (RP02)
 acpiprt5 at acpi0: bus 4 (RP03)
 acpiprt6 at acpi0: bus 5 (RP04)
 acpiprt7 at acpi0: bus 6 (RP05)
 acpiprt8 at acpi0: bus 8 (RP06)
 acpiec0 at acpi0
 acpicpu0 at acpi0: C2, C1, PSS
 acpicpu1 at acpi0: C2, C1, PSS
 acpitz0 at acpi0: critical temperature 105 degC
 acpithinkpad0 at acpi0
 acpiac0 at acpi0: AC unit online
 acpibat0 at acpi0: BAT1 model 42T4708 serial 40475 type LION oem LGC 11
 acpibtn0 at acpi0: LID_
 acpibtn1 at acpi0: PWRB
 acpibtn2 at acpi0: SLPB
 bios0: ROM list: 0xc/0xfc00! 0xe/0x2000! 0xe2000/0x1800!
 cpu0: Enhanced SpeedStep 2095 MHz: speeds: 2101, 2100, 1600, 1200 MHz
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07
 vga1 at pci0 dev 2 function 0 Intel GM45 Video rev 0x07
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 intagp0 at vga1
 agp0 at intagp0: aperture at 0xd000, size 0x1000
 inteldrm0 at vga1: apic 2 int 16 (irq 10)
 drm0 at inteldrm0
 Intel GM45 Video rev 0x07 at pci0 dev 2 function 1 not configured
 uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 2
 int 16 (irq 10)
 uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 2
 int 21 (irq 10)
 uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x03: apic 2
 int 19 (irq 10)
 ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 2
 int 19 (irq 10)
 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 82801I HD Audio rev 0x03:
 apic 2 int 22 (irq 10)
 azalia0: codecs: Realtek ALC269, Intel/0x2802, using Realtek ALC269
 audio0 at azalia0
 ppb0 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: apic 2
 int 17 (irq 11)
 pci1 at ppb0 bus 2
 JMicron SD/MMC rev 0x00 at pci1 dev 0 function 0 not configured
 sdhc0 at pci1 dev 0 function 2 JMicron SD Host Controller rev 0x00:
 apic 2 int 16 (irq 10)
 sdmmc0 at sdhc0
 JMicron Memory Stick rev 0x00 at pci1 dev 0 function 3 not configured
 JMicron xD rev 0x00 at pci1 dev 0 function 4 not configured
 ppb1 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x03: apic 2
 int 16 (irq 10)
 pci2 at ppb1 bus 3
 ppb2 at pci0 dev 28 function 2 Intel 82801I PCIE rev 0x03: apic 2
 int 18 (irq 10)
 pci3 at ppb2 bus 4
 ppb3 at pci0 dev 28 function 3 Intel 82801I PCIE rev 0x03: apic 2
 int 19 (irq 10)
 pci4 at ppb3 bus 5
 Realtek 8192SE rev 0x10 at pci4 dev 0 function 0 not configured
 ppb4 at pci0 dev 28 function 4 Intel 82801I PCIE rev 0x03: apic 2
 int 17 (irq 

Re: which monitoring do you use (on OpenBSD)

2010-08-10 Thread C. Bensend
 nagios is shit. misdesigned, horrible code, and someone who obviously
 doesn't understand blocking semantics of sockets writing that part of
 the code...

 that said, I use it, too. and as almost every other serious user with
 at least a little bit of standards left I hate it.

I cannot speak to the quality of code; I couldn't code my way out of
a wet paper bag and am horribly unqualified to comment.

However, this is a majority of my job where I am now, and I don't
dislike it.  It's infinitely extensible, makes it simple to write
plugins for stuff that you can't already find one for, and has a
fairly large community.

It's a *helluva* lot better than Mon or Big Brother, both of which
I've used in the past, and both of which made me weep tears of
blood.

Benny


-- 
Something's going on in this house - last night, I saw a face!
Did it have a nose?
Yes!
That sounds like a face all right.
  -- Scary Movie 4



Re: Thinkpad SL510 woes

2010-08-10 Thread Tomas Vavrys
Where will we start? I'll do my best.

2010/8/10 Jacob Meuser jake...@sdf.lonestar.org:
 On Tue, Aug 10, 2010 at 07:05:55PM +0200, Tomas Vavrys wrote:
 You can officially call OpenBSD world first UNIX-like OS which fully
 support Thinkpad SL510. Everything works fine (suspend/resume, Fn
 keys), only external mute sound/microphone keys next to the keyboard
 don't work properly.

 that particular codec supports unsolicited responses from the GPIO
 pins, and I'm guessing that's how the key presses are conveyed to
 the codec. B mail me off-list if you want to try some experiments
 to figure out if that's how it's supposed to work.

 I'll buy pizza to the whole team one day. :-] Thank you!

 OpenBSD 4.8 (GENERIC.MP) #357: Mon Aug B 9 12:12:25 MDT 2010
 B  B  dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
 cpu0: Intel(R) Core(TM)2 Duo CPU T6570 @ 2.10GHz (GenuineIntel
 686-class) 2.10 GHz
 cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3
,CX16,xTPR,PDCM,SSE4.1,XSAVE
 real mem B = 2004135936 (1911MB)
 avail mem = 1961361408 (1870MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 06/24/10, BIOS32 rev. 0 @
 0xfdbf0, SMBIOS rev. 2.5 @ 0xe0010 (44 entries)
 bios0: vendor LENOVO version 6JET81WW (1.39 ) date 06/24/2010
 bios0: LENOVO 28477TG
 acpi0 at bios0: rev 4
 acpi0: sleep states S0 S3 S4 S5
 acpi0: tables DSDT FACP HPET MCFG APIC BOOT SSDT SSDT SSDT
 acpi0: wakeup devices P0P2(S4) P0P1(S4) USB0(S3) USB1(S3) USB2(S3)
 USBR(S3) EHC1(S3) USB3(S3) USB4(S3) USB5(S3) EHC2(S3) HDEF(S4)
 PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4)
 RP04(S4) PXSX(S4) RP05(S4) RP06(S4) BLAN(S4) LID_(S3) SLPB(S3)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpihpet0 at acpi0: 14318179 Hz
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: apic clock running at 199MHz
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: Intel(R) Core(TM)2 Duo CPU T6570 @ 2.10GHz (GenuineIntel
 686-class) 2.10 GHz
 cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3
,CX16,xTPR,PDCM,SSE4.1,XSAVE
 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus -1 (P0P2)
 acpiprt2 at acpi0: bus 9 (P0P1)
 acpiprt3 at acpi0: bus 2 (RP01)
 acpiprt4 at acpi0: bus 3 (RP02)
 acpiprt5 at acpi0: bus 4 (RP03)
 acpiprt6 at acpi0: bus 5 (RP04)
 acpiprt7 at acpi0: bus 6 (RP05)
 acpiprt8 at acpi0: bus 8 (RP06)
 acpiec0 at acpi0
 acpicpu0 at acpi0: C2, C1, PSS
 acpicpu1 at acpi0: C2, C1, PSS
 acpitz0 at acpi0: critical temperature 105 degC
 acpithinkpad0 at acpi0
 acpiac0 at acpi0: AC unit online
 acpibat0 at acpi0: BAT1 model 42T4708 serial 40475 type LION oem LGC
11
 acpibtn0 at acpi0: LID_
 acpibtn1 at acpi0: PWRB
 acpibtn2 at acpi0: SLPB
 bios0: ROM list: 0xc/0xfc00! 0xe/0x2000! 0xe2000/0x1800!
 cpu0: Enhanced SpeedStep 2095 MHz: speeds: 2101, 2100, 1600, 1200 MHz
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07
 vga1 at pci0 dev 2 function 0 Intel GM45 Video rev 0x07
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 intagp0 at vga1
 agp0 at intagp0: aperture at 0xd000, size 0x1000
 inteldrm0 at vga1: apic 2 int 16 (irq 10)
 drm0 at inteldrm0
 Intel GM45 Video rev 0x07 at pci0 dev 2 function 1 not configured
 uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 2
 int 16 (irq 10)
 uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 2
 int 21 (irq 10)
 uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x03: apic 2
 int 19 (irq 10)
 ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 2
 int 19 (irq 10)
 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 82801I HD Audio rev 0x03:
 apic 2 int 22 (irq 10)
 azalia0: codecs: Realtek ALC269, Intel/0x2802, using Realtek ALC269
 audio0 at azalia0
 ppb0 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: apic 2
 int 17 (irq 11)
 pci1 at ppb0 bus 2
 JMicron SD/MMC rev 0x00 at pci1 dev 0 function 0 not configured
 sdhc0 at pci1 dev 0 function 2 JMicron SD Host Controller rev 0x00:
 apic 2 int 16 (irq 10)
 sdmmc0 at sdhc0
 JMicron Memory Stick rev 0x00 at pci1 dev 0 function 3 not configured
 JMicron xD rev 0x00 at pci1 dev 0 function 4 not configured
 ppb1 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x03: apic 2
 int 16 (irq 10)
 pci2 at ppb1 bus 3
 ppb2 at pci0 dev 28 function 2 Intel 82801I PCIE rev 0x03: apic 2
 int 18 (irq 10)
 pci3 at ppb2 bus 4
 ppb3 at pci0 dev 28 function 3 Intel 82801I PCIE rev 0x03: apic 2
 int 19 (irq 10)
 pci4 at ppb3 bus 5
 Realtek 8192SE rev 0x10 at pci4 dev 0 function 0 

Re: no sound Intel 82801I HD Audio in -current

2010-08-10 Thread Jacob Meuser
On Tue, Aug 10, 2010 at 09:09:58AM +, Jacob Meuser wrote:
 On Mon, Aug 09, 2010 at 09:28:34PM -0700, Luis Cortes wrote:

  azalia0 at pci0 dev 27 function 0 Intel 82801I HD Audio rev 0x03:
  apic 1 int 22 (irq 255)
  azalia0: invalid CORBSZCAP: 0x 0
  azalia0: initialization failure, detaching
 
 don't think I've ever seen that one before.

linux always uses 256 CORB/RIRB entries for all controllers, and intel
docs say intel controllers always use 256 entries, so it's likely the
following will work (assuming the controller isn't just foobarred in
some other way).

if this doesn't work, I'd like a dmesg from a kernel with
AZALIA_DEBUG defined.

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org

Index: azalia.c
===
RCS file: /cvs/src/sys/dev/pci/azalia.c,v
retrieving revision 1.183
diff -u -p azalia.c
--- azalia.c8 Aug 2010 05:25:30 -   1.183
+++ azalia.c10 Aug 2010 17:34:47 -
@@ -775,8 +775,10 @@ azalia_get_ctrlr_caps(azalia_t *az)
az-corb_entries = 2;
az-corbsize |= HDA_CORBSIZE_CORBSIZE_2;
} else {
-   printf(%s: invalid CORBSZCAP: 0x%2x\n, XNAME(az), cap);
-   return(-1);
+   DPRINTF((%s: invalid CORBSZCAP: 0x%02x, using 256 entries\n,
+   XNAME(az), cap));
+   az-corb_entries = 256;
+   az-corbsize |= HDA_CORBSIZE_CORBSIZE_256;
}
 
/* determine RIRB size */
@@ -793,8 +795,10 @@ azalia_get_ctrlr_caps(azalia_t *az)
az-rirb_entries = 2;
az-rirbsize |= HDA_RIRBSIZE_RIRBSIZE_2;
} else {
-   printf(%s: invalid RIRBSZCAP: 0x%2x\n, XNAME(az), cap);
-   return(-1);
+   DPRINTF((%s: invalid RIRBSZCAP: 0x%02x, using 256 entries\n,
+   XNAME(az), cap));
+   az-rirb_entries = 256;
+   az-rirbsize |= HDA_RIRBSIZE_RIRBSIZE_256;
}
 
return(0);



Re: which monitoring do you use (on OpenBSD)

2010-08-10 Thread Jason Dixon
On Tue, Aug 10, 2010 at 12:41:26PM -0500, C. Bensend wrote:
  nagios is shit. misdesigned, horrible code, and someone who obviously
  doesn't understand blocking semantics of sockets writing that part of
  the code...
 
  that said, I use it, too. and as almost every other serious user with
  at least a little bit of standards left I hate it.
 
 I cannot speak to the quality of code; I couldn't code my way out of
 a wet paper bag and am horribly unqualified to comment.

Henning is completely accurate (*).  Nagios code is shite and reflects
poorly on the engineering skills of the creator.  Its near-monopoly
position in the community is based on two factors:

1) Price.  Although you pay dearly in time spent setting it up,
maintaining it, and in outages caused by it (keep reading).

2) It's the least crappy of all crappy open-source monitoring options.
 
 However, this is a majority of my job where I am now, and I don't
 dislike it.  It's infinitely extensible, makes it simple to write
 plugins for stuff that you can't already find one for, and has a
 fairly large community.

We used it for a very long time on a very large scale.  While it is
extensible, it promotes poor design choices and puts no limitations on
the style or number of shite extensions.  But my biggest beef is on some
of the design choices that allow you to shoot yourself in the foot.  As
my therapist would say, Nagios is an enabler.

Take for example, Nagios acknowledgments.  They never expire, so it's
very easy to ack something and forget about it.  For days.  Or better
yet, the idea of flapping.  At face value, this seems like a good
idea.  But whatever happened to actually *responding* to an alert when
something goes wrong.  Let me get this straight... you WANT your
monitoring system to stop alerting you when your shit goes down?  What
am I missing here?

 It's a *helluva* lot better than Mon or Big Brother, both of which
 I've used in the past, and both of which made me weep tears of
 blood.

See above.

(*) I should disclose that I'm the Prod. Mgr. for Circonus, a SaaS
version of Reconnoiter with trending, fault detection and notifications.
Circonus is not free, but is based on Reconnoiter which is actively
developed as an open-source BSD-licensed project.  Both were engineered
to directly address the pain we've experienced over the years working
with solutions like Nagios and Cacti.  So although it's fair to
consider me biased towards our software, suffice it to say that if
Nagios didn't suck so badly we never would have developed either
Reconnoiter or Circonus.  There are some OpenBSD-Reconnoiter users in
the community;  if you're interested in finding out more about
Reconnoiter, ask around or check out the project website.

http://labs.omniti.com/labs/reconnoiter

-- 
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net/



Can't seem to make CF cards bootable

2010-08-10 Thread Michael T. Davis
I recently created a disk image of an OpenBSD installation
with this process:

 o On development (dev.) PC...

# nc -n -l -p 9000|dd of=/usr/src/ata.fs

 o Then on production (prod.) PC...

 # dd if=/dev/rwd0c bs=512 count=125440|nc -n ip-dev-sys 9000

(wd0 is a 64MB ATA flash card.  disklabel indicated a total of 125440
sectors.)  On the dev. PC, I then mapped it to a vnode pseudo device:

  # vnconfig -c svnd0 /usr/src/ata.fs

I next used fdisk to fix the MBR (reinit, then update), and then I
mounted the disk image into the dev. PC's file system:

  # mount /dev/svnd0a /mnt/ata

So far, so good.  At this point, I theoretically have /usr/src/ata.fs on
the dev. PC as an archive from which I can base additional copies.

On the prod. PC, I have a 4GB CompactFlash (CF) card to which I
want to copy the contents of the original ATA flash card.  Ultimately, I
want to replace the ATA card with the CF card.  I started by clearing the
CF card:

  # dd if=/dev/zero of=/dev/rwd1c bs=512x1008 count=7964

(disklabel indicated 1008 sectors/cylinder, and a total of 7964 cylinders,
for a total of 8027712 sectors.)  Next, I needed to initialize the MBR on
the CF card and create a disklabel:

# fdisk -i wd1
# disklabel -E wd1
  [...create an a-partition encompassing the disk less the first
  sector...]

I created a file system on the CF card:

# newfs -U /dev/wd1a

...And mounted it into the dev. PC's file system:

# mount /dev/wd1a /mnt/cf

Now on the dev. PC, I have the contents of the original ATA flash card
mounted as /mnt/ata and the CF card mounted as /mnt/cf.

I needed to make the CF card bootable, so...

 # cp -p /usr/mdec/boot /mnt/cf

..then...

  # /usr/mdec/installboot /mnt/cf/boot /usr/mdec/biosboot wd1

And now I just need to copy the ATA flash card data to the CF card:

   # cd /mnt/ata  find . ! -path ./boot -print|cpio -padmuv /mnt/cf

(Does it make a difference if I just copy all the data from the ATA
flash card, including /boot, and then run installboot targeting the CF
card, or is it important that /boot always be copied to the target
storage first?)

Now I just umount /mnt/ata and /mnt/cf, and reboot the dev. PC
to test.  Before the BIOS is done loading, I reconfigure to boot off of
the CF card.  This is where I run into trouble:

Using Drive: 0 Partition 3
reading boot..
Read error

The system just hangs at that point, and only a power cycle will recover
it.

I'm like 99.999% certain this is the process I ended up with for
a completely functional CF card of the same make and model (SanDisk
Extreme IV), and it's actually been running in the prod. PC for a week
or so.  I've tried the same process with two other seemingly identical
CF cards, but the boot problem described is always the end result.
Ultimately, I want to be able to create a second copy of the functional
CF card as a backup, and also apply OS upgrades and such on the dev.
PC, only affecting the prod. PC with the amount of down time necessary
to swap the CF card.  Does anyone have any insights why I can't seem to
recreate a bootable CF card?

Thanks,
Mike
-- 
 | Manager for Networking, Admin.
 Michael T. Davis (Mike) |  Research Computing: CBE/MSE
 http://www.ecr6.ohio-state.edu/~davism/ |   The Ohio State University
 |   197 Watts, (614) 292-6928
  ** E-mail is the best way to contact me **



Problems with usb on 4.7

2010-08-10 Thread Marc Peters
Hi list,

i updated my OpenBSD box this weekend and it seems, my usb-devices
aren't working anymore; they did before. I updated my 4.6-stable to 4.7
and then to 4.7-stable. I tried a printer, a mouse and a harddisk, none
gets recognized by the system; the harddisk powers on though. is there
any chance, an upgrade to 4.8-beta will fix things for me?

fwiw, i have outputs from my fedora on my notebook when i connect the
devices (don't have a different OpenBSD installation at the moment,
dmesg at the end of this mail).

printer:
usb 1-5: new high speed USB device using ehci_hcd and address 3
usb 1-5: New USB device found, idVendor=04b4, idProduct=6560
usb 1-5: New USB device strings: Mfr=0, Product=0, SerialNumber=0
hub 1-5:1.0: USB hub found
hub 1-5:1.0: 4 ports detected
usb 1-5.1: new full speed USB device using ehci_hcd and address 4
usb 1-5.1: New USB device found, idVendor=0482, idProduct=0011
usb 1-5.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-5.1: Product: Kyocera Mita FS-920
usb 1-5.1: Manufacturer: Kyocera Mita
usb 1-5.1: SerialNumber: XLG5523438
usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x0482
pid 0x0011
usbcore: registered new interface driver usblp

mouse:
usb 5-1: USB disconnect, address 2
usb 5-1: new low speed USB device using uhci_hcd and address 3
usb 5-1: New USB device found, idVendor=046d, idProduct=c043
usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 5-1: Product: USB-PS/2 Optical Mouse
usb 5-1: Manufacturer: Logitech
input: Logitech USB-PS/2 Optical Mouse as
/devices/pci:00/:00:1d.3/usb5/5-1/5-1:1.0/input/input9
generic-usb 0003:046D:C043.0002: input,hidraw0: USB HID v1.10 Mouse
[Logitech USB-PS/2 Optical Mouse] on usb-:00:1d.3-1/input0

harddisk:
usb 1-5: new high speed USB device using ehci_hcd and address 5
usb 1-5: New USB device found, idVendor=04fc, idProduct=0c15
usb 1-5: New USB device strings: Mfr=2, Product=3, SerialNumber=1
usb 1-5: Product: USB to Serial-ATA bridge
usb 1-5: Manufacturer: Sunplus Technology Inc.
usb 1-5: SerialNumber: FUJITSU MHNW9ST7126D12
Initializing USB Mass Storage driver...
scsi2 : usb-storage 1-5:1.0
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
scsi 2:0:0:0: Direct-Access FUJITSU  MHV2120BH PL  PQ: 0 ANSI: 2
sd 2:0:0:0: Attached scsi generic sg2 type 0
sd 2:0:0:0: [sdb] 234441648 512-byte logical blocks: (120 GB/111 GiB)
sd 2:0:0:0: [sdb] Write Protect is off
sd 2:0:0:0: [sdb] Mode Sense: 38 00 00 00
sd 2:0:0:0: [sdb] Assuming drive cache: write through
sd 2:0:0:0: [sdb] Assuming drive cache: write through
 sdb: sdb1
sd 2:0:0:0: [sdb] Assuming drive cache: write through
sd 2:0:0:0: [sdb] Attached SCSI disk

here's the dmesg (i tried all three devices, but none shows up):
~ $ dmesg
OpenBSD 4.7-stable (GENERIC) #1: Sun Aug  8 10:18:26 CEST 2010
r...@xxx:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III (GenuineIntel 686-class) 1 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 266891264 (254MB)
avail mem = 249896960 (238MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 07/15/02, BIOS32 rev. 0 @ 0xfd880,
SMBIOS rev. 2.31 @ 0xefce0 (77 entries)
bios0: vendor FUJITSU SIEMENS // Phoenix Technologies Ltd. version 4.06
 Rev. 1.12.1215 date 07/15/2002
bios0: FUJITSU SIEMENS SCENIC xS/SCOVERY xS
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xfd880/0x780
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf20/192 (10 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0xc000! 0xcc000/0x4000! 0xd/0x1800
0xd1800/0x1000 0xd2800/0x4800 0xdf000/0x1000!
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82815 Host rev 0x04
vga1 at pci0 dev 2 function 0 Intel 82815 Video rev 0x04
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xf800, size 0x400
ppb0 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0x05
pci1 at ppb0 bus 1
fxp0 at pci1 dev 8 function 0 Intel 82562 rev 0x03, i82562: irq 9,
address 00:30:05:2f:80:de
inphy0 at fxp0 phy 1: i82562EM 10/100 PHY, rev. 0
em0 at pci1 dev 9 function 0 Intel PRO/1000GT (82541GI) rev 0x05: irq
11, address 00:1b:21:3a:2a:53
pciide0 at pci1 dev 11 function 0 CMD Technology SiI3512 SATA rev
0x01: DMA
pciide0: using irq 9 for native-PCI interrupt
pciide0: port 0: device present, speed: 1.5Gb/s
wd0 at pciide0 channel 0 drive 0: WDC WD1000FYPS-01ZKB1
wd0: 16-sector PIO, LBA48, 953869MB, 1953525168 sectors
wd0(pciide0:0:0): using BIOS timings, Ultra-DMA mode 6
ichpcib0 at pci0 dev 31 function 0 Intel 82801BA LPC rev 0x05: 24-bit
timer at 

Re: which monitoring do you use (on OpenBSD)

2010-08-10 Thread James Peltier
- Original Message 

 From: Jason Dixon ja...@dixongroup.net
 To: C. Bensend be...@bennyvision.com
 Cc: misc@openbsd.org
 Sent: Tue, August 10, 2010 12:58:50 PM
 Subject: Re: which monitoring do you use (on OpenBSD)
 
 On Tue, Aug 10, 2010 at 12:41:26PM -0500, C. Bensend wrote:
   nagios  is shit. misdesigned, horrible code, and someone who obviously
doesn't understand blocking semantics of sockets writing that part of
the code...
  
   that said, I use it, too. and as  almost every other serious user with
   at least a little bit of  standards left I hate it.
  
  I cannot speak to the quality of  code; I couldn't code my way out of
  a wet paper bag and am horribly  unqualified to comment.
 
 Henning is completely accurate (*).  Nagios  code is shite and reflects
 poorly on the engineering skills of the  creator.  Its near-monopoly
 position in the community is based on two  factors:
 
 1) Price.  Although you pay dearly in time spent setting it  up,
 maintaining it, and in outages caused by it (keep reading).
 
 2)  It's the least crappy of all crappy open-source monitoring options.
 
   However, this is a majority of my job where I am now, and I don't
   dislike it.  It's infinitely extensible, makes it simple to write
   plugins for stuff that you can't already find one for, and has a
  fairly  large community.
 
 We used it for a very long time on a very large  scale.  While it is
 extensible, it promotes poor design choices and puts  no limitations on
 the style or number of shite extensions.  But my  biggest beef is on some
 of the design choices that allow you to shoot  yourself in the foot.  As
 my therapist would say, Nagios is an  enabler.
 
 Take for example, Nagios acknowledgments.  They never  expire, so it's
 very easy to ack something and forget about it.  For  days.  Or better
 yet, the idea of flapping.  At face value, this  seems like a good
 idea.  But whatever happened to actually *responding*  to an alert when
 something goes wrong.  Let me get this straight... you  WANT your
 monitoring system to stop alerting you when your shit goes  down?  What
 am I missing here?
 
  It's a *helluva* lot better  than Mon or Big Brother, both of which
  I've used in the past, and both  of which made me weep tears of
  blood.
 
 See above.
 
 (*) I  should disclose that I'm the Prod. Mgr. for Circonus, a SaaS
 version of  Reconnoiter with trending, fault detection and notifications.
 Circonus is not  free, but is based on Reconnoiter which is actively
 developed as an  open-source BSD-licensed project.  Both were engineered
 to directly  address the pain we've experienced over the years working
 with solutions  like Nagios and Cacti.  So although it's fair to
 consider me biased  towards our software, suffice it to say that if
 Nagios didn't suck so badly  we never would have developed either
 Reconnoiter or Circonus.  There are  some OpenBSD-Reconnoiter users in
 the community;  if you're interested  in finding out more about
 Reconnoiter, ask around or check out the project  website.
 
 http://labs.omniti.com/labs/reconnoiter
 
 -- 
 Jason  Dixon
 DixonGroup Consulting
 http://www.dixongroup.net/


Being as I have never used Reconnoiter or Circonus, would you care to elaborate 
as to where these products suck less then Nagios or other solutions?  I am 
looking into replacing out very aged monitoring system now and Nagios is the 
one 
that seems to stand out the most, although Zabbix and Munin look good in their 
own rights.

Guidance is always appreciated. :)



Re: which monitoring do you use (on OpenBSD)

2010-08-10 Thread Jason Dixon
On Tue, Aug 10, 2010 at 01:11:41PM -0700, James Peltier wrote:
 
 Being as I have never used Reconnoiter or Circonus, would you care to 
 elaborate 
 as to where these products suck less then Nagios or other solutions?  I am 
 looking into replacing out very aged monitoring system now and Nagios is the 
 one 
 that seems to stand out the most, although Zabbix and Munin look good in 
 their 
 own rights.

Theo Schlossnagle (our CEO and the architect of Reconnoiter) answers it
pretty well in his talk from OSCON (requires flash, sorry).

http://omniti.com/video/noit-oscon-demo
 
In my words, Reconnoiter was designed to overcome a lot of the
performance and design problems native in Nagios and Cacti.  It does a
lot of the things that either of those do, although it was designed
foremost as a highly scalable metrics collection engine.  Like Nagios,
the types of checks it can perform is virtually limitless.  Unlike
Nagios, it is highly performant by design.  Checks are deployed across
scout agents in your network, giving you both perspective and
non-persective collection points.

The web UI in Reconnoiter is adequate.  One of its really nice features
is the cli console, allowing you to configure checks and metrics in an
environment familiar to Cisco admins.  That said, the bread-and-butter
in Reconnoiter is the sort of graphs which you can create and recreate
with ease.  Unlike trending tools like Cacti, you can easily correlate
dissimilar metrics in a single graph, with just a few clicks.  Stack
sets, composite datapoints and RPN conversion of source and display
values are just a few of the other features that are easy to implement
within Reconnoiter.

 Guidance is always appreciated. :)

Reconnoiter is not for everyone.  It's a very powerful system, but it's
not intended to be a drop-in replacement for other ECA/Trending systems.
It takes time and effort to get value out of it, but it offers some
Capacity Planning and Root Cause Analysis capabilities that aren't
available or usable in the alternatives.

-- 
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net/



Re: DRM/OpenGL problems with Radeon HD 4670 on -current

2010-08-10 Thread Tobias Ulmer
On Mon, Aug 09, 2010 at 08:06:31PM +0200, Mattieu Baptiste wrote:
 Hi all,
 
 I have some problems I am seeing with DRM on my Radeon HD
 4670 in -current (dual head setup with two monitors at
 1280x1024). I can't display any OpenGL applications.
 
 The best way to reproduce this is by running glxgears :
 
 matt...@kronenbourg: ~ $ glxgears
 drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command
 stream. See dmesg for more info.
 
 
 In dmesg I have these errors :
 
 error: [drm:pid30830:r300_emit_carefully_checked_packet0] *ERROR*
 Register 4e4c failed check as flag=00
 error: [drm:pid30830:r300_do_cp_cmdbuf] *ERROR* r300_emit_packet0 failed

Expected behaviour. export LIBGL_ALWAYS_SOFTWARE=1 to revert to software
rendering



QUINTA 12.08 - BIRINAIT BAR - VILA OLÍMPIA APRESENTA LUCIANO NASSYN (Ex- Trem da Alegria)

2010-08-10 Thread NASSYN PRODUÇÕES - BIRINAIT BAR
Santuario Bar
 Apresenta:
 Luciano Nassyn (Ex - Trem da Alegria)  e os Filhos de Dalila - Sabado
31.07 ` partir das 22hs, com o Melhor do Pop-Rock!
 
Envie nomes para lista de descontos - lis...@nassynproducoes.net 
 HOMEM R$10,00 - MULHER R$5,00   com o nome na lista.
   Av Prof: Luiz Ignacio de Anhaia Mello, 2797 - Sco Paulo - SP
Tel: (11) 2154.8881/ 2717.8123/ 2116.5138
 
www.lucianonassyn.net
Se vocj nco deseja mais receber nossos e-mails, cancele sua inscrigco
atravis do link
http://nassynproducoes.enviodemkt.com.br/admin/sair.php?id=19854|769|0uid=128148444272248900



Random core dumped with gtk+2 packages

2010-08-10 Thread Daniel B.
Hi misc@,

Recently, I'm having some problems running some packages, specially the 
ones which use gtk+2, e.g. tagtool, easytag, and not so frequent, with 
firefox too.

Get this after a few seconds:

$ easytag
Abort trap (core dumped)
$

I'm running -current. Tried to raise some resources with ulimit but with 
no luck.

Any clues? Thank you.

My dmesg:
OpenBSD 4.8 (GENERIC.MP) #0: Wed Aug 11 01:04:06 UTC 2010
r...@sbc-fei02.my.domain:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 937295872 (893MB)
avail mem = 898519040 (856MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xf (49 entries)
bios0: vendor Phoenix Technologies, LTD version P09 date 05/05/2010
bios0: FOXCONN M61PMV
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT HPET MCFG SLIC APIC
acpi0: wakeup devices HUB0(S5) XVR0(S5) XVR1(S5) XVR2(S5) UAR1(S5) USB0(S3) 
USB2(S3) AZAD(S5) MMAC(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 2500 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Athlon(tm) II X2 240 Processor, 10408.49 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 
16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu0: apic clock running at 200MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Athlon(tm) II X2 240 Processor, 2812.98 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 
16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
ioapic0 at mainbus0: apid 4 pa 0xfec0, version 11, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 4
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (HUB0)
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpitz0 at acpi0: critical temperature 70 degC
acpibtn0 at acpi0: PWRB
pci0 at mainbus0 bus 0
NVIDIA MCP61 Memory rev 0xa1 at pci0 dev 0 function 0 not configured
pcib0 at pci0 dev 1 function 0 NVIDIA MCP61 ISA rev 0xa2
nviic0 at pci0 dev 1 function 1 NVIDIA MCP61 SMBus rev 0xa2
iic0 at nviic0
spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-6400CL5
iic1 at nviic0
iic1: addr 0x2f 01=33 02=33 03=33 04=33 05=33 06=33 07=33 08=33 09=60 0a=3f 
0b=57 0c=98 11=70 12=40 5a=05 5b=10 5c=10 5d=19 5e=34 f0=20 f1=20 f2=02 fa=00 
ff=5e words 00= 01=33ff 02=33ff 03=33ff 04=33ff 05=33ff 06=33ff 07=33ff
NVIDIA MCP61 Memory rev 0xa2 at pci0 dev 1 function 2 not configured
ohci0 at pci0 dev 2 function 0 NVIDIA MCP61 USB rev 0xa3: apic 4 int 5 (irq 
5), version 1.0, legacy support
ehci0 at pci0 dev 2 function 1 NVIDIA MPC61 USB rev 0xa3: apic 4 int 10 (irq 
10)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 NVIDIA EHCI root hub rev 2.00/1.00 addr 1
ppb0 at pci0 dev 4 function 0 NVIDIA MCP61 rev 0xa1
pci1 at ppb0 bus 1
vr0 at pci1 dev 7 function 0 VIA VT6105 RhineIII rev 0x86: apic 4 int 5 (irq 
5), address 00:08:54:19:6a:a2
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 4: OUI 0x004063, 
model 0x0034
rl0 at pci1 dev 8 function 0 Realtek 8139 rev 0x10: apic 4 int 11 (irq 11), 
address 00:e0:7d:a9:13:06
rlphy0 at rl0 phy 0: RTL internal PHY
azalia0 at pci0 dev 5 function 0 NVIDIA MCP61 HD Audio rev 0xa2: apic 4 int 5 
(irq 5)
azalia0: codecs: VIA/0xe721
audio0 at azalia0
pciide0 at pci0 dev 6 function 0 NVIDIA MCP61 IDE rev 0xa2: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
pciide0: channel 0 disabled (no drives)
pciide0: channel 1 ignored (disabled)
nfe0 at pci0 dev 7 function 0 NVIDIA MCP61 LAN rev 0xa2: apic 4 int 15 (irq 
15), address 00:23:ae:ff:de:0b
brgphy0 at nfe0 phy 0: BCM54XX 10/100/1000baseT PHY, rev. 1
pciide1 at pci0 dev 8 function 0 NVIDIA MCP61 SATA rev 0xa2: DMA
pciide1: using apic 4 int 11 (irq 11) for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: SAMSUNG HD161GJ
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6
atapiscsi0 at pciide1 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: TSSTcorp, DVD+-RW TS-H653G, DW10 ATAPI 5/cdrom 
removable
cd0(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 5
pciide2 at pci0 dev 8 function 1 NVIDIA MCP61 SATA rev 0xa2: DMA
pciide2: using apic 4 int 10 (irq 10) for native-PCI interrupt
ppb1 at pci0 dev 9 function 0 NVIDIA MCP61 PCIE rev 0xa2
pci2 at ppb1 bus 2
ppb2 at pci0 dev 11 function 0 NVIDIA MCP61 PCIE rev 0xa2
pci3 at ppb2 bus 

Re: no sound Intel 82801I HD Audio in -current

2010-08-10 Thread Luis Cortes
 Jacob,

Thank you for your response.  Pardon my late reply I've been busy all
day.  I will do what you recommend and send you the requested output.
Also, thanks for the additional info regarding azalia0.  Can't wait to
try out these settings!

Respectfully,

--
Luis

On 8/10/10, Jacob Meuser jake...@sdf.lonestar.org wrote:
 On Tue, Aug 10, 2010 at 09:09:58AM +, Jacob Meuser wrote:
 On Mon, Aug 09, 2010 at 09:28:34PM -0700, Luis Cortes wrote:

  azalia0 at pci0 dev 27 function 0 Intel 82801I HD Audio rev 0x03:
  apic 1 int 22 (irq 255)
  azalia0: invalid CORBSZCAP: 0x 0
  azalia0: initialization failure, detaching

 don't think I've ever seen that one before.

 linux always uses 256 CORB/RIRB entries for all controllers, and intel
 docs say intel controllers always use 256 entries, so it's likely the
 following will work (assuming the controller isn't just foobarred in
 some other way).

 if this doesn't work, I'd like a dmesg from a kernel with
 AZALIA_DEBUG defined.

 --
 jake...@sdf.lonestar.org
 SDF Public Access UNIX System - http://sdf.lonestar.org

 Index: azalia.c
 ===
 RCS file: /cvs/src/sys/dev/pci/azalia.c,v
 retrieving revision 1.183
 diff -u -p azalia.c
 --- azalia.c  8 Aug 2010 05:25:30 -   1.183
 +++ azalia.c  10 Aug 2010 17:34:47 -
 @@ -775,8 +775,10 @@ azalia_get_ctrlr_caps(azalia_t *az)
   az-corb_entries = 2;
   az-corbsize |= HDA_CORBSIZE_CORBSIZE_2;
   } else {
 - printf(%s: invalid CORBSZCAP: 0x%2x\n, XNAME(az), cap);
 - return(-1);
 + DPRINTF((%s: invalid CORBSZCAP: 0x%02x, using 256 entries\n,
 + XNAME(az), cap));
 + az-corb_entries = 256;
 + az-corbsize |= HDA_CORBSIZE_CORBSIZE_256;
   }

   /* determine RIRB size */
 @@ -793,8 +795,10 @@ azalia_get_ctrlr_caps(azalia_t *az)
   az-rirb_entries = 2;
   az-rirbsize |= HDA_RIRBSIZE_RIRBSIZE_2;
   } else {
 - printf(%s: invalid RIRBSZCAP: 0x%2x\n, XNAME(az), cap);
 - return(-1);
 + DPRINTF((%s: invalid RIRBSZCAP: 0x%02x, using 256 entries\n,
 + XNAME(az), cap));
 + az-rirb_entries = 256;
 + az-rirbsize |= HDA_RIRBSIZE_RIRBSIZE_256;
   }

   return(0);




-- 
Luis



nvidia video laptops wanted

2010-08-10 Thread Theo de Raadt
There are two developers who would like nvidia-based laptops so
that we can try some stuff for suspend/resume.

You probably want to get laptops that work and send us the nvidia
ones.  Think about it.

Contact me.  Thanks :)