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

2010-08-11 Thread Edwin Eyan Moragas
Hi Patrick,

On Thu, Aug 12, 2010 at 6:59 AM, patrick keshishian 
wrote:
 i am stupid. the buffer used for the param to dlopen() was truncated.
 expanding it and passing the full absolute path, dlerror() returns
 "Cannot load specified object".

 clues, pointers?
>>>
>>> You can help us by posting the code that does the dlopen()
>>
>>  if (!(h = dlopen("/home/eyan/src/lib/ht", RTLD_LAZY |
>> RTLD_GLOBAL))  ||  !(h = dlsym(h,p))) {
>> printf("%s\n", dlerror());
>> printf("%s\n", buf);
>> return NO;
>>  }
>
> That error indicates that dependent libs of that lib aren't able to get
loaded.
>
> Try setting LD_DEBUG and see if that helps trace down the problem.
>
> --patrick
>

after setting LD_DEBUG, here's the output. (still learning how to read
the following but if not too busy eyes can look at it and point me
nearer to the goal, then it would be great):


e...@obsddev $ ./dbg wiki/main.l lib/too.l -main -go
rtld loading: './bin/picolisp'
exe load offset:  0x0
head ./bin/picolisp
obj ./bin/picolisp has ./bin/picolisp as head
examining: './bin/picolisp'
loading: libc.so.53.1 required by ./bin/picolisp
obj /usr/lib/libc.so.53.1 has ./bin/picolisp as head
loading: libm.so.5.2 required by ./bin/picolisp
obj /usr/lib/libm.so.5.2 has ./bin/picolisp as head
linking dep /usr/lib/libc.so.53.1 as child of ./bin/picolisp
linking dep /usr/lib/libm.so.5.2 as child of ./bin/picolisp
examining: '/usr/lib/libc.so.53.1'
examining: '/usr/lib/libm.so.5.2'
obj /usr/libexec/ld.so has ./bin/picolisp as head
relocation took 0.008299
StartEnd  Type Open Ref GrpRef Name
1c00 3c043000 exe  10   0  ./bin/picolisp
047b9000 247f2000 rlib 01   0  /usr/lib/libc.so.53.1
07968000 27972000 rlib 01   0  /usr/lib/libm.so.5.2
0c40a000 0c40a000 rtld 01   0  /usr/libexec/ld.so
symcache lookups 231 hits 38 ratio 16% hits
dynamic loading done, success.
doing ctors obj 0x7f9462e4 @0x47cb740: [/usr/lib/libc.so.53.1]
doing ctors obj 0x7f9464a4 @0x796a550: [/usr/lib/libm.so.5.2]
entry point: 0x1c0018b8
rtld loading: 'tput'
exe load offset:  0x0
head tput
obj tput has tput as head
examining: 'tput'
loading: libc.so.53.1 required by tput
obj /usr/lib/libc.so.53.1 has tput as head
loading: libcurses.so.11.0 required by tput
obj /usr/lib/libcurses.so.11.0 has tput as head
linking dep /usr/lib/libcurses.so.11.0 as child of tput
linking dep /usr/lib/libc.so.53.1 as child of tput
examining: '/usr/lib/libcurses.so.11.0'
examining: '/usr/lib/libc.so.53.1'
obj /usr/libexec/ld.so has tput as head
relocation took 0.001220
StartEnd  Type Open Ref GrpRef Name
1c00 3c004000 exe  10   0  tput
0f175000 2f186000 rlib 01   0  /usr/lib/libcurses.so.11.0
04c49000 24c82000 rlib 01   0  /usr/lib/libc.so.53.1
0c647000 0c647000 rtld 01   0  /usr/libexec/ld.so
symcache lookups 269 hits 39 ratio 14% hits
dynamic loading done, success.
doing ctors obj 0x879ef49c @0xf17dd10: [/usr/lib/libcurses.so.11.0]
doing ctors obj 0x879ef2dc @0x4c5b740: [/usr/lib/libc.so.53.1]
entry point: 0x1c000c38
doing dtors
doing dtors obj 0x879ef49c @0xf1a28b0: [/usr/lib/libcurses.so.11.0]
doing dtors obj 0x879ef2dc @0x4cd5ae0: [/usr/lib/libc.so.53.1]
rtld loading: 'tput'
exe load offset:  0x0
head tput
obj tput has tput as head
examining: 'tput'
loading: libc.so.53.1 required by tput
obj /usr/lib/libc.so.53.1 has tput as head
loading: libcurses.so.11.0 required by tput
obj /usr/lib/libcurses.so.11.0 has tput as head
linking dep /usr/lib/libcurses.so.11.0 as child of tput
linking dep /usr/lib/libc.so.53.1 as child of tput
examining: '/usr/lib/libcurses.so.11.0'
examining: '/usr/lib/libc.so.53.1'
obj /usr/libexec/ld.so has tput as head
relocation took 0.001263
StartEnd  Type Open Ref GrpRef Name
1c00 3c004000 exe  10   0  tput
08c3a000 28c4b000 rlib 01   0  /usr/lib/libcurses.so.11.0
0e0da000 2e113000 rlib 01   0  /usr/lib/libc.so.53.1
074ca000 074ca000 rtld 01   0  /usr/libexec/ld.so
symcache lookups 269 hits 39 ratio 14% hits
dynamic loading done, success.
doing ctors obj 0x83fb249c @0x8c42d10: [/usr/lib/libcurses.so.11.0]
doing ctors obj 0x83fb22dc @0xe0ec740: [/usr/lib/libc.so.53.1]
entry point: 0x1c000c38
doing dtors
doing dtors obj 0x83fb249c @0x8c678b0: [/usr/lib/libcurses.so.11.0]
doing dtors obj 0x83fb22dc @0xe166ae0: [/usr/lib/libc.so.53.1]
dlopen: loading: lib/ht
head lib/ht
obj lib/ht has lib/ht as head
linking lib/ht as dlopen()ed
head [lib/ht]
examining: 'lib/ht'
loading: libc.so.53.1 required by lib/ht
linking dep /usr/lib/libc.so.53.1 as child of lib/ht
tail lib/ht
./bin/picolisp:lib/ht: undefined symbol 'Nil'
./bin/picolisp:lib/ht: undefined symbol 'Nil'
./bin/picolisp:lib/ht: undefined symbol 'Nil'
./bin/picolisp:lib/ht: undefined symbol 'Nil'
./bin/picolisp:lib/ht: undefined symbol 'Nil'

Re: pci wireless card for AP

2010-08-11 Thread Matt Bettinger
On Wed, Aug 11, 2010 at 10:39 AM, Andres Genovez
 wrote:
> 2010/8/11 Matt Bettinger :
>> I am looking for recommendations on an pci wireless (b/g) card that
>> will do hostap and wpa.  I checked out the HCL and noticed the Zonet
>> 1600 is supported by ral
>>
>
http://www.openbsd.org/cgi-bin/man.cgi?query=ral&apropos=0&sektion=0&manpath=
> OpenBSD+Current&arch=i386&format=html
>>
>> I couldn't find an 1600 but grabbed an 1605 instead with the hopes it
>> would  just work (15.00USD).  It does not,  which is fine.
>>
>> What is a decent high quality card that would be good for making an
>> wireless AP?  I would prefer pci  so I can use different antenna
>> options.
>>
>> re,
>>
>> mb
>>
>>
>
> Hi I was trying to install 3945 ABG INTEL PRO Mini PCI E Wireless Card
> for Hp Dell but it arrived dead, not even the Bios recognize it, so I
> buy another one, hope this one works and I will post the results.
>
> Carpe Diem
>


Returned card and picked up an Hawking  USB HWUG1 with an antenna
cable and modified antenna.  Plugged into an net 5501-70 and
everything loaded up just fine thanks!

# dmesg
OpenBSD 4.7-current (GENERIC) #28: Thu Jun 10 00:17:32 MDT 2010
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD"
586-class) 500 MHz
cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX
real mem  = 536440832 (511MB)
avail mem = 510185472 (486MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 20/71/05, 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 0x31
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:c9:58:d0
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:c9:58:d1
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:c9:58:d2
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:c9:58:d3
ukphy3 at vr3 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
0x004063, model 0x0034
em0 at pci0 dev 14 function 0 "Intel PRO/1000T (82544GC)" rev 0x02:
irq 10, address 00:02:b3:97:1b:87
hifn0 at pci0 dev 17 function 0 "Hifn 7955/7954" rev 0x00: LZS 3DES
ARC4 MD5 SHA1 RNG AES PK, 32KB dram, irq 15
glxpcib0 at pci0 dev 20 function 0 "AMD CS5536 ISA" rev 0x03: rev 3,
32-bit 3579545Hz timer, watchdog, gpio
gpio0 at glxpcib0: 32 pins
pciide0 at pci0 dev 20 function 2 "AMD CS5536 IDE" rev 0x01: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 1: 
wd0: 1-sector PIO, LBA, 7631MB, 15630048 sectors
wd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
ohci0 at pci0 dev 21 function 0 "AMD CS5536 USB" rev 0x02: irq 7,
version 1.0, legacy support
ehci0 at pci0 dev 21 function 1 "AMD CS5536 USB" rev 0x02: irq 7
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
pcppi0 at isa0 port 0x61
midi0 at pcppi0: 
spkr0 at pcppi0
nsclpcsio0 at isa0 port 0x2e/2: NSC PC87366 rev 10: GPIO VLM TMS
gpio1 at nsclpcsio0: 29 pins
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 "AMD OHCI root hub" rev 1.00/1.00 addr 1
biomask 61c7 netmask ffe7 ttymask 
mtrr: K6-family MTRR support (2 registers)
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
rum0 at uhub0 port 1 "Ralink 802.11 bg WLAN" rev 2.00/0.01 addr 2
rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528, address 00:0e:3b:1f:be:75
ehci_idone: ex=0xd144ef00 is done!



Sus Valores y Documentos SEGUROS | Bolsa de Seguridad Inviolable | Industrias Transval

2010-08-11 Thread Industrias Transval S.A.
Si no visualiza imagenes habilitelas en su gestor o vealas en este link.
[http://www.smtp-go.com.ar/smtpgo/display.php?M=1018018&C=4a6b4a3e6932f8d68d183f0398e6941b&S=51&L=25&N=32]

Industrias Transval S.A.  Novedades

Lider Americano en Productos de Seguridad.

Bolsas de Seguridad para Transporte de Valores.

El mC)todo 100% eficaz contra el Hurto.

El 100%  de  los HURTOS   en   lasempresas   es   realizado
por Empleados   o Transportadores INFIELES.

 Luego de aC1os de investigaciC3n   y desarrollo, hemos creado el
 C:nico producto en AmC)rica   de carC!cter INVIOLABLE! COMBATALOS Y
REDUZCA EL PORCENTAJE DE HURTOS EN SU EMPRESA O COMERCIO.

 LC-der en bolsas descartables
 con cierre de cinta evidente
 con grC!fica oculta
 www.industriastransval.com.a
[http://www.smtp-go.com.ar/smtpgo/link.php?M=1018018&N=51&L=32&F=T





UN EFICIENTE CONTROL AL MOMENTO DE TRANSPORTAR...

TRANSPORTE:

VALORES

DOCUMENTACION

CORRESPONDENCIA

CONFIDENCIALES



 QUIENES PUEDEN UTILIZARLO?









EMPRESAS

COMERCIOS

PROFESIONALES

PARTICULARES


 COMO ES LA BOLSA DE SEGURIDAD TRANSVAL?.



 Transval ha desarrollado las C:nicas   Bolsas de Alta Seguridad
Descartables   con sistema de cierre Tamp - Evident.

 Es una Bolsa de Polietileno descartable que cubre las
expectativas de seguridad de nuestros clientes ante la necesidad
 de transportar dinero, valores, correspondencia, elementos
confidenciales, etc.

 AdemC!s de otras caracterC-sticas que hacen a la bolsa totalmente
segura, cuenta con la cinta de pegado revelable.

  MEDIDAS DE SEGURIDAD QUE POSEE.

  IDENTIFICACION "1"


 Cuenta con 3 nC:meros
 secuenciales:

A) En el centro de la bolsa el de mayor tamaC1o, "la cC!mara de seguridad
verificadora lo podrC! leer a distancia".

B) Impreso sobre la cinta de
 seguridad, a los efectos de no ser reemplazada.

C) En el liner (papel que cubre la cinta).
 Sirve como comprobante de envC-o o recepciC3n.



IDENTIFICACION "2"


 Posee 2 filigranas laterales "impresiC3n de seguridad". La
misma cuenta a sus costados con doble soldadura.
 1B: Al Borde de la bolsa y 2B: (reforzada) en el centro de la filigrana
evitando acceder al contenido por medio de cortes (hurto)




IDENTIFICACION "3"


 La bolsa no posee soldadura en   la parte inferior.
 Para evitar el acceso a travC)s
 de ese lugar.
 El material constructivo de estas bolsas (polietileno de baja densidad)
cuenta con extrusiC3n biaxial que  permite una elongaciC3n de la misma de 6
a 1,que evita roturas provocadas por golpes, peso, etc. COMO SE
UTILIZA LA BOLSA DE SEGURIDAD TRANSVAL?.


 Luego de ROTULAR la bolsa y guardar  los valores o la 
documentacion a
  transportar.
 El paso siguiente es retirar el LINER  (papel que recubre la cinta
adhesiva).
 Pegar la cinta adhesiva sellando la bolsa y presionar sobre toda
la superfiecie de la misma para lograr una perfecta adherencia.

IMPORTANTE: Luego de pegar la cinta, la bolsa no podrC!  ser
abierta o usada nuevamente, sea precavido controle bien antes de
cerrar.

Si se intentara la apertura de esta bolsa pretendiendose despegar la
cinta.
 La misma revelarC! una incripciC3n de bVIOLADOb.


 COMO PUEDO ADQUIRIR LAS BOLSAS?.


 COMERCIALIZAMOS NUESTROS PRODUCTOS TANTO AL POR MAYOR COMO AL POR MENOR.

 ATENDEMOS A DISTRIBUIDORES.

OFRECEMOS LA REPRESENTACION DE ESTE NUEVO PRODUCTO EN EL INTERIOR Y EN EL
EXTERIOR DEL PAIS.

VENTA MAYORISTA:

 Se pueden producir en distintas medidas con material de color a
elecciC3n, colocar cC3digo de barras ademC!s de su numeraciC3n
secuencial e imprimir  segC:n las necesidades del
usuario.Cantidades mC-nimas, al respecto  las mismas estC!n
sujetas a las medidas de la bolsa; aproximadamente de 6.000 y 10.000
unidades

VENTA MINORISTA:

 Color del material: Gris plata (no traslucido)
 IdentificaciC3n: Con numeraciC3n secuencial
 Cantidad de nC:meros en la bolsa: 3
 ImpresiC3n: Con instructivo de uso e indicaciones de despacho.

 Medidas de las bolsas: Contamos con dos medidas genC)ricas

TamaC1o chico: 24.50 x 31 cms.TamaC1o Grande: 31.50 x 42 cms.La venta
mC-nima es de 100 unidades.



Nuestros telC)fonos: (54 11) 4524-3013/ 2976
 Email: vent...@industriastransval.com.ar
[mailto:vent...@industriastransval.com.ar?subject=contacto desde el
Newsletter]
 Web: www.industriastransval.com.ar
[http://www.smtp-go.com.ar/smtpgo/link.php?M=1018018&N=51&L=33&F=T]
[http://www.smtp-go.com.ar/smtpgo/link.php?M=1018018&N=51&L=33&F=T]



Industrias Transval S.A. | Av. TomC!s A. Le BretC3n 4948 (Altura Congreso
al 4800) | Ciudad AutC3noma de Buenos Aires | C1431BQR | Argentina

Si no desea recibir mC!s informaciC3n de nuestros productos o servicios ,
haga click aquC-
[http://www.smtp-go.com.ar/smtpgo/unsubscribe.php?M=1018018&C=4a6b4a3e6932f8d68d183f0398e6941b&L=25&N=51].

Open Letter (Plea for Medical Help/Assistance) to World Leaders Part 2 of 2

2010-08-11 Thread Mr. Teo En Ming (Zhang Enming)

Dear Sir/Madam,

RE: Open Letter (Plea for Medical Help/Assistance) to World Leaders

I have uploaded photos, videos, and audios of myself, scanned images of 
my ECG Graphs, laboratory blood test reports, X-Ray films and medical 
documents to Facebook (Facebook account: Teo En Ming (Zhang Enming)) and 
other preferred multimedia sharing sites. Hopefully, my online accounts, 
including Facebook, will not be compromised by my antagonists. I hope 
that the content (text, video, and audio) in my data sharing sites will 
remain fully intact without unauthorized alteration,  modification, and 
deletion by my adversaries. And hopefully nobody will close my Facebook 
account without my authorization and consent either.


I am exceedingly concerned that I might have heart/coronary artery 
disease and that it might be in the late stages.


My physical symptoms are:

1) Aching in the upper left of my chest since beginning January 2009 90% 
of the time, sometimes it may migrate to the right side

2) Shortness of breath from time to time
3) Palpitations in the last few days (I can feel my heart beat very hard 
and irregularly)

4) Muscle aches in the hands and legs, sometimes my hands(palms) will cramp
5) Involuntary movement of fingers/thumbs occasionally
6) Facial spasms occasionally
7) Sometimes I will feel my body "vibrating" anywhere from head to toe
8) When I tried to feel the pulses on my wrists, the pulses will 
"disappear" after a while. This is contrary to what doctors, nurses, and 
others have been telling me. That my pulses are consistent.
9) Sometimes when I am just about to fall asleep, I will get a sudden 
jerk or have a feeling that I am falling or my heart is going to pop out

10) giddiness/dizziness/light-headedness from time to time
11) Sometimes I will feel weak after just waking up, especially in the 
hands

12) discomfort at the back of my head from time to time

I have visited many doctors at Accidents and Emergency (A&E) departments 
of many general hospitals here but they all try to brush me off and tell 
me I am fine. My request for Magnetic Resonance Imaging (MRI) for the 
brain and (more specifically the) heart is usually declined. It seems 
that the doctors are stalling for time, dragging and delaying until 
maybe it is too late to do anything for me. I have been unemployed since 
1st October 2009 and have depleted all my personal savings.


In May 2009, which is just last year only, I have done a MIBI heart 
perfusion study (radioisotope IV + gamma camera) and the 
cardiologist/heart specialist told me I have NO heart/coronary artery 
disease (even though I have high cholesterol and it could be managed). 
LVEF was 64% and MIBI was negative for ischemic at Stage 2 Bruce (as at 
21st May 2009). How could it then have progressed, from NO heart/artery 
disease to the above-mentioned physical symptoms, in such a very short 
period of time?! This is all very very very strange. Could it be some 
other problem instead? Heart/coronary artery disease takes many many 
years to develop.


As you can observe, I am nowhere as obese as Moses Lim, a Singaporean 
Mediacorp TV actor.

References, photos, and videos of Moses Lim:
(1) http://en.wikipedia.org/wiki/Moses_Lim
(2) http://moseslim.com/content/
(3) http://www.xndo.net/moseslim.html
(4) http://www.youtube.com/watch?v=2sHKOiegnS8
Yet he is already 60 years old. I also had a grandmother who was very 
very obese and she was able to live until 60+ years old. There are many 
many people who are far fatter and have far greater builds than me. They 
do not have any physical complaints like mine. Why do I have 
weird/strange physical symptoms like giddiness/dizziness, chest aches, 
muscle aches in the limbs, shortness of breath, hyperventilations, and 
palpitations all of a sudden at 32 years old? Foul play?!?!?!


Could it be that my neighbours have been 
frightening/terrifying/threatening me everyday 24x7 non-stop for the 
past 3-4 years with all sorts of terrible/horrible things that can 
happen to me? Maybe my heart couldn't take the stress under such an 
intensive, constant and prolonged psychological abuse? I have also heard 
them talk about me to various people while I am at home. I think they do 
that purposely. But I have had totally no say at all from start to 
finish because I am not allowed any chance for direct involvement. I am 
being excluded and not given any chance to know anything. They also seem 
to have gathered/amassed a lot of private information about me. I 
seriously wonder how they do that. They appear to be extremely 
resourceful and motivated. There appears to be some intrigue and shroud 
of secrecy around me. These people know all of my online monikers and 
email addresses. They have been submitting online forms using my 
identity and have even attempted to submit password reset instructions 
for me without my knowledge and consent. I actually overheard my 
neighbours claiming to have passwords/complete access to all my email 
a

Open Letter (Plea for Medical Help/Assistance) to World Leaders Part 1 of 2

2010-08-11 Thread Mr. Teo En Ming (Zhang Enming)

My Facebook account: http://www.facebook.com/profile.php?id=10750083982

Scanned documents in the (currently 40) photo albums of my Facebook 
account:

http://www.facebook.com/profile.php?id=10750083982#!/profile.php?id=10750083982&v=photos

==

To: The Linux Community

I am a big fan of Linux. In fact, I am running Fedora 11 x86_64 64-bit 
Linux on my home multimedia desktop tower system. In order to run 
multiple other Linux distributions at the same time without rebooting my 
home personal computer, I am using the open source Xen Type 1 
hypervisor/virtualization solution.


You may check out my work and in-depth technical details on VGA 
Pass-through for add-on PCI-Express x16 graphics card to Xen-based 
Windows XP Home Edition 32-bit guest operating system/HVM domU running 
inside my Fedora 11 64-bit host operating system at the xen-devel (Xen 
developers) mailing list at the following internet links from July to 
November 2009.


July 2009: 
http://lists.xensource.com/archives/html/xen-devel/2009-07/index.html
August 2009: 
http://lists.xensource.com/archives/html/xen-devel/2009-08/index.html
September 2009: 
http://lists.xensource.com/archives/html/xen-devel/2009-09/index.html
October 2009: 
http://lists.xensource.com/archives/html/xen-devel/2009-10/index.html
November 2009: 
http://lists.xensource.com/archives/html/xen-devel/2009-11/index.html


You may also watch High-Definition (HD) videos of Intel VT-d VGA 
Pass-through for PCI-Express x16 graphics card to Windows XP Home 
Edition HVM domU guest operating system at my Youtube account. Please 
visit the following Youtube link to watch my videos:


http://www.youtube.com/user/enmingteo

My works on the open source Xen virtualization Intel VT-d VGA 
pass-through, Building a Rocks HPC Cluster with Xen Hardware Virtual 
Machines (HVM), How to Setup a Virtual Supercomputer Center or HPC 
Cluster using Xen Virtual Machines, and Using Xen Virtualization 
Environment for Development and Testing of Supercomputer and High 
Performance Computing (HPC) Cluster MPICH2 Applications were also listed 
on the official Xen.org website.


http://www.xen.org/support/tutorial.html

Besides running Fedora 11 64-bit Linux as my host operating system (my 
heavily customized Xen Paravirt-Operations Domain 0 or Parent Partition 
in Windows Server 2008 speak with various pv-ops Dom0-patched 
self-compiled kernels), I am also running other Linux distributions like 
Fedora 12 i386 32-bit Linux, FreeBSD amd64 UNIX, openSolaris 64-bit 
UNIX, openSUSE 11.2 Linux, NPACI Rocks HPC Cluster, Slackware64 13.0 
64-bit Linux, and Ubuntu 9.10 Linux, either as para-virtualized (PV), or 
fully virtualized guest operating systems/domU. Non-*NIX operating 
systems like Windows XP, Windows Vista, and Windows 7 have to be run as 
Hardware Virtual Machines (HVM) under a Xen pv-ops Dom0 Linux operating 
system.


You may want to refer to my picture/screenshot tutorials of installing 
various Linux distributions, UNIX variants like FreeBSD, and UNIX 
operating system openSolaris as virtual machines/guest operating systems 
under a Linux host operating system at my wordpress.com website. Please 
click on the following internet link:


http://enmingteo.wordpress.com/

This is my secondary IT blog.

My primary IT blog is http://teo-en-ming-aka-zhang-enming.blogspot.com/

Since Google Inc. announced the release of the open source 32-bit 
Chromium OS (which is actually a stripped down Ubuntu 9.10-based Linux 
operating system) for netbooks last year, I have made an un-official 
port of chromiumos to the x86_64 64-bit architecture, which I called 
ChromiumOS64 myself. In the later stages of development, I have added 
Jeremy Fitzhardinge's Xen paravirt-ops Dom0 capability to my un-official 
ChromiumOS64 project (ChromiumOS64-Xen). My ChromiumOS64 and 
ChromiumOS64-Xen projects are listed at the official Xen.org website. 
Please visit


http://www.xen.org/community/projects.html

I am also enthusiastic about customizing and compiling my own Linux kernels.

To add basic security to my home personal Linux multimedia computer, I 
have installed the open source Snort Network Intrusion Detection System 
(NIDS) and the open source OSSEC Host Intrusion Detection System (HIDS). 
A basic iptables script is also in force. I am also running s...@home 
(BOINC client) on my Linux PC to contribute to the search for 
extraterrestrials.


And not forgetting that I have compiled Linux from Scratch (LFS) 6.5 
from scratch following the LFS 6.5 Handbook and installed the PacMan 
Package Manager, essentially making it an ArchLinux Linux distribution.


I hope that the above information that I have provided may be useful to you.

==

-

Re: which monitoring do you use (on OpenBSD)

2010-08-11 Thread Brynet
Jiri B. wrote:
> Sorry no flash :)

Hello,

The follow was embedded on the page linked by jdixon, near the bottom
you'll find this:

http://s.omniti.net/video/noit-oscon-demo/flash/playlist.xml

The direct link is inside.

Without flash, manually forging for direct links is part of life..

-Bryan.



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

2010-08-11 Thread patrick keshishian
On Wed, Aug 11, 2010 at 6:54 AM, Edwin Eyan Moragas  wrote:
> Hi David,
>
> CCing misc
>
> On Wed, Aug 11, 2010 at 9:50 PM, David Coppa  wrote:
>> On Wed, Aug 11, 2010 at 3:42 PM, Edwin Eyan Moragas  wrote:
 i'm trying to compile picoLisp on obsd 4.7.

 as suggest i passed an absolute path to dlopen().  dlerror() says
 "File not found".
>>>
>>> i am stupid. the buffer used for the param to dlopen() was truncated.
>>> expanding it and passing the full absolute path, dlerror() returns
>>> "Cannot load specified object".
>>>
>>> clues, pointers?
>>
>> You can help us by posting the code that does the dlopen()
>
>  if (!(h = dlopen("/home/eyan/src/lib/ht", RTLD_LAZY |
> RTLD_GLOBAL))  ||  !(h = dlsym(h,p))) {
> printf("%s\n", dlerror());
> printf("%s\n", buf);
> return NO;
>  }

That error indicates that dependent libs of that lib aren't able to get
loaded.

Try setting LD_DEBUG and see if that helps trace down the problem.

--patrick



Re: ath(4) - Wistron Neweb CM9 weird behavior

2010-08-11 Thread Martin Pelikán
2010/7/29, Chris Cappuccio :
> I bet the IBM ath cards are probably an older chip than AR5413.  Maybe
> AR52xx ?

Yes, mine is 5213. And so are CM9's. The 5413 is only in the Mikrotik AP.

> The ath driver has never worked well with the "newer" stuff in my
> experience.  But these days, even the Atheros "HAL" is BSDL (vs
> binary-only), so it shouldn't be that hard to figure out what the hell needs
> to be done.

Thank you, I'll take a look.

-- 
Martin Pelikan



Re: Random core dumped with gtk+2 packages

2010-08-11 Thread Daniel B.
On Wed, 11 Aug 2010, Ulrich Kahl wrote:

> Am Wed, 11 Aug 2010 02:21:44 + (UTC)
> schrieb "Daniel B."  :
> 
> > Hi misc@,
> > 
> > Recently, I'm having some problems running some packages, specially
> > the ones which use gtk+2, e.g. tagtool, easytag, and not so frequent,
> > with firefox too.
> > 
> > Get this after a few seconds:
> > 
> > $ easytag
> > Abort trap (core dumped)
> > $
> > 
> > I'm running -current. Tried to raise some resources with ulimit but
> > with no luck.
> > 
> > Any clues? Thank you.
> 
> Do you use the utf-8 locale (en_US.UTF-8)?

Yes. But actually it doesn't matter. The dumps occur while reading the 
mp3 files at start in the case of audio/easytag, and when trying to work  
with multiple files in the case of audio/tagtool.

This is why I think it's a common issue.

Thank you.

--
Daniel Bolgheroni 
FEI - Faculdade de Engenharia Industrial
http://www.fei.edu.br

ASCII ribbon campaign ( )
 against HTML e-mail   X
  / \



Re: Dhcp client problem

2010-08-11 Thread wolk
On Wed, 11 Aug 2010 19:08:37 +0200, wolk  wrote:
> I installed openbsd 4.7, during installation i get ip
address(192.168.1.47)
> from my dhcp server ( openbsd 4.3  server ip 192.168.1.203).
> 
> After reboot my new openbsd can't get address from server and i  have in
> daemon log:
> Aug 11 08:08:15 azm dhclient[8483]: DHCPDISCOVER on fxp0 to
255.255.255.255
> port 67 interval 1
> Aug 11 08:08:15 azm dhclient[8483]: DHCPOFFER from 192.168.1.203
> (xx:xx:xx:xx:32:aa)
> 
> In server log:
> Aug 11 16:05:45 foo dhcpd: DHCPDISCOVER from xx:xx:xx:xx:74:45 via fxp0
> Aug 11 16:05:45 foo dhcpd: DHCPOFFER on 192.168.1.47 to xx:xx:xx:xx:74:45
> via fxp0
> 
> When i manual set ip, nameserver, mygate ... all works fine but i need to
> setup a dh client.
> 
> In my dhcpd.conf on server i have :
> host azm  {hardware ethernet   xx:xx:xx:xx:74:45;
> fixed-address 192.168.1.47;
> }
> 
> greetings
> Jacek
dhcp client arch: amd64 openbsd 4.7 
dhcp server arch amd64 openbsd 4.3

dhclient.conf - standard  file - nothing changed. (i try remove all lines
but without positive effect) 

hostname.fxp0 - one line 
dhcp

greetings
Jacek

-- 
--
System poczty na jablko.one.pl



Re: OpenBSD performance numbers

2010-08-11 Thread James Peltier
- Original Message 

> From: Daniel Melameth 
> To: OpenBSD Mail List 
> Sent: Wed, August 11, 2010 12:42:13 PM
> Subject: Re: OpenBSD performance numbers
> 
> On Wed, Aug 11, 2010 at 12:12 PM, James Peltier
>   wrote:
> > Hello fellow OpenBSD'ers.
> >
> > I would just like to  share some information with the list about our new
> > firewall/bridge and  perhaps get some input as to where I might be able to
> look
> > to squeeze  some additional performance improvements.  I must say though,  I
> am
> > very impressed with the performance improvements of  networking/PF in the
> > snapshots.
> >
> > Parameters:
> >  ===
> > bridge: OpenBSD 4.8-BETA (snapshot Aug 5,  2010)
> 
> ...
> 
> > So as can be seen here we are seeing data transfer  rates of between 85 and
> > 90MBps.  Pretty impressive for an first  pass, untweaked configuration.
> >
> > However, there are some  "unfortunates".  During these tests the system was
> > running at  between 80 and 95% interrupt, with the inverse being idle. This
> > means  that either there are some tweaks that I can add to counteract the
> >  interrupts, perhaps a tweak for interrupt mitigation, or that the  hardware
> > is currently not able to handle more than a single gigabit link  running at
> > full capacity.  In any case I would like to know what  the developers see if
> > better hardware would help as well as any  performance tweaks that may help.
> >
> > These "unfortunates" are not  really "bad news".  The box is certainly up to
> > the task of dealing  with our network traffic.  Some tweaking may help and
> > for a first  pass test it is a good baseline to work from and understand
> > where the  bottlenecks are.
> 
> I imagine you'll see better performance if you do not  use OpenBSD as a
> bridge.
> 
> 

 
I am aware of the limitations of OpenBSDs bridge code.  However, OpenBSD is 
often in this position and sometimes you just don't have a choice, so posting 
numbers for OpenBSD in this mode of operation in the hopes of getting tweaks, 
good ideas or in general the code fixed for this role is always good.  Just 
trying to make the project better. ;)


---
James A. Peltier james_a_pelt...@yahoo.ca



Re: Random core dumped with gtk+2 packages

2010-08-11 Thread Tobias Ulmer
On Wed, Aug 11, 2010 at 02:21:44AM +, Daniel B. wrote:
> Hi misc@,
> 
> Recently, I'm having some problems running some packages, specially the 
> ones which use gtk+2, e.g. tagtool, easytag, and not so frequent, with 
> firefox too.

Correlation does not imply causation. easytag and the other tag tools
crash lots because the tag libraries they use are PoS. The GTK part of
Firefox is small and unimportant compared to the vast amount of buggy
Mozilla code.

> 
> Get this after a few seconds:
> 
> $ easytag
> Abort trap (core dumped)
> $
> 
> I'm running -current. Tried to raise some resources with ulimit but with 
> no luck.
> 
> Any clues? Thank you.

Run them in gdb and get a backtrace. Then hunt down the error and fix
it.

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

Re: OpenBSD performance numbers

2010-08-11 Thread Daniel Melameth
On Wed, Aug 11, 2010 at 12:12 PM, James Peltier
 wrote:
> Hello fellow OpenBSD'ers.
>
> I would just like to share some information with the list about our new
> firewall/bridge and perhaps get some input as to where I might be able to
look
> to squeeze some additional performance improvements.  I must say though, I
am
> very impressed with the performance improvements of networking/PF in the
> snapshots.
>
> Parameters:
> ===
> bridge: OpenBSD 4.8-BETA (snapshot Aug 5, 2010)

...

> So as can be seen here we are seeing data transfer rates of between 85 and
> 90MBps.  Pretty impressive for an first pass, untweaked configuration.
>
> However, there are some "unfortunates".  During these tests the system was
> running at between 80 and 95% interrupt, with the inverse being idle. This
> means that either there are some tweaks that I can add to counteract the
> interrupts, perhaps a tweak for interrupt mitigation, or that the hardware
> is currently not able to handle more than a single gigabit link running at
> full capacity.  In any case I would like to know what the developers see if
> better hardware would help as well as any performance tweaks that may help.
>
> These "unfortunates" are not really "bad news".  The box is certainly up to
> the task of dealing with our network traffic.  Some tweaking may help and
> for a first pass test it is a good baseline to work from and understand
> where the bottlenecks are.

I imagine you'll see better performance if you do not use OpenBSD as a
bridge.



OpenBSD Vim Programming FAQ

2010-08-11 Thread Tomas Vavrys
I've decided to write Vim Programming FAQ. I'm not an expert and I
would like to start with less content and make it better over time.
However I might offer some practical tips, because I work with OpenBSD
and Vim everyday. As you can see I am not native English speaker so I
will definitely need english correction. I am willing to update it for
a long time. I just need for start one kind person with good english
skills and some tips how to manage code snippets for snipMate.
Community code snippets collection is my first task. I will appreciate
your code snippets which you often use (mail me off-list). A lot of
code snippets is in cvim plugin, but my priority is community and
practical habbits from more people.

--
Tomas Vavrys



Re: OpenBSD performance numbers

2010-08-11 Thread James Peltier
- Original Message 

> From: Christiano F. Haesbaert 
> To: James Peltier 
> Cc: OpenBSD Mail List 
> Sent: Wed, August 11, 2010 12:29:48 PM
> Subject: Re: OpenBSD performance numbers
> 
 
> Could  you perform the same test using tcpbench between two openbsd boxes ?
> 
> I  never had the chance to test it under a heavy load like yours.


Henning made the same request off list.  I'm going to be performing these tests 
later this week.



Re: OpenBSD performance numbers

2010-08-11 Thread James Peltier
- Original Message 

> From: Robert 
> To: misc@openbsd.org
> Sent: Wed, August 11, 2010 12:18:24 PM
> Subject: Re: OpenBSD performance numbers
> 
> On Wed, 11 Aug 2010 11:12:02 -0700 (PDT)
> James Peltier   wrote:
> > I would just like to share some information with the list about  our new 
> > firewall/bridge and perhaps get some input as to where I might  be able to 
>look 
>
> > to squeeze some additional performance  improvements.  I must say though, I 
>am 
>
> > very impressed with the  performance improvements of networking/PF in the 
> > snapshots.
> 
> You  might want to read this:
> https://calomel.org/network_performance.html
> 
> regards,
> Robert

I am already familiar with these works. Thanks. ;)



Re: OpenBSD performance numbers

2010-08-11 Thread Christiano F. Haesbaert
On 11 August 2010 15:12, James Peltier  wrote:
> Hello fellow OpenBSD'ers.
>
> I would just like to share some information with the list about our new
> firewall/bridge and perhaps get some input as to where I might be able to
look
> to squeeze some additional performance improvements.  I must say though, I
am
> very impressed with the performance improvements of networking/PF in the
> snapshots.
>
> Parameters:
> ===
> bridge: OpenBSD 4.8-BETA (snapshot Aug 5, 2010)
> server: CentOS 5.5 w/Updates as of Aug 5, 2010 - head3)
> client: Ubuntu 10.04 w/Updates as of today - buckeye)
>
> iperf options on server/client
> ==
> server:
> ---
> iperf -s
>
> client:
> ---
> for count in 1 2 3 4 5; do iperf -i 1 -t 60 -c head3 && sleep 15; done
>
>
> Transfer indicates the amount of data transferred throughout the duration
of
> the test.  Bandwidth indicates the average bandwidth consumed for the test.
>
> [ ID] Interval   Transfer Bandwidth
> [  1]  0.0-60.0 sec  5.28 GBytes756 Mbits/sec
> [  2]  0.0-60.0 sec  5.20 GBytes744 Mbits/sec
> [  3]  0.0-60.0 sec  5.12 GBytes733 Mbits/sec
> [  4]  0.0-60.0 sec  5.30 GBytes759 Mbits/sec
> [  5]  0.0-60.0 sec  5.08 GBytes727 Mbits/sec
>
> So as can be seen here we are seeing data transfer rates of between 85 and
> 90MBps.  Pretty impressive for an first pass, untweaked configuration.
>
> However, there are some "unfortunates".  During these tests the system was
> running at between 80 and 95% interrupt, with the inverse being idle. This
> means that either there are some tweaks that I can add to counteract the
> interrupts, perhaps a tweak for interrupt mitigation, or that the hardware
> is currently not able to handle more than a single gigabit link running at
> full capacity.  In any case I would like to know what the developers see if
> better hardware would help as well as any performance tweaks that may help.
>
> These "unfortunates" are not really "bad news".  The box is certainly up to
> the task of dealing with our network traffic.  Some tweaking may help and
> for a first pass test it is a good baseline to work from and understand
> where the bottlenecks are.
>
>
>
>  Obligitory Configuration Information:
> ===
>
> # cat /etc/pf.conf
> # See pf.conf(5) for syntax and examples.
> # Remember to set net.inet.ip.forwarding=1 and/or
net.inet6.ip6.forwarding=1
> # in /etc/sysctl.conf if packets are to be forwarded between interfaces.
>
> set skip on lo
>
> # Table definitions
> table  persist
>
> pass  in on vlan300 # to establish keep-state
>
> # block any host deemed for whatever reason to be bad
> block quick from 
>
> pass out on vlan300
>
> # if a host is found to be connecting more than 100 times within 10 minutes
> # add them to bad_hosts table so they can be blocked
> pass in proto tcp to any port ssh keep state \
> (max-src-conn-rate 15/5, overload  flush global)
>
> # By default, do not permit remote connections to X11
> #block in on ! lo0 proto tcp to port 6000:6010
>
>
> # cat /etc/sysctl.conf
> #   $OpenBSD: sysctl.conf,v 1.47 2009/06/09 11:52:54 sthen Exp $
> #
> # This file contains a list of sysctl options the user wants set at
> # boot time.  See sysctl(3) and sysctl(8) for more information on
> # the many available variables.
> #
> net.inet.ip.forwarding=1# 1=Permit forwarding (routing) of IPv4
packets
> #net.inet.ip.mforwarding=1  # 1=Permit forwarding (routing) of IPv4
> multicast packets
> #net.inet.ip.multipath=1# 1=Enable IP multipath routing
> #net.inet.icmp.rediraccept=1# 1=Accept ICMP redirects
> #net.inet6.icmp6.rediraccept=0  # 0=Don't accept IPv6 ICMP redirects
> #net.inet6.ip6.forwarding=1 # 1=Permit forwarding (routing) of IPv6
packets
> #net.inet6.ip6.mforwarding=1# 1=Permit forwarding (routing) of IPv6
> multicast packets
> #net.inet6.ip6.multipath=1  # 1=Enable IPv6 multipath routing
> #net.inet6.ip6.accept_rtadv=1   # 1=Permit IPv6 autoconf (forwarding must be
0)
> #net.inet.tcp.rfc1323=0 # 0=Disable TCP RFC1323 extensions (for if
tcp
> is slow)
> #net.inet.tcp.rfc3390=0 # 0=Disable RFC3390 for TCP window
increasing
> #net.inet.esp.enable=0  # 0=Disable the ESP IPsec protocol
> #net.inet.ah.enable=0   # 0=Disable the AH IPsec protocol
> #net.inet.esp.udpencap=0# 0=Disable ESP-in-UDP encapsulation
> #net.inet.ipcomp.enable=1   # 1=Enable the IPCOMP protocol
> #net.inet.etherip.allow=1   # 1=Enable the Ethernet-over-IP protocol
> #net.inet.tcp.ecn=1 # 1=Enable the TCP ECN extension
> #net.inet.carp.preempt=1# 1=Enable carp(4) preemption
> #net.inet.carp.log=1# 1=Enable logging of carp(4) packets
> #ddb.panic=0# 0=Do not drop into ddb on a kernel panic
> #ddb.console=1  # 1=Permit entry of ddb from the console
> #fs.posix.setuid=0  # 0=Traditional BS

Re: OpenBSD performance numbers

2010-08-11 Thread Robert
On Wed, 11 Aug 2010 11:12:02 -0700 (PDT)
James Peltier  wrote:
> I would just like to share some information with the list about our new 
> firewall/bridge and perhaps get some input as to where I might be able to 
> look 
> to squeeze some additional performance improvements.  I must say though, I am 
> very impressed with the performance improvements of networking/PF in the 
> snapshots.

You might want to read this:
https://calomel.org/network_performance.html

regards,
Robert



OpenBSD performance numbers

2010-08-11 Thread James Peltier
Hello fellow OpenBSD'ers.

I would just like to share some information with the list about our new 
firewall/bridge and perhaps get some input as to where I might be able to look 
to squeeze some additional performance improvements.  I must say though, I am 
very impressed with the performance improvements of networking/PF in the 
snapshots.

Parameters:
===
bridge: OpenBSD 4.8-BETA (snapshot Aug 5, 2010)
server: CentOS 5.5 w/Updates as of Aug 5, 2010 - head3)
client: Ubuntu 10.04 w/Updates as of today - buckeye)

iperf options on server/client
==
server:
---
iperf -s

client:
---
for count in 1 2 3 4 5; do iperf -i 1 -t 60 -c head3 && sleep 15; done


Transfer indicates the amount of data transferred throughout the duration of
the test.  Bandwidth indicates the average bandwidth consumed for the test.

[ ID] Interval   Transfer Bandwidth
[  1]  0.0-60.0 sec  5.28 GBytes756 Mbits/sec
[  2]  0.0-60.0 sec  5.20 GBytes744 Mbits/sec
[  3]  0.0-60.0 sec  5.12 GBytes733 Mbits/sec
[  4]  0.0-60.0 sec  5.30 GBytes759 Mbits/sec
[  5]  0.0-60.0 sec  5.08 GBytes727 Mbits/sec

So as can be seen here we are seeing data transfer rates of between 85 and
90MBps.  Pretty impressive for an first pass, untweaked configuration.

However, there are some "unfortunates".  During these tests the system was
running at between 80 and 95% interrupt, with the inverse being idle. This
means that either there are some tweaks that I can add to counteract the
interrupts, perhaps a tweak for interrupt mitigation, or that the hardware
is currently not able to handle more than a single gigabit link running at
full capacity.  In any case I would like to know what the developers see if
better hardware would help as well as any performance tweaks that may help.

These "unfortunates" are not really "bad news".  The box is certainly up to
the task of dealing with our network traffic.  Some tweaking may help and
for a first pass test it is a good baseline to work from and understand
where the bottlenecks are.



 Obligitory Configuration Information:
===

# cat /etc/pf.conf
# See pf.conf(5) for syntax and examples.
# Remember to set net.inet.ip.forwarding=1 and/or net.inet6.ip6.forwarding=1
# in /etc/sysctl.conf if packets are to be forwarded between interfaces.

set skip on lo

# Table definitions
table  persist

pass  in on vlan300 # to establish keep-state

# block any host deemed for whatever reason to be bad
block quick from 

pass out on vlan300

# if a host is found to be connecting more than 100 times within 10 minutes
# add them to bad_hosts table so they can be blocked
pass in proto tcp to any port ssh keep state \
 (max-src-conn-rate 15/5, overload  flush global)

# By default, do not permit remote connections to X11
#block in on ! lo0 proto tcp to port 6000:6010


# cat /etc/sysctl.conf
#   $OpenBSD: sysctl.conf,v 1.47 2009/06/09 11:52:54 sthen Exp $
#
# This file contains a list of sysctl options the user wants set at
# boot time.  See sysctl(3) and sysctl(8) for more information on
# the many available variables.
#
net.inet.ip.forwarding=1# 1=Permit forwarding (routing) of IPv4 packets
#net.inet.ip.mforwarding=1  # 1=Permit forwarding (routing) of IPv4 
multicast packets
#net.inet.ip.multipath=1# 1=Enable IP multipath routing
#net.inet.icmp.rediraccept=1# 1=Accept ICMP redirects
#net.inet6.icmp6.rediraccept=0  # 0=Don't accept IPv6 ICMP redirects
#net.inet6.ip6.forwarding=1 # 1=Permit forwarding (routing) of IPv6 packets
#net.inet6.ip6.mforwarding=1# 1=Permit forwarding (routing) of IPv6 
multicast packets
#net.inet6.ip6.multipath=1  # 1=Enable IPv6 multipath routing
#net.inet6.ip6.accept_rtadv=1   # 1=Permit IPv6 autoconf (forwarding must be 0)
#net.inet.tcp.rfc1323=0 # 0=Disable TCP RFC1323 extensions (for if tcp 
is slow)
#net.inet.tcp.rfc3390=0 # 0=Disable RFC3390 for TCP window increasing
#net.inet.esp.enable=0  # 0=Disable the ESP IPsec protocol
#net.inet.ah.enable=0   # 0=Disable the AH IPsec protocol
#net.inet.esp.udpencap=0# 0=Disable ESP-in-UDP encapsulation
#net.inet.ipcomp.enable=1   # 1=Enable the IPCOMP protocol
#net.inet.etherip.allow=1   # 1=Enable the Ethernet-over-IP protocol
#net.inet.tcp.ecn=1 # 1=Enable the TCP ECN extension
#net.inet.carp.preempt=1# 1=Enable carp(4) preemption
#net.inet.carp.log=1# 1=Enable logging of carp(4) packets
#ddb.panic=0# 0=Do not drop into ddb on a kernel panic
#ddb.console=1  # 1=Permit entry of ddb from the console
#fs.posix.setuid=0  # 0=Traditional BSD chown() semantics
#vm.swapencrypt.enable=0# 0=Do not encrypt pages that go to swap
#vfs.nfs.iothreads=4# Number of nfsio kernel threads
#net.inet.ip.mtudisc=0  # 0=Disable tcp mtu discovery
#kern.usercrypto=0  

Re: which monitoring do you use (on OpenBSD)

2010-08-11 Thread Jiri B.
On Tue, 10 Aug 2010 18:05:51 -0400
Jason Dixon  wrote:

> http://omniti.com/video/noit-oscon-demo

Sorry no flash :)

Some screenshots should be sufficient for this products, interesting is
there are no screenshots except that architecture picture.

Does it have some event console? So an operator can watch it 24x7 and
see if something goes wrong and do a repair action?

It's nice it can act as snmp trap daemon... A lot of SAN devices have
SNMP and Vmware ESXes can make good monitoring via SNMP as well.

In our enterprise environment we have huge operators centers which
watch 24x7 Tivoli Enteprise Console (yeah, ld shite), but what I
saw is that one can right client on an event and run an action directly
from event console (OK, it is not used at all but nice feature and you
exclude possibility to fuck up something just with a similar but bad
commmand).

jirib



Salut Mon �me

2010-08-11 Thread pelagie . louxamber
Salut Mon Bme .Si aujourd\'hui mon message de
correspondance vous est adressi c\'est parce que
j\'ai voulu avoir plus de relation pour les
ichanges d\'idie, de propos, pour discuter,
dialoguer et que sais je encore surtout si vous
jtes de Afrique, un continent que  jaime
beaucoup.On m\'appelle LOUXAMBER PELAGIE, je suis
canadienne bgie de 30 ans, mais risidant ` Londres
(Angleterre) je suis cilibataire .Je suis diliguie
midicale. Je serai heureuse de savoir que vous
acceptez ma correspondance. Merci de m\'icrire sur
mon adresse Imail pelagie.louxam...@live.fr . Je
vous informe de bien vouloir me faire savoir d\'oy
vous jtes et ravi de vite recevoir vote riponse.
tiliphone: 0044 70 11 17 33 72.



Re: Dhcp client problem

2010-08-11 Thread J Sisson
On Wed, Aug 11, 2010 at 12:08 PM, wolk  wrote:

> I installed openbsd 4.7, during installation i get ip address(192.168.1.47)
>


> After reboot my new openbsd can't get address from server


Same problem here.  I have two machines at home that act the same.
Those machines are running 4.7-sparc64 and 4.8-beta(aug 9)-i386,
respectively.

dhcp servers are: netgear cheap WAP/router and my ISP's dhcp.  Both
of them work with both servers on the ramdisk installer but do not
work on the installed machine.  tcpdump shows the initial request and
initial response from the server, but nothing after that.

At work I am unable to replicate the issue with the Aug 7 snapshot for
amd64...ramdisk and installed machine are fine either way.

Is it possible this is related to ARPCHECK that is performed after receiving
a DHCPOFFER?  I've started looking over dhclient.c but I can't seem to find
a solid block of time to read it in depth.



Re: pci wireless card for AP

2010-08-11 Thread Andres Genovez
2010/8/11 Matt Bettinger :
> I am looking for recommendations on an pci wireless (b/g) card that
> will do hostap and wpa.  I checked out the HCL and noticed the Zonet
> 1600 is supported by ral
>
http://www.openbsd.org/cgi-bin/man.cgi?query=ral&apropos=0&sektion=0&manpath=
OpenBSD+Current&arch=i386&format=html
>
> I couldn't find an 1600 but grabbed an 1605 instead with the hopes it
> would  just work (15.00USD).  It does not,  which is fine.
>
> What is a decent high quality card that would be good for making an
> wireless AP?  I would prefer pci  so I can use different antenna
> options.
>
> re,
>
> mb
>
>

Hi I was trying to install 3945 ABG INTEL PRO Mini PCI E Wireless Card
for Hp Dell but it arrived dead, not even the Bios recognize it, so I
buy another one, hope this one works and I will post the results.

Carpe Diem

--
Atentamente

Andris Genovez Tobar / Sistemas
Elastix ECE - Linux  LPI-1 - Novell CLA - Apple ACMT
http://www.cspmsa.com
ageno...@cspmsa.com

Jabber:  bitfr...@asgard.crice.org
Comunidad: http://www.crice.org



Re: pci wireless card for AP

2010-08-11 Thread Firas Kraiem
On 11/08/2010 17:08, Matt Bettinger wrote:
> I am looking for recommendations on an pci wireless (b/g) card that
> will do hostap and wpa.  I checked out the HCL and noticed the Zonet
> 1600 is supported by ral
> http://www.openbsd.org/cgi-bin/man.cgi?query=ral&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html
> 
> I couldn't find an 1600 but grabbed an 1605 instead with the hopes it
> would  just work (15.00USD).  It does not,  which is fine.
> 
> What is a decent high quality card that would be good for making an
> wireless AP?  I would prefer pci  so I can use different antenna
> options.
> 
> re,
> 
> mb
> 

(Sorry, you'll get this twice, sent it in private by mistake.)

Be very careful about the models listed on the man pages: sometimes the
manufacturers change the chipset on their cards without any notice.  I
like to use ebay to purchase wireless cards: the seller can make a
close-up picture of the card if needed so you know what chip it actually
has.

FWIW, the only PCI card I have is a Conceptronic C54Ri, which works as
advertised.  I bought it 2-ish years ago, though, so I don't know if
they still make them (and if they do, whether or not they still have the
same chip).

Firas



Dhcp client problem

2010-08-11 Thread wolk
I installed openbsd 4.7, during installation i get ip address(192.168.1.47)
from my dhcp server ( openbsd 4.3  server ip 192.168.1.203).

After reboot my new openbsd can't get address from server and i  have in
daemon log:
Aug 11 08:08:15 azm dhclient[8483]: DHCPDISCOVER on fxp0 to 255.255.255.255
port 67 interval 1
Aug 11 08:08:15 azm dhclient[8483]: DHCPOFFER from 192.168.1.203
(xx:xx:xx:xx:32:aa)

In server log:
Aug 11 16:05:45 foo dhcpd: DHCPDISCOVER from xx:xx:xx:xx:74:45 via fxp0
Aug 11 16:05:45 foo dhcpd: DHCPOFFER on 192.168.1.47 to xx:xx:xx:xx:74:45
via fxp0

When i manual set ip, nameserver, mygate ... all works fine but i need to
setup a dh client.

In my dhcpd.conf on server i have :
host azm  {hardware ethernet   xx:xx:xx:xx:74:45;
fixed-address 192.168.1.47;
}

greetings
Jacek

-- 
--
System poczty na jablko.one.pl



pci wireless card for AP

2010-08-11 Thread Matt Bettinger
I am looking for recommendations on an pci wireless (b/g) card that
will do hostap and wpa.  I checked out the HCL and noticed the Zonet
1600 is supported by ral
http://www.openbsd.org/cgi-bin/man.cgi?query=ral&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html

I couldn't find an 1600 but grabbed an 1605 instead with the hopes it
would  just work (15.00USD).  It does not,  which is fine.

What is a decent high quality card that would be good for making an
wireless AP?  I would prefer pci  so I can use different antenna
options.

re,

mb



Re: UTF-8

2010-08-11 Thread Paul Stoeber
Matthew Szudzik wrote (2010-08-05 19:50:16):
>  http://en.wikipedia.org/wiki/IDN_homograph_attack

Try this in a default 4.7/i386 wscons console:
  printf 'set -x\nnslookup www.AAA.com\nnslookup www.AA\300.com\n' > 1
  less 1
  sh 1

See: sys/dev/ic/pcdisplay_chars.c

Remedy:

#!/bin/sh
# Public domain.
wsfontload -N my /usr/share/misc/pcvtfonts/iso8859-1-euro.816
cat > wsfontuse.c << 'Q'
#include 
#include 
#include 
#include 
int main(int argc, char **argv)
{
struct wsdisplay_font f;
int d;
d = open(argv[1], O_RDWR, 0);
bzero(&f, sizeof f);
strlcpy(f.name, argv[2], WSFONT_NAME_SIZE);
if (ioctl(d, WSDISPLAYIO_USEFONT, &f) == -1)
return 1;
return 0;
}
Q
cc -o wsfontuse wsfontuse.c
for i in /dev/ttyC*; do ./wsfontuse $i my; done



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

2010-08-11 Thread Edwin Eyan Moragas
Hi David,

CCing misc

On Wed, Aug 11, 2010 at 9:50 PM, David Coppa  wrote:
> On Wed, Aug 11, 2010 at 3:42 PM, Edwin Eyan Moragas  wrote:
>>> i'm trying to compile picoLisp on obsd 4.7.
>>>
>>> as suggest i passed an absolute path to dlopen().  dlerror() says
>>> "File not found".
>>
>> i am stupid. the buffer used for the param to dlopen() was truncated.
>> expanding it and passing the full absolute path, dlerror() returns
>> "Cannot load specified object".
>>
>> clues, pointers?
>
> You can help us by posting the code that does the dlopen()

  if (!(h = dlopen("/home/eyan/src/lib/ht", RTLD_LAZY |
RTLD_GLOBAL))  ||  !(h = dlsym(h,p))) {
 printf("%s\n", dlerror());
 printf("%s\n", buf);
 return NO;
  }


the printf()s are mine.  the rest is a snippet from picoLisp.

>
> -dav



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

2010-08-11 Thread Edwin Eyan Moragas
> i'm trying to compile picoLisp on obsd 4.7.
>
> as suggest i passed an absolute path to dlopen().  dlerror() says
> "File not found".

i am stupid. the buffer used for the param to dlopen() was truncated.
expanding it and passing the full absolute path, dlerror() returns
"Cannot load specified object".

clues, pointers?

thank you.


>
> particulars:
>
> compiling looks like:
>
> gcc -c -O2 -m32 -pipe -falign-functions -fomit-frame-pointer
> -fno-strict-aliasing -W -Wimplicit -Wreturn-type -Wunused -Wformat
> -Wuninitialized -Wstrict-prototypes -D_GNU_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_OS='"OpenBSD"' main.c
>
> and the dynamic library is compiled as:
>
> gcc -o ../lib/ht -m32 -shared -export-dynamic ht.o
>
> "ht" is the dynamically loaded library.
>
> what am i missing here? this is the first time i'm dealing with
> dlopen() and company so please be gentle.
>
> thank you to all who responded so far.
>
> /e



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

2010-08-11 Thread Edwin Eyan Moragas
Hi Philip/misc,

On Wed, Aug 11, 2010 at 12:01 AM, Philip Guenther  wrote:
> On Tue, Aug 10, 2010 at 8:41 AM, Edwin Eyan Moragas  wrote:
> actually find the shared object.  If the path you give dlopen()
> doesn't contain a slash, then it will _not_ normally search the
> current directory.  Perhaps you should pass dlopen() an absolute path?

summing up what i have done so far after doing actual work.

i'm trying to compile picoLisp on obsd 4.7.

as suggest i passed an absolute path to dlopen().  dlerror() says
"File not found".

particulars:

compiling looks like:

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

and the dynamic library is compiled as:

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

"ht" is the dynamically loaded library.

what am i missing here? this is the first time i'm dealing with
dlopen() and company so please be gentle.

thank you to all who responded so far.

/e



Re: help on compile/link flags

2010-08-11 Thread Janne Johansson
2010/8/10 Edwin Eyan Moragas 

> On Tue, Aug 10, 2010 at 3:56 PM, David Coppa  wrote:
> > Where's the error?
>
> there is none.


[...]


> the main program (picoLisp) just can't seem to find the
> shared lib.
>
>
so whats the error?

-- 
 To our sweethearts and wives.  May they never meet. -- 19th century toast



probl�me sur votre derni�re facture

2010-08-11 Thread Orange
Banque Postal: retour ? l'accueil

Bonjour,

Cet email a ete envoye pour vous informer que nous ne pouvions pas
traiter votre paiement recent de facture.

Ceci pourrait etre du a l une ou l autre des raisons suivantes:

1. Un changement recent de vos informations personnelles. (par exemple :
adresse de facturation, telephone)

2. Soumission de l information incorrecte pendant le processus de
paiement de facture.

3. Une incapacite de verifier exactement votre option choisie de paiement
due a une erreur interne dans nos processeurs.

En raison de ceci, pour s assurer que votre service n est pas interrompu,
nous vous invitons a confirmer et mettre a jour votre information de
facturation aujourd hui:

Cliquer Ici Pour Une Resolution..

Merci de votre confiance.



Re: which monitoring do you use (on OpenBSD)

2010-08-11 Thread Joachim Schipper
On Tue, Aug 10, 2010 at 07:00:37PM +0200, Martin Schrvder wrote:
> 2010/8/10 Iqigo Ortiz de Urbina :
> > Mainstream open source monitoring is pretty much about munin, cacti,
> > nagios, zabbix. You can make any of these run on openbsd, AFAIK.
> 
> A munin port would be highly appreciated. :-)

net/munin has been present since 4.7.

Joachim

-- 
TFMotD: ssm (4/SPARC64) - Scalable Shared Memory