how to move advskew out of hostname.carpXXX ?

2012-02-13 Thread Илья Шипицин
 Hello!

I'd like to sync /etc/hostname.carpXXX files between MASTER and BACKUP, the
only difference, of course is advskew paramter. Is there a way to specify
it in different config file ?

I seen bug report on fwbuilder (www.fwbuilder.org), which describes
something called create_args_carp0, but I didn't found any other presence
of it:


see #2636
carp : Incorrect output in rc.conf.local format. Should use
create_args_carp0 instead of ifconfig_carp0 to set up CARP interface vhid,
pass and adskew parameters.


Cheers,
Ilya Shipitsin



vpn isakmpd ipsec, one side with only one interface

2012-02-13 Thread Wesley M.
o;?Hi, 

I was using ipsec vpn between 2 OpenBSD Gateway. It worked very
well.

Here : 

---rl0---[fwA]---rl1(internet)-sis1---[fwB
with ftpd]---sis0--- 

Now we remove ftp services from fwB and put it on an
other machine fwC with an internet connection (only one network card). is
it possible to keep a vpn online from fwA and fwC, and so computersA can
reach again ftp using vpn (provided by fwC). Perhaps i need to use vether
on fwC so briged pf ?

Here the old ipsec.conf from fwB:
ike esp from
172.17.2.0/24 to 192.168.0.0/24 peer ip_fwA 
 main auth hmac-sha1 enc
aes-256 group modp1024 
 quick auth hmac-sha1 enc aes-256 group modp1024 

psk demopassword

My idea on fwC : 

add verther0 with : inet
172.17.2.21 255.255.255.0 

Need help ;-) 

Thank you very much. 

Wesley.



Kernel panic on sparc64 when booting with Proxim wireless 802.11b/g card

2012-02-13 Thread Simon Chang
Good morning,

I have a Sun Ultra 5 with 256 MB RAM and 40 GB IDE drive running OpenBSD
5.0-release (no patches).  It is a testing server with no confidential or
sensitive information.  I also have a Proxim Silver 802.11b/g wireless
card that uses the ath0 driver and it has worked flawlessly in the past on
another i386 machine with a generic PCI-to-PCMCIA adapter.

However, when I insert this card and the adapter into the Ultra 5 and boot,
I see the panic that I am sending as attachment.  (I tried to type all this
by hand, but it was too much.)

Keep in mind that this card and the adapter performed flawlessly in another
i386 machine, and the Ultra 5 is otherwise functioning fine as well.

I am also including dmesg/pcidump/acpidump here:

dmesg:
OpenBSD 5.0 (GENERIC) #36: Wed Aug 17 10:13:34 MDT 2011
dera...@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/GENERIC
real mem = 268435456 (256MB)
avail mem = 251781120 (240MB)
mainbus0 at root: Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 333MHz)
cpu0 at mainbus0: SUNW,UltraSPARC-IIi (rev 1.3) @ 333 MHz
cpu0: physical 16K instruction (32 b/l), 16K data (32 b/l), 2048K external
(64 b/l)
psycho0 at mainbus0 addr 0xfffc4000: SUNW,sabre, impl 0, version 0, ign 7c0
psycho0: bus range 0-2, PCI bus 0
psycho0: dvma map c000-dfff
pci0 at psycho0
ppb0 at pci0 dev 1 function 1 Sun Simba PCI-PCI rev 0x13
pci1 at ppb0 bus 1
ebus0 at pci1 dev 1 function 0 Sun PCIO EBus2 rev 0x01
auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003,
72c000-72c003, 72f000-72f003
power0 at ebus0 addr 724000-724003 ivec 0x25
SUNW,pll at ebus0 addr 504000-504002 not configured
sab0 at ebus0 addr 40-40007f ivec 0x2b: rev 3.2
sabtty0 at sab0 port 0: console
sabtty1 at sab0 port 1
comkbd0 at ebus0 addr 3083f8-3083ff ivec 0x29: no keyboard
comms0 at ebus0 addr 3062f8-3062ff ivec 0x2a
wsmouse0 at comms0 mux 0
lpt0 at ebus0 addr 3043bc-3043cb, 30015c-30015d, 70-7f ivec 0x22:
polled
fdthree at ebus0 addr 3023f0-3023f7, 706000-70600f, 72-720003 ivec
0x27 not configured
clock1 at ebus0 addr 0-1fff: mk48t59
flashprom at ebus0 addr 0-f not configured
audioce0 at ebus0 addr 20-2000ff, 702000-70200f, 704000-70400f,
722000-722003 ivec 0x23 ivec 0x24: nvaddrs 0
audio0 at audioce0
hme0 at pci1 dev 1 function 1 Sun HME rev 0x01: ivec 0x7e1, address
08:00:20:a8:17:21
nsphy0 at hme0 phy 1: DP83840 10/100 PHY, rev. 1
machfb0 at pci1 dev 2 function 0 ATI Mach64 rev 0x5c
machfb0: ATY,GT-C, 1152x900
wsdisplay0 at machfb0 mux 1
wsdisplay0: screen 0 added (std, sun emulation)
pciide0 at pci1 dev 3 function 0 CMD Technology PCI0646 rev 0x03: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using ivec 0x7e0 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: IBM-IC35L040AVVA07-0
wd0: 16-sector PIO, LBA, 39266MB, 80418240 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: LG, CD-ROM CRD-8322B, 1.03 ATAPI 5/cdrom
removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
ppb1 at pci0 dev 1 function 0 Sun Simba PCI-PCI rev 0x13
pci2 at ppb1 bus 2
cbb0 at pci2 dev 1 function 0 ENE CB-1410 CardBus rev 0x01: ivec 0x7d0
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0 cacheline 0x40, lattimer 0x20
pcmcia0 at cardslot0
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
bootpath: /pci@1f,0/pci@1,1/ide@3,0/disk@0,0
root on wd0a swap on wd0b dump on wd0b

usbdevs:
usbdevs: no USB controllers found

pcidump:
Domain /dev/pci0:
 0:1:0: Sun Simba PCI-PCI
0x: Vendor ID: 108e Product ID: 5000
0x0004: Command: 0147 Status ID: 02a0
0x0008: Class: 06 Subclass: 04 Interface: 00 Revision: 13
0x000c: BIST: 00 Header Type: 81 Latency Timer: 50 Cache Line Size:
10
0x0010: 
0x0014: 
0x0018: Primary Bus: 0 Secondary Bus: 2 Subordinate Bus: 255
Secondary Latency Timer: 28
0x001c: I/O Base: 00 I/O Limit: 00 Secondary Status: 2280
0x0020: Memory Base:  Memory Limit: 
0x0024: Prefetch Memory Base:  Prefetch Memory Limit: 
0x0028: Prefetch Memory Base Upper 32 Bits: 
0x002c: Prefetch Memory Limit Upper 32 Bits: 
0x0030: I/O Base Upper 16 Bits:  I/O Limit Upper 16 Bits: 
0x0038: Expansion ROM Base Address: 
0x003c: Interrupt Pin: 00 Line: 00 Bridge Control: 0002
0x: 5000108e 02a00147 06040013 00815010
0x0010:   28ff0200 2280
0x0020:    
0x0030:    0002
0x0040:    
0x0050:    
0x0060:    
0x0070:    
0x0080: 

odd checkout behavior from local cvsync repository

2012-02-13 Thread Josh Grosse
I just wonder if this is unusual or abnormal.  For the last few months, my local
repository has not been recursively building working directories with checkout.
 For example:

$ echo $CVSROOT
/cvs
$ cd /tmp
$ cvs get -P ports
cvs checkout: Updating ports
U ports/.cvsignore
U ports/INDEX
U ports/Makefile
U ports/README
$

I used to use the cvsync server at mtu.edu, then when we were asked I switched
to comstyle.com, and now am using anoncvs1.usa.openbsd.org.  This doesn't seem
to make a difference, nor does formatting my repository and starting over.  I
can force recursions with -R.

My cvsync.conf is shown below -- nothing special about it that I can see.  Any
thoughts on what I may have done wrong would be appreciated.



config {
hostname anoncvs1.usa.openbsd.org
compress
collection {
name openbsd-cvsroot release rcs
prefix /cvs
umask 002
}
collection {
name openbsd-src release rcs
prefix /cvs
umask 002
}
collection {
name openbsd-ports release rcs
prefix /cvs
umask 002
}
collection {
name openbsd-xenocara release rcs
prefix /cvs
umask 002
}
collection {
name openbsd-www release rcs
prefix /cvs
umask 002
}
}



Re: odd checkout behavior from local cvsync repository

2012-02-13 Thread Otto Moerbeek
Op 13 feb. 2012 om 17:19 heeft Josh Grosse j...@jggimi.homeip.net het
volgende geschreven:

 I just wonder if this is unusual or abnormal.  For the last few months, my
local
 repository has not been recursively building working directories with
checkout.
 For example:

 $ echo $CVSROOT
 /cvs
 $ cd /tmp
 $ cvs get -P ports
 cvs checkout: Updating ports
 U ports/.cvsignore
 U ports/INDEX
 U ports/Makefile
 U ports/README
 $

 I used to use the cvsync server at mtu.edu, then when we were asked I
switched
 to comstyle.com, and now am using anoncvs1.usa.openbsd.org.  This doesn't
seem
 to make a difference, nor does formatting my repository and starting over.
I
 can force recursions with -R.

Do you have a ~/.cvsrc file?

 -Otto


 My cvsync.conf is shown below -- nothing special about it that I can see.
Any
 thoughts on what I may have done wrong would be appreciated.

 

 config {
hostname anoncvs1.usa.openbsd.org
compress
collection {
name openbsd-cvsroot release rcs
prefix /cvs
umask 002
}
collection {
name openbsd-src release rcs
prefix /cvs
umask 002
}
collection {
name openbsd-ports release rcs
prefix /cvs
umask 002
}
collection {
name openbsd-xenocara release rcs
prefix /cvs
umask 002
}
collection {
name openbsd-www release rcs
prefix /cvs
umask 002
}
}



Re: odd checkout behavior from local cvsync repository

2012-02-13 Thread Josh Grosse
Otto Moerbeek otto at drijf.net writes:

 Do you have a ~/.cvsrc file?

Oh, Otto, thank you very much!  That's my root cause.  I knew I'd shot myself in
the foot, I just wasn't sure exactly where.  :)



Acciones Contundentes para Demandas Laborales, Taller.

2012-02-13 Thread Lic. Luna Rodriguez
[IMAGE]
?Qui hacer ante avisos y notificaciones?.
?Csmo establecer mitricas apropiadas de prevencisn?.
Acciones Preventivas contra las
Demandas Laborales
22 de Febrero, Cd. de Mixico.

Debemos tomar en cuenta que una demanda es el inicio de un juicio
laboral,  la cual se dirige a los miembros de la junta especial de
conciliacisn y arbitraje, ya sea local o federal, en donde el trabajador
quien normalmente es quien promueve, manifiesta su inconformidad con su
patrsn por la vma legal, todo esto representa una gran pirdida de tiempo
y de recursos, este programa desarrolla mecanismos de prevencisn y
proteccisn de su empresa u organizacisn. Aprenda a  ejecutar acciones
contundentes en esta materia.

Si esta informacisn no compete a su area y la considera de valor le
agradecemos compartirla. 

!Reciba la informacisn completa! Por favor responda este e-mail con los
datos siguientes
Empresa
Nombre
Telifono
Email
Nzmero de Interesados
En breve recibira temario, reseqa de expositor y tarifas.
Pms Capacitacisn Efectiva de Mixico es una empresa Registrada ante la
STPS
Trabajamos con expertos en la materia para poder brindar herramientas
tacticas, vanguardistas y de facil aplicacisn.
100% Garantma de Satisfaccisn.
Si lo prefiere comunmquese a los telifonos donde con gusto uno de
nuestros ejecutivos le atendera.
Telifonos: (0133) 8851-2365, (0133) 8851-2741 con mas de 10 lmneas.

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

Copyright (C) 2011, PMS Capacitacisn Efectiva de Mixico  S.C. Derechos
Reservados.
E-Mail MARKETING SERVICE POWERED BY MEDIAMKTOOLS.
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.
ALTO, si en esta ocasisn la informacisn recibida no fue de su interis
pero desea recibir informacisn personalizada en relacisn a otros temas
favor de indicarlo.
Si usted ha recibido este mensaje por error, haga caso omiso de el y de
antemano una sincera disculpa por la molestia, reporte su cuenta
respondiendo este correo con el subject BAJADMD
Unsubscribe to this mailing list, reply a blank message with the subject
UNSUBSCRIBE BAJADMD
Tenga en cuenta que la gestisn de nuestras bases de datos es de suma
importancia para nosotros y no es intencisn de la empresa la
inconformidad del receptor, nuestra intencisn es promover herramientas de
utilidad para el

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
image002.jpg]



dmesg garbage and RTC BIOS diagnostic error on Dell Optiplex 790.

2012-02-13 Thread David Eisner
I just installed OpenBSD 5.0-stable i386 on a brand new Dell Optiplex
790.  I'm running the GENERIC.MP kernel, which I built after updating
to the latest -stable as of this morning.  However, I saw the garbage
even before rebuilding from source (i.e. with the kernel in
install50.iso).

I have two problems that worry me:

1. I see this in dmesg:

RTC BIOS diagnostic error
3fconfig_unit,memory_size,fixed_disk,invalid_time

2. There is garbage in the dmesg output, e.g.:

pci2 at 
phd0\M-X\^F\^X@\M^Wwevnt\^B\^B`(\M-/0v(\M-!0v\^PDh\M-Xx\M^Xv\M-z\^S1\M-H\M-GI\M^G\M-j\M^OC\
M-|\M-BQ\M^V\^A\^B\^B`\^PDh\M-Xx\^Xl\M-[x\240k\M-[xp\M-\M-Xxptal\M-Xction
0 Intel 6 Series USB r
ev 0x04: 
aphd0\M-0\^F\^X@\M^Ww\\\M-3\M-Xx\M^D\M-5\M-Xx\M-d\M-%\M-Xx`\M-\M-Xx`\M-\M-Xxp\M-\M-Xxp\
M-\M-Xxt\M-/\M-XxP\M-0\M-Xx,\M-1\M-Xxd\M-2\M-Xx\^P\M-4\M-Xx\M^X\M-3\M-Xxon
0 Intel 82801BA Hub-to
-PCI rev 0xa4ptal\M-0 ppb2 bus 3


This doesn't give me a warm fuzz feeling.  Should I file a bug report?

Here is the full dmesg output:

ptal\M-Xt acpi0: C3, C2, C1, PSS
acpicpu3 at 
acpphd0\M-X\^F\^X@\M^Wwevnt\^B\^B`(\M-@\^Nv(\M-_\^Mv\^P\^T\^D\M-Xx\M^Xv\M-z\^S1\M-H\M-GI\M^G\M-j\M^OC\M-|\M-BQ\M^V\^A\^B\^B`\^P\^T\^D\M-Xx\^Xg\M-[x\240f\M-[x\240h\M-[xptal\M-X
1800, 1600 MHz
pci0 at mainbus0 bus 0:
phd0\M-X\^F\^X@\M^Wwevnt\^B\^B`(2\^Ov(\M-M\^Nv\^PD\M-_\M-x\M^Xv\M-z\^S1\M-H\M-GI\M^G\M-j\M^OC\M-|\M-BQ\M^V\^A\^B\^B`\^PD\M-_\M-x\^Xh\M-[x\240g\M-[x\240i\M-[xptal\M-X
screen 1-5 added (80x25, vt100
emulatiophd0\M-X\^F\^X@\M^Wwevnt\^B\^B`(\M-:\^Qv(,\^\v\^PD
\M-Xx\M-t\^W\M-Xx\M^Xv\M-z\^S1\M-H\M-GI\M^G\M-j\M^OC\M-|\M-BQ\M^V\^A\^B\^B`\^PD
\M-Xx\M-t\^W\M-Xx\^Xi\M-[x\240h\M-[x\240j\M-[xptal\M-XLM rev 0x04:
msi, address 
d4:be:d9:8d:1phd0\M-X\^F\^X@\M^Wwevnt\^B\^B`(\M-F\^Rv(\M-:\^Qv\^P\M-|\M^_\M-Ax\M^Xv\M-z\^S1\M-H\M-GI\M^G\M-j\M^OC\M-|\M-BQ\M^V\^A\^B\^B`\^P\M-|\M^_\M-Ax\^Xj\M-[x\240i\M-[x\240k\M-[xptal\M-Xries
HD Audio rev 0x04: msi
azalia0: 
cophd0\M-X\^F\^X@\M^Wwevnt\^B\^B`(\M-!0v(l0v\^PW\M-Xx\M^Xv\M-z\^S1\M-H\M-GI\M^G\M-j\M^OC\M-|\M-BQ\M^V\^A\^B\^B`\^PW\M-Xx\^Xk\M-[x\240j\M-[x\240l\M-[xptal\M-Xs
PCIE rev 0xb4: apic 2 int 18
pci2 at 
phd0\M-X\^F\^X@\M^Wwevnt\^B\^B`(\M-/0v(\M-!0v\^PDh\M-Xx\M^Xv\M-z\^S1\M-H\M-GI\M^G\M-j\M^OC\M-|\M-BQ\M^V\^A\^B\^B`\^PDh\M-Xx\^Xl\M-[x\240k\M-[xp\M-\M-Xxptal\M-Xction
0 Intel 6 Series USB rev 0x04:
aphd0\M-0\^F\^X@\M^Ww\\\M-3\M-Xx\M^D\M-5\M-Xx\M-d\M-%\M-Xx`\M-\M-Xx`\M-\M-Xxp\M-\M-Xxp\M-\M-Xxt\M-/\M-XxP\M-0\M-Xx,\M-1\M-Xxd\M-2\M-Xx\^P\M-4\M-Xx\M^X\M-3\M-Xxon
0 Intel 82801BA Hub-to-PCI rev 0xa4ptal\M-0 ppb2 bus 3
pcib0 at pci0 dev 31 function 0 Intel Q65 LPC rev 0x04
ahci0 at 
pcphd0\M-(\^F\^X@\M^WwRUNTSERV\^B\M^H\M^RH\M-kJ03\M-Xx\M^H3\M-Xx\^D4\M-Xx\^\4\M-Xx(\M--\M-Xx\M-,\M-Xx\M^H\^R\M-Xx0\^S\M-Xx\M-4\^S\M-Xx(\^C\M-Xx\M^P\^X\M-Xx\M-t\M-\M-Xx\^L\M-%\M-Xx\\\^T\M-Xxptal\M-(ixed
naa.5000c5003f89cf88
sd0: 238475MB, 512 bytes/sector, 488397168 sectors
sd1 at scsiphd0\M^X\^F\^X@\M^WwIBI
SYST\^Bx\M-!N\^W\M-v(c\M-Lxx\^B\^D\^X\M-u\M^\up\M^_\M-Lx\^X\M-u\M^\u\^P\M^_\M-Lx\^Xn\M-[x\M-p\^Z\M^Ww\^F\^X^\M-[xptal\M^X
targ 2 lun 0: TSSTcorp, DVD-ROM TS-H353C, D100 ATAPI 5/cdrom
removable
ichiic0 at pci0 dev 31 function 3 Intel 6 Series SMBus rev 0x04: apic 2 int 18
iic0 at ichiic0
spdmem0 at iic0 addr 0x53: 2GB DDR3 SDRAM PC3-10600
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 b\^Ae fifoptal\M-h\M^@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
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
uhub2 at uhub0 port 1 Intel product 0x0024 rev 2.00/0.00 addr 2
uhub3 at uhub1 port 1 Intel product 0x0024 rev 2.00/0.00 addr 2
uhidev0 at uhub3 port 2 configuration 1 interface 0 Dell Dell USB
Entry Keyboard rev 1.10/1.15 addr 3
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on sd0a (b0a500a867c9d0a0.a) swap on sd0b dump on sd0b
syncing disks... done
rebooting...
OpenBSD 5.0-stable (GENERIC.MP) #0: Mon Feb 13 07:24:50 EST 2012
r...@sisyphus.umd.edu:/usr/src/sys/arch/i386/compile/GENERIC.MP
RTC BIOS diagnostic error 3fconfig_unit,memory_size,fixed_disk,invalid_time
cpu0: Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz (GenuineIntel
686-class) 3.30 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,XSAVE,AVX
real mem  = 2022690816 (1928MB)
avail mem = 1979523072 (1887MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/24/11, BIOS32 rev. 0 @
0xffa10, SMBIOS rev. 2.6 @ 0xf21e0 (80 entries)
bios0: vendor Dell Inc. version A10 date 11/24/2011
bios0: Dell Inc. OptiPlex 790
acpi0 at bios0: rev 2
acpi0: 

Re: how to move advskew out of hostname.carpXXX ?

2012-02-13 Thread James A. Peltier
Why not just use sed to modify the file before the copy to the backup.  Else, 
you can use puppet templates or some other solution.

- Original Message -
| Hello!
| 
| I'd like to sync /etc/hostname.carpXXX files between MASTER and
| BACKUP, the
| only difference, of course is advskew paramter. Is there a way to
| specify
| it in different config file ?
| 
| I seen bug report on fwbuilder (www.fwbuilder.org), which describes
| something called create_args_carp0, but I didn't found any other
| presence
| of it:
| 
| 
| see #2636
| carp : Incorrect output in rc.conf.local format. Should use
| create_args_carp0 instead of ifconfig_carp0 to set up CARP interface
| vhid,
| pass and adskew parameters.
| 
| 
| Cheers,
| Ilya Shipitsin
| 
| 



Unbound in base

2012-02-13 Thread Björn Ketelaars
Hello,

After some recent discussions [1, 2] on the topic of unbound in base, and
(more important) really liking the idea of an alternative for BIND in base, I
made a start with fitting the different pieces of the puzzle. What is
finished:

1.) Integration of ldns 1.6.12 and unbound 1.4.15 and writing of relevant
Makefile wrappers. Wrapper script also compiles and installs drill;
2.) Testing (read: does it compile and work) on AMD64.

Stuart Henderson had some good remarks on integrating the above [3]. What do
you guys think of the following:

What to do with the BIND tools (dig/host/nslookup)?

Unbound offers drill. From drill.1: The name drill is a pun on dig. With
drill you should be able get even more information than with dig.. Proposal
therefore is to replace the BIND tools with drill.

Do we run unbound-anchor automatically? if so, how do we handle possibly not
having working DNS at that time to resolve data.iana.org
(http://data.iana.org) (http://data.iana.org)?

From unbound-anchor.8 I understand that unbound-anchor can be run from the
command line, or run as part of startup scripts _before_ the actual (unbound)
DNS server is started. So there is no need for DNS. Proposal therefor is to
run unbound-anchor automatically before starting the unbound daemon (rc_pre in
unbound rc-script).



How and when do we automatically generate unbound-control keys? if so, where
should that be done? b

From unbound-control.8: The script unbound-control-setup generates these
control keys in the default run directory. If you change the access control
permissions on the key files you can decide who can use unbound-control. Run
the script under the same username as you have configured in unbound.conf or
as root, so that the daemon is permitted to read the files, for example with:
sudo -u unbound unbound-control-setup. If you have not configured a username
in unbound.conf, the keys need read permission for the user credentials under
which the daemon is started. The script preserves private keys present in the
directory. After running the script as root, turn on control-enable in
unbound.conf.

The unbound-control-script can be called from rc-make_keys(). The knob
'control-enable' can be set as default.

After tar/gzip the source files and Makefile wrappers weigh ~4.6MB. A bit to
large to send to this list. if anyone feels like looking at the workbdo not
hesitate to mail me.

Again, what do you guys think?

Kind regards,

BjC6rn


[1] http://marc.info/?l=openbsd-miscm=132205020820910w=2
[2] http://marc.info/?l=openbsd-techm=132573371521516w=2
[3] http://marc.info/?l=openbsd-miscm=132217547525487w=2



Re: dmesg garbage and RTC BIOS diagnostic error on Dell Optiplex 790.

2012-02-13 Thread Theo de Raadt
 1. I see this in dmesg:
 
 RTC BIOS diagnostic error
 3fconfig_unit,memory_size,fixed_disk,invalid_time

Increasingly common.  Ignore this.

 2. There is garbage in the dmesg output, e.g.:
 
 pci2 at 
 phd0\M-X\^F\^X@\M^Wwevnt\^B\^B`(\M-/0v(\M-!0v\^PDh\M-Xx\M^Xv\M-z\^S1\M-H\M-GI\M^G\M-j\M^OC\
 M-|\M-BQ\M^V\^A\^B\^B`\^PDh\M-Xx\^Xl\M-[x\240k\M-[xp\M-\M-Xxptal\M-Xction
 0 Intel 6 Series USB r
 ev 0x04: 
 aphd0\M-0\^F\^X@\M^Ww\\\M-3\M-Xx\M^D\M-5\M-Xx\M-d\M-%\M-Xx`\M-\M-Xx`\M-\M-Xxp\M-\M-Xxp\
 M-\M-Xxt\M-/\M-XxP\M-0\M-Xx,\M-1\M-Xxd\M-2\M-Xx\^P\M-4\M-Xx\M^X\M-3\M-Xxon
 0 Intel 82801BA Hub-to
 -PCI rev 0xa4ptal\M-0 ppb2 bus 3

These errors are in your earlier boots.  Your machine is corrupting
(during a reboot) or not your memory is very stable during a power
cycle.  As a result, this shows.

The newest boot in the log, though, is clean.



Re: dmesg garbage and RTC BIOS diagnostic error on Dell Optiplex 790.

2012-02-13 Thread David Eisner
On Mon, Feb 13, 2012 at 4:44 PM, Theo de Raadt dera...@cvs.openbsd.org
wrote:
 RTC BIOS diagnostic error
 3fconfig_unit,memory_size,fixed_disk,invalid_time

 Increasingly common.  Ignore this.

 2. There is garbage in the dmesg output, e.g.:
...
 These errors are in your earlier boots.  Your machine is corrupting
 (during a reboot) or not your memory is very stable during a power
 cycle.  As a result, this shows.

 The newest boot in the log, though, is clean.


OK, good to know.  I will forge on, then.

Thanks for the quick reply.

-David



OpenBSD 5.1 - snapshot - bsd.mp only detects one CPU of dual-processor AOpen DX34 Plus board

2012-02-13 Thread Adriaan
Because last year I helped somebody with a 4.4 pf.conf, this machine
had a disk with OpenBSD 4.4 on it.  I copied the bsd.rd of the latest
snapshot to / in order to install the snapshot.
The installer correctly detected a multi-processor machine and thus
installed bsd.mp as bsd kernel

# ls -l /bsd*
-rw-r--r--  1 root  wheel  9013244 Feb 12 12:54 /bsd
-rw-r--r--  1 root  wheel  6427696 Feb 12 12:54 /bsd.rd
-rw-r--r--  1 root  wheel  8993610 Feb 12 12:54 /bsd.sp

This  kernel however fails to detect the second CPU

OpenBSD 5.1 (GENERIC.MP) #187: Sat Feb 11 12:30:14 MST 2012
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel Pentium III (GenuineIntel 686-class) 857 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FXSR,SSE
real mem  = 536342528 (511MB)
avail mem = 517455872 (493MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 02/20/02, BIOS32 rev. 0 @
0xf0230, SMBIOS rev. 2.3 @ 0xfa920 (44 entries)
bios0: vendor AOpen version V4.0 R1.22EN date 02/20/2002
bios0: AOpen DX34 Plus
apm0 at bios0: Power Management spec V1.2
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xf0200/0xb00
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfa290/176 (9 entries)
pcibios0: PCI Interrupt Router at 000:07:0 (VIA VT82C686 ISA rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0xbc00
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 VIA VT82C691 PCI rev 0xc4
viaagp0 at pchb0: v2
agp0 at viaagp0: aperture at 0xe000, size 0x1000
ppb0 at pci0 dev 1 function 0 VIA VT82C598 AGP rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 NVIDIA GeForce2 MX rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0 VIA VT82C686 ISA rev 0x22
pciide0 at pci0 dev 7 function 1 VIA VT82C571 IDE rev 0x10: ATA66,
channel 0 configured to compatibility, channel 1 configured to
compatibility
pciide0: channel 0 disabled (no drives)
wd0 at pciide0 channel 1 drive 1: WDC AC21600H
wd0: 16-sector PIO, LBA, 1549MB, 3173184 sectors
wd0(pciide0:1:1): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 7 function 2 VIA VT83C572 USB rev 0x10: irq 5
viapm0 at pci0 dev 7 function 4 VIA VT82C686 SMBus rev 0x30: SMI
iic0 at viapm0iic0: addr 0x20 01=01 02=02 03=03 04=04 05=05 06=06
07=07 08=08 09=09 0a=0a 0b=0b 0c=0c 0d=0d 0e=0e 0f=0f 10=10 11=11
12=12 13=13 14=14 15=15 16=16 17=17 18=18 19=19 1a=1a 1b=1b 1c=1c
1d=1d 1e=1e 1f=1f 20=20 21=21 22=22 23=23 24=24 25=25 26=26 27=27
28=28 29=29 2a=2a 2b=2b 2c=2c 2d=2d 2e=2e 2f=2f 30=30 31=31 32=32
33=33 34=34 35=35 36=36 37=37 38=38 39=39 3a=3a 3b=3b 3c=3c 3d=3d
3e=3e 3f=3f 41=01 42=02 43=03 44=04 45=05 46=06 47=07 48=08 49=09
4a=0a 4b=0b 4c=0c 4d=0d 4e=0e 4f=0f 50=10 51=11 52=12 53=13 54=14
55=15 56=16 57=17 58=18 59=19 5a=1a 5b=1b 5c=1c 5d=1d 5e=1e 5f=1f
60=20 61=21 62=22 63=23 64=24 65=25 66=26 67=27 68=28 69=29 6a=2a
6b=2b 6c=2c 6d=2d 6e=2e 6f=2f 70=30 71=31 72=32 73=33 74=34 75=35
76=36 77=37 78=38 79=39 7a=3a 7b=3b 7c=3c 7d=3d 7e=3e 7f=3f 81=01
82=02 83=03 84=04 85=05 86=06 87=07 88=08 89=09 8a=0a 8b=0b 8c=0c
8d=0d 8e=0e 8f=0f 90=10 91=11 92=12 93=13 94=14 95=15 96=16 97=17
98=18 99=19 9a=1a 9b=1b 9c=1c 9d=1d 9e=1e 9f=1f a0=20 a1=21 a2=22
a3=23 a4=24 a5=25 a6=26 a7=27 a8=28 a9=29 aa=2a ab=2b ac=2c ad=2d
ae=2e af=2f b0=30 b1=31 b2=32 b3=33 b4=34 b5=35 b6=36 b7=37 b8=38
b9=39 ba=3a bb=3b bc=3c bd=3d be=3e bf=3f c1=01 c2=02 c3=03 c4=04
c5=05 c6=06 c7=07 c8=08 c9=09 ca=0a cb=0b cc=0c cd=0d ce=0e cf=0f
d0=10 d1=11 d2=12 d3=13 d4=14 d5=15 d6=16 d7=17 d8=18 d9=19 da=1a
db=1b dc=1c dd=1d de=1e df=1f e0=20 e1=21 e2=22 e3=23 e4=24 e5=25
e6=26 e7=27 e8=28 e9=29 ea=2a eb=2b ec=2c ed=2d ee=2e ef=2f f0=30
f1=31 f2=32 f3=33 f4=34 f5=35 f6=36 f7=37 f8=38 f9=39 fa=3a fb=3b
fc=3c fd=3d fe=3e ff=3f words 00= 01=0101 02=0202 03=0303 04=0404
05=0505 06=0606 07=0707
iic0: addr 0x24 20=20 21=20 22=20 23=20 24=20 25=20 26=20 27=20 28=20
29=20 2a=20 2b=20 2c=20 2d=20 2e=20 2f=20 30=20 31=20 32=20 33=20
34=20 35=20 36=20 37=20 38=20 39=20 3a=20 3b=20 3c=20 3d=20 3e=20
3f=20 40=40 41=40 42=40 43=40 44=40 45=40 46=40 47=40 48=40 49=40
4a=40 4b=40 4c=40 4d=40 4e=40 4f=40 50=40 51=40 52=40 53=40 54=40
55=40 56=40 57=40 58=40 59=40 5a=40 5b=40 5c=40 5d=40 5e=40 5f=40
60=60 61=60 62=60 63=60 64=60 65=60 66=60 67=60 68=60 69=60 6a=60
6b=60 6c=60 6d=60 6e=60 6f=60 70=60 71=60 72=60 73=60 74=60 75=60
76=60 77=60 78=60 79=60 7a=60 7b=60 7c=60 7d=60 7e=60 7f=60 80=80
81=80 82=80 83=80 84=80 85=80 86=80 87=80 88=80 89=80 8a=80 8b=80
8c=80 8d=80 8e=80 8f=80 90=80 91=80 92=80 93=80 94=80 95=80 96=80
97=80 98=80 99=80 9a=80 9b=80 9c=80 9d=80 9e=80 9f=80 a0=a0 a1=a0
a2=a0 a3=a0 a4=a0 a5=a0 a6=a0 a7=a0 a8=a0 a9=a0 aa=a0 ab=a0 ac=a0
ad=a0 ae=a0 af=a0 b0=a0 b1=a0 b2=a0 b3=a0 b4=a0 b5=a0 b6=a0 b7=a0
b8=a0 b9=a0 ba=a0 bb=a0 bc=a0 bd=a0 be=a0 bf=a0 c0=c0 c1=c0 c2=c0
c3=c0 c4=c0 

Re: the aucat recording studio - stereo panning

2012-02-13 Thread Alexandre H

On Fri, Feb 10, 2012 at 12:05:36AM +0100, Alexandre H wrote:

You'll face other problems preventing you from doing everything with
aucat. First, there's no reverb, which is necessary to create the
spacial feel, volume changes are too abrupt (cause small clicks) and
not real-time.

Implementing pan, effects and smooth parameter changes would bloat
aucat/sndiod. IMO the way to go is to handle processing in small
programs (with a simple record-process-play loop) and keep sndiod
only for routing the signal to the hardware or other programs.

Currently that's the way I handle some effects, I write small programs
that apply effects on the record stream to send the result in
real-time on the play stream. Then I use -mmon to record the result in
a file. Not very flexible, but good enough to test the concept.


If I understand what you are doing, perhaps you have another way.
Noatun doesn't make the deal ?


afaics noatun can't apply effects in real-time and is not very
lightweight.


When I wrote it can apply effects in real-time I meant this :
I play an audio file. While it plays it I can do the following :
I go to the menu Settings and select Effects. I add the effect
Arts::Synth_FREEVERB for example. I hear the audio changing
immediatly as expected. If I change the value of a parameter the
audio change immediatly as expected. I can change the position of the
playing-cursor without audible delay. It's interactive and the audible
audio quality doesn't change (assuming the activity of other parts of
the system doesn't change sufficiently). AFAICS the effect is applied
online. Noatun and Kaffeine can do this real-time.

Sure, this interactive mode has some drawbacks and adding the audio
output recording in a new file will slowdown more or less the whole
process and perhaps decrease the audible audio quality (and if too many
process eat the CPU the real-time will end). At least for this last
reason it's certainly better to use batch mode (1 process offline) with
a command (sox for example) launched from a CLI.

The interactive mode has an obvious advantage : instead of launching
many times the same command with differents values in order to find the
best values, it's certainly easier to use a player with this
real-time capability. This interactive mode is useful not only for
listening music or playing with effects but also for discovering,
experimenting and testing filters (and GUI isn't mandatory, it can be
done in console mode with a keyboard only). This is why I proposed
Noatun (it should exists ligtherweight player with this capability).

I would like to go further on this point, I will stay brief :
An audio editor can use this 2 modes. The user searchs the best values
in interactive mode (without recording) and when he pushs the Save
button, the editor launch in background something like sox with this
values, wich converts the input file and give the output file (batch
mode). The editor has the advantages of this 2 modes without their
drawbacks.

If someone want to develop a new audio filtering editor he can
implement this principle on any player with this real-time capability
instead of developing a new one from scratch. Noatun seems to be a good
candidat. The player with the UI is already done and it works well, so
less work to do.



Re: OpenBSD 5.1 - snapshot - bsd.mp only detects one CPU of dual-processor AOpen DX34 Plus board

2012-02-13 Thread Brynet
On Mon, Feb 13, 2012 at 11:34:59PM +0100, Adriaan wrote:
 ...
 OpenBSD 5.1 (GENERIC.MP) #187: Sat Feb 11 12:30:14 MST 2012
 apm0 at bios0: Power Management spec V1.2
 acpi at bios0 function 0x0 not configured
 ..

 I need the machine right now for testing my new Internet line, but in 
 two or three days, I could install some older snapshots or 5.0 to find 
 out about which time this regression occurred.

 Adriaan

Hmm, your system doesn't have legacy MP tables. You'll need to use acpi
to bootstrap the other processor.

'disable apm' in config(8) or UKC.

-Bryan.



CVS checkout for OPENBSD_5_0 : aborted

2012-02-13 Thread Giridhari
HELO

have tried a cvs checkout of OPENBSD_5_0 several times in the last week or two
and have seen cvs abort:



cvs checkout: Updating src/games/snake
cvs [chckout aborted]: could not chdir to src/games/snake/snake : Not a
directory

Could someone have a look at this please.



Re: CVS checkout for OPENBSD_5_0 : aborted

2012-02-13 Thread Richard Toohey
On 14/02/2012, at 5:01 PM, Giridhari wrote:

 HELO

 have tried a cvs checkout of OPENBSD_5_0 several times in the last week or
two
 and have seen cvs abort:



 cvs checkout: Updating src/games/snake
 cvs [chckout aborted]: could not chdir to src/games/snake/snake : Not a
 directory

 Could someone have a look at this please.

Have you tried Google yet?



Re: CVS checkout for OPENBSD_5_0 : aborted

2012-02-13 Thread Giridhari

I'm not sure what you mean. Are you suggesting I should read up on how to
operate cvs, or is there something specific about CVS and OPenBSD I should
be aware of? I'm following the faq. I have updated several times in the past
with CVS with no trouble at all.

-Original Message- 
From: Richard Toohey

Sent: Tuesday, February 14, 2012 5:15 PM
To: Giridhari
Cc: misc@openbsd.org
Subject: Re: CVS checkout for OPENBSD_5_0 : aborted

On 14/02/2012, at 5:01 PM, Giridhari wrote:


HELO

have tried a cvs checkout of OPENBSD_5_0 several times in the last week or

two

and have seen cvs abort:



cvs checkout: Updating src/games/snake
cvs [chckout aborted]: could not chdir to src/games/snake/snake : Not a
directory

Could someone have a look at this please.

Have you tried Google yet? 



Re: CVS checkout for OPENBSD_5_0 : aborted

2012-02-13 Thread patrick keshishian
On Mon, Feb 13, 2012 at 11:41 PM, Giridhari giridh...@live.com.au wrote:
 I'm not sure what you mean. Are you suggesting I should read up on how to
 operate cvs, or is there something specific about CVS and OPenBSD I should
 be aware of? I'm following the faq. I have updated several times in the past
 with CVS with no trouble at all.

 -Original Message- From: Richard Toohey
 Sent: Tuesday, February 14, 2012 5:15 PM
 To: Giridhari
 Cc: misc@openbsd.org
 Subject: Re: CVS checkout for OPENBSD_5_0 : aborted


 On 14/02/2012, at 5:01 PM, Giridhari wrote:

 HELO

 have tried a cvs checkout of OPENBSD_5_0 several times in the last week or

 two

 and have seen cvs abort:



 cvs checkout: Updating src/games/snake
 cvs [chckout aborted]: could not chdir to src/games/snake/snake : Not a
 directory

$ ls -F src/games/snake/

did you `make build' without `make obj' first?

--patrick



Re: CVS checkout for OPENBSD_5_0 : aborted

2012-02-13 Thread Giridhari

$ ls -F src/games/snake/

did you `make build' without `make obj' first?

--patrick

I'm not sure why I would do that. CVS doesn't build anything. Can you 
explain a bit about why you suggest that? Please excuse me if I don't know 
what you mean.


Giridhari