Re: Recommended PCI-E adaptor with fibre connection

2011-06-16 Thread Claudio Jeker
On Wed, Jun 15, 2011 at 04:17:33PM -0700, James A. Peltier wrote:
 - Original Message -
 | Hi All,
 | 
 | I'm looking for a new 1Gb or 10Gb PCI-E adaptor with fibre
 | connections. Can anyone make some recommendations on a good performing
 | adapter under OpenBSD. I see there has been a lot of work going on
 | with the Intel ix(4) based adapters would these be the recommended
 | cards to use in the 10Gb department? If so what have the developers
 | been using to test/develop this driver with?
 
 Anyone have any comments/problems with the following cards?
 
 The following cards look to be well supported.  I'm specifically talking 
 about the Intel Gigabit EF Dual port SX adaptor based on the Intel 82576 
 Gigabit Ethernet Controller.  This card supports full hardware virtualization 
 which the others don't, so I'd likely go with it even though OpenBSD doesn't 
 do H/W virtualization.
 
 http://www.intel.com/Products/Server/Adapters/Gb-EF-Dual-Port/Gb-EF-Dual-Port-overview.htm
 
 For 10GbE the following adaptor looks to be quite good and supported using 
 the Intel 82599 10 Gigabit Ethernet Controller
 
 http://www.intel.com/Products/Server/Adapters/X520/ethernet-X520-overview.htm
 

Both should work. As you said you can not use the additional features of
the 82576 card. As far as I know the SX version should just work but no
developer has such a card IIRC.

The SFP+ ix(4) work without any issue, never tried the ones with onboard
optics.

-- 
:wq Claudio



Re: cmpci(4) and S/PDIF?

2011-06-16 Thread Alexandre Ratchov
On Wed, Jun 15, 2011 at 05:24:20PM +0200, Christian Weisgerber wrote:
 Alexandre Ratchov:
 
   I would, but there shouldn't be anything required to make it work.
   The point of AC3/DTS pass-through mode is that it sends what looks
   like 16-bit stereo audio at the S/PDIF level.  It's only the receiver
   that, on seeing a signature bit pattern, re-interprets the data and
   decodes it according to AC3 or DTS.
  
  So, I don't even understand how AC3 would work at all. I mean, a lot
  of programs (ie all using sio_onmove(3)) expect that one second of
  s16le at 48kHz be exactly 192000 bytes of data. If AC3 is used, that
  wouldn't be true anymore (AC3 is 320kbit/s iirc) and audio would be
  broken.
 
 Padding, of course.  A video player like MPlayer will format the
 AC3 or DTS audio (both of which support numerous bit rates) in such
 a way that the result is a 192000 byte/s stream.
 
 The data on a DTS CD is already preformatted to 176400 byte/s and
 just needs to be passed through.  I put the disk in, cdio cdplay,
 and the drive, cdio(1), and azalia(4) all think they are dealing
 with 44.1 kHz 16-bit stereo audio when in fact it is 6-channel DTS.
 
 As designed, S/PDIF only transmits 20(!)-bit stereo audio at various
 sample rates.  However, ISO/IEC 61937 specifies how to carry various
 non-PCM audio formats over S/PDIF by formatting them like a 16-bit
 stereo stream.  This is widely implemented for AC3 and DTS, rarely
 for MPEG audio.

You're right. If data is properly padded, sndio can't make the
difference between linear and compressed data (it counts bytes to
extract the clock)

  And this can't be fixed without adding AC3 specific code.
 
 It is handled at the application level.  Check out libmpcodecs/ad_hwac3.c
 in the MPlayer source.  There is nothing OpenBSD-specific about
 this.  It's the same for FreeBSD, Linux, and probably others.
 

indeed no code is needed as long as padding is handled by apps.

-- Alexandre



Apertura del Sector Salud

2011-06-16 Thread Lic. Maria Josè Martinez
[IMAGE]

Pms Capacitacisn Efectiva de Mixico presenta:

Seminario-Taller de Licitaciones Pzblicas Preparacisn y Evaluacisn de
Propuestas para el Sector Salud

Exclusiva presentacisn 27 de Junio en la Ciudad de Mixico

Expositor: Mtro. Gerardo Coronado Lspez

10 horas de entrenamiento

Cupo Limitado a 40 Personas, zltimos 7 lugares disponibles!

Empresa Registrada ante la STPS Reg. COLG640205CP30005

Smguenos en Twitter@pmscapacitacion o bien en Facebook PMS de Mixico

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

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

Este Mensaje ha sido enviado a  misc@openbsd.org como usuario de Pms de
Mixico o bien un usuario le refiris para recibir este boletmn.
Como usuario de Pms de Mixico, en este acto autoriza de manera expresa
que Pms de Mixico le puede contactar vma correo electrsnico u otros
medios.
Si usted ha recibido este mensaje por error, haga caso omiso de el y
reporte su cuenta respondiendo este correo con el subject BAJASALUD

Unsubscribe to this mailing list, reply a blank message with the subject
UNSUBSCRIBE BAJASALUD
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 
imagsalude002.jpg]



Invitación Licitaciones de Obra y Nuevo Reglamento Cd. de México

2011-06-16 Thread Lucero Gomez
[IMAGE]

!Promociones Especiales para grupos!

 Capacitacisn Impartida por: Mtro. Gerardo Coronado Lspez

Pms Capacitacisn Efectiva de Mixico presenta:

Taller de Licitaciones para la LEY de Obras Pzblicas y su Reglamento

Experto Consultor Mtro. Gerardo Coronado Lspez

Empresa Registrada ante la STPS Reg. COLG640205CP30005

Smguenos en Twitter@pmscapacitacion o bien en Facebook PMS de Mixico

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

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

Este Mensaje ha sido 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 BAJAOBRA

Unsubscribe to this mailing list, reply a blank message with the subject
UNSUBSCRIBE BAJAOBRA3
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 
obrapromo.jpg]



Re: Support for Intel X520-T2 10GbaseT cards

2011-06-16 Thread Peter Hallin
On 2011-06-15 13:58, FRLinux wrote:
 Just out of curiosity, which iperf settings did you use?

Just standard TCP, iperf -c hostname

 
 I know this is on a Linux box, but just out of interest, I get full
 speed there:

Yeah, sure it works on Linux, but that's not what I'm running. Otherwise
it's almost the same card as yours, but with TP connectors.

//peter
 
 iperf -c xxx.xxx.xxx.xxx -i 5
 
 Client connecting to xxx.xxx.xxx.xxx, TCP port 5001
 TCP window size: 16.0 KByte (default)
 
 [  3] local xxx.xxx.xxx.xxx port 47035 connected with xxx.xxx.xxx.xxx port 
 5001
 [ ID] Interval   Transfer Bandwidth
 [  3]  0.0- 5.0 sec  5.47 GBytes  9.39 Gbits/sec
 [  3]  0.0-10.0 sec  10.9 GBytes  9.40 Gbits/sec
 
 Cards are:
 Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network Connection (rev 01)
 driver: ixgbe
 version: 2.0.44-k2
 firmware-version: 0.9-3
 bus-info: :05:00.0
 
 Cheers,
 Steph



Re: Support for Intel X520-T2 10GbaseT cards

2011-06-16 Thread Peter Hallin
On 2011-06-15 22:40, Jonathan Gray wrote:
 
 Yes this seems low indeed.  You could try use rdomains and route exec
 with a cable between the two ports to make packets go over the interfaces
 if you don't have another host with 10G interfaces.

I didn't get that far. When connecting the two ports to each other (tried
with a couple of TP cables) I only get 1000baseT full-duplex on ix0 and
ix1.

 
 If you've had ppb problems with em I'd imagine they would affect ix as well
 if it is sitting behind the same ppb.

I disabled the ppb hotplug interrupt in ppb.c as Claudio mentioned in
Performance degradation after upgrade and ran the same tests again.

This time it got up to 932 Mbit/s (close to theoretical maximum), but 
the CPU usage was 100% intrs. However, the interfaces only generated
around 2000 intrs/s each (compared to 13000 in my last test).

I will not have more time to do additional testing in a while as i'm off
for vacation, but I hope my tests so far can give you some insight.

Thanks, Peter



Re: Support for Intel X520-T2 10GbaseT cards

2011-06-16 Thread Peter Hallin
On 2011-06-16 14:43, Peter Hallin wrote:
 
 I didn't get that far. When connecting the two ports to each other (tried
 with a couple of TP cables) I only get 1000baseT full-duplex on ix0 and
 ix1.

Nevermind that. After a reboot with the cables connected the interfaces
show up as 10GbaseT full-duplex. Will see if I have the time to do some
tests.

//Peter



Re: 64bit (or better) memory reads in i386

2011-06-16 Thread Theo de Raadt
On 06/12/11 02:49, Giridhari wrote:
 Your criticism is welcome- it gives me perspective of what I am 
 looking at, and how to tackle this. You've told me to think and what 
 to think about. I am not trying to get out of work I will have to do 
 anyway, I just wasn't sure where to look at this from, and you've 
 given me exactly that. I do not consider you my free slaves! 
 Seriously, I have a very high regard for OpenBSD, and it's developers 
 and supporters.


 Basically I have concluded I may have to write a custom tool that 
 performs bulk memcopys or similar that is ideally Assembly optimised.
 Thankyou for your prompt attention. It is most appreciated.

 Giridhari

Giridhari,

Why don't you explain what it is that you want to do, and perhaps it will
become clear to someone that what you want to do has already been
done?  There are a lot of tools out there, at your disposal.  I learn of
new ones frequently.

No, please, don't explain.



dual PCIe x16 graphics cards?

2011-06-16 Thread Amit Kulkarni
Hi,

I am trying to use two graphics card on two separate PCIe x16 slots. I
can see the newly attached graphics card, a Radeon in the dmesg
(/var/log/messages), but the displays which are connected to each card
don't give any output anytime, right from BIOS boot. When I disconnect
any single of the cards and reboot then the other display works as
expected.

This leads me to believe there's a switch to make the machine use both
PCIe slots. How to turn it on? Where am I going wrong? Can anybody
please point me in the right direction?

Thanks,
amit

P.S anybody willing to post a xorg.conf for a dual monitor config
(dual DVI) for any NVIDIA card to the list or to me privately?



OpenBSD 4.9-current (GENERIC.MP) #0: Wed Jun 15 18:13:36 CDT 2011
a...@rsgis02.lsu.edu:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8587771904 (8189MB)
avail mem = 8345071616 (7958MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xaff64000 (40 entries)
bios0: vendor Phoenix Technologies Ltd. version 1.30 date 05/18/2006
bios0: Sun Microsystems Sun Ultra 40 Workstation
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP TCPA SSDT SRAT SPCR MCFG APIC BOOT
acpi0: wakeup devices PCI0(S5) USB0(S3) USB2(S3) MAC0(S5) P2P0(S5)
XVR0(S5) XVR1(S5) MAC0(S5) XVR0(S5) XVR1(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimcfg0 at acpi0 addr 0xe000, bus 0-129
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Dual Core AMD Opteron(tm) Processor 280, 2411.43 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,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, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: AMD erratum 89 present, BIOS upgrade may be required
cpu0: apic clock running at 200MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Dual Core AMD Opteron(tm) Processor 280, 2411.11 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,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, 8 4MB entries fully associative
cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu1: AMD erratum 89 present, BIOS upgrade may be required
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Dual Core AMD Opteron(tm) Processor 280, 2411.11 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu2: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB
64b/line 16-way L2 cache
cpu2: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu2: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu2: AMD erratum 89 present, BIOS upgrade may be required
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Dual Core AMD Opteron(tm) Processor 280, 2411.11 MHz
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu3: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB
64b/line 16-way L2 cache
cpu3: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu3: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu3: AMD erratum 89 present, BIOS upgrade may be required
ioapic0 at mainbus0: apid 4 pa 0xfec0, version 11, 24 pins
ioapic1 at mainbus0: apid 5 pa 0xd000, version 11, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (P2P0)
acpiprt2 at acpi0: bus 3 (XVR0)
acpiprt3 at acpi0: bus 2 (XVR1)
acpiprt4 at acpi0: bus 128 (PCI1)
acpiprt5 at acpi0: bus 130 (XVR0)
acpiprt6 at acpi0: bus 129 (XVR1)
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpicpu2 at acpi0: PSS
acpicpu3 at acpi0: PSS
acpibtn0 at acpi0: PWRB
cpu0: Cool'n'Quiet K8 2411 MHz: speeds: 2400 2200 2000 1800 1000 MHz
pci0 at mainbus0 bus 0
NVIDIA nForce4 DDR rev 0xa3 at pci0 dev 0 function 0 not configured
pcib0 at pci0 dev 1 function 0 NVIDIA nForce4 ISA rev 0xa3
nviic0 at pci0 dev 1 function 1 NVIDIA nForce4 SMBus rev 0xa2
iic0 at nviic0
spdmem0 at iic0 addr 0x50: 2GB DDR SDRAM registered ECC PC3200CL3.0
spdmem1 at iic0 addr 0x51: 2GB DDR SDRAM registered ECC PC3200CL3.0
spdmem2 at iic0 addr 0x54: 2GB DDR SDRAM registered ECC PC3200CL3.0
spdmem3 at iic0 addr 0x55: 2GB DDR SDRAM registered ECC PC3200CL3.0
iic1 at nviic0
iic1: addr 0x18 00=0f 02=f0 03=ff 04=0f 06=f0 07=ff 08=0f 0a=f0 0b=ff
0c=0f 0e=f0 0f=ff 10=0f 12=f0 13=ff 14=0f 16=f0 17=ff 18=0f 1a=f0
1b=ff 1c=0f 1e=f0 1f=ff 20=0f 22=f0 23=ff 24=0f 26=f0 27=ff 28=0f
2a=f0 2b=ff 2c=0f 2e=f0 2f=ff 

Hello Dearest

2011-06-16 Thread Morgan Rose
Good day to you Dear,
My name is Miss Rose, i saw your profile today,i decided to contact you base
on your searching, if you wouldn't mind,i will be so happy for you to
contact me directily through this email addresss (
r.morga...@yahoo.com ),so we can discuss according to your details to
what you are searching
for,so get back to me immediatily so that i can send you my photos ,
Best Regard,
Miss Rose,my email again,  (  r.morga...@yahoo.com  )



Absurdly high temperature reading - system shutdown

2011-06-16 Thread Michal Mazurek
After moving my old laptop around I got home, booted it and got a very
distressing message:

messages.2.gz:Jun 14 22:40:09 hopek /bsd: acpitz2: Critical temperature
4938C (52112K), shutting down

Perhaps some dust moved around, or a cable disconnected.
Unfortunately, the system shut down before it booted. I booted bsd.rd,
read some manpages and booted with -c 'disable acpitz' - everything
worked fine. I attach a diff to only shutdown if the temperature is
below 2000C. If it's above then it's too late to shut down anyway :)

BTW, for no apparent reason my laptop started working fine again.


Index: acpitz.c
===
RCS file: /cvs/src/sys/dev/acpi/acpitz.c,v
retrieving revision 1.43
diff -u -r1.43 acpitz.c
--- acpitz.c15 Jun 2011 00:15:54 -  1.43
+++ acpitz.c16 Jun 2011 15:09:14 -
@@ -326,11 +326,17 @@
}
/* critical trip points */
if (sc-sc_crt != -1  sc-sc_crt = sc-sc_tmp) {
-   /* do critical shutdown */
-   printf(%s: critical temperature exceeded %dC (%dK), shutting 
-   down\n,
-   DEVNAME(sc), KTOC(sc-sc_tmp), sc-sc_tmp);
-   psignal(initproc, SIGUSR2);
+   if (KTOC(sc-sc_tmp)  2000) {
+   printf(%s: absurdly high temperature %dC (%dK), 
+   doing nothing\n,
+   DEVNAME(sc), KTOC(sc-sc_tmp), sc-sc_tmp);
+   } else {
+   /* do critical shutdown */
+   printf(%s: critical temperature exceeded %dC (%dK), 
+   shutting down\n,
+   DEVNAME(sc), KTOC(sc-sc_tmp), sc-sc_tmp);
+   psignal(initproc, SIGUSR2);
+   }
}
if (sc-sc_hot != -1  sc-sc_hot = sc-sc_tmp) {
printf(%s: _HOT temperature\n, DEVNAME(sc));

-- 
Michal Mazurek



Openbgpd as route-server and hidden prefixes

2011-06-16 Thread Christian Lyra
Hi all,

I4m testing OpenBGPD on a route-server/IX topology. My testing case
has one Route Server (RS), 3 AS (AS1, AS2, AS3) and a fourth client AS
(AS4) connected to AS2 and AS3. The following ascii figure shows the
topology:

RS
---
| ||
AS1  AS2   AS3
 ||
 -
 |
  AS4

Each AS announces two /17 prefixes. AS4 announce its two prefixes with
a prepend to AS3, and with no prepend to AS2. In this case, the RS RIB
is show below:

flags destination  gateway  lpref   med aspath origin
*10.1.0.0/17 x.x.x..AS1 100 0 1 i
*10.1.128.0/17x.x.x.x.AS1 100 0 1 i
*10.2.0.0/17  x.x.x.x.AS2 100 0 2 i
*10.2.128.0/17x.x.x.x.AS2 100 0 2 i
*10.3.0.0/17  x.x.x.x.AS3 100 0 3 i
*10.3.128.0/17x.x.x.x.AS3 100 0 3 i
*10.4.0.0/17  x.x.x.x.AS2 100 0 2 4 i
* 10.4.0.0/17  x.x.x.x.AS3 100 0 3 4 4 i
*10.4.128.0/17x.x.x.x.AS2 100 0 2 4 i
* 10.4.128.0/17x.x.x.AS3 100 0 3 4 4 i

Since BGP export only the best routes,  so AS1 learn the AS4 prefixes
with AS2 being the gateway (as expected...). RS configuration is show
below:

peer1=x.x.x.as1
peer2=x.x.x.as2
peer3=x.x.x.as3
ASN=65000

AS $ASN
router-id x.x.x.rs
fib-update no
transparent-as yes
nexthop qualify via bgp

group RS {
   neighbor $peer1 {
   descr   AS1
   remote-as 1
   announce all
   }
   neighbor $peer2 {
   descr AS2
   remote-as 2
   announce all
   }
   neighbor $peer3 {
   descr AS3
   remote-as 3
   announce all
   }
}

match from any set community $ASN:neighbor-as

So far, so good. Now, let4s change the rules and make AS1 no longer
exchange traffic with AS2 (and vice-versa). If we just made this by
using filters denying AS1-AS2 updates, then AS1 will never learn the
prefixes of AS4 trhu AS3. This hidden prefix problem is better
explained here [1]. Quagga and Bird [2] deals with this problem by
using a per AS RIB, so the filter is applied on the input of each RIB,
before the path selection process.

I tried a few solutions and none worked. First, I tried to use the
route-collector yes option. Documentation said that this should
disable the path selection, and i thought that openbgd would export
all routes to clients leaving to them the work of selecting routes.
But route selection still occurs, at least when exporting, so, it
didnt worked as I would like. I added the following lines to
configuration:

route-collector yes
deny to $peer1 community $ASN:2
deny to $peer2 community $ASN:1

I also saw in docs that it4s possible to create a table and disable
the route selection, so my next try was create such table, and
configure all peers to use that table:

rde rib allroutes no evaluate

and adding a rib allroutes to each peer config. But this didnt
worked too, in fact, no route was exported.

My last try was creating a RIB for each peer:

rde rib toAS1
rde rib toAS2
rde rib toAS3

As I understood from docs, I may apply a rule to one rib, like this:

deny to $peer1 community $ASN:2 rib toAS1

But openbgpd complains about such line. Does anyone knows how solve this?


[1]
http://www.quagga.net/docs/docs-multi/Description-of-the-Route-Server-model.h
tml
[2] https://git.nic.cz/redmine/projects/bird/wiki/Route_server_example

--
Christian Lyra
PoP-PR/RNP



Re: Absurdly high temperature reading - system shutdown

2011-06-16 Thread Marco Peereboom
The real issue is in acpiec.  Several attempts have been made at fixing
this but none has been working reliably enough :-(

On Thu, Jun 16, 2011 at 08:33:38PM +0200, Michal Mazurek wrote:
 After moving my old laptop around I got home, booted it and got a very
 distressing message:
 
 messages.2.gz:Jun 14 22:40:09 hopek /bsd: acpitz2: Critical temperature
 4938C (52112K), shutting down
 
 Perhaps some dust moved around, or a cable disconnected.
 Unfortunately, the system shut down before it booted. I booted bsd.rd,
 read some manpages and booted with -c 'disable acpitz' - everything
 worked fine. I attach a diff to only shutdown if the temperature is
 below 2000C. If it's above then it's too late to shut down anyway :)
 
 BTW, for no apparent reason my laptop started working fine again.
 
 
 Index: acpitz.c
 ===
 RCS file: /cvs/src/sys/dev/acpi/acpitz.c,v
 retrieving revision 1.43
 diff -u -r1.43 acpitz.c
 --- acpitz.c  15 Jun 2011 00:15:54 -  1.43
 +++ acpitz.c  16 Jun 2011 15:09:14 -
 @@ -326,11 +326,17 @@
   }
   /* critical trip points */
   if (sc-sc_crt != -1  sc-sc_crt = sc-sc_tmp) {
 - /* do critical shutdown */
 - printf(%s: critical temperature exceeded %dC (%dK), shutting 
 - down\n,
 - DEVNAME(sc), KTOC(sc-sc_tmp), sc-sc_tmp);
 - psignal(initproc, SIGUSR2);
 + if (KTOC(sc-sc_tmp)  2000) {
 + printf(%s: absurdly high temperature %dC (%dK), 
 + doing nothing\n,
 + DEVNAME(sc), KTOC(sc-sc_tmp), sc-sc_tmp);
 + } else {
 + /* do critical shutdown */
 + printf(%s: critical temperature exceeded %dC (%dK), 
 + shutting down\n,
 + DEVNAME(sc), KTOC(sc-sc_tmp), sc-sc_tmp);
 + psignal(initproc, SIGUSR2);
 + }
   }
   if (sc-sc_hot != -1  sc-sc_hot = sc-sc_tmp) {
   printf(%s: _HOT temperature\n, DEVNAME(sc));
 
 -- 
 Michal Mazurek



Re: Absurdly high temperature reading - system shutdown

2011-06-16 Thread Michal Mazurek
It was pointed out to me to attach acpidump and dmesg. Kernel is custom
built to include bce.

-- 
Michal Mazurek

[demime 1.01d removed an attachment of type application/octet-stream]

[demime 1.01d removed an attachment of type application/octet-stream]

[demime 1.01d removed an attachment of type application/octet-stream]

[demime 1.01d removed an attachment of type application/octet-stream]

[demime 1.01d removed an attachment of type application/octet-stream]
RSD PTR: Checksum=172, OEMID=HP, RsdtAddress=0x1f7efc84


RSDT: Length=48, Revision=1, Checksum=85,
OEMID=HP, OEM Table ID=099C, OEM Revision=0x21110520,
Creator ID=HP, Creator Revision=0x1


Entries={ 0x1f7efc00, 0x1f7efcb4, 0x1f7efd10 }


DSDT=0x1f7efd4c
INT_MODEL=PIC
SCI_INT=9
SMI_CMD=0xb2, ACPI_ENABLE=0xf1, ACPI_DISABLE=0xf0, S4BIOS_REQ=0xf2
PM1a_EVT_BLK=0x1000-0x1003
PM1a_CNT_BLK=0x1004-0x1005
PM2_CNT_BLK=0x1020-0x1020
PM2_TMR_BLK=0x1008-0x100b
PM2_GPE0_BLK=0x1028-0x102f
P_LVL2_LAT=2ms, P_LVL3_LAT=38ms
FLUSH_SIZE=0, FLUSH_STRIDE=0
DUTY_OFFSET=1, DUTY_WIDTH=3
DAY_ALRM=13, MON_ALRM=0, CENTURY=50
Flags={WBINVD,PROC_C1,SLP_BUTTON,RTC_S4}


DSDT: Length=32088, Revision=1, Checksum=211,
OEMID=HP, OEM Table ID=DAU00, OEM Revision=0x1,
Creator ID=MSFT, Creator Revision=0x10e


APIC: Length=90, Revision=1, Checksum=66,
OEMID=HP, OEM Table ID=099C, OEM Revision=0x1,
Creator ID=HP, Creator Revision=0x1


MCFG: Length=60, Revision=1, Checksum=112,
OEMID=HP, OEM Table ID=099C, OEM Revision=0x1,
Creator ID=HP, Creator Revision=0x1
OpenBSD 4.9-stable (HOPEK) #0: Sun May  1 19:13:58 CEST 2011
r...@hopek.jasminek.net:/usr/src/sys/arch/i386/compile/HOPEK
cpu0: Intel(R) Celeron(R) M processor 1.40GHz (GenuineIntel 686-class) 1.40 
GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF
real mem  = 527855616 (503MB)
avail mem = 509075456 (485MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/21/05, BIOS32 rev. 0 @ 0xf, SMBIOS 
rev. 2.3 @ 0xfc68f (23 entries)
bios0: vendor Hewlett-Packard version 68DTD Ver. F.0C date 11/21/2005
bios0: Hewlett-Packard HP Compaq nx6110 (PY536ES#AKD)
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG
acpi0: wakeup devices C068(S5) C0BB(S3) C0C2(S3) C0C3(S3) C0C4(S3) C0C5(S3) 
C0CC(S5) C1CD(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfec01000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 99MHz
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpiprt0 at acpi0: bus 2 (C068)
acpiprt1 at acpi0: bus 0 (C002)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1
acpipwrres0 at acpi0: C1A6
acpipwrres1 at acpi0: C1AE
acpipwrres2 at acpi0: C1B5
acpipwrres3 at acpi0: C1C5
acpipwrres4 at acpi0: C244
acpipwrres5 at acpi0: C245
acpipwrres6 at acpi0: C246
acpipwrres7 at acpi0: C247
acpitz0 at acpi0: critical temperature 102 degC
acpitz1 at acpi0: critical temperature 103 degC
acpitz2 at acpi0: critical temperature 102 degC
acpitz3 at acpi0: critical temperature 110 degC
acpibat0 at acpi0: C174 model Primary serial 03121 2005/12/21 type LIon oem 
Hewlett-Packard
acpibat1 at acpi0: C173 not present
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: C1E8
acpibtn1 at acpi0: C1E9
acpivideo0 at acpi0: C055
acpivout0 at acpivideo0: C103
acpivout1 at acpivideo0: C104
acpivout2 at acpivideo0: C105
acpivout3 at acpivideo0: C106
bios0: ROM list: 0xc/0x1!
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82915GM Host rev 0x03
vga1 at pci0 dev 2 function 0 Intel 82915GM Video rev 0x03
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 0xc000, size 0x1000
inteldrm0 at vga1: apic 1 int 16 (irq 11)
drm0 at inteldrm0
Intel 82915GM Video rev 0x03 at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 29 function 0 Intel 82801FB USB rev 0x03: apic 1 int 23 
(irq 11)
uhci1 at pci0 dev 29 function 1 Intel 82801FB USB rev 0x03: apic 1 int 17 
(irq 10)
uhci2 at pci0 dev 29 function 2 Intel 82801FB USB rev 0x03: apic 1 int 18 
(irq 10)
uhci3 at pci0 dev 29 function 3 Intel 82801FB USB rev 0x03: apic 1 int 19 
(irq 10)
ehci0 at pci0 dev 29 function 7 Intel 82801FB USB rev 0x03: apic 1 int 23 
(irq 11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb0 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xd3
pci1 at ppb0 bus 2
iwi0 at pci1 dev 4 function 0 Intel PRO/Wireless 2200BG rev 0x05: apic 1 int 
21 (irq 11), address 00:0e:35:41:65:91
cbb0 at pci1 dev 6 function 0 TI PCI7XX1 CardBus rev 

Re: dual PCIe x16 graphics cards?

2011-06-16 Thread Matthieu Herrb
On Thu, Jun 16, 2011 at 7:36 PM, Amit Kulkarni amitk...@gmail.com wrote:

 P.S anybody willing to post a xorg.conf for a dual monitor config
 (dual DVI) for any NVIDIA card to the list or to me privately?

Dual head is  is not supported by the nv driver except for the cards
with a G80 chipset, where you can use
xrandr in the standard way.
-- 
Matthieu Herrb



playera CR

2011-06-16 Thread erika ledezma
Si no puedes ver este correo, haz click en el siguiente vinculo
http://www.gtventas.com/boletines/2011/marzo/14.htm

PROMOCIONES 2011

[IMAGE]

[IMAGE] [IMAGE]

Bajos las normas internacionales de ANTI-SPAM este correo cumple con la
opcisn de poder ser removido de la lista
por favor responder dar de baja



Entrevista por Competencias en GUADALAJARA - 25 de Junio

2011-06-16 Thread Identificando Talentos
Solicita la informacion completa e Inscribase si tiene interes en
participar.
Necesitamos reunir un minimo de participantes para impartir este Curso.

CURSO TALLER

Entrevista por Competencias

Duracion: (1 dia) 9 hrs.

 Inversion: $3,450 pesos mas IVA

BENEFICIOS:
Al tirmino del curso, los participantes aplicaran una metodologma de
entrevistas por competencias que le permitiran identificar a las personas
que pueden incorporarse con facilidad a la sinergia de trabajo y a los
valores culturales de la organizacisn.

GUADALAJARA

Sede: Hotel Mision Carlton Guadalajara
 - Av. Niqos Hiroes # 125 Zona Centro Guadalajara Jal.

25 de Junio
Solicite Temario de Click Aqui

 Recursos Humanos

[IMAGE]

Curso Taller
Como mejorar el Ambiente Laboral e Incrementar la Productividad
Mexico

[IMAGE]

Curso Taller
Entrevistas por Competencias
Monterrey

[IMAGE]

Curso Taller
Capacitacion por Competencias
Mexico / Guadalajara / Monterrey

[IMAGE]

Curso Taller
Procesos de seleccion exitosos con pruebas psicometricas
Mexico / Guadalajara / Monterrey / Villahermosa / Merida / Cancun

[IMAGE]

Curso Taller
Deteccion de Necesidades de Capacitacion por COMPETENCIAS
Mexico

[IMAGE]

Curso Taller
Metodologias para realizar un D.N.C. con enfoque a Competencias
Monterrey

[IMAGE]

Curso Taller
El lado productivo de Recursos Humanos
Mexico / Guadalajara / Monterrey

[IMAGE]

Curso Taller
Como generar Capacitacion Rentable
Monterrey

[IMAGE]

Curso Taller
Entrevista Efectiva por Competencias
Merida / Villahermosa / Cancun

Consulte la Programacion por Area:
Manufactura y Produccion | Credito y Cobranza | Recursos Humanos |
Adquisiciones y Obras Publicas | Entrenamiento Ejecutivo |
Seguridad e Higiene | Negociacion y Compras | Alimentos y Bebidas |
Economia y Finanzas | Asistentes Ejecutivas | Marketing y Ventas |

Si necesita mayor informacion,comuniquese un Asesor lo atendera de
inmediato.

SIMCA CAPACITACION
Entrenamiento Especializado
E-MAIL: simca_capacitac...@hotmail.com
Messenger: simca_capacitac...@hotmail.com
Lada sin costo: 01 800 543 32 30

Diseqamos el curso a la medida de sus necesidades..!Impartimos CURSOS de
forma PRIVADA en su empresa, envienos un correo especificando el numero
de participantes, el lugar donde se impartira, su nombre, cargo, empresa
y telefono.SOLICITE COTIZACION de Click Aqui

 Comentanos ?Que curso necesitas?

Envianos un correo

Da Click Aqui

Solicitala a tu Asesor.

Si usted no desea que le enviemos mas invitaciones, de Click Aqui,
gracias.



Re: Openbgpd as route-server and hidden prefixes

2011-06-16 Thread Claudio Jeker
On Thu, Jun 16, 2011 at 03:45:15PM -0300, Christian Lyra wrote:
 Hi all,
 
 I4m testing OpenBGPD on a route-server/IX topology. My testing case
 has one Route Server (RS), 3 AS (AS1, AS2, AS3) and a fourth client AS
 (AS4) connected to AS2 and AS3. The following ascii figure shows the
 topology:
 
 RS
 ---
 | ||
 AS1  AS2   AS3
  ||
  -
  |
   AS4
 
 Each AS announces two /17 prefixes. AS4 announce its two prefixes with
 a prepend to AS3, and with no prepend to AS2. In this case, the RS RIB
 is show below:
 
 flags destination  gateway  lpref   med aspath origin
 *10.1.0.0/17 x.x.x..AS1 100 0 1 i
 *10.1.128.0/17x.x.x.x.AS1 100 0 1 i
 *10.2.0.0/17  x.x.x.x.AS2 100 0 2 i
 *10.2.128.0/17x.x.x.x.AS2 100 0 2 i
 *10.3.0.0/17  x.x.x.x.AS3 100 0 3 i
 *10.3.128.0/17x.x.x.x.AS3 100 0 3 i
 *10.4.0.0/17  x.x.x.x.AS2 100 0 2 4 i
 * 10.4.0.0/17  x.x.x.x.AS3 100 0 3 4 4 i
 *10.4.128.0/17x.x.x.x.AS2 100 0 2 4 i
 * 10.4.128.0/17x.x.x.AS3 100 0 3 4 4 i
 
 Since BGP export only the best routes,  so AS1 learn the AS4 prefixes
 with AS2 being the gateway (as expected...). RS configuration is show
 below:
 
 peer1=x.x.x.as1
 peer2=x.x.x.as2
 peer3=x.x.x.as3
 ASN=65000
 
 AS $ASN
 router-id x.x.x.rs
 fib-update no
 transparent-as yes
 nexthop qualify via bgp
 
 group RS {
neighbor $peer1 {
descr   AS1
remote-as 1
announce all
}
neighbor $peer2 {
descr AS2
remote-as 2
announce all
}
neighbor $peer3 {
descr AS3
remote-as 3
announce all
}
 }
 
 match from any set community $ASN:neighbor-as
 
 So far, so good. Now, let4s change the rules and make AS1 no longer
 exchange traffic with AS2 (and vice-versa). If we just made this by
 using filters denying AS1-AS2 updates, then AS1 will never learn the
 prefixes of AS4 trhu AS3. This hidden prefix problem is better
 explained here [1]. Quagga and Bird [2] deals with this problem by
 using a per AS RIB, so the filter is applied on the input of each RIB,
 before the path selection process.

OpenBGPD supports per AS RIB as well. AmsIX is using this feature AFAIK.
At least I implemented it for and together with AmsIX.
 
 I tried a few solutions and none worked. First, I tried to use the
 route-collector yes option. Documentation said that this should
 disable the path selection, and i thought that openbgd would export
 all routes to clients leaving to them the work of selecting routes.
 But route selection still occurs, at least when exporting, so, it
 didnt worked as I would like. I added the following lines to
 configuration:
 
 route-collector yes
 deny to $peer1 community $ASN:2
 deny to $peer2 community $ASN:1

Nah, route-collector will not make you happy. This is a hack that will
skip a lot of more complex operations (IIRC it even skips part of the
filters).
 
 I also saw in docs that it4s possible to create a table and disable
 the route selection, so my next try was create such table, and
 configure all peers to use that table:
 
 rde rib allroutes no evaluate
 
 and adding a rib allroutes to each peer config. But this didnt
 worked too, in fact, no route was exported.

Hmm. I'm not sure for what I did the no evaluate mode. But You need the
decision process in any case since without it no route will be selected to
be exported.
 
 My last try was creating a RIB for each peer:
 
 rde rib toAS1
 rde rib toAS2
 rde rib toAS3
 
 As I understood from docs, I may apply a rule to one rib, like this:
 
 deny to $peer1 community $ASN:2 rib toAS1
 
 But openbgpd complains about such line. Does anyone knows how solve this?

The correct syntax is:
deny rib toAS1 to $peer1 community $ASN:2
 
But the above rule does not make much sense. I think you want something
like:
deny rib toAS1 from $peer2 community $ASN:2
Since you need to filter prefixes going into the per-peer RIB and not
filter the selected prefix beeing sent out. You need to filter incomming
prefixes on a per RIB basis.

-- 
:wq Claudio



opencvs@ support for openbsd.mirror.frontiernet.net

2011-06-16 Thread jared r r spiegel
  in response to the 18x18ja.bdf out of memory issue while using
  GNU cvs on the server, i've implemented support for opencvs to run
  the cvs server also.

  as it has always been, one can access GNU cvs on the server side with:

CVSROOT=anon...@openbsd.mirror.frontiernet.net:/cvs

  and now one can access opencvs on the server side with:

CVSROOT=open...@openbsd.mirror.frontiernet.net:/cvs

  this seems to be particularly relevant for anyone trying to check out
  xenocara sources (see above, and google/mailing lists for, as i
  understand it, 18x18ja.bdf vs openbsd 64b on the server), as opencvs
  server doesn't OOM when it hits 18x18ja.bdf.

note: this does not mean you need to use opencvs as a client, gnu cvs
  client completes the checkout OK when using opencvs@.

-- 

  jared



You have received an invitation to join Tobri.com

2011-06-16 Thread Tobri Admin
Hello,



You have been invited by Joel Nard to join Tobri. To join, please
follow the link below:
http://www.tobri.com/invite/signup?ref=6117email=misc%40openbsd.orgcode=e4c
570c





Hey, here is a FREE piece of
software for us marketers! Check it out
http://successin24.com/affiliate/affiliate.php?id=418group=36




Best Regards,

Tobri Member
Services





Message sent by:



Tobri, LLC

P.O. Box 411247

Melboourne, FL
32941



To Unsubscribe from further invitations, please follow this link:
http://www.tobri.com/invite/unsubscribe



Reproducible system hang in 4.9 (ral in hostap)

2011-06-16 Thread Max Hayden Chiz
I have a Soekris net 5501 and a ral RT2860/2850 PCI card (dmesg
below). B While trying to use the system for an access point, I
discovered a way to consistently cause the system to hang. B (Note:
This is *different* from a similar, now fixed, system hang that I
reported circa 4.6-beta).

To cause the system to hang, put ral0 into HostAP mode, connect a computer
with an FTP server to one of the Ethernet connections, then connect
another computer to the wireless access point and attempt to download
a largish file over FTP. B The system will hang within 15 seconds from
the start of the transfer.

Using FTP is not required, any heavy traffic will cause a similar
result, but the hang only occurs when ral is in hostAP mode.

B/c the previous hang I discovered has since been fixed, I do not
think this is a hardware problem. B I'd like to work with someone who
knows more about this to try and pin down the source of the problem so
that it too can be fixed. B If this problem is specific to this ral
model, I have no problems ordering a different, working one and giving
this one to the appropriate developer so that it can be debugged from
there. B Similarly, if there is a concern that this *is* a hardware
problem, I'll be happy to purchase a known good ral or similar wifi
card and test it under similar conditions (provided someone can direct
me to one).

Also:
*Using or not using wpa doesn't change anything
*Using 11a or 11g does not change anything
*The power supply is not an issue; I'm using the largest one from
Soekris and have tried half a dozen different ones. B All get the same
hang.
*I couldn't get the console to give me ddb access after the hang, so I
tried sending it a break before and then c. B I get that far, but
when the system hangs ddb is unresponsive.

For reference, the hang from 4.6-beta was a caused by sending traffic
between two of the vr ethernet ports while ral was up and in HostAP
mode. B That hang no longer exists, but if someone wants to look at it
for comparison, my emails are
http://marc.info/?l=openbsd-miscm=124685949929721w=2 and
http://marc.info/?l=openbsd-miscm=124697898624989w=2

Thank you for any help you can provide.

--Max H. Chiz

Here is the dmesg:
OpenBSD 4.9 (GENERIC) #671: Wed Mar B 2 07:09:00 MST 2011
B  B dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by AMD PCS (AuthenticAMD 586-class) 500
M
Hz
cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX
real mem B = 536440832 (511MB)
avail mem = 517533696 (493MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 20/80/26, BIOS32 rev. 0 @ 0xfac40
pcibios0 at bios0: rev 2.0 @ 0xf/0x1
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc8000/0xa800
cpu0 at mainbus0: (uniprocessor)
amdmsr0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
io address conflict 0x6100/0x100
io address conflict 0x6200/0x200
pchb0 at pci0 dev 1 function 0 AMD Geode LX rev 0x33
glxsb0 at pci0 dev 1 function 2 AMD Geode LX Crypto rev 0x00: RNG AES
vr0 at pci0 dev 6 function 0 VIA VT6105M RhineIII rev 0x96: irq 11, address
00
:00:24:cc:10:7c
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
0x004063,
model 0x0034
vr1 at pci0 dev 7 function 0 VIA VT6105M RhineIII rev 0x96: irq 5, address
00:
00:24:cc:10:7d
ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
0x004063,
model 0x0034
vr2 at pci0 dev 8 function 0 VIA VT6105M RhineIII rev 0x96: irq 9, address
00:
00:24:cc:10:7e
ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
0x004063,
model 0x0034
vr3 at pci0 dev 9 function 0 VIA VT6105M RhineIII rev 0x96: irq 12, address
00
:00:24:cc:10:7f
ukphy3 at vr3 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
0x004063,
model 0x0034
ral0 at pci0 dev 14 function 0 Ralink RT2860 rev 0x00: irq 10, address
00:1e:e
5:e8:ea:c9
ral0: MAC/BBP RT2860 (rev 0x0103), RF RT2850 (MIMO 2T2R)
glxpcib0 at pci0 dev 20 function 0 AMD CS5536 ISA rev 0x03: rev 3, 32-bit
3579
545Hz timer, watchdog, gpio
gpio0 at glxpcib0: 32 pins
pciide0 at pci0 dev 20 function 2 AMD CS5536 IDE rev 0x01: DMA, channel 0
wire
d to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: SanDisk SDCFH2-002G
wd0: 4-sector PIO, LBA, 1953MB, 4001760 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
pciide0: channel 1 ignored (disabled)
ohci0 at pci0 dev 21 function 0 AMD CS5536 USB rev 0x02: irq 15, version
1.0,
legacy support
ehci0 at pci0 dev 21 function 1 AMD CS5536 USB rev 0x02: irq 15
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 AMD EHCI root hub rev 2.00/1.00 addr 1
isa0 at glxpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: 

Moon Splitting

2011-06-16 Thread a...@cccddd.com
Faith and Science

Moon Splitting

Splitting of Moon

Moon Cracked

nasser...@maktoob.com



Re: Absurdly high temperature reading - system shutdown

2011-06-16 Thread Theo de Raadt
 On Thu, Jun 16, 2011 at 3:33 PM, Michal Mazurek akf...@jasminek.net wrote:
  After moving my old laptop around I got home, booted it and got a very
  distressing message:
 
  messages.2.gz:Jun 14 22:40:09 hopek /bsd: acpitz2: Critical temperature
  4938C (52112K), shutting down
 
  Perhaps some dust moved around, or a cable disconnected.
  Unfortunately, the system shut down before it booted. I booted bsd.rd,
  read some manpages and booted with -c 'disable acpitz' - everything
  worked fine. I attach a diff to only shutdown if the temperature is
  below 2000C. If it's above then it's too late to shut down anyway :)
 
  BTW, for no apparent reason my laptop started working fine again.
 
 
  Index: acpitz.c
  ===
  RCS file: /cvs/src/sys/dev/acpi/acpitz.c,v
  retrieving revision 1.43
  diff -u -r1.43 acpitz.c
  --- acpitz.c15 Jun 2011 00:15:54 -  1.43
  +++ acpitz.c16 Jun 2011 15:09:14 -
  @@ -326,11 +326,17 @@
 }
 /* critical trip points */
 if (sc-sc_crt != -1  sc-sc_crt = sc-sc_tmp) {
  -   /* do critical shutdown */
  -   printf(%s: critical temperature exceeded %dC (%dK),
 shutting 
  -   down\n,
  -   DEVNAME(sc), KTOC(sc-sc_tmp), sc-sc_tmp);
  -   psignal(initproc, SIGUSR2);
  +   if (KTOC(sc-sc_tmp)  2000) {
  +   printf(%s: absurdly high temperature %dC (%dK), 
  +   doing nothing\n,
  +   DEVNAME(sc), KTOC(sc-sc_tmp), sc-sc_tmp);
  +   } else {
  +   /* do critical shutdown */
  +   printf(%s: critical temperature exceeded %dC (%dK),
 
  +   shutting down\n,
  +   DEVNAME(sc), KTOC(sc-sc_tmp), sc-sc_tmp);
  +   psignal(initproc, SIGUSR2);
  +   }
 }
 if (sc-sc_hot != -1  sc-sc_hot = sc-sc_tmp) {
 printf(%s: _HOT temperature\n, DEVNAME(sc));
 
  --
  Michal Mazurek
 
 
 
 I had noticed the following behaviour (maybe related or maybe not) in my
 laptop:
 
 - When the batt goes low the system shutdown with the same message.
 The temp is always (not 100% sure) 110C. This is 100% reproducible
 (every time batt goes low -- system shutdown).
 
 I was trying to figure myself what is happening to introduce myself to
 kernel code but if someone want to test something I'll glad to help.

This diff you are writing is a workaround.  It is not fixing the bug.

Somewhere higher, some acpi, aml, bios, or EC behaviour has provided
bad data, which has propogated up to the acpitz driver.

We will kind of needs these workarounds until the real bugs are found,
though, perhaps...



RAID options for OpenBSD

2011-06-16 Thread Donald Reichert
Hi list,

I'm preparing a pair of new servers, each equipped with a bunch of NICs in 
order to replace some Cisco gear doing BGP and friends.

What puzzles me right now is how to configure the stuff HD-wise. I have two 
SSDs in each of the machines, my initial planning was to do some RAID-1 in 
order to push uptime. (I have to admit that as a former Linux sceptic I have 
made excellent experience with their RAID stuff -- thus my planning.)

However, as the years went by and my NetBSD knowledge isn't the best any more 
(hint: RAIDframe), I'm not sure how to set up my OpenBSD routers. Is there any 
'best practice guide' out there? FAQ is a bit thin:

http://www.openbsd.org/faq/faq14.html#RAID

So, after all I wanted to use softraid(4) and put everything except root there, 
as, from what I read, OpenBSD cannot boot off a RAID partition at the moment. 
Is that correct?

Thanks,

Donald
-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de