Re: Audio problems on OpenBSD 5.7

2015-05-13 Thread Alexandre Ratchov
On Wed, May 13, 2015 at 07:19:31AM -0400, Bryan Pimmler wrote:
 On Wed, May 13, 2015 at 2:08 AM, Alexandre Ratchov a...@caoua.org wrote:
  Do you have a disable microphone or disable recording setting
  in the BIOS SETUP? If so, make sure that the
  microphone/recording/whatever is enabled.
 
 The audio device is enabled in the BIOS. Note that cat /dev/urandom 
 /dev/audio initially works and that system bell always works (if the
 device was disabled I suppose they wouldn't).

I was talking about the recording end; by default we use both play
and record if the device supports both.

But, with certain BIOSes the recording end is disabled in a way the
azalia driver keeps detecting recording capability, in turn it
attempts to use it and fails.

Does cat /dev/audio0 /tmp/foo works (produces non-zero length
file)?

Do you have a disable the microphone feature in the BIOS? maybe
in some security section?



Re: OpenBSD 5.7 on HP ProLiant DL360p Gen8

2015-05-13 Thread Thorleif Wiik [BCIX]
Hi,

just remembered, it looks like I didn't had the mentioned timeout issue on
another similar HP ProLiant DL360p Gen8
with OpenBSD 5.5.

By the way, with OpenBSD 5.5 I still had problems with the onboard
Broadcom BCM5719, therefore I used an Intel NIC at that time.
With 5.7  the Broadcom BCM5719 seems to work without any problems.



$ dmesg( another HP ProLiant DL360p Gen8 )



OpenBSD 5.5 (GENERIC.MP) #0: Fri Aug  1 22:48:17 CEST 2014

w...@moon.bcix.de:/usr/src/sys/arch/amd64/compile/GENERIC.MP

real mem = 17127092224 (16333MB)

avail mem = 16662560768 (15890MB)

mainbus0 at root

bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xbfbdb000 (180 entries)

bios0: vendor HP version P71 date 02/10/2014

bios0: HP ProLiant DL360p Gen8

acpi0 at bios0: rev 2

acpi0: sleep states S0 S4 S5

acpi0: tables DSDT FACP SPCR MCFG HPET  SPMI ERST APIC SRAT  BERT
HEST DMAR  PCCT SSDT SSDT SSDT SSDT SSDT SSDT SSDT

acpi0: wakeup devices PCI0(S5) IPT1(S5) IPT2(S5) IPT3(S5) IPT4(S5) IPT5(S5)
IPT6(S5) IPT7(S5) IPT8(S5)

acpitimer0 at acpi0: 3579545 Hz, 24 bits

acpimcfg0 at acpi0 addr 0xc000, bus 0-255

acpihpet0 at acpi0: 14318179 Hz

acpimadt0 at acpi0 addr 0xfee0: PC-AT compat

cpu0 at mainbus0: apid 0 (boot processor)

cpu0: Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz, 1995.47 MHz

cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLI
NE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC

cpu0: 256KB 64b/line 8-way L2 cache

cpu0: smt 0, core 0, package 0

mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges

cpu0: apic clock running at 99MHz

cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE

cpu1 at mainbus0: apid 2 (application processor)

cpu1: Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz, 1995.20 MHz

cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLI
NE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC

cpu1: 256KB 64b/line 8-way L2 cache

cpu1: smt 0, core 1, package 0

cpu2 at mainbus0: apid 4 (application processor)

cpu2: Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz, 1995.20 MHz

cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLI
NE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC

cpu2: 256KB 64b/line 8-way L2 cache

cpu2: smt 0, core 2, package 0

cpu3 at mainbus0: apid 6 (application processor)

cpu3: Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz, 1995.20 MHz

cpu3:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLI
NE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC

cpu3: 256KB 64b/line 8-way L2 cache

cpu3: smt 0, core 3, package 0

cpu4 at mainbus0: apid 8 (application processor)

cpu4: Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz, 1995.20 MHz

cpu4:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLI
NE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC

cpu4: 256KB 64b/line 8-way L2 cache

cpu4: smt 0, core 4, package 0

cpu5 at mainbus0: apid 10 (application processor)

cpu5: Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz, 1995.20 MHz

cpu5:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLI
NE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC

cpu5: 256KB 64b/line 8-way L2 cache

cpu5: smt 0, core 5, package 0

cpu6 at mainbus0: apid 1 (application processor)

cpu6: Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz, 1995.20 MHz

cpu6:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLI
NE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC

cpu6: 256KB 64b/line 8-way L2 cache

cpu6: smt 1, core 0, package 0

cpu7 at mainbus0: apid 3 (application processor)

cpu7: Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz, 1995.20 MHz

cpu7:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLI
NE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC

cpu7: 256KB 

Re: Audio problems on OpenBSD 5.7

2015-05-13 Thread Bryan Pimmler
On Wed, May 13, 2015 at 2:08 AM, Alexandre Ratchov a...@caoua.org wrote:
 Do you have a disable microphone or disable recording setting
 in the BIOS SETUP? If so, make sure that the
 microphone/recording/whatever is enabled.

The audio device is enabled in the BIOS. Note that cat /dev/urandom 
/dev/audio initially works and that system bell always works (if the
device was disabled I suppose they wouldn't).



Re: offtopic: political correctness

2015-05-13 Thread Marc Espie
On Fri, May 08, 2015 at 07:34:31PM -0400, dan mclaughlin wrote:
 
 this just reminded me of something from MANY years ago (15+). someone was
 complaining about the jive port (which still exists, ha!) for PC reasons,
 talking about litigation or some such. i loved Theo's response, which was
 run thru jive, and said something similar to People talkin' don't be
 scribblin' no code. (i think his sentiment holds here too!)

Well, you could write a variation on jive that talks south-african english.

Would probably be shockful with priviledge seperation and various other
mispellings Theo has graced us with over the years.



Re: Audio problems on OpenBSD 5.7

2015-05-13 Thread Bryan Pimmler
On Wed, May 13, 2015 at 7:27 AM, Alexandre Ratchov a...@caoua.org wrote:
 Does cat /dev/audio0 /tmp/foo works (produces non-zero length
 file)?

No. However, the type of error depends on what state the system is in
(before or after aucat has been tried).

Immediately after reboot:

$ cat /dev/audio0  /tmp/foo
cat: /dev/audio0: Device not configured

$ cat /dev/urandom  /dev/audio # Results in the expected noise played
on the speakers.
^C

$ aucat -i test.wav # No sound, it just hangs.
^C^C

After the 'aucat' invocation the system appears to be in a different state:

$ cat /dev/audio0 /tmp/foo # Different error message:
cat: /dev/audio0: Device busy

$ cat /dev/urandom  /dev/audio # No noise this time.
-bash: /dev/audio: Device busy

 $ fuser /dev/audio*
/dev/audioctl2:
/dev/audioctl1:
/dev/audioctl0:
/dev/audioctl:
/dev/audio2:
/dev/audio1:
/dev/audio0: 31156
/dev/audio: 31156

$ ps ax | grep 31156
31156 ??  Is 0:00.01 /usr/bin/sndiod
18289 p4  R+  0:00.00 grep 31156

This sequence is perfectly reproducible (after rebooting).

 Do you have a disable the microphone feature in the BIOS? maybe
 in some security section?

There is only one setting to enable/disable the audio device and it is
enabled. (I searched the menus exhaustively, including the security
section.)

In case it matters, the machine is a GB-BXi7-4770R.



Intel Chipset c606 / c612

2015-05-13 Thread Nicolas Gailly
Hello,

I am unable to install OpenBSD on a supermicro server model
http://www.supermicro.com/products/system/1U/6017/SYS-6017R-N3RFT_.cfm.
OpenBSD is unable to detect any disks even though the BIOS does. When try
with 'fdisk /dev/sd0' it says 'Unrecognized Devices'.
 It seems an issue with the chipset .It uses the chipset intel c606.
Also, we wanted to buy more super micro server models :
http://www.supermicro.com/products/system/1u/6018/sys-6018r-tdtpr.cfm
But it doesn't seem to be supported by OpenBSD neither.

Is it planned in a future release ? Or is the c606 actually supported and
the problem is elsewhere ?

Thank you,

Nicolas



route show does not show routes announce by BGP on OpenBSD 5.5 i386

2015-05-13 Thread Motty Cruz
running the command route show does not get the full internet routing 
table as I should. However, if I run bgpctl show rib I get the full 
routing table. Router is routing packets fine, however, I am concern 
that something may be wrong.


any explanation as to why this is happening?

# bgpctl show
Neighbor   ASMsgRcvdMsgSent  OutQ Up/Down 
State/PrfRcvd
level27X32 100853278 0 02:17:31 
532191
level17X32300278 0 
02:17:16  1

gateway2  22X8274272 0 02:15:01  1
gateway1  22X8274272 0 02:15:01  1

#netstat -rn
Routing tables

Internet:
DestinationGatewayFlags   Refs  Use   Mtu Prio Iface
default19.25.16.13 UGS1 8485 - 8 em0
19.25.16.12/30  link#1 UC 10 - 4 em0
19.25.16.13 2c:6b:f5:a4:df:40  UHLc   2  583 - 4 em0
127/8  127.0.0.1  UGRS   00 33192 8 lo0
127.0.0.1  127.0.0.1  UH 10 33192 4 lo0
19.16.26/24   199.96.38.85   UGS0   882702 - 8 em1


Thanks,



Re: route show does not show routes announce by BGP on OpenBSD 5.5 i386

2015-05-13 Thread Claudio Jeker
On Wed, May 13, 2015 at 07:58:12AM -0700, Motty Cruz wrote:
 running the command route show does not get the full internet routing
 table as I should. However, if I run bgpctl show rib I get the full
 routing table. Router is routing packets fine, however, I am concern that
 something may be wrong.
 
 any explanation as to why this is happening?
 
 # bgpctl show
 Neighbor   ASMsgRcvdMsgSent  OutQ Up/Down
 State/PrfRcvd
 level27X32 100853278 0 02:17:31
 532191
 level17X32300278 0 02:17:16
 1
 gateway2  22X8274272 0 02:15:01  1
 gateway1  22X8274272 0 02:15:01  1
 
 #netstat -rn
 Routing tables
 
 Internet:
 DestinationGatewayFlags   Refs  Use   Mtu Prio Iface
 default19.25.16.13 UGS1 8485 - 8 em0
 19.25.16.12/30  link#1 UC 10 - 4 em0
 19.25.16.13 2c:6b:f5:a4:df:40  UHLc   2  583 - 4 em0
 127/8  127.0.0.1  UGRS   00 33192 8 lo0
 127.0.0.1  127.0.0.1  UH 10 33192 4 lo0
 19.16.26/24   199.96.38.85   UGS0   882702 - 8 em1
 

I bet you that the prefixes in bgpctl show rib output are not valid
(marked with a *) and therefore not selected (marked with a ) and so
not put into the rib.

Make sure that the nexthops are valid.
bgpctl show next should give you a list of nexthops and will also tell
you if they are valid. 'bgpctl show fib next' will tell you which routes
are used to validate the nexthops and will again tell you if those are
valid.

In short if the nexthop is not valid then the route is not valid and
therfore the route is not selectable and not imported into the FIB.
-- 
:wq Claudio



Re: bgp sending community string

2015-05-13 Thread Claudio Jeker
On Wed, May 13, 2015 at 10:36:09AM -0700, Motty Cruz wrote:
 trying to send a community string to our neighbor here is my configuration:
 
 # ISP peer 1 announcements only#
 neighbor 19.25.16.13 {
  remote-as   7X32
  descr   level1
  announce all
  set community 7X32:100
 tcp md5sig password passwd2
 }
 
 here is how our neighbor see my router:
 
 KRT in-kernel 19.16.16.0/22 - {19.25.16.14}
 Page 0 idx 0 Type 1 val a4e65a0
 Nexthop: 19.25.16.14
  MED: 0
 Localpref: 300
  AS path: [3XX2] 2XX1 2XX12XX12XX1I
  Communities: 3xx2:2900
 
   I want localpref to be much lower for them. They have configured the 
 community string on their side, however we're not sending that string, 
 I believe my syntax may be wrong.
 
 any ideas?

From bgpd.conf man page:
 set attribute ...
 Set the AS path attributes to some default per neighbor or group
 block:

   set localpref 300

 See also the ATTRIBUTE SET section.  Set parameters are applied
 to the received prefixes; the only exceptions are prepend-self,
 nexthop no-modify and nexthop self.  These sets are rewritten
 into filter rules and can be viewed with ``bgpd -nv''.

So yes, expected behaviour your config is tagging the incoming prefixes
with the community and not the sent one.

Either set the community on the network statement that defines what you
announce or do it as a filter:

match to 19.25.16.13 set community X:Y

-- 
:wq Claudio



Re: Audio problems on OpenBSD 5.7

2015-05-13 Thread Bryan Pimmler
On Wed, May 13, 2015 at 7:19 PM, L.R. D.S. arrowscr...@mail.com wrote:

 I had same problem on old builds of 5.7 . I reinstalled and it works...

Strange. In fact I had installed OpenBSD on a different box and then
moved the hard drive to this one. But this shouldn't cause any
problems of this sort, should it?

 You are checking others audio sources? Maybe your wav are corrupted, try some 
 flac
 and run flac123 from packages.

Yes, I tried xmms and rhythmbox as well with identical results.

 Your output is 0db? Set it using outputs.master=255,255 on 
 /etc/mixerctl.conf
 The faq have a section about this, your tried?
 http://www.openbsd.org/faq/faq13.html#audioprob

Yes, I tried all that before posting here.

 Also your report:
 After the 'aucat' invocation the system appears to be in a different state:
 $ cat /dev/audio0 /tmp/foo # Different error message:
 cat: /dev/audio0: Device busy
 $ cat /dev/urandom  /dev/audio # No noise this time.
 -bash: /dev/audio: Device busy

 Seems the process keep running, you kill it before these commands?

Yes. The one holding on to /dev/audio is sndiod. After killing it I
can make noise with cat /dev/urandom  /dev/audio again.



Re: Audio problems on OpenBSD 5.7

2015-05-13 Thread L.R. D.S.
I had same problem on old builds of 5.7 . I reinstalled and it works...
You are checking others audio sources? Maybe your wav are corrupted, try some 
flac 
and run flac123 from packages.
Your output is 0db? Set it using outputs.master=255,255 on /etc/mixerctl.conf
The faq have a section about this, your tried? 
http://www.openbsd.org/faq/faq13.html#audioprob

Also your report:
After the 'aucat' invocation the system appears to be in a different state:
$ cat /dev/audio0 /tmp/foo # Different error message:
cat: /dev/audio0: Device busy
$ cat /dev/urandom  /dev/audio # No noise this time.
-bash: /dev/audio: Device busy

Seems the process keep running, you kill it before these commands?



Re: Audio problems on OpenBSD 5.7

2015-05-13 Thread Bryan Pimmler
In fact, after killing sndiod things work fine, *except* for that
afterwards only one program can play sound simultaneously.



server 5.3 to 5.7

2015-05-13 Thread fco
Hello misc list

I have 1 server 5.3 at home, and i am going to do a 5.7 clean 
installation. The server is running dokuwiki and mailman perfectly, but 
i did a testing installation and could not configure dokuwiki and 
mailman correctly, using httpd.

Is there some documentation about: how to install dokuwiki and mailman? 
and where? The docs that i have found are related to apache and nginx, 
nothing about httpd.

Basicaly, i could not do a link from htdocs to www, and i could not run 
install.php using firefox with localhost/dokuwiki/install.php; it does 
not run; i did the permitions change.

thanks.



Re: caron no longer working in xterm

2015-05-13 Thread Jan Stary
On Apr 22 07:03:22, s...@spacehopper.org wrote:
 On 2015-04-21, Jan Stary h...@stare.cz wrote:
  On Mar 31 19:24:00, h...@stare.cz wrote:
  Since about three snapshots ago,
  I cannot use the caron (háček) in xterm
  to diacritize my Czech (latin2) writings.
  This used to work.
 
  No really, this used to work.
  Now it stopped working on the machines I upgraded.
  Is anyone seeing the same?
 
 Are you able to backtrack by date in cvs to identify what caused it?
 Was it the xkeyboard-config update?

Probably not. The diff in /usr/xenocara/data/xkeyboard-config
between 6 months ago and now (below) doesn't seem to contain
anythong related to the cz keyboard. The diff to the previous
state goes back way longer before I started seeing this.

What else could have caused this?

Thanks

Jan


Index: man/xkeyboard-config.7
===
RCS file: /cvs/xenocara/data/xkeyboard-config/man/xkeyboard-config.7,v
retrieving revision 1.9
retrieving revision 1.7
diff -u -p -u -p -r1.9 -r1.7
--- man/xkeyboard-config.7  30 Mar 2015 17:11:29 -  1.9
+++ man/xkeyboard-config.7  17 Sep 2014 16:11:50 -  1.7
@@ -1,5 +1,5 @@
 .\ WARNING: this man page is autogenerated. Do not edit or you will lose all 
your changes.
-.TH XKEYBOARD-CONFIG 7 xkeyboard-config 2.14 X Version 11
+.TH XKEYBOARD-CONFIG 7 xkeyboard-config 2.12 X Version 11
 .SH NAME
 xkeyboard-config \- XKB data description files
 .SH DESCRIPTION
@@ -126,7 +126,7 @@ logidinovoedge  Logitech diNovo Edge Keyb
 mx1998 Memorex MX1998
 mx2500 Memorex MX2500 EZ-Access Keyboard
 mx2750 Memorex MX2750
-microsoft4000  Microsoft Natural Ergonomic Keyboard 4000
+microsoft4000  Microsoft Natural Wireless Ergonomic Keyboard 4000
 microsoft7000  Microsoft Natural Wireless Ergonomic Keyboard 7000
 microsoftinet  Microsoft Internet Keyboard
 microsoftpro   Microsoft Natural Keyboard Pro / Microsoft Internet Keyboard Pro
@@ -244,7 +244,6 @@ ara(digits) Arabic (digits)
 ara(qwerty)Arabic (qwerty)
 ara(qwerty_digits) Arabic (qwerty/digits)
 ara(buckwalter)Arabic (Buckwalter)
-ara(mac)   Arabic (Macintosh)
 
 _
 al Albanian
@@ -539,7 +538,6 @@ _
 is Icelandic
 is(Sundeadkeys)Icelandic (Sun dead keys)
 is(nodeadkeys) Icelandic (eliminate dead keys)
-is(mac_legacy) Icelandic (Macintosh, legacy)
 is(mac)Icelandic (Macintosh)
 is(dvorak) Icelandic (Dvorak)
 
@@ -691,8 +689,6 @@ ru(mac) Russian (Macintosh)
 ru(srp)Serbian (Russia)
 ru(bak)Bashkirian
 ru(chm)Mari
-ru(phonetic_azerty)Russian (phonetic azerty)
-ru(phonetic_fr)Russian (phonetic French)
 
 _
 rs Serbian
@@ -1005,7 +1001,6 @@ ctrl:menu_rctrl   Menu as Right Ctrl
 ctrl:ctrl_ralt Right Alt as Right Ctrl
 ctrl:swap_lalt_lctlSwap Left Alt key with Left Ctrl key
 ctrl:swap_lwin_lctlSwap Left Win key with Left Ctrl key
-ctrl:swap_rwin_rctlSwap Right Win key with Right Ctrl key
 ctrl:swap_lalt_lctl_lwin   Left Alt as Ctrl, Left Ctrl as Win, Left Win as 
Alt
 
 .TE
@@ -1161,7 +1156,7 @@ lB l.
 Option Description
 numpad:pc  Default numeric keypad keys
 numpad:mac Numeric keypad keys always enter digits (as in Mac OS)
-numpad:microsoft   NumLock on: digits, Shift switches to arrow keys, 
Numlock off: always arrow keys (as in MS Windows)
+numpad:microsoft   Shift with numeric keypad keys works as in MS Windows
 numpad:shift3  Shift does not cancel Num Lock, chooses 3rd level instead
 srvrkeys:none  Special keys (Ctrl+Alt+key) handled in a server
 apple:alupckeysApple Aluminium Keyboard: emulate PC keys (Print, 
Scroll Lock, Pause, Num Lock)
@@ -1253,22 +1248,6 @@ Option   Description
 japan:kana_lockKana Lock key is locking
 japan:nicola_f_bs  NICOLA-F style Backspace
 japan:hztg_escape  Make Zenkaku Hankaku an additional ESC
-
-.TE
-
-
-.SS
-Korean Hangul/Hanja keys
-.BR
-.TS
-left,box;
-lB lB
-___
-lB l.
-Option Description
-korean:hw_keys Hardware Hangul/Hanja keys
-korean:ralt_rctrl  Right Alt as Hangul, right Ctrl as Hanja
-korean:rctrl_ralt  Right Ctrl as Hangul, right Alt as Hanja
 
 .TE
 
Index: pc/Makefile
===
RCS file: /cvs/xenocara/data/xkeyboard-config/pc/Makefile,v
retrieving revision 1.5
retrieving revision 1.3
diff -u -p -u -p -r1.5 -r1.3
--- pc/Makefile 30 Mar 2015 17:11:29 -  1.5
+++ pc/Makefile 17 Sep 2014 16:11:50 -  1.3
@@ -1,7 +1,7 @@
-#  $OpenBSD: Makefile,v 1.5 2015/03/30 17:11:29 shadchin Exp $
+#  $OpenBSD: Makefile,v 1.3 2014/09/17 16:11:50 shadchin Exp $
 
 XKC_TOP =  ../../..
-PACKAGE_VERSION =  2.14
+PACKAGE_VERSION =  2.12
 PKGCONFIG =xkeyboard-config.pc
 EXTRA_PKGCONFIG_SUBST =-e 's,@VERSION@,${PACKAGE_VERSION},g' \
-e 's,@xkb_base@,${XKB_BASE},g'



Re: Audio problems on OpenBSD 5.7

2015-05-13 Thread Stan Gammons
On May 13, 2015 7:09 PM, Bryan Pimmler bryan.pimm...@gmail.com wrote:

 In fact, after killing sndiod things work fine, *except* for that
 afterwards only one program can play sound simultaneously.


Same here.

The mixer doesn't recognize the sound chip is the problem I have.  Audioctl
and mixerctl both output  the various settings when run in a terminal from
KDE, but no sound device is listed in the setup dialog.

Stan



Re: route show does not show routes announce by BGP on OpenBSD 5.5 i386

2015-05-13 Thread Bill Buhler
I can't tell from your output, are your BGP neighbors more than one hop 
away? If so you will need to add a static route to each neighbor before 
it will start filling in the local routing table.


If that doesn't work, could you give us excerpts of the bgpd.conf file 
and a rough overview of your routing topology?


Thanks,

Bill

On 5/13/2015 8:58 AM, Motty Cruz wrote:
running the command route show does not get the full internet 
routing table as I should. However, if I run bgpctl show rib I get 
the full routing table. Router is routing packets fine, however, I am 
concern that something may be wrong.


any explanation as to why this is happening?

# bgpctl show
Neighbor   ASMsgRcvdMsgSent  OutQ Up/Down 
State/PrfRcvd
level27X32 100853278 0 
02:17:31 532191
level17X32300278 0 
02:17:16  1
gateway2  22X8274272 0 
02:15:01  1
gateway1  22X8274272 0 
02:15:01  1


#netstat -rn
Routing tables

Internet:
DestinationGatewayFlags   Refs  Use   Mtu Prio 
Iface

default19.25.16.13 UGS1 8485 - 8 em0
19.25.16.12/30  link#1 UC 10 - 4 em0
19.25.16.13 2c:6b:f5:a4:df:40  UHLc   2  583 - 4 em0
127/8  127.0.0.1  UGRS   00 33192 
8 lo0
127.0.0.1  127.0.0.1  UH 10 33192 
4 lo0

19.16.26/24   199.96.38.85   UGS0   882702 - 8 em1


Thanks,




bgp sending community string

2015-05-13 Thread Motty Cruz
trying to send a community string to our neighbor here is my configuration:

# ISP peer 1 announcements only#
neighbor 19.25.16.13 {
 remote-as   7X32
 descr   level1
 announce all
 set community 7X32:100
tcp md5sig password passwd2
}

here is how our neighbor see my router:

KRT in-kernel 19.16.16.0/22 - {19.25.16.14}
Page 0 idx 0 Type 1 val a4e65a0
Nexthop: 19.25.16.14
 MED: 0
Localpref: 300
 AS path: [3XX2] 2XX1 2XX12XX12XX1I
 Communities: 3xx2:2900

  I want localpref to be much lower for them. They have configured the 
community string on their side, however we're not sending that string, 
I believe my syntax may be wrong.

any ideas?

Thanks,



Re: Intel Chipset c606 / c612

2015-05-13 Thread Mihai Popescu
See the following links:

http://www.openbsd.org/report.html
http://www.openbsd.org/faq/faq4.html#getdmesg



Re: Audio problems on OpenBSD 5.7

2015-05-13 Thread Maurits Fennis
 I gave up trying to figure out what the problem was and went back
 to FreeBSD.

Great advice. If that also doesn't work he could get rid of his system and
pick up guttural singing.

-- 
Maurits Fennis



Re: Audio problems on OpenBSD 5.7

2015-05-13 Thread Alexandre Ratchov
On Tue, May 12, 2015 at 10:22:17PM -0400, Bryan Pimmler wrote:
 Hello!
 
 I can't seem to get audio to work on OpenBSD 5.7:
 
 After booting, cat /dev/urandom  /dev/audio makes the expected noise.
 
 But any sort of audio player (be it aucat, xmms, or rhythmbox) doesn't
 work. For example aucat -i test.wav just hangs without playing
 anything. Furthermore, it seems to put the system in a different
 state, even after killed. Now trying cat /dev/urandom  /dev/audio
 again just fails with /dev/audio: Device busy. On the other hand,
 the system bell still works: echo -ne '\007' gives a beep on the
 speaker.
 

hi,

Do you have a disable microphone or disable recording setting
in the BIOS SETUP? If so, make sure that the
microphone/recording/whatever is enabled.

-- Alexandre



Re: sslsplit needs to be restarted every 30 min.

2015-05-13 Thread Stuart Henderson
On 2015-05-11, C.L. Martinez carlopm...@gmail.com wrote:
 Yep, it seems the problem is Too many open files message:

 leapis.com/storage.googleapis.com sproto:TLSv1.2:AES128-SHA 
 dproto:TLSv1.2:ECDHE-ECDSA-CHACHA20-POLY1305
 ssl [172.22.55.1]:41558 [74.125.226.170]:443 
 sni:ci6.googleusercontent.com 
 names:*.googleusercontent.com/*.googleusercontent.com/*.blogspot.com/*.bp.blogspot.com/*.commondatastorage.googleapis.com/*.doubleclickusercontent.com/*.ggpht.com/*.googledrive.com/*.googlesyndication.com/*.googleweblight.com/*.safenup.googleusercontent.com/*.sandbox.googleusercontent.com/*.storage.googleapis.com/blogspot.com/bp.blogspot.com/commondatastorage.googleapis.com/doubleclickusercontent.com/ggpht.com/googledrive.com/googleusercontent.com/googleweblight.com/static.panoramio.com.storage.googleapis.com/storage.googleapis.com
  
 sproto:TLSv1.2:AES128-SHA dproto:TLSv1.2:ECDHE-ECDSA-CHACHA20-POLY1305
 Warning: Failed to write to content log: Bad file descriptor
 Warning: Failed to write to content log: Bad file descriptor
 ssl [172.22.55.1]:50639 [74.125.226.171]:443 
 sni:ci4.googleusercontent.com 
 names:*.googleusercontent.com/*.googleusercontent.com/*.blogspot.com/*.bp.blogspot.com/*.commondatastorage.googleapis.com/*.doubleclickusercontent.com/*.ggpht.com/*.googledrive.com/*.googlesyndication.com/*.googleweblight.com/*.safenup.googleusercontent.com/*.sandbox.googleusercontent.com/*.storage.googleapis.com/blogspot.com/bp.blogspot.com/commondatastorage.googleapis.com/doubleclickusercontent.com/ggpht.com/googledrive.com/googleusercontent.com/googleweblight.com/static.panoramio.com.storage.googleapis.com/storage.googleapis.com
  
 sproto:TLSv1.2:AES128-SHA dproto:TLSv1.2:ECDHE-ECDSA-CHACHA20-POLY1305
 Warning: Failed to write to content log: Bad file descriptor
 Failed to open 
 '/tmp/20150511T113718Z-[172.22.55.1]:50639-[74.125.226.171]:443.log': 
 Too many open files (24)
 Warning: Failed to write to content log: Bad file descriptor
 ssl [172.22.55.1]:59905 [74.125.226.160]:443 sni:plus.google.com 
 names:*.google.com/*.google.com/*.android.com/*.appengine.google.com/*.cloud.google.com/*.google-analytics.com/*.google.ca/*.google.cl/*.google.co.in/*.google.co.jp/*.google.co.uk/*.google.com.ar/*.google.com.au/*.google.com.br/*.google.com.co/*.google.com.mx/*.google.com.tr/*.google.com.vn/*.google.de/*.google.es/*.google.fr/*.google.hu/*.google.it/*.google.nl/*.google.pl/*.google.pt/*.googleadapis.com/*.googleapis.cn/*.googlecommerce.com/*.googlevideo.com/*.gstatic.cn/*.gstatic.com/*.gvt1.com/*.gvt2.com/*.metric.gstatic.com/*.urchin.com/*.url.google.com/*.youtube-nocookie.com/*.youtube.com/*.youtubeeducation.com/*.ytimg.com/android.com/g.co/goo.gl/google-analytics.com/google.com/googlecommerce.com/urchin.com/youtu.be/youtube.com/youtubeeducation.com
  
 sproto:TLSv1.2:AES128-SHA dproto:TLSv1.2:ECDHE-ECDSA-CHACHA20-POLY1305
 Error 24 on listener: Too many open files

 Program exited normally.
 (gdb) backtrace full
 No stack.
 (gdb) thread apply all backtrace
 (gdb)



Aha. Unless it's very busy I wouldn't expect sslsplit to use a huge
number of openfiles simultaneously, so I wonder if it is failing
to close something.

Please try fstat | grep sslsplit soon after startup (allow a couple
of requests to go through first), then again after it has handled
a larger number of connections (maybe 5 minutes or so?) - let's see
if something is building up.

No need to run it in gdb for this now, it is exiting normally (i.e.
following normal error handling and reaching the end of the program)
so you could just use your normal startup script.



Re: sslsplit needs to be restarted every 30 min.

2015-05-13 Thread Stuart Henderson
On 2015-05-13, Stuart Henderson s...@spacehopper.org wrote:
 On 2015-05-11, C.L. Martinez carlopm...@gmail.com wrote:
 Yep, it seems the problem is Too many open files message:

 leapis.com/storage.googleapis.com sproto:TLSv1.2:AES128-SHA 
 dproto:TLSv1.2:ECDHE-ECDSA-CHACHA20-POLY1305
 ssl [172.22.55.1]:41558 [74.125.226.170]:443 
 sni:ci6.googleusercontent.com 
 names:*.googleusercontent.com/*.googleusercontent.com/*.blogspot.com/*.bp.blogspot.com/*.commondatastorage.googleapis.com/*.doubleclickusercontent.com/*.ggpht.com/*.googledrive.com/*.googlesyndication.com/*.googleweblight.com/*.safenup.googleusercontent.com/*.sandbox.googleusercontent.com/*.storage.googleapis.com/blogspot.com/bp.blogspot.com/commondatastorage.googleapis.com/doubleclickusercontent.com/ggpht.com/googledrive.com/googleusercontent.com/googleweblight.com/static.panoramio.com.storage.googleapis.com/storage.googleapis.com
  
 sproto:TLSv1.2:AES128-SHA dproto:TLSv1.2:ECDHE-ECDSA-CHACHA20-POLY1305
 Warning: Failed to write to content log: Bad file descriptor
 Warning: Failed to write to content log: Bad file descriptor
 ssl [172.22.55.1]:50639 [74.125.226.171]:443 
 sni:ci4.googleusercontent.com 
 names:*.googleusercontent.com/*.googleusercontent.com/*.blogspot.com/*.bp.blogspot.com/*.commondatastorage.googleapis.com/*.doubleclickusercontent.com/*.ggpht.com/*.googledrive.com/*.googlesyndication.com/*.googleweblight.com/*.safenup.googleusercontent.com/*.sandbox.googleusercontent.com/*.storage.googleapis.com/blogspot.com/bp.blogspot.com/commondatastorage.googleapis.com/doubleclickusercontent.com/ggpht.com/googledrive.com/googleusercontent.com/googleweblight.com/static.panoramio.com.storage.googleapis.com/storage.googleapis.com
  
 sproto:TLSv1.2:AES128-SHA dproto:TLSv1.2:ECDHE-ECDSA-CHACHA20-POLY1305
 Warning: Failed to write to content log: Bad file descriptor
 Failed to open 
 '/tmp/20150511T113718Z-[172.22.55.1]:50639-[74.125.226.171]:443.log': 
 Too many open files (24)
 Warning: Failed to write to content log: Bad file descriptor
 ssl [172.22.55.1]:59905 [74.125.226.160]:443 sni:plus.google.com 
 names:*.google.com/*.google.com/*.android.com/*.appengine.google.com/*.cloud.google.com/*.google-analytics.com/*.google.ca/*.google.cl/*.google.co.in/*.google.co.jp/*.google.co.uk/*.google.com.ar/*.google.com.au/*.google.com.br/*.google.com.co/*.google.com.mx/*.google.com.tr/*.google.com.vn/*.google.de/*.google.es/*.google.fr/*.google.hu/*.google.it/*.google.nl/*.google.pl/*.google.pt/*.googleadapis.com/*.googleapis.cn/*.googlecommerce.com/*.googlevideo.com/*.gstatic.cn/*.gstatic.com/*.gvt1.com/*.gvt2.com/*.metric.gstatic.com/*.urchin.com/*.url.google.com/*.youtube-nocookie.com/*.youtube.com/*.youtubeeducation.com/*.ytimg.com/android.com/g.co/goo.gl/google-analytics.com/google.com/googlecommerce.com/urchin.com/youtu.be/youtube.com/youtubeeducation.com
  
 sproto:TLSv1.2:AES128-SHA dproto:TLSv1.2:ECDHE-ECDSA-CHACHA20-POLY1305
 Error 24 on listener: Too many open files

 Program exited normally.
 (gdb) backtrace full
 No stack.
 (gdb) thread apply all backtrace
 (gdb)



 Aha. Unless it's very busy I wouldn't expect sslsplit to use a huge
 number of openfiles simultaneously, so I wonder if it is failing
 to close something.

 Please try fstat | grep sslsplit soon after startup (allow a couple
 of requests to go through first), then again after it has handled
 a larger number of connections (maybe 5 minutes or so?) - let's see
 if something is building up.

 No need to run it in gdb for this now, it is exiting normally (i.e.
 following normal error handling and reaching the end of the program)
 so you could just use your normal startup script.



Also, as mentioned before, please show the command line you're using,
I've just done some small tests with divert-to (ipfw nat engine),
rdr-to (pf nat engine) and static destination and haven't noticed
an FD leak in the normal case.

Of course if it is just very busy, you may need to raise an openfiles
limit (ulimit -n if starting manually, or via the relevant class in
login.conf if using an rc.d script, which would be 'daemon' unless
you've added a separate class for it).



Re: sslsplit needs to be restarted every 30 min.

2015-05-13 Thread C.L. Martinez

On 05/13/2015 06:57 AM, Stuart Henderson wrote:

On 2015-05-13, Stuart Henderson s...@spacehopper.org wrote:

On 2015-05-11, C.L. Martinez carlopm...@gmail.com wrote:

Yep, it seems the problem is Too many open files message:

leapis.com/storage.googleapis.com sproto:TLSv1.2:AES128-SHA
dproto:TLSv1.2:ECDHE-ECDSA-CHACHA20-POLY1305
ssl [172.22.55.1]:41558 [74.125.226.170]:443
sni:ci6.googleusercontent.com
names:*.googleusercontent.com/*.googleusercontent.com/*.blogspot.com/*.bp.blogspot.com/*.commondatastorage.googleapis.com/*.doubleclickusercontent.com/*.ggpht.com/*.googledrive.com/*.googlesyndication.com/*.googleweblight.com/*.safenup.googleusercontent.com/*.sandbox.googleusercontent.com/*.storage.googleapis.com/blogspot.com/bp.blogspot.com/commondatastorage.googleapis.com/doubleclickusercontent.com/ggpht.com/googledrive.com/googleusercontent.com/googleweblight.com/static.panoramio.com.storage.googleapis.com/storage.googleapis.com
sproto:TLSv1.2:AES128-SHA dproto:TLSv1.2:ECDHE-ECDSA-CHACHA20-POLY1305
Warning: Failed to write to content log: Bad file descriptor
Warning: Failed to write to content log: Bad file descriptor
ssl [172.22.55.1]:50639 [74.125.226.171]:443
sni:ci4.googleusercontent.com
names:*.googleusercontent.com/*.googleusercontent.com/*.blogspot.com/*.bp.blogspot.com/*.commondatastorage.googleapis.com/*.doubleclickusercontent.com/*.ggpht.com/*.googledrive.com/*.googlesyndication.com/*.googleweblight.com/*.safenup.googleusercontent.com/*.sandbox.googleusercontent.com/*.storage.googleapis.com/blogspot.com/bp.blogspot.com/commondatastorage.googleapis.com/doubleclickusercontent.com/ggpht.com/googledrive.com/googleusercontent.com/googleweblight.com/static.panoramio.com.storage.googleapis.com/storage.googleapis.com
sproto:TLSv1.2:AES128-SHA dproto:TLSv1.2:ECDHE-ECDSA-CHACHA20-POLY1305
Warning: Failed to write to content log: Bad file descriptor
Failed to open
'/tmp/20150511T113718Z-[172.22.55.1]:50639-[74.125.226.171]:443.log':
Too many open files (24)
Warning: Failed to write to content log: Bad file descriptor
ssl [172.22.55.1]:59905 [74.125.226.160]:443 sni:plus.google.com
names:*.google.com/*.google.com/*.android.com/*.appengine.google.com/*.cloud.google.com/*.google-analytics.com/*.google.ca/*.google.cl/*.google.co.in/*.google.co.jp/*.google.co.uk/*.google.com.ar/*.google.com.au/*.google.com.br/*.google.com.co/*.google.com.mx/*.google.com.tr/*.google.com.vn/*.google.de/*.google.es/*.google.fr/*.google.hu/*.google.it/*.google.nl/*.google.pl/*.google.pt/*.googleadapis.com/*.googleapis.cn/*.googlecommerce.com/*.googlevideo.com/*.gstatic.cn/*.gstatic.com/*.gvt1.com/*.gvt2.com/*.metric.gstatic.com/*.urchin.com/*.url.google.com/*.youtube-nocookie.com/*.youtube.com/*.youtubeeducation.com/*.ytimg.com/android.com/g.co/goo.gl/google-analytics.com/google.com/googlecommerce.com/urchin.com/youtu.be/youtube.com/youtubeeducation.com
sproto:TLSv1.2:AES128-SHA dproto:TLSv1.2:ECDHE-ECDSA-CHACHA20-POLY1305
Error 24 on listener: Too many open files

Program exited normally.
(gdb) backtrace full
No stack.
(gdb) thread apply all backtrace
(gdb)




Aha. Unless it's very busy I wouldn't expect sslsplit to use a huge
number of openfiles simultaneously, so I wonder if it is failing
to close something.

Please try fstat | grep sslsplit soon after startup (allow a couple
of requests to go through first), then again after it has handled
a larger number of connections (maybe 5 minutes or so?) - let's see
if something is building up.

No need to run it in gdb for this now, it is exiting normally (i.e.
following normal error handling and reaching the end of the program)
so you could just use your normal startup script.




Also, as mentioned before, please show the command line you're using,
I've just done some small tests with divert-to (ipfw nat engine),
rdr-to (pf nat engine) and static destination and haven't noticed
an FD leak in the normal case.

Of course if it is just very busy, you may need to raise an openfiles
limit (ulimit -n if starting manually, or via the relevant class in
login.conf if using an rc.d script, which would be 'daemon' unless
you've added a separate class for it).



Uhmmm ... I think you are right Stu, my pf rules needs to be wrong:

pass in quick inet proto tcp from $laptop to { !internal_networks 
!unsupp_sslsplit_hosts } port $sslsplit_ssl_ports rdr-to 127.0.0.1 
port 8443 tag intlans-to-inet


As you can see, I redirect directly to sslsplit's listening port, but 
according to sslsplit's man page, that is wrong... And it seems, this is 
the explination about the error of Too many open files ...


Am I right??