difference between locatedb and tar ft

2014-07-14 Thread Sébastien Marie
Hi,

I generally try to cleanup old files in installed system, between
snapshots (remove old man pages, old libraries... that are not installed
in new snapshots, but was in previous).

Now, that snapshot embeds file list in locatedb format
(usr/lib/locate/src.db and usr/X11R6/lib/locate/xorg.db), I look to use
these files for my purpose.

But in last snapshot (OpenBSD 5.5-current (GENERIC) #251: Sun Jul 13
20:40:26 MDT 2014), there is a diff between files in tgz, and files
annonced in src.db .

I generate file list in tgz with:
$ for i in ${SNAPSHOT_DIR}/*.tgz ; do tar zft ${i} ; done \
| sort filelist-tgz

And file list in locatedb with:
$ locate -d usr/lib/locate/src.db:usr/X11R6/lib/locate/xorg.db '*' \
| sed 's/^[^:]*:/./' | sort filelist-db

(the sed part is to have same format than tgz version)

When diffing the file I have a difference:
$ diff -u -C0 filelist-tgz filelist-db
*** filelist-tgzMon Jul 14 09:00:04 2014
--- filelist-db Mon Jul 14 08:59:28 2014
***
*** 13233 
--- 13234 
+ ./usr/libdata/perl5/OpenBSD/PackageRepository/Source.pm

So the locatedb say .../Source.pm is installed, but tgz don't include
it.

As sometimes, snapshots embed modifications not commited, is it the
case here ? Or I miss something else ?

Thanks.
-- 
Sébastien Marie



Re: difference between locatedb and tar ft

2014-07-14 Thread Theo de Raadt
 As sometimes, snapshots embed modifications not commited, is it the
 case here ? Or I miss something else ?

We do the best we can.  Rarely, that can happen.  More common during
hackathons when the rate of change is very high.



Re: zzz, /dev/wsmouse1: read error Input/output error

2014-07-14 Thread Mike Larkin
On Sun, Jul 13, 2014 at 06:22:34PM -0400, Mike Burns wrote:
 Thinkpad X1 Carbon with a touchscreen, running 5.5-stable. When I resume
 from suspend my Xorg.0.log is flooded with:
 
   (EE) ws: /dev/wsmouse1: read error Input/output error
 
 In my dmesg:
 
   wsmouse1: can't attach mux (error=5)

Are you using wsmoused?

-ml

 
 Attached are four files: the dmesg before zzz, Xorg.0.log before zzz,
 dmesg added after zzz, Xorg.0.log added after zzz.
 
 Is this fixed on -current? Is there a workaround? Something I need to
 configure? More information needed?
 
 -Mike
 OpenBSD 5.5-stable (GENERIC.MP) #0: Sat Jul 12 23:07:41 CEST 2014
 m...@bellifortis.my.domain:/usr/src/sys/arch/amd64/compile/GENERIC.MP
 real mem = 8255762432 (7873MB)
 avail mem = 8027381760 (7655MB)
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdae9d000 (71 entries)
 bios0: vendor LENOVO version G6ET93WW (2.53 ) date 02/04/2013
 bios0: LENOVO 3444CUU
 acpi0 at bios0: rev 2
 acpi0: sleep states S0 S3 S4 S5
 acpi0: tables DSDT FACP SLIC TCPA SSDT SSDT SSDT HPET APIC MCFG ECDT FPDT 
 ASF! UEFI UEFI MSDM SSDT SSDT UEFI SSDT DBG2
 acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP2(S4) XHCI(S3) EHC1(S3) 
 EHC2(S3) HDEF(S4)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpihpet0 at acpi0: 14318179 Hz
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1896.04 MHz
 cpu0: 
 FPU,VME,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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
 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 1 (application processor)
 cpu1: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1895.70 MHz
 cpu1: 
 FPU,VME,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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
 cpu1: 256KB 64b/line 8-way L2 cache
 cpu1: smt 1, core 0, package 0
 cpu2 at mainbus0: apid 2 (application processor)
 cpu2: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1895.70 MHz
 cpu2: 
 FPU,VME,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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
 cpu2: 256KB 64b/line 8-way L2 cache
 cpu2: smt 0, core 1, package 0
 cpu3 at mainbus0: apid 3 (application processor)
 cpu3: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1895.70 MHz
 cpu3: 
 FPU,VME,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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
 cpu3: 256KB 64b/line 8-way L2 cache
 cpu3: smt 1, core 1, package 0
 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
 acpimcfg0 at acpi0 addr 0xf800, bus 0-63
 acpiec0 at acpi0
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus -1 (PEG_)
 acpiprt2 at acpi0: bus 2 (EXP1)
 acpiprt3 at acpi0: bus 3 (EXP2)
 acpicpu0 at acpi0: C2, C1, PSS
 acpicpu1 at acpi0: C2, C1, PSS
 acpicpu2 at acpi0: C2, C1, PSS
 acpicpu3 at acpi0: C2, C1, PSS
 acpipwrres0 at acpi0: PUBS, resource for XHCI, EHC1, EHC2
 acpitz0 at acpi0: critical temperature is 200 degC
 acpibtn0 at acpi0: LID_
 acpibtn1 at acpi0: SLPB
 acpibat0 at acpi0: BAT0 model 45N1071 serial  1475 type LiP oem SMP
 acpibat1 at acpi0: BAT1 not present
 acpiac0 at acpi0: AC unit online
 acpithinkpad0 at acpi0
 cpu0: Enhanced SpeedStep 1896 MHz: speeds: 2001, 2000, 1900, 1800, 1700, 
 1600, 1500, 1400, 1300, 1200, 1100, 1000, 900, 800 MHz
 pci0 at mainbus0 bus 0
 pchb0 at pci0 dev 0 function 0 Intel Core 3G Host rev 0x09
 vga1 at pci0 dev 2 function 0 Intel HD Graphics 4000 rev 0x09
 intagp0 at vga1
 agp0 at intagp0: aperture at 0xe000, size 0x1000
 inteldrm0 at vga1
 drm0 at inteldrm0
 inteldrm0: 1600x900
 wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
 wsdisplay0: screen 1-5 added (std, vt100 emulation)
 Intel 7 Series xHCI rev 0x04 at pci0 dev 20 function 0 not configured
 Intel 7 Series MEI rev 0x04 at pci0 dev 22 function 0 not configured
 puc0 at pci0 dev 22 function 3 Intel 7 Series KT rev 0x04: ports: 1 com
 com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo
 com4: probed fifo depth: 0 bytes
 ehci0 at 

Re: Firewall cluster.

2014-07-14 Thread Patrick Lamaiziere
Le Wed, 09 Jul 2014 20:33:47 +0200,
Mxher o...@mxher.fr a écrit :

Hello,

  I'm doing few more tests and now I'm wondering if this is possible
  to disallow CARP to have some resources on serverA and others on
  serverB?

You can use ifstated to implement your own logic.

I have a pair of firewall, the first is the normal master, the second is
the backup. If a problem occurs on the first, carp allows the second to
become master. But then, ifstated running on the first fw disallows carp
to prevent it to become master again (even if a problem occurs on the
second). To make the first master again, someone must, by hand,
check the situation and enable carp on it. This is because the failover
depends on some BGP sessions here.

Regards,



/usr/bin/chat=/usr/sbin/chat

2014-07-14 Thread BCampos Luiz
Dear Sirs

 Trying to connect to the web on OpenBSD-5.5 by using pppd, I got 
/bin/chat not found then I try to move chat to /sbin and I got the message 
/sbin/chat not found. My modem is usb Onda MSA190UP and it's detected at 
boot...
-- 
luizbcam...@yandex.com
5522981584183



Re: ehci_idone message with HP printer

2014-07-14 Thread Jérôme Frgacic

Thank you for your reply.

Unfortunately, after upgrading my system to -current and applying the 
patch you send to me to the kernel, I got the same error.


Here is the result of the dmesg command :

OpenBSD 5.5-current (GENERIC.MP) #1: Mon Jul 14 22:05:14 CEST 2014
r...@basile.my.domain:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2130313216 (2031MB)
avail mem = 2064879616 (1969MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xfd950 (22 entries)
bios0: vendor American Megatrends Inc. version P1.40 date 10/31/2012
bios0: ASRock N68C-GS FX
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG OEMB SRAT AAFT SSDT
acpi0: wakeup devices PS2K(S4) PS2M(S4) UAR1(S4) SMB0(S4) USB0(S4) 
USB2(S4) NMAC(S5) P0P1(S4) HDAC(S4) BR10(S4) BR11(S4) BR12(S4)

acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Athlon(tm) II X2 280 Processor, 3617.05 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,PAGE1GB,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
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: AMD erratum 721 detected and fixed
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 200MHz
cpu0: mwait min=64, max=64, C-substates=0.0.0.0.0, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Athlon(tm) II X2 280 Processor, 3616.48 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,PAGE1GB,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
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

cpu1: AMD erratum 721 detected and fixed
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 24 pins
acpimcfg0 at acpi0 addr 0xf000, bus 0-127
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (P0P1)
acpiprt2 at acpi0: bus 2 (BR10)
acpiprt3 at acpi0: bus 3 (BR11)
acpiprt4 at acpi0: bus 4 (BR12)
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpibtn0 at acpi0: PWRB
cpu0: 3617 MHz: speeds: 3600 2900 2200 800 MHz
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 0x51: 2GB DDR2 SDRAM non-parity PC2-5300CL5
iic1 at nviic0
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 2 int 
10, version 1.0, legacy support

ehci0 at pci0 dev 2 function 1 NVIDIA MCP61 USB rev 0xa3: apic 2 int 11
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
azalia0 at pci0 dev 5 function 0 NVIDIA MCP61 HD Audio rev 0xa2: apic 
2 int 10

azalia0: codecs: VIA/0x4397
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

atapiscsi0 at pciide0 channel 0 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: PLEXTOR, CD-R PX-W1210A, 1.05 ATAPI 
5/cdrom removable

atapiscsi1 at pciide0 channel 0 drive 1
scsibus2 at atapiscsi1: 2 targets
cd1 at scsibus2 targ 0 lun 0: _NEC, DVD_RW ND-1300A, 1.09 ATAPI 
5/cdrom removable

cd0(pciide0:0:0): using PIO mode 4, DMA mode 2
cd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
nfe0 at pci0 dev 7 function 0 NVIDIA MCP61 LAN rev 0xa2: apic 2 int 
10, address bc:5f:f4:b7:48:38

rgephy0 at nfe0 phy 3: RTL8169S/8110S PHY, rev. 2
pciide1 at pci0 dev 8 function 0 NVIDIA MCP61 SATA rev 0xa2: DMA
pciide1: using apic 2 int 5 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: WDC WD800JD-08LSA0
wd0: 16-sector PIO, LBA48, 76324MB, 156312576 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6
pciide2 at pci0 dev 8 function 1 NVIDIA MCP61 SATA rev 0xa2: DMA
pciide2: using apic 2 int 5 for native-PCI interrupt
wd1 at pciide2 channel 0 drive 0: Hitachi HDS721680PLA380
wd1: 16-sector PIO, LBA48, 76324MB, 156312576 sectors
wd1(pciide2:0:0): using PIO mode 4, Ultra-DMA mode 5
ppb1 at pci0 dev 9 

No X

2014-07-14 Thread Stefan Wollny
Gese ndet von meinem BlackBerry 10-Smartphone.



[Perl] Sys::Syslog add useless space with perror

2014-07-14 Thread Bertrand PROVOST
Hi,

I'm using syslog with perror flag in some perl script, and I recently
notice that there is an additional newline at the end of each message
on stderr output.

Would anyone know why someone added \n in the first place ?

#

# cat /tmp/syslog.pl
use Sys::Syslog;

openlog($0, 'cons,pid,perror', 'user');
syslog('info', 'first line');
syslog('info', 'second line');
closelog();

#

The bug:

# perl /tmp/syslog.pl
/tmp/syslog.pl[14219]: first line

/tmp/syslog.pl[14219]: second line

# tail -n 2 /var/log/all
Jul 14 16:28:49 bsd /tmp/syslog.pl[27039]: first line
Jul 14 16:28:49 bsd /tmp/syslog.pl[27039]: second line


#

With the fix

# perl /tmp/syslog.pl
/tmp/syslog.pl[5146]: first line
/tmp/syslog.pl[5146]: second line
# tail -n 2 /var/log/all
Jul 14 16:37:18 bsd /tmp/syslog.pl[5146]: first line
Jul 14 16:37:18 bsd /tmp/syslog.pl[5146]: second line


#

Fix:

--- /usr/src/gnu/usr.bin/perl/cpan/Sys-Syslog/Syslog.pm.origMon
Jul 14 13:33:49 2014
+++ /usr/libdata/perl5/amd64-openbsd/5.16.3/Sys/Syslog.pm   Mon
Jul 14 13:50:05 2014
@@ -396,7 +396,7 @@
 $mask =~ s/(?!%)((?:%%)*)%m/$1$error/g;
 }

-$mask .= \n unless $mask =~ /\n$/;
+$mask .= \n if ( $mask !~ /\n$/ and $current_proto ne 'native');
 $message = @_ ? sprintf($mask, @_) : $mask;

 if ($current_proto eq 'native') {


-- 
Bertrand PROVOST



No X

2014-07-14 Thread Stefan Wollny
Following ~current on i386 and amd64 I just installed the latest
snapshots (#241, Sunday July 13th). X won't start with the following
message :xauth: can't load library 'libc.so.77.0'
Any chance that this library will be included with the next snapshots?
Thank you for your continued efforts to steadily improve OpenBSD! 
Cheers,STEFAN
Gesendet von meinem BlackBerry 10-Smartphone.



[ot] emfcamp

2014-07-14 Thread Stuart Henderson
Out of interest, is anyone here going to emfcamp? (Bletchley, UK - and btw,
there's currently a CFP for talks/workshops, see https://emfcamp.org/cfp).



LibreSSL libcrypto.a/libssl.a/openssl.bin filesize

2014-07-14 Thread Markus Manzke

Hi,

i recently build libressl 2.0.1 and nginx+libressl
and noticed  some major differences in filesizes,
compared to a recent build of openssl (openssl and
libressl both statically compiled into nginx-binary)


- nginx + openssl:  13570k
- nginx + libressl: 18887k

when checking the include-files and openssl-binaries:

~~~
# libressl
-rw-r- 1 ngx ngx 14803k Jul 14 22:02 libcrypto.a
-rw-r- 1 ngx ngx  3341k Jul 14 22:02 libssl.a

# openssl
-rw-r--r-- 1 ngx ngx 4281k Jun 10 17:00 libcrypto.a
-rw-r--r-- 1 ngx ngx  722k Jun 10 17:00 libssl.a

# ls -lak /usr/bin/openssl*
-rwxr-xr-x 1 root root 1975k Jul 12 22:22 /usr/bin/openssl.libressl
-rwxr-xr-x 1 root root  510k Jun 15 13:36 /usr/bin/openssl.openssl

~~~

why is lib*.a and the openssl-binary itself 3-4 x bigger than
it's openssl-counterpart?


just wondering.


regards,


markus



Re: LibreSSL libcrypto.a/libssl.a/openssl.bin filesize

2014-07-14 Thread Stuart Henderson
On 2014-07-14, Markus Manzke m...@mare-system.de wrote:
 Hi,

 i recently build libressl 2.0.1 and nginx+libressl
 and noticed  some major differences in filesizes,
 compared to a recent build of openssl (openssl and
 libressl both statically compiled into nginx-binary)

Are you comparing like-for-like (presence of debug symbols etc?)



Re: [ot] emfcamp

2014-07-14 Thread Stuart Henderson
On 2014/07/14 22:30, James Herbert wrote:
 I had never heard of this but it sounds very interesting. I'm already
 off to a different festival otherwise I might get a ticket.

I haven't been before but their previous events looked pretty good.

 Are you contributing, Stuart?

I'm not much of a public speaker, though I'll probably take tools and
offer help with cabling etc..



Re: zzz, /dev/wsmouse1: read error Input/output error

2014-07-14 Thread Mike Burns
On 2014-07-14 00.54.15 -0700, Mike Larkin wrote:
 On Sun, Jul 13, 2014 at 06:22:34PM -0400, Mike Burns wrote:
  Thinkpad X1 Carbon with a touchscreen, running 5.5-stable. When I resume
  from suspend my Xorg.0.log is flooded with:
  
(EE) ws: /dev/wsmouse1: read error Input/output error
  
  In my dmesg:
  
wsmouse1: can't attach mux (error=5)
 
 Are you using wsmoused?

I was not, and now am, but I'm seeing the same issue. The errors in
dmesg are gone, different output now in Xorg.0.log:


[97.351] (II) AIGLX: Suspending AIGLX clients for VT switch
[   101.776] (II) AIGLX: Resuming AIGLX clients after VT switch
[   101.776] (II) intel(0): switch to mode 1600x900@60.0 on LVDS1 using
pipe 0, position (0, 0), rotation normal, reflection none
[   101.910] (EE) xf86OpenSerial: Cannot open device /dev/wsmouse
Device busy.
[   101.910] (EE) ws: /dev/wsmouse: cannot open input device
[   101.910] (EE) ws: /dev/wsmouse: wsOpen failed Device busy
[   101.910] [dix] couldn't enable device 8
[   105.038] (EE) ws: /dev/wsmouse1: read error Input/output error
[   105.038] (EE) ws: /dev/wsmouse1: read error Input/output error
[   105.038] (EE) ws: /dev/wsmouse1: read error Input/output error
[   105.038] (EE) ws: /dev/wsmouse1: read error Input/output error


And for good measure, the new dmesg after suspend+resume:


ugen0 detached
ugen1 detached
video0 detached
uvideo0 detached
uhub2 detached
uhub2 at uhub0 port 1 Intel Rate Matching Hub rev 2.00/0.00 addr 2
ugen0 at uhub2 port 3 Auth Biometric Coprocessor rev 1.10/0.01 addr 3
ugen1 at uhub2 port 4 Broadcom Corp BCM20702A0 rev 2.00/1.12 addr 4
uvideo0 at uhub2 port 6 configuration 1 interface 0 SunplusIT INC.
Integrated Camera rev 2.00/36.22 addr 5
video0 at uvideo0
uhid0 detached
uhid1 detached
uhid2 detached
wsmouse1 detached
ums0 detached
ums1 detached
uhidev0 detached
uhub3 detached
uhub3 at uhub1 port 1 Intel Rate Matching Hub rev 2.00/0.00 addr 2
uhidev0 at uhub3 port 3 configuration 1 interface 0 eGalax Inc.
eGalaxTouch EXC7903-66v03_T1 rev 2.00/66.03 addr 3
uhidev0: iclass 3/1, 7 report ids
uhid0 at uhidev0 reportid 1: input=5, output=0, feature=0
uhid1 at uhidev0 reportid 3: input=63, output=63, feature=0
uhid2 at uhidev0 reportid 5: input=0, output=0, feature=2
ums0 at uhidev0 reportid 6: 1 button, tip
wsmouse1 at ums0 mux 0
ums1 at uhidev0 reportid 7
ums1: mouse has no X report


This is my /etc/fbtab (unmodified from the fresh 5.5 install):


/dev/ttyC0 0600 
/dev/console:/dev/wskbd:/dev/wskbd0:/dev/wsmouse:/dev/wsmouse0:/dev/ttyCcfg:/dev/drm0


Just to be clear, the ws: /dev/wsmouse1: read error Input/output error
is repeated continuously until I stop X.

With wsmoused, after resume, neither the trackpoint nor the touchscreen
work.

In experimenting, I discovered that changing to the console and back to
X causes the trackpoint to stop working (moving it reflects nothing on
the screen), but the touchscreen continues to work. (If I quit X from
there, the kernel crashes; will submit a bug report later.)

This is what that adds to my Xorg.0.log:


[281.444] (II) AIGLX: Suspending AIGLX clients for VT switch
[   283.930] (II) AIGLX: Resuming AIGLX clients after VT switch
[   283.930] (II) intel(0): switch to mode 1600x900@60.0 on LVDS1 using
pipe 0, position (0, 0), rotation normal, reflection none
[   284.051] (EE) xf86OpenSerial: Cannot open device /dev/wsmouse
wsmouseDevice busy.
[   284.051] (EE) ws: /dev/wsmouse: cannot open input device
[   284.053] (EE) ws: /dev/wsmouse: wsOpen failed Device busy
[   284.053] [dix] couldn't enable device 8


Is my fbtab right? Is there something else to configure? This is my
first time on OpenBSD in a decade, so I'm sure things have changed since
I last configured it.

Thanks for any advice,
-Mike

 -ml
 
  
  Attached are four files: the dmesg before zzz, Xorg.0.log before zzz,
  dmesg added after zzz, Xorg.0.log added after zzz.
  
  Is this fixed on -current? Is there a workaround? Something I need to
  configure? More information needed?
  
  -Mike
  OpenBSD 5.5-stable (GENERIC.MP) #0: Sat Jul 12 23:07:41 CEST 2014
  m...@bellifortis.my.domain:/usr/src/sys/arch/amd64/compile/GENERIC.MP
  real mem = 8255762432 (7873MB)
  avail mem = 8027381760 (7655MB)
  mainbus0 at root
  bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdae9d000 (71 entries)
  bios0: vendor LENOVO version G6ET93WW (2.53 ) date 02/04/2013
  bios0: LENOVO 3444CUU
  acpi0 at bios0: rev 2
  acpi0: sleep states S0 S3 S4 S5
  acpi0: tables DSDT FACP SLIC TCPA SSDT SSDT SSDT HPET APIC MCFG ECDT FPDT 
  ASF! UEFI UEFI MSDM SSDT SSDT UEFI SSDT DBG2
  acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP2(S4) XHCI(S3) EHC1(S3) 
  EHC2(S3) HDEF(S4)
  acpitimer0 at acpi0: 3579545 Hz, 24 bits
  acpihpet0 at acpi0: 14318179 Hz
  acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
  cpu0 at mainbus0: apid 0 (boot processor)
  cpu0: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1896.04 MHz
  cpu0: 
  

Re: IPKVM or ...?

2014-07-14 Thread Giancarlo Razzolini
Em 13-07-2014 18:51, frantisek holop escreveu:
 hmm, on Sun, Jul 13, 2014 at 04:42:36PM -0500, frcc said that
   Wouldn't ILO technology which is standard on hp or ibm
 commercial server's
   do the trick ?
 if i had those big brand servers then yes :)

 -f

A simple search for remote access pci card yield a lot of results.
I've started looking at the boot/kernel code to be able to provide an
early (pre boot) remote access for unlocking crypto disks on OpenBSD a
la Linux + initramfs + dropbear. But never had the time to really dig
into it. I know that there is need for lots of code to do this. Perhaps
there isn't even a way to securely do that and have base quality code.
As for the card, there are plenty of options.

Cheers,

-- 
Giancarlo Razzolini
GPG: 4096R/77B981BC



Re: LibreSSL libcrypto.a/libssl.a/openssl.bin filesize

2014-07-14 Thread Markus Manzke

Are you comparing like-for-like (presence of debug symbols etc?)


yep; after strip -g it looks different:

# openssl
-rw-r--r-- 1 ngx ngx 4281k Jun 10 17:00 libcrypto.a
-rw-r--r-- 1 ngx ngx  722k Jun 10 17:00 libssl.a
-rwxr-xr-x 1 ngx ngx  510k Jun 15 13:36 openssl

# libressl
-rw-r- 1 ngx ngx 3262k Jul 15 00:04 libcrypto.a
-rw-r- 1 ngx ngx  565k Jul 15 00:05 libssl.a
-rwxr-x--- 1 ngx ngx  498k Jul 15 00:05 openssl


thanx,


markus



Typo in FAQ

2014-07-14 Thread Senthil Kumar M
Hi,

In section 4.3 - Creating bootable OpenBSD install media
(http://www.openbsd.org/faq/faq4.html#MkInsMedia):

Note that it is not possibly for the downloaded files to directly
check themselves -- an altered download would always say the files
validated perfectly, of course! 

should be ...possible for the downloaded files...

Senthil



Re: X200 tablet doesn't work

2014-07-14 Thread Edd Barrett
For what it's worth, below is the DMESG from my x230t tablet which does
partially work. I had to do a fair amount of hacking to get this far:

 * Pointing works.
 * Tip + eraser + button 2 works on stylus.
 * Pressure sensitivity does not work.
 * Does not play well with xrandr rotation. I have a script to transform
the incoming pointer events when the screen is rotated. I can share that if
anyone is interested.
 * Pointing device calibration is lost after waking from suspend.
Workaround: use xinput to detach and reattach the device.

I would like to have a go at getting these remaining bits fixed at some
point, but I'm not finding time at the moment.

Look at that hilarious ergonomic keyboard and mouse using 9 uhid nodes.
Madness!

 OpenBSD 5.5-current (GENERIC.MP) #250: Tue Jul  8 12:13:47 MDT 2014
t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 16844521472 (16064MB)
avail mem = 16387346432 (15628MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdae9d000 (68 entries)
bios0: vendor LENOVO version GCET92WW (2.52 ) date 02/25/2013
bios0: LENOVO 3437CTO
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC TCPA SSDT SSDT SSDT HPET APIC MCFG ECDT FPDT
ASF! UEFI UEFI POAT SSDT SSDT UEFI DBG2
acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP3(S4) XHCI(S3) EHC1(S3)
EHC2(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz, 1197.48 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,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
ES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
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 1 (application processor)
cpu1: Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz, 1197.29 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,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
ES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz, 1197.29 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,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
ES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz, 1197.29 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,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
ES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP1)
acpiprt3 at acpi0: bus 3 (EXP2)
acpiprt4 at acpi0: bus 4 (EXP3)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpicpu2 at acpi0: C3, C2, C1, PSS
acpicpu3 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: PUBS, resource for XHCI, EHC1, EHC2
acpitz0 at acpi0: critical temperature is 103 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 45N1177 serial 12140 type LION oem SANYO
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit offline
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
cpu0: Enhanced SpeedStep 1197 MHz: speeds: 2601, 2600, 2500, 2400, 2300,
2200, 2100, 2000, 1900, 1800, 1700, 1600, 1500, 1400, 1300, 1200 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel Core 3G Host rev 0x09
vga1 at pci0 dev 2 function 0 Intel HD Graphics 4000 rev 0x09
intagp at vga1 not configured
inteldrm0 at vga1
drm0 at inteldrm0
drm: Memory usable by graphics device = 2048M
inteldrm0: 1366x768
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
Intel 7 Series MEI rev 0x04 at pci0 dev 22 function 0 not 

Re: IPKVM or ...?

2014-07-14 Thread Stuart Henderson
On 2014-07-13, frantisek holop min...@obiit.org wrote:
 hmm, on Sun, Jul 13, 2014 at 06:38:52PM +0200, Mxher said that
 Le 13/07/2014 18:11, frantisek holop a ?crit :
  i am looking for a device that would let me reboot my
  remote server in case it becomes unresponsive.  the
  server is hosted at a private company far-far away.
  we are talking about off-the-shelf, noname pc
  servers, so i am not looking for anything fancy.
  seeing the console is a plus, but i can live without
  that.  and of course it should work with openbsd :]
  any success stories more than welcome.

perhaps whatever is equivalent to http://www.ebay.co.uk/itm/121336427420
for the type of power sockets used in the relevant country...

 A KVM/IP could do the trick but in some case, for example kernel panic,
 you will be stuck I think.

 is it not possible to reboot if ddb.panic=1 ?

usually... boot r sometimes fails though, i've been using call
cpu_reset recently.

 Another solution available (if you have two servers near by) could be to
 redirect consoles to serial ports

 nope, just one box

 Intel AMT / vPro could help too but I guess this noname server doesn't
 have that kind of technology.

 i am also looking into IPMI, as my current server
 is rather old, and i may end up buying a new machine.

 Maybe you could take a look at something which seems called Network AC
 Power Controller.

 very interesting but looks rather pricey.

varies but they can be picked up cheaply second-hand (ap9212, ap9606, etc).
one common setup I have for multiple machines is one of these behind an alix
with serial consoles (USB if it's just a few, or via a many-years-old cisco
term server). this setup hasn't given me any trouble yet.



Re: issues with firefox

2014-07-14 Thread Juan Francisco Cantero Hurtado
On Sun, Jul 13, 2014 at 05:47:23PM -0700, Chris Cappuccio wrote:
 Juan Francisco Cantero Hurtado [i...@juanfra.info] wrote:
   
   Why Firefox needs a ZPixmap of the image displayed, that is, the entire
   fully uncompressed image copied back to userland in 4k (or 64k) chunks,
   that's totally beyond me, by itself. Why the X server does it in such
   a poor way, beyond me. It's crazyland!!!
  
  The new gtk3 flavor doesn't use the internal version of cairo.
  
 
 So firefox under -current should use some better technique of needlessly
 sharing the image with userland, like XShmGetImage? :)
 
 Is there any chance that Thunderbird will use gtk3 and external cairo at
 some point?

Apparently, firefox with gtk3 and system cairo has problems on OpenBSD
but works fine for me. IIRC, the next ESR version of thunderbird will
come out with gtk3 support.

-- 
Juan Francisco Cantero Hurtado http://juanfra.info



Re: X200 tablet doesn't work

2014-07-14 Thread Vasily Mikhaylichenko
Hi Edd, could you please share your tablet-related scripts and
configuration for the x230t?

I figured out the Xorg bit for the stylus (pointer only) but haven't
looked at the rest yet.

On Mon, Jul 14, 2014, at 03:48 PM, Edd Barrett wrote:
 For what it's worth, below is the DMESG from my x230t tablet which does
 partially work. I had to do a fair amount of hacking to get this far:
 
  * Pointing works.
  * Tip + eraser + button 2 works on stylus.
  * Pressure sensitivity does not work.
  * Does not play well with xrandr rotation. I have a script to transform
 the incoming pointer events when the screen is rotated. I can share that
 if
 anyone is interested.
  * Pointing device calibration is lost after waking from suspend.
 Workaround: use xinput to detach and reattach the device.
 
 I would like to have a go at getting these remaining bits fixed at some
 point, but I'm not finding time at the moment.
 
 Look at that hilarious ergonomic keyboard and mouse using 9 uhid nodes.
 Madness!
 
  OpenBSD 5.5-current (GENERIC.MP) #250: Tue Jul  8 12:13:47 MDT 2014
 t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
 real mem = 16844521472 (16064MB)
 avail mem = 16387346432 (15628MB)
 mpath0 at root
 scsibus0 at mpath0: 256 targets
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdae9d000 (68 entries)
 bios0: vendor LENOVO version GCET92WW (2.52 ) date 02/25/2013
 bios0: LENOVO 3437CTO
 acpi0 at bios0: rev 2
 acpi0: sleep states S0 S3 S4 S5
 acpi0: tables DSDT FACP SLIC TCPA SSDT SSDT SSDT HPET APIC MCFG ECDT FPDT
 ASF! UEFI UEFI POAT SSDT SSDT UEFI DBG2
 acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP3(S4) XHCI(S3)
 EHC1(S3)
 EHC2(S3) HDEF(S4)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpihpet0 at acpi0: 14318179 Hz
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz, 1197.48 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,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
 ES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
 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 1 (application processor)
 cpu1: Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz, 1197.29 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,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
 ES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
 cpu1: 256KB 64b/line 8-way L2 cache
 cpu1: smt 1, core 0, package 0
 cpu2 at mainbus0: apid 2 (application processor)
 cpu2: Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz, 1197.29 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,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
 ES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
 cpu2: 256KB 64b/line 8-way L2 cache
 cpu2: smt 0, core 1, package 0
 cpu3 at mainbus0: apid 3 (application processor)
 cpu3: Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz, 1197.29 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,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
 ES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
 cpu3: 256KB 64b/line 8-way L2 cache
 cpu3: smt 1, core 1, package 0
 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
 acpimcfg0 at acpi0 addr 0xf800, bus 0-63
 acpiec0 at acpi0
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus -1 (PEG_)
 acpiprt2 at acpi0: bus 2 (EXP1)
 acpiprt3 at acpi0: bus 3 (EXP2)
 acpiprt4 at acpi0: bus 4 (EXP3)
 acpicpu0 at acpi0: C3, C2, C1, PSS
 acpicpu1 at acpi0: C3, C2, C1, PSS
 acpicpu2 at acpi0: C3, C2, C1, PSS
 acpicpu3 at acpi0: C3, C2, C1, PSS
 acpipwrres0 at acpi0: PUBS, resource for XHCI, EHC1, EHC2
 acpitz0 at acpi0: critical temperature is 103 degC
 acpibtn0 at acpi0: LID_
 acpibtn1 at acpi0: SLPB
 acpibat0 at acpi0: BAT0 model 45N1177 serial 12140 type LION oem
 SANYO
 acpibat1 at acpi0: BAT1 not present
 acpiac0 at acpi0: AC unit offline
 acpithinkpad0 at acpi0
 acpidock0 at acpi0: GDCK not docked (0)
 cpu0: Enhanced SpeedStep 1197 MHz: speeds: 2601, 2600, 2500, 2400, 2300,
 2200, 2100, 2000, 1900, 1800, 1700, 1600, 1500, 1400, 1300, 1200 MHz
 pci0 at mainbus0 bus 0
 pchb0 at pci0 dev 0 function 0 Intel Core 3G Host rev 0x09
 vga1 at pci0 dev 2 

Re: No X

2014-07-14 Thread Vasily Mikhaylichenko
I faced the same issue last night. Rebuilding src from CVS got the
libc.so.77.0 into place and X is working again. 
The new snapshot should fix it too.

On Mon, Jul 14, 2014, at 01:30 PM, Stefan Wollny wrote:
 Following ~current on i386 and amd64 I just installed the latest
 snapshots (#241, Sunday July 13th). X won't start with the following
 message :xauth: can't load library 'libc.so.77.0'
 Any chance that this library will be included with the next snapshots?
 Thank you for your continued efforts to steadily improve OpenBSD! 
 Cheers,STEFAN
 Gesendet von meinem BlackBerry 10-Smartphone.



PF queuing max bandwidth

2014-07-14 Thread Matt Carey
While trying to upgrade a pf ruleset from 5.4 to 5.5 and make use of the new 
queuing system, I'm running into an issue where the traffic isn't getting 
throttled to what I set for a max on a given queue.

Below is the old ruleset that works well under 5.4:
altq on trunk0 bandwidth 9.70Mb hfsc queue { q_voip, q_normal}
queue q_voip bandwidth 1Mb hfsc(realtime 1Mb)
queue q_normal bandwidth 8.70Mb qlimit 500 hfsc(default red ecn upperlimit 
8.70Mb)

Belw is the new ruleset that I have for 5.5:
queue std on trunk0 bandwidth 10M, max 10M
queue q_voip parent std bandwidth 1M, min 1M qlimit 500
queue q_normal parent std bandwidth 8M, max 8M default qlimit 500


When looking at the measured throughput on the q_normal queue it isn't being 
ceilinged @ the 8MB from the config:
# pfctl - -s queue 

queue std on trunk0 bandwidth 10M, max 10M qlimit 50
  [ pkts:          0  bytes:          0  dropped pkts:      0 bytes:      0 ]
  [ qlength:   0/ 50 ]
  [ measured:     0.0 packets/s, 0 b/s ]
queue q_voip parent std on trunk0 bandwidth 1M, min 1M qlimit 500
  [ pkts:         90  bytes:      57032  dropped pkts:      0 bytes:      0 ]
  [ qlength:   0/500 ]
  [ measured:     3.4 packets/s, 19.38Kb/s ]
queue q_normal parent std on trunk0 bandwidth 8M, max 8M default qlimit 500
  [ pkts:     101676  bytes:   98995630  dropped pkts:      0 bytes:      0 ]
  [ qlength:   0/500 ]
  [ measured:  1192.5 packets/s, 9.32Mb/s ]

The interface config is pretty simple, 2 ports bundled together into a LACP 
trunk then WAN hangs off a vlan on that trunk. Any help would be appreciated.