Re: Custom bsd.rd contents

2011-02-28 Thread Stuart Henderson
On 2011-02-27, Adam Van Ymeren adam.v...@gmail.com wrote:
 I'm trying to modify the contents of the ram disk in a bsd.rd kernel.
 Is there any documentation on this process?  Or can anyone point in my
 a good direction to start looking?

Start with release(8) and /usr/src/distrib.



Re: ALIX/current as an Access Point

2011-02-28 Thread OSN | Marian Fischer

On 28.02.2011 08:30, Jan Stary wrote:

On Feb 28 08:11:14, OSN | Marian Fischer wrote:

Am 27.02.2011 15:23, schrieb Jan Stary:

I have been using www.pcengines.ch/alix2c1.htm
as my home router for years. It is runnig current/i386.

Now that I have bought me that Android, I also want wifi.
The ALIX has a MiniPCI slot. Can people recommend a MiniPCI
wifi card that works well for an AP, preferably tried in the ALIX?

(I have read the recent threads considering obsd as an AP,
but haven't come to a conclusion about which card to use.)

Jan


hi,

i tested some wifi MiniPCI cards together with an ALIX2xx board.
The best choice for me was an athn chipset.

athn0: AR9280 rev 2 (2T2R), ROM rev 21,

Use 4.9 for ur AP. There are no more powersave problems anymore.
Works well for me and tested with a couple of different WIFI clients.


Do you mean that the 4.9 athn driver can do power saving,
and the following (CAVEATS from the 4.8 manpage) no longer applies?

 Host AP mode doesn't support power saving.  Clients attempting
 to use power saving mode may experience significant packet
 loss (disabling power saving on the client will fix this).



I have not tested if it really does, but my Clients have all enabled 
Powersaving by default (Intel, Atheros). If the client really uses PS - 
i didn't figure out. I'll check this out for u after work. There are nor 
drops or other lags by using WLAN over many hours / days. It runs 
perfect and fast!


The card is a Wistron DNMA92 MiniPCI. Under 4.8 i had a lot of trouble 
... gone with 4.9.


-m.



Re: ALIX/current as an Access Point

2011-02-28 Thread David Coppa
On Mon, Feb 28, 2011 at 10:11 AM, OSN | Marian Fischer m...@osn.de wrote:
 On 28.02.2011 08:30, Jan Stary wrote:

 i tested some wifi MiniPCI cards together with an ALIX2xx board.
 The best choice for me was an athn chipset.

 athn0: AR9280 rev 2 (2T2R), ROM rev 21,

From my experiences,

1) athn
2) ral

cheers
david



Re: network bandwith with em(4)

2011-02-28 Thread Manuel Guesdon
On Thu, 24 Feb 2011 22:03:22 -0700 (MST)
Theo de Raadt dera...@cvs.openbsd.org wrote:

|  We've got same problems (on a routeur, not a firewall). Increasing
|  MAX_INTS_PER_SEC to 24000  increased bandwith and lowered packet loss.
|  Our cards are Intel PRO/1000 (82576) and Intel PRO/1000 FP
|  (82576).
| 
| Did you try to increase the number of descriptor?
| #define EM_MAX_TXD 256
| #define EM_MAX_RXD 256
| 
| I've tried up to 2048 (and with MAX_INTS_PER_SEC = 16000) but it looks
| worth.
| 
| Say you increase this.
| 
| That means on a single interrupt, the handler could be forced to handle
| around 2000 packets.
| 
| Nothing else will happen on the machine during that period.
| 
| Can you say 'interrupt latency increase' boys and girls?

OK. Anyway NIC buffers restrict buffered packets number. But the problem
remain: why a (for exemple) dual Xeon E5520@2.27GHz with Intel PRO/1000
(82576) can't route 150kpps without Ierr :-)
http://www.oxymium.net/tmp/core3-dmesg

Manuel 



Re: network bandwith with em(4)

2011-02-28 Thread Ryan McBride
On Mon, Feb 28, 2011 at 12:49:01PM +0100, Manuel Guesdon wrote:
 OK. Anyway NIC buffers restrict buffered packets number. But the problem
 remain: why a (for exemple) dual Xeon E5520@2.27GHz with Intel PRO/1000
 (82576) can't route 150kpps without Ierr :-)
 http://www.oxymium.net/tmp/core3-dmesg

Turn off hyperthreading, run a uniprocessor kernel rather than bsd.mp.
I can't immediately tell if you're running i386 or amd64, but i386 will
probably be better.

There may be something else going on here, because 150kpps should be
trivial for a box like this, but the advice above will certainly improve
your situation.

(Yes, it will hurt to know that 7 of your cores are doing nothing. Too
bad, they're just slowing you down now)



¡Preventa especial! Congreso Vallarta para Asistentes y Secretarias Ejecutivas

2011-02-28 Thread Lic. Nadia Torres
[IMAGE]

!Promociones Especiales de Preventa para grupos!

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 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 BAJAPREVENTA

Unsubscribe to this mailing list, reply a blank message with the subject
UNSUBSCRIBE BAJAPREVENTA
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 
especial asistentes en vallarta.jpg]



Re: network bandwith with em(4)

2011-02-28 Thread Manuel Guesdon
On Mon, 28 Feb 2011 21:29:01 +0900
Ryan McBride mcbr...@openbsd.org wrote:

| On Mon, Feb 28, 2011 at 12:49:01PM +0100, Manuel Guesdon wrote:
|  OK. Anyway NIC buffers restrict buffered packets number. But the problem
|  remain: why a (for exemple) dual Xeon E5520@2.27GHz with Intel PRO/1000
|  (82576) can't route 150kpps without Ierr :-)
|  http://www.oxymium.net/tmp/core3-dmesg
| 
| Turn off hyperthreading, run a uniprocessor kernel rather than bsd.mp.
| I can't immediately tell if you're running i386 or amd64, but i386 will
| probably be better.

amd64 currently.


| There may be something else going on here, because 150kpps should be
| trivial for a box like this, but the advice above will certainly improve
| your situation.

Thank you ! I'll plan to test that !


| (Yes, it will hurt to know that 7 of your cores are doing nothing. Too
| bad, they're just slowing you down now)

Hum, I prefer to see it working well with only 1 core instead of working bad
using 8 cores :-)


Manuel 

--
__
Manuel Guesdon - OXYMIUM



Tu credito para pymes en 1 semana

2011-02-28 Thread CPC. Ana L. Luelmo
?Te han negado un cridito para tu empresa PYME? y te Urge

9 Febrero, 2011

! Creditos para PYMES !

?Quieres obtener el cridito para tu empresa, pero el tramite es un problema
por todos los requisitos?

Es importante que conozcas los esquemas de creditos PyMES a los que tu empresa
puede tener acceso y determinar si alguno de ellos puede ser  viable y hacer
realidad la ejecucisn del plan que tiene tu negocio.

Para las PYMES, el acceso al financiamiento puede ser la diferencia entre
renacer, crecer o empezar a morir. Sin dinero, no tenemos la capacidad de abrir
nuevas sucursales, crecer el inventario, incrementar nuestra produccisn o
expandir nuestra lmnea de productos.

El incrementar el capital es uno de los factores mas importantes para que tu
PYME pueda competir.

Contar con dinero financiado puede detonar el crecimiento de tu negocio.

?Conoce cual es el tipo de financiamiento mas adecuado para usted?

Los creditos PYMES a la medida de tu empresa CREDITO PYMES

Con el Credito PyMES, puedes hacer realidad ese sueqo, tambiin porque esta
pensado para ser de facil acceso a las pequeqas y medianas empresas. Si es que
tienes acceso a estos recursos financieros, convertir tu negocio en una gran
empresa, es tu decisisn, Que te detendrma? [1]evalualo ahora. precalificate
?Acostumbrado a que los Criditos para Pymes sean tardadisimos? ?Buscas
concretar ese anhelado proyecto para tu PYME?  ?Necesitas consolidar tus
deudas?  ?O simplemente requieres liquidez?
TENEMOS UNA RAPIDA SOLUCISN PARA TU NEGOCIO

?Qui es el credito para pymes y como te apoyamos en obtenerlo?

Es un cridito que representa una opcisn de financiamiento viable y de facil
acceso para las pymes que puede ser utilizado para capital de trabajo o para
adquirir activo fijo.

Te apoyamos en un analisis ticnico de toda la documentacisn Tramite de
integracisn de expediente y asesorma sin costo y dirigirte con el tipo de
credito PyMES que mas te convenga.

Acelerar el prsceso si es que te urge el cridito y hacerte llegar el capital
que necesitas.  Imaginate Disponerlo en menos de una semana o tal vez 48 Horas.

Muchas de nuestras soluciones no se fijan en el burs de cridito pues no
operamos como un banco. realmente apoyamos a Mixico brindandoles Credito Pymes
para darles un fuerte empujon.

?Para quiin esta dirigido el cridito?

Para propietarios y directivos de pequeqas y medianas empresas.

Beneficios del financiamiento para pymes

este cridito cubre las necesidades de cridito de las pequeqas y medianas
empresas para que puedan obtener financiamiento de acuerdo a tus posibilidades
de garantma y de pago.

Beneficios para el usuario:

* Ofrece una forma sencilla y rapida de obtener recursos para la pequeqa y
mediana empresa

* Puede usarse como capital de trabajo o para adquirir activo fijo

* Tramite de integracisn de expediente y asesorma sin costo

* Mzltiples Opciones de financiamiento !Cridito para PYMES de 500 mil M.N.
hasta 10 milones M.N. con inmueble en garantma ante Notario! (la propiedad
no necesariamente se Graba!)

credito para las pymes

Sabemos lo molesto que es requerir dinero con urgencia y verse detenido por la
burocracia o el buro de credito.  podemos otorgarte el cridito tan rapido como
en 48 horas.

No cobramos un peso hasta que usted el Credito PyMES y el dinero esti en su
cuenta

Asm que nuestro compromiso es atender su necesidad de manera PERSONAL e
INMEDIATA en cuanto nos envme los datos requeridos en [2]este sencillo
formulario.

[3]deja tus datos aqui  para empezar hoy.. si no cuando??..

No hay mejor fila que la que NO se hace

?En que te apoya TRAMITEPYMES.COM?

DEJA TUS DATOS EN EL  [4]este sencillo formulario.  Y PIDE TU DIAGNOSTICO PARA
DETERMINAR LA VIABILIDAD DE TU CREDITO PARA TU NEGOCIO ESTI TIENE UN COSTO
REGULAR DE 2500 PESOS.

TRAMITEPYMES TE DA LO DA GRATIS.
NOSOTROS TE FACILITAMOS TODOS LOS TRAMITES QUE HAY QUE HACER, En este caso
Impulsar tu negocio llamanos te ayudamos.. para ver qui te conviene sslo llama
al (55)5593.0903 0 al (55)8421.4131  o escribe a  [5]i...@tramitepymes.com
[6]

[7]deja tus datos aqui  para empezar hoy.. si no cuando??..
___

Algunos OTROS tramites que hacemos son: Visita [8]tramitepymes.com para
cualquier gestisn ante las dependencias mas comunes. Ya sea personal o para
empresas.

Realizamos los tramites en las siguientes dependencias: SAT, IMSS, GDF,
INFONAVIT, SIEM y tesorermas locales, IMPI, tramites vehiculares,
inmobiliarios, [9]Factura Electrsnica. Gestorma con provedores como: TELMEX,
CFE, LUZ, AGUA, TELEFONO, GAS, PREDIAL entre otras. [10]tarjeta circulacion con
chip

[11]Descarga nuestro resumen de Reformas Fiscales 2011 aqum

[12]FACTURA ELECTRSNICA Preguntas Frecuentes
[13]FACTURA ELECTRSNICA CFDI

iR a Codigo de barras bidimensional

EN ELSAT IMSS E INFONAVIT, TESORERIAS LOCALES

Cambio de Domicilio, Apertura de Sucursales, OBTENCION CIDULA FISCAL RFC O
CURP, OBTENCISN REGISTRO DONATARIA AUTORIZADA, 

OpenBGP

2011-02-28 Thread fredrik danerklint
Hi!

I need some help with an configuration of OpenBGP. 

I have four routers that is connected with p-2-p links between each other:

R1 - R2 - R3 - R4

I've only seen networks announced to the nearest router that it is connected 
to.

For example: R1 see R2 but R1 cannot see R3 etc..

There is no other router deamon running on the servers (ie no ospfd).

I think this must be some basic error that I have made.

The configuration files is very basic ie: no filter rules at all and there is 
an allow from any.

All the routers have an uniq router id. All routers announce an uniq network 
that the others don't have.

-- 
//fredan



Re: OpenBGP

2011-02-28 Thread dug
Hi,

 R1 - R2 - R3 - R4

 I've only seen networks announced to the nearest router that it is connected
 to.

 For example: R1 see R2 but R1 cannot see R3 etc..



Do you mean R2 is neighbor to R1 but not R3 or you mean R3 doesn't distribute
to R1 ?



Re: OpenBGP

2011-02-28 Thread Claudio Jeker
On Mon, Feb 28, 2011 at 03:08:05PM +0100, fredrik danerklint wrote:
 Hi!
 
 I need some help with an configuration of OpenBGP. 
 
 I have four routers that is connected with p-2-p links between each other:
 
 R1 - R2 - R3 - R4
 
 I've only seen networks announced to the nearest router that it is connected 
 to.
 
 For example: R1 see R2 but R1 cannot see R3 etc..
 
 There is no other router deamon running on the servers (ie no ospfd).
 
 I think this must be some basic error that I have made.
 
 The configuration files is very basic ie: no filter rules at all and there is 
 an allow from any.
 
 All the routers have an uniq router id. All routers announce an uniq network 
 that the others don't have.
 

If you use the same AS on all 4 routers then you need to full mesh the
four routers (iBGP sessions). Another option would be to use the
route-reflector support. This is how BGP works.

-- 
:wq Claudio



interface not reporting the correct IP address

2011-02-28 Thread Charlie Farinella
I have an interface configured with a primary address and 2 aliases like 
so:

inet   173.xxx.xxx.254   255.255.255.224 NONE
inet alias   173.xxx.xxx.251   255.255.255.255
inet alias   173.xxx.xxx.252   255.255.255.255

If I visit http://www.whatismyip.com I am expecting to constently see it 
report the first (173.xxx.xxx.254) address, but instead it reports any of 
the three addresses.

How can I guarantee that all traffic from this machine is seen as coming 
from the main IP address?

-- 

Charles Farinella 
Appropriate Solutions, Inc. (www.AppropriateSolutions.com)
cfarine...@appropriatesolutions.com
voice: 603.924.6079   fax: 603.924.8668



Re: OpenBGP

2011-02-28 Thread Henning Brauer
* fredrik danerklint fredan-open...@fredan.se [2011-02-28 15:11]:
 Hi!
 
 I need some help with an configuration of OpenBGP. 
 
 I have four routers that is connected with p-2-p links between each other:
 
 R1 - R2 - R3 - R4
 
 I've only seen networks announced to the nearest router that it is connected 
 to.
 
 For example: R1 see R2 but R1 cannot see R3 etc..

that's how BGP works. inside your own AS, the assumptions are
1) every bgp speaker talks to every bgp speaker, or there's a route reflector
2) routing inside the AS is handled by an IGP (e. g. ospf)

 There is no other router deamon running on the servers (ie no ospfd).

well, you'll need one.

-- 
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: network bandwith with em(4)

2011-02-28 Thread Patrick Lamaiziere
Le Sat, 26 Feb 2011 00:23:36 +0900,
Ryan McBride mcbr...@openbsd.org a icrit :

How about a _full_ dmesg, so someone can take a wild guess at
what your machine is capable of?
  
  full dmesg : http://user.lamaiziere.net/patrick/dmesg-open48.txt
  
  The box is a Dell R610 server.
 
 This box should be able to fill a gigabit of regular TCP traffic (1500
 MTU) without any problem. Double-check your testing procedures.

I will test this.
 
 I have some additional comments/questions though:
 
 1) you probably don't want to run bsd.mp on a firewall, it'll hurt you
 more than it helps, unless you have significant CPU-bound userland
 stuff going on, for example antivirus scanning of email.

I've tried with a sp kernel (amd64), does not look to change something.
 
 2) You may get better performance running i386.

I will try, but I do not expect a lot of difference on the IErr rate.
 
 3) Besides the the em driver changes you've mentioned, is the source
 code you're building the kernel clean OPENBSD_4_8 -stable, or
 something else (4.8-current from after the 4.8 release, for example)

It's a clean release 4.8/amd64, with 4.8 erratas applied.

Thanks, regards.



softraid after install

2011-02-28 Thread Chris Bullock
I am trying to install OpenBSD on a box without a CDROM.  After I perform
the install, it will only boot with the CDROM attached.  It doesn't have to
have the CD, just as long as the IDE CD ROM is seen.  I have gone into UKC
and disabled softraid and during boot up, is states softraid is disabled,
then looks for a boot device.  Any help would be appreciated.
Regards,
Chris



Re: network bandwith with em(4)

2011-02-28 Thread Frédéric URBAN

Le 28/02/2011 16:51, Patrick Lamaiziere a icrit :

Le Sat, 26 Feb 2011 00:23:36 +0900,
Ryan McBridemcbr...@openbsd.org  a icrit :


How about a _full_ dmesg, so someone can take a wild guess at
what your machine is capable of?

full dmesg : http://user.lamaiziere.net/patrick/dmesg-open48.txt

The box is a Dell R610 server.

This box should be able to fill a gigabit of regular TCP traffic (1500
MTU) without any problem. Double-check your testing procedures.

I will test this.

As i said earlier, almost same setup with bnx(4) instead of em(4) (Dell 
R510 with a single Intel X5660) and we can send at Gigabit full duplex 
with only around 25% interrupt CPU.
It looks like R610 has 4x bnx(4) iface (Broadcom BCM 5709) maybe you can 
try to use them just for testing purpose.

I have some additional comments/questions though:

1) you probably don't want to run bsd.mp on a firewall, it'll hurt you
more than it helps, unless you have significant CPU-bound userland
stuff going on, for example antivirus scanning of email.

I've tried with a sp kernel (amd64), does not look to change something.


2) You may get better performance running i386.

I will try, but I do not expect a lot of difference on the IErr rate.


3) Besides the the em driver changes you've mentioned, is the source
code you're building the kernel clean OPENBSD_4_8 -stable, or
something else (4.8-current from after the 4.8 release, for example)

It's a clean release 4.8/amd64, with 4.8 erratas applied.

Thanks, regards.




Re: OpenBGP

2011-02-28 Thread fredrik danerklint
mendagen den 28 februari 2011 15.15.21 skrev  Claudio Jeker:
 On Mon, Feb 28, 2011 at 03:08:05PM +0100, fredrik danerklint wrote:
  Hi!
  
  I need some help with an configuration of OpenBGP.
  
  I have four routers that is connected with p-2-p links between each
  other:
  
  R1 - R2 - R3 - R4
  
  I've only seen networks announced to the nearest router that it is
  connected to.
  
  For example: R1 see R2 but R1 cannot see R3 etc..
  
  There is no other router deamon running on the servers (ie no ospfd).
  
  I think this must be some basic error that I have made.
  
  The configuration files is very basic ie: no filter rules at all and
  there is an allow from any.
  
  All the routers have an uniq router id. All routers announce an uniq
  network that the others don't have.
 
 If you use the same AS on all 4 routers then you need to full mesh the
 four routers (iBGP sessions). Another option would be to use the
 route-reflector support. This is how BGP works.

Fair enough.

I have now tested to use three different AS number on the routers so they all 
act like eBGP in between them (I have in this test skipped router R4).

Only router R2 sees everything. R1 see what R2 announce but not R3 and the 
same is true for router R3 that it can't see what R1 announce.

Still, it must be something obviously that I have missed with this 
configuration for OpenBGP shall work in a configuration like this?

-- 
//fredan



Re: OpenBGP

2011-02-28 Thread fredrik danerklint
mendagen den 28 februari 2011 16.22.10 skrev  Henning Brauer:
 * fredrik danerklint fredan-open...@fredan.se [2011-02-28 15:11]:
  Hi!
  
  I need some help with an configuration of OpenBGP.
  
  I have four routers that is connected with p-2-p links between each
  other:
  
  R1 - R2 - R3 - R4
  
  I've only seen networks announced to the nearest router that it is
  connected to.
  
  For example: R1 see R2 but R1 cannot see R3 etc..
 
 that's how BGP works. inside your own AS, the assumptions are
 1) every bgp speaker talks to every bgp speaker, or there's a route
 reflector 2) routing inside the AS is handled by an IGP (e. g. ospf)

I have seems to missed this with BGP but now dived into presentations about 
BGP to learn more about this (that I need some type of a mesh network inside 
my AS to achieve what I would like to do).

 
  There is no other router deamon running on the servers (ie no ospfd).
 
 well, you'll need one.

Well, ospf6d is so broken that it can't be used in a production environment.

Since IPv6 is so important for me as a Internet Service Provider I have to 
come up with something to solve my needs

-- 
//fredan



Re: Radeon HD 4850 and drmRadeonCmdBuffer: -22.

2011-02-28 Thread Pascal Stumpf
On Thu, Feb 24, 2011 at 10:03:06AM -0500, Joe Snikeris wrote:
 On Thu, Feb 24, 2011 at 3:09 AM, Andy Bradford
 amb-open...@bradfords.org wrote:
 
  Is it going to be possible to get acceleration working with this? If so,
  any pointers?
 
 +1
 

For the record: I've also tried the radeonhd driver instead of radeon.
'glxinfo' reports a lot more GLX Visuals and GLXFBConfigs, OpenGL
version 2.1 instead of 1.5, but glxgears does not seem any faster
(around 290 FPS). Other applications using GL (supertuxkart ...) still
crash when trying to use hardware acceleration.

For my part, I'd greatly appreciate *any* feedback from graphics people
on this. Is it being worked on? Which component is the culprit (kernel,
xorg driver, Mesa)?



Re: ALIX/current as an Access Point

2011-02-28 Thread Russell

On 02/27/2011 10:25 AM, Joe Snikeris wrote:

On Sun, Feb 27, 2011 at 11:07 AM, Nerius Landysnlan...@gmail.com  wrote:

snip


In general people say that Atheros chips are the best supported (use
the ath driver).


Slightly off topic:

Is anyone using a card with an AR5213 chip?  I've got a Cisco
AIR-PI21AG-A-K9 that I'd love to use to replace my crappy router, but
my machine freezes while booting when it's plugged in.  ath(4)
mentions a bunch of AR5212 cards, but no AR5213 cards.


This is my build.
currently using it as a nat/firewall box.
Was intending to us it as an ap as well.
but, sigh obsd does not like my radios.
and have not been motivated enough to get off my ass
and do somthing about it.

OpenBSD 4.8 (GENERIC) #136: Mon Aug 16 09:06:23 MDT 2010
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by AMD PCS (AuthenticAMD 
586-class) 432 MHz

cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX
real mem  = 133791744 (127MB)
avail mem = 121712640 (116MB)
snip
vr0 at pci0 dev 9 function 0 VIA VT6105M RhineIII rev 0x96: irq 10, 
address 00:0d:b9:12:e0:90
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 
0x004063, model 0x0034
vr1 at pci0 dev 11 function 0 VIA VT6105M RhineIII rev 0x96: irq 12, 
address 00:0d:b9:12:e0:91
ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 
0x004063, model 0x0034

ath0 at pci0 dev 12 function 0 Atheros AR2413 rev 0x01: irq 9
ath0: AR2413 7.8 phy 4.5 rf 5.6, FCC2A*, address 00:80:48:7e:13:be
ath1 at pci0 dev 14 function 0 Atheros AR2413 rev 0x01: irq 11
ath1: AR2413 7.8 phy 4.5 rf 5.6, FCC2A*, address 00:80:48:7e:14:36
snip

So I am still using an old k6-2 400Mhz ps with a ral(4) radio
on 44 that I keep meaning to update.

 OpenBSD 4.4 (GENERIC) #1021: Tue Aug 12 17:16:55 MDT 2008
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD-K6(tm) 3D processor (AuthenticAMD 586-class) 451 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX
real mem  = 267939840 (255MB)
avail mem = 250646528 (239MB)
snip
rl0 at pci0 dev 10 function 0 Realtek 8139 rev 0x10: irq 10, address 
00:e0:7d:c2:0f:87

rlphy0 at rl0 phy 0: RTL internal PHY
em0 at pci0 dev 11 function 0 Intel PRO/1000MT (82541GI) rev 0x00: irq 
5, address 00:0e:0c:72:80:8a
eso0 at pci0 dev 12 function 0 ESS SOLO-1 AudioDrive rev 0x01: ES1946, 
irq 11

eso0: mapping Audio 1 DMA using VC I/O space at 0x90c0
audio0 at eso0
opl0 at eso0: model OPL3
midi0 at opl0: ESO Yamaha OPL3
mpu at eso0 not configured
isa0 at pcib0
isadma0 at isa0
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: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi1 at pcppi0: PC speaker
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 SiS OHCI root hub rev 1.00/1.00 addr 1
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x8, lattimer 0x20
pcmcia0 at cardslot0
biomask f355 netmask f775 ttymask f7ff
mtrr: K6-family MTRR support (2 registers)
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
WARNING: / was not properly unmounted
ral0 at cardbus0 dev 0 function 0 Ralink RT2560 rev 0x01: irq 12, 
address 00:0e:3b:08:45:41

ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525

works great, I have not tried many radios, but...
all my ral based radios have worked (ral, rum)
none of my ath based radios have bees supported.
and my zyd radio delevered corrupted packets.



Setting up a CA and installing generated certificates

2011-02-28 Thread Timothy Legge
Hi all,

Ive been strugeling with setting up a CA on my OpenBSD Box. Ive been trying
to figur out where I've been going wrong over the past 3 or 4 days, and Im
at a loss now.

Im currently running 4.8, and I've been using this rather helpful guide:
www.tumfatig.net/20110103/back-to-the-sea-the-certificate-authority-ca-episode-iv/

I've been able to do everyhting in the various guides that are listed on
that site, save setting up the CA correctly.

I follow the instructions as presented, but I still cant get the dam thing
to work.

I am very happy with the process of generating the certificates, however, Im
not sure how to actually install the dam certs after they have been created
so that I can enable SSL in Apache, Dovecot, OpenLDAP and Postfix.

The only service I have tried to get working so far has been Apache, but
every time I start httpd with -DSSL it tells me that the cert files that I
am linking to are either not present, or empty.

I would love it if someone could possibley clarify the steps needed to
install the cert and key files after the have been generated.

I am of course happy to provide more information to those willing to help,
just let me know what info you need :)

Tim



Re: Radeon HD 4850 and drmRadeonCmdBuffer: -22.

2011-02-28 Thread Tobias Ulmer
On Mon, Feb 28, 2011 at 07:38:27PM +0100, Pascal Stumpf wrote:
 On Thu, Feb 24, 2011 at 10:03:06AM -0500, Joe Snikeris wrote:
  On Thu, Feb 24, 2011 at 3:09 AM, Andy Bradford
  amb-open...@bradfords.org wrote:
  
   Is it going to be possible to get acceleration working with this? If so,
   any pointers?
  
  +1
  
 
 For the record: I've also tried the radeonhd driver instead of radeon.
 'glxinfo' reports a lot more GLX Visuals and GLXFBConfigs, OpenGL
 version 2.1 instead of 1.5, but glxgears does not seem any faster
 (around 290 FPS). Other applications using GL (supertuxkart ...) still
 crash when trying to use hardware acceleration.
 
 For my part, I'd greatly appreciate *any* feedback from graphics people
 on this. Is it being worked on? Which component is the culprit (kernel,
 xorg driver, Mesa)?
 

There is no DRM support for r600 and up in the kernel. Someone first has
to finish his PhD first I believe...
With the current kernel support you get _some_ benefits like xvideo, but
that's about it for the moment.



Re: Radeon HD 4850 and drmRadeonCmdBuffer: -22.

2011-02-28 Thread Pascal Stumpf
On Mon, Feb 28, 2011 at 10:42:08PM +0300, Alexander Polakov wrote:
 * Pascal Stumpf pascal.stu...@cubes.de [110228 21:47]:
  On Thu, Feb 24, 2011 at 10:03:06AM -0500, Joe Snikeris wrote:
   On Thu, Feb 24, 2011 at 3:09 AM, Andy Bradford
   amb-open...@bradfords.org wrote:
   
Is it going to be possible to get acceleration working with this? If so,
any pointers?
   
   +1
   
  
  For the record: I've also tried the radeonhd driver instead of radeon.
  'glxinfo' reports a lot more GLX Visuals and GLXFBConfigs, OpenGL
  version 2.1 instead of 1.5, but glxgears does not seem any faster
  (around 290 FPS). Other applications using GL (supertuxkart ...) still
  crash when trying to use hardware acceleration.
  
  For my part, I'd greatly appreciate *any* feedback from graphics people
  on this. Is it being worked on? Which component is the culprit (kernel,
  xorg driver, Mesa)?
 
 I am not an openbsd dev, but I think this [1] is related.
 
 [1] http://www.mail-archive.com/source-changes@openbsd.org/msg16212.html
 
 -- 
 Alexander Polakov | plhk.ru
 
 

Thanks a lot.



Re: OpenBGP

2011-02-28 Thread fredrik danerklint
mendagen den 28 februari 2011 19.27.28 skrev  fredrik danerklint:
 mendagen den 28 februari 2011 15.15.21 skrev  Claudio Jeker:
  On Mon, Feb 28, 2011 at 03:08:05PM +0100, fredrik danerklint wrote:
   Hi!
   
   I need some help with an configuration of OpenBGP.
   
   I have four routers that is connected with p-2-p links between each
   other:
   
   R1 - R2 - R3 - R4
   
   I've only seen networks announced to the nearest router that it is
   connected to.
   
   For example: R1 see R2 but R1 cannot see R3 etc..
   
   There is no other router deamon running on the servers (ie no ospfd).
   
   I think this must be some basic error that I have made.
   
   The configuration files is very basic ie: no filter rules at all and
   there is an allow from any.
   
   All the routers have an uniq router id. All routers announce an uniq
   network that the others don't have.
  
  If you use the same AS on all 4 routers then you need to full mesh the
  four routers (iBGP sessions). Another option would be to use the
  route-reflector support. This is how BGP works.
 
 Fair enough.
 
 I have now tested to use three different AS number on the routers so they
 all act like eBGP in between them (I have in this test skipped router R4).
 
 Only router R2 sees everything. R1 see what R2 announce but not R3 and the
 same is true for router R3 that it can't see what R1 announce.
 
 Still, it must be something obviously that I have missed with this
 configuration for OpenBGP shall work in a configuration like this?

I did miss the announce all in the neighbour. Now it does work as eBGP in 
between.

-- 
//fredan



Re: Radeon HD 4850 and drmRadeonCmdBuffer: -22.

2011-02-28 Thread Alexander Polakov
* Pascal Stumpf pascal.stu...@cubes.de [110228 21:47]:
 On Thu, Feb 24, 2011 at 10:03:06AM -0500, Joe Snikeris wrote:
  On Thu, Feb 24, 2011 at 3:09 AM, Andy Bradford
  amb-open...@bradfords.org wrote:
  
   Is it going to be possible to get acceleration working with this? If so,
   any pointers?
  
  +1
  
 
 For the record: I've also tried the radeonhd driver instead of radeon.
 'glxinfo' reports a lot more GLX Visuals and GLXFBConfigs, OpenGL
 version 2.1 instead of 1.5, but glxgears does not seem any faster
 (around 290 FPS). Other applications using GL (supertuxkart ...) still
 crash when trying to use hardware acceleration.
 
 For my part, I'd greatly appreciate *any* feedback from graphics people
 on this. Is it being worked on? Which component is the culprit (kernel,
 xorg driver, Mesa)?

I am not an openbsd dev, but I think this [1] is related.

[1] http://www.mail-archive.com/source-changes@openbsd.org/msg16212.html

-- 
Alexander Polakov | plhk.ru



Re: OpenBGP

2011-02-28 Thread Andre Keller
Am 28.02.2011 19:36, schrieb fredrik danerklint:
 Well, ospf6d is so broken that it can't be used in a production environment.

 Since IPv6 is so important for me as a Internet Service Provider I have to 
 come up with something to solve my needs...

Well I use opsf6d in production (for a small setup), when you know what
issues you have to deal with its ok.

To sum up:
 - No LSAs sent for passive interfaces. Patch available on misc/tech
 - opsf6d crashes when ip addresses are added to interfaces or when
interfaces are removed. Patch available on misc/tech
 - opsf6d crashes on ospf6ctl reload. (No that big a deal...)
 - ospf6d does not support stub routes (Would be nice for carp
interfaces - like ospfd does announce the backup routes...)
 - ospf6d does not support multiple areas (AFAIK)

But having this points in mind, it does work okay. (It sure works better
than static routing or stuff like ripng. You might even use quagga I
don't know if its more stable though...)



Re: interface not reporting the correct IP address

2011-02-28 Thread Peter [prive]

 Hi,

I have had the same symptom
You have to use nat or you will have rotating from addresses.

Peter


On 28-Feb-11 15:18, Charlie Farinella wrote:

I have an interface configured with a primary address and 2 aliases like
so:

inet   173.xxx.xxx.254   255.255.255.224 NONE
inet alias   173.xxx.xxx.251   255.255.255.255
inet alias   173.xxx.xxx.252   255.255.255.255

If I visit http://www.whatismyip.com I am expecting to constently see it
report the first (173.xxx.xxx.254) address, but instead it reports any of
the three addresses.

How can I guarantee that all traffic from this machine is seen as coming
from the main IP address?




Re: network bandwith with em(4)

2011-02-28 Thread Daniel Ouellet

OK. Anyway NIC buffers restrict buffered packets number. But the problem
remain: why a (for exemple) dual Xeon E5520@2.27GHz with Intel PRO/1000
(82576) can't route 150kpps without Ierr :-)
http://www.oxymium.net/tmp/core3-dmesg


Just an idea, but may be it very well could have something to do with this:

http://www.openbsd.org/want.html

Specifically this part:

# Intel 82576 SFP and 82580 based Gigabit Ethernet devices for improving 
hardware support in em(4). Needed in Hannover, Germany. Contact 
j...@openbsd.org.


I assume that if the wanted is still there form that chipset based 
network card and you use the same chipset on yours that the support for 
it is not as good as it could be?


Juts a thought, but I sure could well be way off as well.

Food for thought.

Best,

Daniel



Re: interface not reporting the correct IP address

2011-02-28 Thread Charlie Farinella
On Monday, February 28, 2011 02:52:07 PM Peter [prive] wrote:
   Hi,
 
 I have had the same symptom
 You have to use nat or you will have rotating from addresses.
 
 Peter

I thought I had done that, but a second look showed that to be the 
problem.  Thanks for your help.

 On 28-Feb-11 15:18, Charlie Farinella wrote:
  I have an interface configured with a primary address and 2 aliases
  like so:
  
  inet   173.xxx.xxx.254   255.255.255.224 NONE
  inet alias   173.xxx.xxx.251   255.255.255.255
  inet alias   173.xxx.xxx.252   255.255.255.255
  
  If I visit http://www.whatismyip.com I am expecting to constently see
  it report the first (173.xxx.xxx.254) address, but instead it
  reports any of the three addresses.
  
  How can I guarantee that all traffic from this machine is seen as
  coming from the main IP address?

-- 

Charles Farinella 
Appropriate Solutions, Inc. (www.AppropriateSolutions.com)
cfarine...@appropriatesolutions.com
voice: 603.924.6079   fax: 603.924.8668



Re: network bandwith with em(4)

2011-02-28 Thread fredrik danerklint
mendagen den 28 februari 2011 23.00.10 skrev  Daniel Ouellet:
  OK. Anyway NIC buffers restrict buffered packets number. But the problem
  remain: why a (for exemple) dual Xeon E5520@2.27GHz with Intel PRO/1000
  (82576) can't route 150kpps without Ierr :-)
  http://www.oxymium.net/tmp/core3-dmesg
 
 Just an idea, but may be it very well could have something to do with this:
 
 http://www.openbsd.org/want.html
 
 Specifically this part:
 
 # Intel 82576 SFP and 82580 based Gigabit Ethernet devices for improving
 hardware support in em(4). Needed in Hannover, Germany. Contact
 j...@openbsd.org.

I've sent an 4-port network card (Intel NIC I340-T4 (82580 ethernet chipset)) 
to jsg which he did received 2011-01-18. 

-- 
//fredan



�jra a legnagyobb tartalommal jelentkez�nk!

2011-02-28 Thread Anna
Szia!

\vegtigris 3, Csak szexre kellesz, Zvld darazs --- TVLTHETU,
SZINKRONOSAN!

Az oldal cmme: http://premier.x3m-host.com/

Nalunk megtalalod a premier filmeket, kivals minusigben!
Rengeteg premier film!
Premier is HD Filmek, Zenik, Jatikok is nem utolss sorban Hacker cuccok!
Mindez egy helyen! Latogass el hozzank!!!

Az oldal cmme: http://premier.x3m-host.com/



USB devices not detected on boot / recent 4.9 snapshot

2011-02-28 Thread peters
Hi,

using a recent snapshot of 4.9, some USB devices are no longer
attached on boot. They used to be detected/attached automatically
in OpenBSD 4.8.

The dmesg outputs attached below show how my KORG nanokontrol midi
controller gets attached in 4.8 but is completely ignored in the
recent snapshot.

After booting, if I disconnect/reconnect it, the device LED lights
up shortly, then turns off again (no console output).

If I then connect it to a different port, it gets attached and works
normally. Afterwards, when connected to the original port again, it
works as well.

- DMESG 4.8 -
OpenBSD 4.8 (GENERIC.MP) #359: Mon Aug 16 09:16:26 MDT 2010
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Atom(TM) CPU N270 @ 1.60GHz (GenuineIntel 686-class) 1.60 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,xTPR,PDCM,MOVBE
real mem  = 1061449728 (1012MB)
avail mem = 1034100736 (986MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 03/06/09, SMBIOS rev. 2.6 @ 0xe91f0 (42 
entries)
bios0: vendor Intel Corp. version JT94510H.86A.0025.2009.0306.1639 date 
03/06/2009
bios0: Intel Corporation D945GSEJT
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG SSDT SSDT SSDT
acpi0: wakeup devices P0P2(S4) PEGP(S4) USB0(S3) USB1(S3) USB2(S3) USB3(S3) 
EHCI(S3) MC97(S4) P0P1(S4) PS2K(S3) PS2M(S3) UAR1(S3) UAR2(S3) P0P4(S4) 
P0P5(S4) P0P6(S4) PWRB(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 133MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Atom(TM) CPU N270 @ 1.60GHz (GenuineIntel 686-class) 1.60 GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,xTPR,PDCM,MOVBE
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 5 (P0P1)
acpiprt3 at acpi0: bus 1 (P0P4)
acpiprt4 at acpi0: bus 2 (P0P5)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpibtn0 at acpi0: PWRB
acpivideo0 at acpi0: IGD_
acpivout0 at acpivideo0: DD01
acpivout1 at acpivideo0: DD02
acpivout2 at acpivideo0: DD03
acpivout3 at acpivideo0: DD04
bios0: ROM list: 0xc/0xec00! 0xcf000/0x1000
cpu0: Enhanced SpeedStep 1597 MHz: speeds: 1600, 1333, 1067, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82945GME Host rev 0x03
vga1 at pci0 dev 2 function 0 Intel 82945GME 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 0xd000, size 0x1000
inteldrm0 at vga1: apic 2 int 16 (irq 11)
drm0 at inteldrm0
Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: apic 2 int 
16 (irq 11)
azalia0: codecs: Realtek ALC662
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02
pci1 at ppb0 bus 1
re0 at pci1 dev 0 function 0 Realtek 8168 rev 0x03: RTL8168D/8111D (0x2800), 
apic 2 int 16 (irq 11), address 00:27:0e:01:8f:99
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02
pci3 at ppb2 bus 3
ppb3 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x02
pci4 at ppb3 bus 4
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 2 int 23 
(irq 10)
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 2 int 19 
(irq 11)
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 2 int 18 
(irq 7)
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 2 int 16 
(irq 11)
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 2 int 23 
(irq 10)
ehci0: timed out waiting for BIOS
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb4 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2
pci5 at ppb4 bus 5
ichpcib0 at pci0 dev 31 function 0 Intel 82801GBM LPC rev 0x02: PM disabled
pciide0 at pci0 dev 31 function 1 Intel 82801GB IDE rev 0x02: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
pciide0: channel 0 disabled (no drives)
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 31 function 2 Intel 82801GBM SATA rev 0x02: DMA, channel 
0 configured to native-PCI, channel 1 configured to native-PCI
pciide1: using apic 2 int 19 (irq 11) for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: WDC WD1600BEVT-00ZCT0
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6

Re: Radeon HD 4850 and drmRadeonCmdBuffer: -22.

2011-02-28 Thread Greg Jones

On 02/28/11 15:16, Tobias Ulmer wrote:

On Mon, Feb 28, 2011 at 07:38:27PM +0100, Pascal Stumpf wrote:

On Thu, Feb 24, 2011 at 10:03:06AM -0500, Joe Snikeris wrote:

On Thu, Feb 24, 2011 at 3:09 AM, Andy Bradford
amb-open...@bradfords.org  wrote:

Is it going to be possible to get acceleration working with this? If so,
any pointers?

+1


For the record: I've also tried the radeonhd driver instead of radeon.
'glxinfo' reports a lot more GLX Visuals and GLXFBConfigs, OpenGL
version 2.1 instead of 1.5, but glxgears does not seem any faster
(around 290 FPS). Other applications using GL (supertuxkart ...) still
crash when trying to use hardware acceleration.

For my part, I'd greatly appreciate *any* feedback from graphics people
on this. Is it being worked on? Which component is the culprit (kernel,
xorg driver, Mesa)?


There is no DRM support for r600 and up in the kernel. Someone first has
to finish his PhD first I believe...
With the current kernel support you get _some_ benefits like xvideo, but
that's about it for the moment.


My 3850 (r600) has DRM support on Current:

vga1 at pci1 dev 0 function 0 ATI Radeon HD 3850 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: apic 2 int 16 (irq 10)
drm0 at radeondrm0



Re: USB devices not detected on boot / recent 4.9 snapshot

2011-02-28 Thread Jacob Meuser
On Mon, Feb 28, 2011 at 11:57:20PM +0100, pet...@schwertfisch.de wrote:
 Hi,
 
 using a recent snapshot of 4.9, some USB devices are no longer
 attached on boot. They used to be detected/attached automatically
 in OpenBSD 4.8.
 
 The dmesg outputs attached below show how my KORG nanokontrol midi
 controller gets attached in 4.8 but is completely ignored in the
 recent snapshot.
 
 After booting, if I disconnect/reconnect it, the device LED lights
 up shortly, then turns off again (no console output).
 
 If I then connect it to a different port, it gets attached and works
 normally. Afterwards, when connected to the original port again, it
 works as well.

can you boot with the following diff and send me the dmesg?  this is
to see if the hub is recognising a device has been inserted.

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

Index: uhub.c
===
RCS file: /cvs/src/sys/dev/usb/uhub.c,v
retrieving revision 1.57
diff -u -p uhub.c
--- uhub.c  25 Jan 2011 20:03:36 -  1.57
+++ uhub.c  28 Feb 2011 23:56:37 -
@@ -593,6 +593,8 @@ uhub_intr(usbd_xfer_handle xfer, usbd_private_handle a
struct uhub_softc *sc = addr;
 
DPRINTFN(5,(uhub_intr: sc=%p\n, sc));
+   printf(%s: %s: %s\n, __func__, sc-sc_dev.dv_xname,
+   usbd_errstr(status));
if (status == USBD_STALLED)
usbd_clear_endpoint_stall_async(sc-sc_ipipe);
else if (status == USBD_NORMAL_COMPLETION)



Re: Radeon HD 4850 and drmRadeonCmdBuffer: -22.

2011-02-28 Thread Tobias Ulmer
On Mon, Feb 28, 2011 at 06:52:43PM -0500, Greg Jones wrote:
 On 02/28/11 15:16, Tobias Ulmer wrote:
 On Mon, Feb 28, 2011 at 07:38:27PM +0100, Pascal Stumpf wrote:
 On Thu, Feb 24, 2011 at 10:03:06AM -0500, Joe Snikeris wrote:
 On Thu, Feb 24, 2011 at 3:09 AM, Andy Bradford
 amb-open...@bradfords.org  wrote:
 Is it going to be possible to get acceleration working with this? If so,
 any pointers?
 +1
 
 For the record: I've also tried the radeonhd driver instead of radeon.
 'glxinfo' reports a lot more GLX Visuals and GLXFBConfigs, OpenGL
 version 2.1 instead of 1.5, but glxgears does not seem any faster
 (around 290 FPS). Other applications using GL (supertuxkart ...) still
 crash when trying to use hardware acceleration.
 
 For my part, I'd greatly appreciate *any* feedback from graphics people
 on this. Is it being worked on? Which component is the culprit (kernel,
 xorg driver, Mesa)?
 
 There is no DRM support for r600 and up in the kernel. Someone first has
 to finish his PhD first I believe...
 With the current kernel support you get _some_ benefits like xvideo, but
 that's about it for the moment.
 
 My 3850 (r600) has DRM support on Current:
 
 vga1 at pci1 dev 0 function 0 ATI Radeon HD 3850 rev 0x00
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 radeondrm0 at vga1: apic 2 int 16 (irq 10)
 drm0 at radeondrm0
 

No, not really. The bits that handle the instructions mesa sends to the
kernel are not in yet (*packet* functions iirc). Instructions for a r600
end up in the r300*packet* function and get rejected.  What works is
some blit stuff (2D) and Xvideo.

On some hw glxinfo will claim to have acceleration, but it will not
work. In that case, software rendering needs to be forced via an env
variable.



Specs for a firewall.

2011-02-28 Thread Timothy Legge
Hi list!

I'm looking to setup my first Open BSD firewall in the near future, and I
was hoping to get a little feedback from you about ideal specs for a first
time machine.

Below is a little about my situation.

I plan to install the firewall physically between my router (Apple Time
Capsule) and my ADSL 2+ Modem so it can filter all traffic sent and received
to the Internet.

As I understand it, I will be running pf to filter the traffic on each of
the NIC's installed, and I would like to install an IDS.
Besides this, Ill only really need to run what ever is nesacery to allow a
secure connection to be established to that machine so I can manage it from
within my network. (Happy to be corrected if I'm wrong, I'm still learning!)

I look forward to reading your advice, and I'm happy to provide any
aditional information.

Tim



Licitaciones Públicas para PEMEX en Cd. de México, Guadalajara y Monterrey, ¡Confirme sus Lugares!

2011-02-28 Thread Emmanuel Pamplona
[IMAGE]

!Inscrmbase Ahora!

!Capacitaciones de valor a un Gran Precio!

!Promociones por pago anticipado y precios preferenciales por grupos!

Solicite Mayores informes, Llamenos al (33) 8851-2365, (33) 8851-2741

Uno de nuestros asesores con gusto le atendera Responda esta invitacisn
con sus datos para enviar el programa completo.

Empresa:

Nombre:

Telifono:

Email:

Nzmero de Interesados:

!Gracias!

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 Repzblica 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 BAJAPEMEX

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



Re: softraid after install

2011-02-28 Thread Nick Holland
On 02/28/11 10:39, Chris Bullock wrote:
 I am trying to install OpenBSD on a box without a CDROM.  After I perform
 the install, it will only boot with the CDROM attached.  It doesn't have to
 have the CD, just as long as the IDE CD ROM is seen.  I have gone into UKC
 and disabled softraid and during boot up, is states softraid is disabled,
 then looks for a boot device.  Any help would be appreciated.
 Regards,
 Chris

Judging from the number of replies, I think it is safe to say we have no
idea what you are talking about.

If your system is not booting without a CDROM drive attached, you have a
system configuration issue, not an OpenBSD issue, nor a softraid issue.

If that's not what you were saying, please provide hard facts of:
* Exactly what you did
* Exactly what you expected to happen
* Exactly what you saw happen.

And read over the appropriate section in FAQ2, please.

What you provided above was interpretations, which were probably at
least partly incorrect.

Nick.



Re: Specs for a firewall.

2011-02-28 Thread Joshua M. Clulow
On 1 March 2011 11:26, Timothy Legge timothyale...@gmail.com wrote:
 I plan to install the firewall physically between my router (Apple Time
 Capsule) and my ADSL 2+ Modem so it can filter all traffic sent and received
 to the Internet.

I use an ALIX 2d13 w/ OpenBSD 4.7 as a firewall/router between ADSL2+,
a wired network and a wireless AP.  It was reasonably cheap and has been
quite reliable.  I think I put a 2GB CF card in it at the time, which is
still mostly unused.

URL:  http://www.pcengines.ch/alix2d13.htm

-- 
Joshua M. Clulow
UNIX Admin/Developer
http://blog.sysmgr.org



Re: Specs for a firewall.

2011-02-28 Thread Bryan
On Mon, Feb 28, 2011 at 18:26, Timothy Legge timothyale...@gmail.com wrote:
 Hi list!

 I'm looking to setup my first Open BSD firewall in the near future, and I
 was hoping to get a little feedback from you about ideal specs for a first
 time machine.

 Below is a little about my situation.

 I plan to install the firewall physically between my router (Apple Time
 Capsule) and my ADSL 2+ Modem so it can filter all traffic sent and received
 to the Internet.


I've been wanting to do this for a long time too...

 As I understand it, I will be running pf to filter the traffic on each of
 the NIC's installed, and I would like to install an IDS.
 Besides this, Ill only really need to run what ever is nesacery to allow a
 secure connection to be established to that machine so I can manage it from
 within my network. (Happy to be corrected if I'm wrong, I'm still learning!)


I've not been all that smart lately, but uh... SSH?

 I look forward to reading your advice, and I'm happy to provide any
 aditional information.

 Tim



Re: Specs for a firewall.

2011-02-28 Thread Nick Holland
On 02/28/11 19:26, Timothy Legge wrote:
 Hi list!
 
 I'm looking to setup my first Open BSD firewall in the near future, and I
 was hoping to get a little feedback from you about ideal specs for a first
 time machine.
 
 Below is a little about my situation.
 
 I plan to install the firewall physically between my router (Apple Time
 Capsule) and my ADSL 2+ Modem so it can filter all traffic sent and received
 to the Internet.

ANYTHING.

 As I understand it, I will be running pf to filter the traffic on each of
 the NIC's installed, and I would like to install an IDS.
 Besides this, Ill only really need to run what ever is nesacery to allow a
 secure connection to be established to that machine so I can manage it from
 within my network. (Happy to be corrected if I'm wrong, I'm still learning!)
 
 I look forward to reading your advice, and I'm happy to provide any
 aditional information.
 
 Tim

Seriously, you can not buy too little hw in a standard platform for
your needs as you describe them.  You would have trouble finding too
little HW sitting on the curb on trash day.

Go grab yourself an old PII or P3 (Celeron will save you a couple
Watts), 64M RAM, a couple PCI NICs, an old HD, and do it.

DO NOT jump on the
Alix/Soekris/Other-wacko-low-power-low-performing-specialty hardware
train until you know what you are doing.  It is good to see that people
aren't automatically recommending Soekris for everything (the answer is
Soekris.  What's your question?) so much anymore... unfortunately, now
it's Alix.  Stick to standard computers until you are really comfortable
with OpenBSD (or ANY OS you are planning on using).

Nick.



Re: Specs for a firewall.

2011-02-28 Thread Hugo Osvaldo Barrera
On 28/02/11 21:26, Timothy Legge wrote:
 Hi list!
 
 I'm looking to setup my first Open BSD firewall in the near future, and I
 was hoping to get a little feedback from you about ideal specs for a first
 time machine.
 
 Below is a little about my situation.
 
 I plan to install the firewall physically between my router (Apple Time
 Capsule) and my ADSL 2+ Modem so it can filter all traffic sent and received
 to the Internet.
 
 As I understand it, I will be running pf to filter the traffic on each of
 the NIC's installed, and I would like to install an IDS.
 Besides this, Ill only really need to run what ever is nesacery to allow a
 secure connection to be established to that machine so I can manage it from
 within my network. (Happy to be corrected if I'm wrong, I'm still learning!)
 
 I look forward to reading your advice, and I'm happy to provide any
 aditional information.
 
 Tim
 


I used an Intel D945GCLF2D for my old home access point, but you can put
a second ethernet interface on it's single PCI if you like.

It's pretty small [1], so I used a Mini-ITX case for it, and that's a
real plus, since I stuffed it somewhere I never needed to see it again.*

That model is outdated now, and there are better ones from Intel, but
small size, low cost, quiet, and energy efficiency are real pros for
this line of mobos.

Downside, is it's got just one PCI.  You should do fine with a single
DDR2 module for a home server/firewall/access point/wharever.


[1] http://www.logicsupply.com/images/photos/mainboard/d945gclf2d_big.jpg

-- 
Hugo Osvaldo Barrera



Dell Netbook i1018

2011-02-28 Thread Matt
Hello All:

I am thinking of purchasing a Dell i1018 netbook and was wondering if anyone
else uses it with OpenBSD 4.8.  If so, I would really appreciate a copy of
the dmesg output.  Dell is being a pain about providing specifics to me.

Thanks,
Matt



Re: Specs for a firewall.

2011-02-28 Thread Joshua M. Clulow
On 1 March 2011 14:11, Nick Holland n...@holland-consulting.net wrote:
 Go grab yourself an old PII or P3 (Celeron will save you a couple
 Watts), 64M RAM, a couple PCI NICs, an old HD, and do it.

 DO NOT jump on the
 Alix/Soekris/Other-wacko-low-power-low-performing-specialty hardware
 train until you know what you are doing.  It is good to see that people
 aren't automatically recommending Soekris for everything (the answer is
 Soekris.  What's your question?) so much anymore... unfortunately, now
 it's Alix.  Stick to standard computers until you are really comfortable
 with OpenBSD (or ANY OS you are planning on using).

Yeah, good point.  If you aren't yet comfortable with serial consoles
(and probably PXE booting) it will be easier to start with a regular,
older computer with a CD drive.  I think the ALIX boards are a good fit
for this type of workload but they certainly bring additional challenges
for newcomers.

--
Joshua M. Clulow
UNIX Admin/Developer
http://blog.sysmgr.org