Re: Disk Problem

2015-07-11 Thread Mateusz Lenik
On Fri, Jul 10, 2015 at 05:57:15PM +, Vijay Sankar wrote:
 Quoting Otto Moerbeek o...@drijf.net:
 
 On Fri, Jul 10, 2015 at 04:04:04PM +, Vijay Sankar wrote:
 
 My objective for this weekend was to follow the new dpb and build ports
 without using sudo. So I was hoping to upgrade to the latest snapshot on a
 system that I use for tests.
 
 The test system has a 2TB drive and it had two 300GB partitions in it for
 ports and vm; and a 120GB SSD for the OS and used to look as follows:
 
 Filesystem SizeUsed   Avail Capacity  Mounted on
 /dev/sd1a 1005M   55.0M900M 6%/
 /dev/sd1k 64.5G   20.9G   40.3G34%/home
 /dev/sd1d  3.9G   10.0K3.7G 0%/tmp
 /dev/sd1f  2.0G966M946M51%/usr
 /dev/sd1g 1005M191M764M20%/usr/X11R6
 /dev/sd1h  9.8G2.9G6.5G31%/usr/local
 /dev/sd1j  2.0G2.0K1.9G 0%/usr/obj
 /dev/sd1i  2.0G827M1.1G43%/usr/src
 /dev/sd1e 13.5G   26.5M   12.8G 0%/var
 /dev/sd0h  298G176G107G62%/ports
 /dev/sd0f  298G   19.6G263G 7%/vm
 
 My /etc/fstab was
 
 4f0cd8b5e7fd8f6a.b none swap sw
 4f0cd8b5e7fd8f6a.a / ffs rw 1 1
 4f0cd8b5e7fd8f6a.k /home ffs rw,nodev,nosuid 1 2
 4f0cd8b5e7fd8f6a.d /tmp ffs rw,nodev,nosuid 1 2
 4f0cd8b5e7fd8f6a.f /usr ffs rw,nodev 1 2
 4f0cd8b5e7fd8f6a.g /usr/X11R6 ffs rw,nodev 1 2
 4f0cd8b5e7fd8f6a.h /usr/local ffs rw,nodev 1 2
 4f0cd8b5e7fd8f6a.j /usr/obj ffs rw,nodev,nosuid 1 2
 4f0cd8b5e7fd8f6a.i /usr/src ffs rw,nodev,nosuid 1 2
 4f0cd8b5e7fd8f6a.e /var ffs rw,nodev,nosuid 1 2
 4d43e3389228e319.h /ports ffs rw,nodev,nosuid 1 2
 4d43e3389228e319.f /vm ffs rw,nodev,nosuid 1 2
 
 I am not sure what happened -- but when I rebooted the system this morning
 /ports and /vm would not mount; so I commented out the last two lines in
 /etc/fstab and rebooted. After reboot disklabel seems to have changed
 completely and it currently looks like this:
 
 # disklabel sd0
 # /dev/rsd0c:
 type: SCSI
 disk: SCSI disk
 label: ST2000DM001-1CH1
 duid: 
 flags:
 bytes/sector: 512
 sectors/track: 63
 tracks/cylinder: 255
 sectors/cylinder: 16065
 cylinders: 503
 total sectors: 8089950
 boundstart: 0
 boundend: 8089950
 drivedata: 0
 
 16 partitions:
 #size   offset  fstype [fsize bsize  cpg]
   c:  80899500  unused
 
 
 Is there any way fix the disklabel or is this an error that is impossible to
 recover from? duid used to show up as 4d43e3389228e319 and not
 .
 
 Please let me know if you have any suggestions.
 
 Get your old label from /var/backups and try to restore it with
 disklabel -R.  You don't tell what your platform is, it might be that
 you also need to do fdisk work first to restore the mbr partition
 table.
 
 But of course, it is also interesting to know what happened to you
 disk. But since you do not tell us what you did you are on your own
 here.
 
  -Otto
 
 Thank you very much. I am running an older snapshot OpenBSD 5.7 -current as
 of Mar 19, 2015. I thought of -R with disklabel but since the drive seems to
 show itself as a 3950MB drive instead of a 2TB drive, I was not sure how to
 do this.
 
 The problem truly is I am not sure what I did to cause all this problem!!!
 The sequence of actions were as follows. Since I had not looked at this box
 for a while I was just logging in to look at where I had kept everything. I
 did a cd /ports/packages/amd64/all and got an input error when I tried to
 edit a file. So I did a shutdown -h now; opened the 3.5 and 2.5 hotswap
 drive bays and pulled both drives out and pushed them back in. Powered the
 system on at which point I was dropped into the shell because /vm and /ports
 had errors. So I tried to do a fsck_ffs and that failed. At that point I
 looked at disklabel and noticed that the duid was gone. fdisk sd0 does not
 show anything other than:
 
 # fdisk sd0
 Disk: sd0   geometry: 503/255/63 [8089950 Sectors]
 
 I tried the disklabel -R as you suggested;
 
 # disklabel -R sd0 disklabel.sd0.current
 disklabel: partition a: partition extends past end of unit
 disklabel: partition c: partition extends past end of unit
 disklabel: partition d: offset past end of unit
 disklabel: partition d: partition extends past end of unit
 disklabel: partition e: offset past end of unit
 disklabel: partition e: partition extends past end of unit
 disklabel: partition f: offset past end of unit
 disklabel: partition f: partition extends past end of unit
 disklabel: partition g: offset past end of unit
 disklabel: partition g: partition extends past end of unit
 disklabel: partition h: offset past end of unit
 disklabel: partition h: partition extends past end of unit
 disklabel: partition i: offset past end of unit
 disklabel: partition i: partition extends past end of unit
 
 Also tried
 # fdisk -i sd0
 Do you wish to write new MBR and partition table? [n] y
 Writing 

Re: mail server on rental server , cannot send gmail.com

2015-07-11 Thread Craig Skinner
Hi Tuyosi,

On 2015-07-11 Sat 06:45 AM |, Tuyosi Takesima wrote:
 
 Jul 11 15:20:52 aoiyuma postfix/smtpd[9635]: NOQUEUE: reject: RCPT from 
 e0109-114-22-25-247.uqwimax.jp[114.22.25.247]: 454 4.7.1 
 nakajin.fu...@gmail.com: Relay access denied; from=tuy...@openbsd.link 
 to=nakajin.fu...@gmail.com proto=SMTP helo=aoiyuma.mydns.jp
 

The part postfix/smtpd[9635] means the connection was to the smtp port 25.

Relay access denied is to stop being an open relay of spam.

 
 114.22.25.247 is internet adress of sylpheed.

Mail user agents (e.g. sylpheed) should connect to the submission port 587.

e.g: ... postfix/submission/smtpd[27687] 

Clients connecting to the submission port need to authenticate.

See these docs in: /usr/local/share/doc/postfix/html/

SOHO_README.html#stand_alone
SOHO_README.html#client_sasl_enable
BASIC_CONFIGURATION_README.html#relay_from
BASIC_CONFIGURATION_README.html#relay_to

or linked from http://www.postfix.org/documentation.html



This is what a dovecot authenticated postfix submission session looks like:

Jul 11 09:07:16 teak postfix/submission/smtpd[27687]: connect from 
50.internal[192.168.1.50]
Jul 11 09:07:18 teak postfix/submission/smtpd[27687]: 3mT3kG2vYRz2C: 
client=50.internal[192.168.1.50], sasl_method=CRAM-MD5, 
sasl_username=X
Jul 11 09:07:21 teak postfix/cleanup[30241]: 3mT3kG2vYRz2C: 
message-id=20150711090718.39b15ccb@50.internal
Jul 11 09:07:21 teak postfix/submission/smtpd[27687]: disconnect from 
50.internal[192.168.1.50]

sylpheed has now disconnected from postfix on the submission port.

Next, postfix relays the mail (to 3 'To: ' addresses)

Jul 11 09:07:21 teak postfix/qmgr[5914]: 3mT3kG2vYRz2C: 
from=x...@britvault.co.uk, size=1003, nrcpt=3 (queue active)
Jul 11 09:07:21 teak spamlogd[13699]: outbound 66.39.2.39
Jul 11 09:07:21 teak spamlogd[13699]: outbound 64.233.167.27
Jul 11 09:07:22 teak spamlogd[13699]: outbound 98.138.112.38
Jul 11 09:07:22 teak postfix/smtp[31979]: 3mT3kG2vYRz2C: to=xx...@.cc, 
relay=mailwash39.pair.com[66.39.2.39]:25, delay=5.3, delays=4/0.11/0.88/0.26, 
dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 2BFC08A2F3)
Jul 11 09:07:23 teak postfix/smtp[20276]: 3mT3kG2vYRz2C: 
to=xx...@gmail.com, relay=gmail-smtp-in.l.google.com[64.233.167.27]:25, 
delay=6.4, delays=4/0.22/0.34/1.9, dsn=2.0.0, status=sent (250 2.0.0 OK 
1436602043 s2si2927565wix.63 - gsmtp)
Jul 11 09:07:24 teak postfix/smtp[5232]: 3mT3kG2vYRz2C: to=xxx...@yahoo.com, 
relay=mta6.am0.yahoodns.net[98.138.112.38]:25, delay=7.7, 
delays=4/0.31/0.8/2.6, dsn=2.0.0, status=sent (250 ok dirdel)
Jul 11 09:07:24 teak postfix/qmgr[5914]: 3mT3kG2vYRz2C: removed



Re: Boot problem custom Kernel 5.7

2015-07-11 Thread Joel Rees
2015/07/10 22:12 Oliver open...@0f.de:

 Hello,

 On Tue, 09 Jun 2015, Theo de Raadt wrote:
 entry point at 0x1000160 [7205c766, 3404, 24448b12, 1080a304]
 == At this point the system reboots. No further messages.
   
Your kernel is probably too large.  A limitation in the bootblocks.
   Do you mean the kernel with the ramdisk or without? What would be the
   best way to workaround this limit? Decrease ramdisk size?
   Remove driver/options from the kernel?
 
  Those are your changes, outside the OpenBSD tree.  You are on your own.
 I just want to say that this problem is fixed in OpenBSD 5.8-beta. The
 problem is not the bootloader. Can someone point me to the right
direction to
 backport the changes to 5.7?

 Thanks,

 Oliver

Is it fixed, or is it just randomly working?



Re: mail server on rental server , cannot send gmail.com

2015-07-11 Thread tuyosi

thanks for advices .

mynetworks = 127.0.0.0/8, 157.7.244.194/32 does not have effect .

and i understand 587 's  difficulty .

a few days later i can use port 25 , now rental server prohibit using 25 .

regards



Re: Disk Problem

2015-07-11 Thread Eric Furman
On Fri, Jul 10, 2015, at 09:15 PM, Vijay Sankar wrote:
 
 Quoting Eric Furman ericfur...@fastmail.net:
 
  On Fri, Jul 10, 2015, at 01:57 PM, Vijay Sankar wrote:
  Quoting Otto Moerbeek o...@drijf.net:
 
   On Fri, Jul 10, 2015 at 04:04:04PM +, Vijay Sankar wrote:
  
   My objective for this weekend was to follow the new dpb and build ports
   without using sudo. So I was hoping to upgrade to the latest  
  snapshot on a
   system that I use for tests.
  
   The test system has a 2TB drive and it had two 300GB partitions in it 
   for
   ports and vm; and a 120GB SSD for the OS and used to look as follows:
  
   Filesystem SizeUsed   Avail Capacity  Mounted on
   /dev/sd1a 1005M   55.0M900M 6%/
   /dev/sd1k 64.5G   20.9G   40.3G34%/home
   /dev/sd1d  3.9G   10.0K3.7G 0%/tmp
   /dev/sd1f  2.0G966M946M51%/usr
   /dev/sd1g 1005M191M764M20%/usr/X11R6
   /dev/sd1h  9.8G2.9G6.5G31%/usr/local
   /dev/sd1j  2.0G2.0K1.9G 0%/usr/obj
   /dev/sd1i  2.0G827M1.1G43%/usr/src
   /dev/sd1e 13.5G   26.5M   12.8G 0%/var
   /dev/sd0h  298G176G107G62%/ports
   /dev/sd0f  298G   19.6G263G 7%/vm
  
   My /etc/fstab was
  
   4f0cd8b5e7fd8f6a.b none swap sw
   4f0cd8b5e7fd8f6a.a / ffs rw 1 1
   4f0cd8b5e7fd8f6a.k /home ffs rw,nodev,nosuid 1 2
   4f0cd8b5e7fd8f6a.d /tmp ffs rw,nodev,nosuid 1 2
   4f0cd8b5e7fd8f6a.f /usr ffs rw,nodev 1 2
   4f0cd8b5e7fd8f6a.g /usr/X11R6 ffs rw,nodev 1 2
   4f0cd8b5e7fd8f6a.h /usr/local ffs rw,nodev 1 2
   4f0cd8b5e7fd8f6a.j /usr/obj ffs rw,nodev,nosuid 1 2
   4f0cd8b5e7fd8f6a.i /usr/src ffs rw,nodev,nosuid 1 2
   4f0cd8b5e7fd8f6a.e /var ffs rw,nodev,nosuid 1 2
   4d43e3389228e319.h /ports ffs rw,nodev,nosuid 1 2
   4d43e3389228e319.f /vm ffs rw,nodev,nosuid 1 2
  
   I am not sure what happened -- but when I rebooted the system  
  this morning
   /ports and /vm would not mount; so I commented out the last two lines in
   /etc/fstab and rebooted. After reboot disklabel seems to have changed
   completely and it currently looks like this:
  
   # disklabel sd0
   # /dev/rsd0c:
   type: SCSI
   disk: SCSI disk
   label: ST2000DM001-1CH1
   duid: 
   flags:
   bytes/sector: 512
   sectors/track: 63
   tracks/cylinder: 255
   sectors/cylinder: 16065
   cylinders: 503
   total sectors: 8089950
   boundstart: 0
   boundend: 8089950
   drivedata: 0
  
   16 partitions:
   #size   offset  fstype [fsize bsize  cpg]
 c:  80899500  unused
  
  
   Is there any way fix the disklabel or is this an error that is  
  impossible to
   recover from? duid used to show up as 4d43e3389228e319 and not
   .
  
   Please let me know if you have any suggestions.
  
   Get your old label from /var/backups and try to restore it with
   disklabel -R.  You don't tell what your platform is, it might be that
   you also need to do fdisk work first to restore the mbr partition
   table.
  
   But of course, it is also interesting to know what happened to you
   disk. But since you do not tell us what you did you are on your own
   here.
  
-Otto
 
  Thank you very much. I am running an older snapshot OpenBSD 5.7
  -current as of Mar 19, 2015. I thought of -R with disklabel but since
  the drive seems to show itself as a 3950MB drive instead of a 2TB
  drive, I was not sure how to do this.
 
  The problem truly is I am not sure what I did to cause all this
  problem!!! The sequence of actions were as follows. Since I had not
  looked at this box for a while I was just logging in to look at where
  I had kept everything. I did a cd /ports/packages/amd64/all and got an
  input error when I tried to edit a file. So I did a shutdown -h now;
 
  -
  opened the 3.5 and 2.5 hotswap drive bays and pulled both drives out
  and pushed them back in. Powered the system on at which point I was
  ^^
 
  I am very curious to know why you did this.
  What am I missing here?
  -
 
  dropped into the shell because /vm and /ports had errors. So I tried
  to do a fsck_ffs and that failed. At that point I looked at disklabel
  and noticed that the duid was gone. fdisk sd0 does not show anything
  other than:
 
  # fdisk sd0
  Disk: sd0   geometry: 503/255/63 [8089950 Sectors]
 
  I tried the disklabel -R as you suggested;
 
  # disklabel -R sd0 disklabel.sd0.current
  disklabel: partition a: partition extends past end of unit
  disklabel: partition c: partition extends past end of unit
  disklabel: partition d: offset past end of unit
  disklabel: 

Re: mail server on rental server , cannot send gmail.com

2015-07-11 Thread GDR!
On Sat, 11 Jul 2015 06:45:12 +0900
Tuyosi Takesima nakajin.fu...@gmail.com wrote:

 Jul 11 15:20:52 aoiyuma postfix/smtpd[9635]: NOQUEUE: reject: RCPT
 from e0109-114-22-25-247.uqwimax.jp[114.22.25.247]: 454 4.7.1 
 nakajin.fu...@gmail.com: Relay access denied;
 from=tuy...@openbsd.link to=nakajin.fu...@gmail.com proto=SMTP
 helo= aoiyuma.mydns.jp

It doesn't look like your email is making it to the queue - it's your
local Postfix rejecting the connection, not Gmail. From your config, it
looks like Postfix is only accepting email sent from 127.0.0.0/8 - you
need to either add your IP address to mynetworks or enable SASL or
other authentication.



Re: httpd stops accepting connections after a few hours on current

2015-07-11 Thread Jack Burton
On Thu, 2015-07-09 at 11:59 +0200, Tor Houghton wrote: 
 On Wed, Jul 08, 2015 at 10:04:27PM -0500, Theodore Wynnychenko wrote:
  
  [snip]
 
  server https://server2.tldn.com, client 2067 (63 active), 10.0.28.254:60330 
  -
  10.0.28.130:443, buffer event error
  [..]
  server https://server2.tldn.com, client 2068 (63 active), 10.0.28.254:52350 
  -
  10.0.28.130:443, buffer event error
 
 I'm going to me too on this one (have not been until now, as I thought
 perhaps it was due to my setup, and therefore off-topic).

Likewise, seeing the same behaviour here on 5.7-stable -- so the
problem is not confined to -current.

Fairly small  simple httpd setup here, httpd configured with 3 server
stanzas: 2 HTTPS-only (both using FastCGI) plus one trivial HTTP-only
(just a block return 303 pointing to one of the HTTPS servers). Quite a
light load too (averaging 178k requests/day -- about 2/sec).

Frequency of problem varies wildly -- sometimes occurs after only an
hour or two since last httpd restart and at other times httpd will last
for up to 4 days before it stops responding to requests. Variation in
volume of requests appears to have no effect on frequency of recurrence
either.

On every occasion, httpd continues to respond correctly to signals
(httpd restarts are always clean), just not to HTTP[S] requests.

On at least one occasion, the http socket continued to respond correctly
to requests, whilst the two https ones stopped responding. On other
occasions, all 3 stopped responding at around the same time.

When a socket stops responding, it still accepts requests but httpd
neither logs (at least, when not in debug mode) nor responds to them
(i.e. I can successfully open a TCP session to the listening socket and
send it a request, but nothing comes back after the initial ACK).

It hasn't happened here in a few days now so I don't have a log extract
on hand to share (but can post one next time it happens).

From memory in the past we were seeing TLS accept fail errors in the
logs, as reported by the original poster, but not at the time the
sockets stopped responding (only well beforehand), so I'd also assumed
that those were unrelated. Running tcpdump on both user-facing
interfaces (and on pflog0 just to rule out the possibility of some
error in our pf.conf) whilst httpd was not responding to requests on
previous occasions revealed nothing new.

Have tried watching debug output a couple of times before, but it
rapidly gets quite unwieldy, even with our modest load (especially over
a remote ssh session -- both uplinks at that site are nearing
capacity), given the length of time it can take for the problem to
manifest (on each occasion I gave up after a few hours without the
problem occurring).

Am now running httpd -dvvv with stdout/err redirected to a temporary log
file (probably should have done that in the first place).

We are already seeing (after less than a minute) entries in the debug
logs similar to those reported by Theodore, for example:

* On an HTTPS server (using FastCGI):
server portal, client 305 (14 active), 192.168.137.161:52224 -
192.168.137.1:443, buffer event error

and

* On the trivial HTTP server (using just a block return 303):
server redir, client 132 (11 active), 192.168.137.100:61081 -
192.168.137.1, buffer event timeout

However, the original problem (httpd stops responding to requests) is
*not* occurring at present.

Will post debug log extract  httpd.conf next time the problem recurs
(should be within the next few days).



My Compaq Sempron 3400+

2015-07-11 Thread Richard Thornton
I finally got this up  running 64 bit;  I have  only $75 tied up in this 
box and it runs very well on 64 bit OpenBSD 5.7;  I tried other OS's such as 
Ubuntu  FreeBSD, but based on my informal trial  error, OpenBSD is still 
the reigning OS for this type of hardware.  As a disclaimer - I am OS 
agnostic, in the sense that I believe in using the OS most suited for the 
computer  the desired application, but OpenBSD is a great OS and I highly 
respect its developer team.

Attached is the basic dmesg;

Richard

ps:  I am a contributer to the foundation with occasional financial 
contributions and will continue this for the foreseeable future.
OpenBSD 5.7 (RAMDISK_CD) #806: Sun Mar  8 11:08:49 MDT 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
real mem = 3404660736 (3246MB)
avail mem = 3312402432 (3158MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf (53 entries)
bios0: vendor Phoenix Technologies, LTD version 3.13 date 11/15/2005
bios0: Compaq Presario 061 EL426AA-ABA SR1710NX NA611
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP SSDT SRAT MCFG APIC
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Sempron(tm) Processor 3400+, 1990.14 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 128KB 64b/line 
16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: AMD erratum 89 present, BIOS upgrade may be required
cpu0: apic clock running at 198MHz
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 21, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (P2P_)
acpiprt2 at acpi0: bus 1 (AGP_)
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 ATI RS480 Host rev 0x10
ppb0 at pci0 dev 1 function 0 ATI RS480 PCIE rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 5 function 0 ATI Radeon XPRESS 200 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
pciide0 at pci0 dev 18 function 0 ATI SB400 SATA rev 0x00: DMA
pciide0: using apic 2 int 22 for native-PCI interrupt
pciide0: port 0: device present, speed: 1.5Gb/s
wd0 at pciide0 channel 0 drive 0: Maxtor 6L100M0
wd0: 16-sector PIO, LBA48, 95396MB, 195371568 sectors
wd0(pciide0:0:0): using BIOS timings, Ultra-DMA mode 5
ohci0 at pci0 dev 19 function 0 ATI SB400 USB rev 0x00: apic 2 int 18, 
version 1.0, legacy support
ohci1 at pci0 dev 19 function 1 ATI SB400 USB rev 0x00: apic 2 int 18, 
version 1.0, legacy support
ehci0 at pci0 dev 19 function 2 ATI SB400 USB2 rev 0x00: apic 2 int 18
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 ATI EHCI root hub rev 2.00/1.00 addr 1
ATI SB400 SMBus rev 0x11 at pci0 dev 20 function 0 not configured
pciide1 at pci0 dev 20 function 1 ATI SB400 IDE rev 0x00: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide1 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: LITE-ON, COMBO SOHC-4836K, SPJ2 ATAPI 5/cdrom 
removable
cd0(pciide1:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
ATI SB400 ISA rev 0x00 at pci0 dev 20 function 3 not configured
ppb1 at pci0 dev 20 function 4 ATI SB400 PCI rev 0x00
pci2 at ppb1 bus 2
rl0 at pci2 dev 3 function 0 Realtek 8139 rev 0x10: apic 2 int 21, address 
00:15:f2:76:1d:d0
rlphy0 at rl0 phy 0: RTL internal PHY
VIA VT6306 FireWire rev 0x80 at pci2 dev 5 function 0 not configured
vendor Conexant, unknown product 0x2f20 (class communications subclass 
miscellaneous, rev 0x00) at pci2 dev 9 function 0 not configured
ATI SB400 AC97 rev 0x02 at pci0 dev 20 function 5 not configured
pchb1 at pci0 dev 24 function 0 AMD AMD64 0Fh HyperTransport rev 0x00
pchb2 at pci0 dev 24 function 1 AMD AMD64 0Fh Address Map rev 0x00
pchb3 at pci0 dev 24 function 2 AMD AMD64 0Fh DRAM Cfg rev 0x00
pchb4 at pci0 dev 24 function 3 AMD AMD64 0Fh Misc Cfg rev 0x00
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 ATI OHCI root hub rev 1.00/1.00 addr 1
usb2 at ohci1: USB revision 1.0
uhub2 at usb2 ATI OHCI root hub rev 1.00/1.00 addr 1
isa0 at mainbus0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
uhub1: device problem, disabling port 4
softraid0 at root
scsibus1 at softraid0: 256 targets
root on rd0a swap on rd0b dump on rd0b
syncing disks... 
OpenBSD 5.7 (GENERIC) #825: Sun Mar  8 10:59:14 MDT 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 3404660736 (3246MB)
avail mem = 3310215168 (3156MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf (53 entries)
bios0: vendor Phoenix Technologies, LTD version 3.13 date 11/15/2005
bios0: Compaq 

dump /some/path/lost+found ?

2015-07-11 Thread Craig Skinner
Hi there,

When dumping /some/path and there's a lost+found directory in it,
should a backup script either:

1) carry on regardless
2) chflags nodump /some/path/lost+found
3) email the admin to manually clean  remove /some/path/lost+found

then unmount  dump.

It's now doing (1), I considered (2), but think (3) is safest.

Thoughts?
-- 
What this world needs is a good ?5 plasma weapon.



Re: Audio Boost for Sndio

2015-07-11 Thread tekk

On 07/11/2015 08:23 AM, Jan Stary wrote:



I've tried playing with inputs.dac-0:1 and other values since and
the inputs.dac-* actually *do* max out at 174 for me.

So e.g. mixerctl -v inputs.dac-0:1=255 sets it to 174,174?


Exactly. inputs.dac-{0:1,2:3}=$value_above_174 simply sets it to 174.



Re: Audio Boost for Sndio

2015-07-11 Thread Andy Bradford
Thus said tekk on Sat, 11 Jul 2015 08:30:00 -0700:

  So e.g. mixerctl -v inputs.dac-0:1=255 sets it to 174,174?
 
 Exactly. inputs.dac-{0:1,2:3}=$value_above_174 simply sets it to 174.

It would be  more helpful if instead of describing  the problem that you
would just copy/paste the result of  running the command and report that
in an email.

For example:

$ mixerctl -v record.adc-0:1=255
record.adc-0:1: 120,120 - 248,248

Thanks,

Andy
-- 
TAI64 timestamp: 400055a14376



Re: Audio Boost for Sndio

2015-07-11 Thread tekk

On 07/11/2015 08:24 AM, Jan Stary wrote:

On Jul 10 19:15:31, h...@stare.cz wrote:

On Jul 10 06:01:17, t...@parlementum.net wrote:

I'm having a bit of trouble with audio on my 5.7 box (Thinkpad T430.) Audio
is just a bit too quiet to be comfortable even when I have everything maxed
out. I had a similar problem on Linux

Are you sure the audio hardware is actually capable
of playing louder than it does? How exactly are you playing what?


I'm pretty sure. I mainly see it when playing youtube videos via mpv,
https://www.youtube.com/watch?v=d3IidGmVLo4 was giving me trouble for
example. I know for sure that the hardware is capable of being much
louder since I'm able to play it at a good volume in Windows and Linux
(both Pulseaudio and ALSA, after I add a boost device to ALSA.)



Re: Audio Boost for Sndio

2015-07-11 Thread Jan Stary
On Jul 10 11:12:31, t...@parlementum.net wrote:
 On 07/10/15 13:15, Jan Stary wrote:
 Please show the output of mixerctl -av
 This is hardly 'maxed out'.
 Same for the other settings.
 
 
 Sorry about that, I'd asked in IRC about it and was given a few devices to
 try, and they didn't work. I know for sure that a couple got reset at least
 (I remember setting hp_boost for example, since it was named like something
 relevant.)

The hp stands for headphones.
man azalia

 I've tried playing with inputs.dac-0:1 and other values since and
 the inputs.dac-* actually *do* max out at 174 for me.

So e.g. mixerctl -v inputs.dac-0:1=255 sets it to 174,174?

 $ mixerctl -av
 inputs.dac-0:1=174,174
 inputs.dac-2:3=174,174
 record.adc-2:3_mute=off  [ off on ]
 record.adc-2:3=124,124
 record.adc-0:1_mute=off  [ off on ]
 record.adc-0:1=124,124
 inputs.mix_source=mic2,beep  { mic2 beep }
 inputs.mix_mic2=120,120
 inputs.mix_beep=120,120
 inputs.mix2_source=dac-0:1,mix  { dac-0:1 mix }
 inputs.mix3_source=dac-2:3,mix  { dac-2:3 mix }
 inputs.mic=85,85
 outputs.spkr_source=mix3  [ mix2 mix3 ]
 outputs.spkr_mute=off  [ off on ]
 outputs.spkr_eapd=on  [ off on ]
 outputs.hp_source=mix2  [ mix2 mix3 ]
 outputs.hp_mute=off  [ off on ]
 outputs.hp_boost=on  [ off on ]
 outputs.hp_eapd=on  [ off on ]
 outputs.mic2_source=mix2  [ mix2 mix3 ]
 outputs.mic2_mute=off  [ off on ]
 inputs.mic2=85,85
 outputs.mic2_dir=input-vr80  [ none output input input-vr0 input-vr50
 input-vr80 input-vr100 ]
 record.adc-0:1_source=mic2,beep,mix,mic  { mic2 beep mix mic }
 record.adc-2:3_source=mic2,beep,mix  { mic2 beep mix }
 outputs.hp_sense=unplugged  [ unplugged plugged ]
 outputs.mic2_sense=unplugged  [ unplugged plugged ]
 outputs.spkr_muters=hp,mic2  { hp mic2 }
 outputs.master=255,255
 outputs.master.mute=off  [ off on ]
 outputs.master.slaves=dac-0:1,dac-2:3,spkr,hp  { dac-0:1 dac-2:3 spkr hp
 mic2 }
 record.volume=124,124
 record.volume.mute=off  [ off on ]
 record.volume.slaves=adc-2:3,adc-0:1  { adc-2:3 adc-0:1 mic mic2 }
 
 (after some playing around)



Re: Audio Boost for Sndio

2015-07-11 Thread Jan Stary
On Jul 10 19:15:31, h...@stare.cz wrote:
 On Jul 10 06:01:17, t...@parlementum.net wrote:
  I'm having a bit of trouble with audio on my 5.7 box (Thinkpad T430.) Audio
  is just a bit too quiet to be comfortable even when I have everything maxed
  out. I had a similar problem on Linux

Are you sure the audio hardware is actually capable
of playing louder than it does? How exactly are you playing what?



pkg_add -u freezes after last snapshot

2015-07-11 Thread Joseph Oficre
Hello, misc.
My dmesg:
OpenBSD 5.8-beta (GENERIC.MP) #1141: Fri Jul 10 11:31:23 MDT 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
RTC BIOS diagnostic error 80clock_battery
real mem = 8451125248 (8059MB)
avail mem = 8191127552 (7811MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xdae9c000 (67 entries)
bios0: vendor LENOVO version 8BET62WW (1.42 ) date 07/26/2013
bios0: LENOVO 428445G
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC SSDT SSDT SSDT HPET APIC MCFG ECDT ASF! TCPA
SSDT SSDT UEFI UEFI UEFI
acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP4(S4) EXP7(S4) 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-2820QM CPU @ 2.30GHz, 2292.87 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
E
S,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
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-2820QM CPU @ 2.30GHz, 2292.56 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
E
S,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
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-2820QM CPU @ 2.30GHz, 2292.56 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
E
S,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
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-2820QM CPU @ 2.30GHz, 2292.56 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
E
S,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
cpu4 at mainbus0: apid 4 (application processor)
cpu4: Intel(R) Core(TM) i7-2820QM CPU @ 2.30GHz, 2292.56 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,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
E
S,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu4: 256KB 64b/line 8-way L2 cache
cpu4: smt 0, core 2, package 0
cpu5 at mainbus0: apid 5 (application processor)
cpu5: Intel(R) Core(TM) i7-2820QM CPU @ 2.30GHz, 2292.56 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,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
ES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu5: 256KB 64b/line 8-way L2 cache
cpu5: smt 1, core 2, package 0
cpu6 at mainbus0: apid 6 (application processor)
cpu6: Intel(R) Core(TM) i7-2820QM CPU @ 2.30GHz, 2292.56 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,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
ES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu6: 256KB 64b/line 8-way L2 cache
cpu6: smt 0, core 3, package 0
cpu7 at mainbus0: apid 7 (application processor)
cpu7: Intel(R) Core(TM) i7-2820QM CPU @ 2.30GHz, 2292.56 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,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
ES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu7: 256KB 64b/line 8-way L2 cache
cpu7: smt 1, core 3, 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: 

Re: Audio Boost for Sndio

2015-07-11 Thread tekk

On 07/11/2015 12:24 PM, Andy Bradford wrote:

Thus said tekk on Sat, 11 Jul 2015 08:30:00 -0700:


So e.g. mixerctl -v inputs.dac-0:1=255 sets it to 174,174?


Exactly. inputs.dac-{0:1,2:3}=$value_above_174 simply sets it to 174.

It would be  more helpful if instead of describing  the problem that you
would just copy/paste the result of  running the command and report that
in an email.

For example:

$ mixerctl -v record.adc-0:1=255
record.adc-0:1: 120,120 - 248,248

Thanks,

Andy
I probably would've, but I'm in Linux right now with some backups 
running. I should be a bit more helpful once I'm able to reboot.




Re: Audio Boost for Sndio

2015-07-11 Thread Jan Stary
On Jul 11 08:30:37, t...@parlementum.net wrote:
 On 07/11/2015 08:24 AM, Jan Stary wrote:
 On Jul 10 19:15:31, h...@stare.cz wrote:
 On Jul 10 06:01:17, t...@parlementum.net wrote:
 I'm having a bit of trouble with audio on my 5.7 box (Thinkpad T430.) Audio
 is just a bit too quiet to be comfortable even when I have everything maxed
 out. I had a similar problem on Linux
 Are you sure the audio hardware is actually capable
 of playing louder than it does? How exactly are you playing what?
 
 I'm pretty sure. I mainly see it when playing youtube videos
 ^^

Mainly. So not always?
Do you experience this low volume when playing
just regular audio? For example, if you have sox installed,
try playing 'play -n synth 10 sin 220' (which is a saturated sin wave).

 via mpv https://www.youtube.com/watch?v=d3IidGmVLo4
 was giving me trouble for example.

mpv (or any other player, for that matter)
can have its own volume settings. If these are set low,
maxing out outputs.master will not help you much.
So how is mpv's volume set during this playback?

 I know for sure that the hardware is capable of being much
 louder since I'm able to play it at a good volume in Windows and Linux
 (both Pulseaudio and ALSA, after I add a boost device to ALSA.)

I don't know what an ALSA boost device is,
but the name suggests some kind of amplification.



Libreoffice i386 crash on 5.8 snapshot

2015-07-11 Thread Alexis Parseghian
Hi all,

I'm relatively new to OpenBSD, hope this is proper.

Attempting to run libreoffice (be it writer, calc or the 'soffice'
chooser component) fails with the error listed below.

The problem has been observed over the last few snapshots (since 21
june). Haven't seen anything here or on bugs@ about this.

Hardware is a stock Thinkpad T60 originally installed with i386 5.7,
since upgraded to snapshots and following updates every few days.

Installed package libreoffice-4.3.5.2v0-no_java.

Is there anything I'm missing or should I report a bug ?

Output from 'lowriter' at the prompt:
/usr/local/lib/libreoffice/program/soffice.bin:/usr/X11R6/lib/libfreetype.so.24.0:
/usr/X11R6/lib/libfreetype.so.23.0 : WARNING: symbol(af_blue_strings)
size mismatch, relink your program
/usr/local/lib/libreoffice/program/soffice.bin:/usr/X11R6/lib/libfreetype.so.24.0:
/usr/X11R6/lib/libfreetype.so.23.0 : WARNING:
symbol(af_script_classes) size mismatch, relink your program
/usr/local/lib/libreoffice/program/soffice.bin:/usr/X11R6/lib/libfreetype.so.24.0:
/usr/X11R6/lib/libfreetype.so.23.0 : WARNING:
symbol(af_blue_stringsets) size mismatch, relink your program
/usr/local/lib/libreoffice/program/soffice.bin:/usr/X11R6/lib/libfreetype.so.24.0:
/usr/X11R6/lib/libfreetype.so.23.0 : WARNING: symbol(af_style_classes)
size mismatch, relink your program
/usr/local/lib/libreoffice/program/soffice.bin:/usr/lib/libstdc++.so.57.0:
/usr/local/lib/libestdc++.so.16.0 : WARNING:
symbol(_ZN11__gnu_debug17_S_debug_messagesE) size mismatch, relink
your program
/usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libreoffice/program/libi18nutil.so:
undefined symbol '_ZTVN6icu_5413UnicodeStringE'
/usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libreoffice/program/libvcllo.so:
undefined symbol '_ZTIN6icu_547UObjectE'
/usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libreoffice/program/../program/libi18npoollo.so:
undefined symbol '_ZTIN6icu_5422RuleBasedBreakIteratorE'
/usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libreoffice/program/../program/libi18npoollo.so:
undefined symbol
'_ZNK6icu_5422RuleBasedBreakIterator17getDynamicClassIDEv'
/usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libreoffice/program/../program/libi18npoollo.so:
undefined symbol
'_ZNK6icu_5422RuleBasedBreakIteratoreqERKNS_13BreakIteratorE'
/usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libreoffice/program/../program/libi18npoollo.so:
undefined symbol '_ZNK6icu_5422RuleBasedBreakIterator5cloneEv'
/usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libreoffice/program/../program/libi18npoollo.so:
undefined symbol '_ZNK6icu_5422RuleBasedBreakIterator7getTextEv'
/usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libreoffice/program/../program/libi18npoollo.so:
undefined symbol
'_ZNK6icu_5422RuleBasedBreakIterator8getUTextEP5UTextR10UErrorCode'
/usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libreoffice/program/../program/libi18npoollo.so:
undefined symbol
'_ZN6icu_5422RuleBasedBreakIterator7setTextERKNS_13UnicodeStringE'
/usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libreoffice/program/../program/libi18npoollo.so:
undefined symbol
'_ZN6icu_5422RuleBasedBreakIterator7setTextEP5UTextR10UErrorCode'
/usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libreoffice/program/../program/libi18npoollo.so:
undefined symbol
'_ZN6icu_5422RuleBasedBreakIterator9adoptTextEPNS_17CharacterIteratorE'
/usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libreoffice/program/../program/libi18npoollo.so:
undefined symbol '_ZN6icu_5422RuleBasedBreakIterator5firstEv'
/usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libreoffice/program/../program/libi18npoollo.so:
undefined symbol '_ZN6icu_5422RuleBasedBreakIterator4lastEv'
/usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libreoffice/program/../program/libi18npoollo.so:
undefined symbol '_ZN6icu_5422RuleBasedBreakIterator8previousEv'
/usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libreoffice/program/../program/libi18npoollo.so:
undefined symbol '_ZN6icu_5422RuleBasedBreakIterator4nextEv'
/usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libreoffice/program/../program/libi18npoollo.so:
undefined symbol '_ZNK6icu_5422RuleBasedBreakIterator7currentEv'
/usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libreoffice/program/../program/libi18npoollo.so:
undefined symbol '_ZN6icu_5422RuleBasedBreakIterator9followingEi'
/usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libreoffice/program/../program/libi18npoollo.so:
undefined symbol '_ZN6icu_5422RuleBasedBreakIterator9precedingEi'
/usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libreoffice/program/../program/libi18npoollo.so:
undefined symbol '_ZN6icu_5422RuleBasedBreakIterator10isBoundaryEi'

Re: Mplayer/VLC crashes on yesterdays 5.8 snapshot on i386

2015-07-11 Thread Jan Vlach
Dmitrij,
sorry for previous mail, I've finally understood what you meant by h.265
status ...

both h.264 and h.265 video codecs fail with direct segfault without
displaying stream info. detailed output follows.

Thank you,
Jan



using 480p files from: https://peach.blender.org/download/

### mp4 (OK)
$ mpv big_buck_bunny_480p_surround-fix.avi  
Playing: big_buck_bunny_480p_surround-fix.avi
 (+) Video --vid=1 (mpeg4)
 (+) Audio --aid=1 (ac3)
[vo/opengl/x11] X11 error: GLXBadFBConfig
[vo/opengl] Could not create GL3 context. Retrying with legacy context.
[vo/opengl/x11] Disabling screensaver failed.
AO: [sndio] 48000Hz 5.1(alsa) 6ch s16
VO: [opengl] 854x480 yuv420p
AV: 00:00:05 / 00:09:56 (0%) A-V: -0.000 Dropped: 2
^^^ this is n-th run to show the log

plays fine, seekable until the end back and forth,multiple runs

### h.264 (FAILS)
$ mpv big_buck_bunny_480p_h264.mov 
Playing: big_buck_bunny_480p_h264.mov
 (+) Video --vid=1 (*) (h264)
 (+) Audio --aid=1 --alang=eng (*) (aac)
[vo/opengl/x11] X11 error: GLXBadFBConfig
[vo/opengl] Could not create GL3 context. Retrying with legacy context.
[vo/opengl/x11] Disabling screensaver failed.
AO: [sndio] 48000Hz 5.1(alsa) 6ch s16
VO: [opengl] 854x480 yuv420p
Segmentation fault (core dumped)  -0.000

crashes at 0:09 always, also true for mplayer

seeking in the file crashes it at 0:23 (with right arrow, mpv)

### ogg (OK)
$ mpv big_buck_bunny_480p_stereo.ogg  
Playing: big_buck_bunny_480p_stereo.ogg
[ffmpeg/video] theora: 7 bits left in packet 82
[ffmpeg/demuxer] ogg: Broken file, keyframe not correctly marked.
 (+) Video --vid=1 (theora)
 (+) Audio --aid=1 (vorbis)
[vo/opengl/x11] X11 error: GLXBadFBConfig
[vo/opengl] Could not create GL3 context. Retrying with legacy context.
[ffmpeg/video] theora: 7 bits left in packet 82
[vo/opengl/x11] Disabling screensaver failed.
[ffmpeg/demuxer] ogg: Broken file, keyframe not correctly marked.
AO: [sndio] 48000Hz stereo 2ch s16
VO: [opengl] 854x480 yuv420p
AV: 00:00:02 / 00:09:56 (0%) A-V: -0.000 Dropped: 7
 n-th run to show head of the log

works fine, seekable back and forth

### msmp4 (OK)
$ mpv big_buck_bunny_480p_stereo.avi  
Playing: big_buck_bunny_480p_stereo.avi
[ffmpeg/video] theora: 7 bits left in packet 82
[ffmpeg/demuxer] ogg: Broken file, keyframe not correctly marked.
 (+) Video --vid=1 (msmpeg4v2)
 Audio --aid=1 (mp3)
 (+) Audio --aid=2 'big_buck_bunny_480p_stereo.ogg' (vorbis) (external)
[vo/opengl/x11] X11 error: GLXBadFBConfig
[vo/opengl] Could not create GL3 context. Retrying with legacy context.
[vo/opengl/x11] Disabling screensaver failed.
[ffmpeg/demuxer] ogg: Broken file, keyframe not correctly marked.
[ffmpeg/demuxer] ogg: Broken file, keyframe not correctly marked.
AO: [sndio] 48000Hz stereo 2ch s16
VO: [opengl] 854x480 yuv420p
AV: 00:00:00 / 00:09:56 (0%) A-V:  0.000
   n-th run to show head of the log 

### Hackfest 2014 from youtube, downloaded with youtube-dl, mpv headless
(OK)
to see stream info - 5.7-stable
$ mpv
Hackfest_2014_-_Theo_de_Raadt_presented_arc4random_-_randomization_for_all_occasions-aWmLWx8ut20.mp4
  
Playing:
Hackfest_2014_-_Theo_de_Raadt_presented_arc4random_-_randomization_for_all_occasions-aWmLWx8ut20.mp4
[stream] Video (+) --vid=1 (*) (h264)
[stream] Audio (+) --aid=1 --alang=und (*) (aac)
File tags:
 major_brand: mp42
 minor_version: 0
 compatible_brands: isommp42
 creation_time: 2014-12-23 16:33:19
[vo/xv/x11] couldn't open the X11 display ()!
[vo/x11/x11] couldn't open the X11 display ()!
Error opening/initializing the selected video_out (-vo) device.
Video: no video
AO: [sndio] 44100Hz stereo 2ch s16
A: 00:00:01 / 00:36:35 (0%)
[ao/sndio] Blocking until remaining audio is played... (sndio design 

### Hackfest 2014, same file like above, local X server, 5.8 snapshot
(FAILS)
from yesterday evening (2015-07-10), doesn't even
read stream info
$ mpv
Hackfest_2014_-_Theo_de_Raadt_presented_arc4random_-_randomization_for_all_occasions-aWmLWx8ut20.mp4

Playing:
Hackfest_2014_-_Theo_de_Raadt_presented_arc4random_-_randomization_for_all_occasions-aWmLWx8ut20.mp4
Segmentation fault 

### h265 sample from 
http://www.elecard.com/assets/files/other/clips/140626_720p_hm130_4s_sao_dbf_qp27.265
(FAILS)
$ mpv 140626_720p_hm130_4s_sao_dbf_qp27.265
Playing: 140626_720p_hm130_4s_sao_dbf_qp27.265
Segmentation fault (core dumped) 

### h265 sample as above, headless 5.7-stable to see stream info (OK?)
$ mpv 140626_720p_hm130_4s_sao_dbf_qp27.265
Playing: 140626_720p_hm130_4s_sao_dbf_qp27.265
[stream] Video (+) --vid=1 (hevc)
[vo/xv/x11] couldn't open the X11 display ()!
[vo/x11/x11] couldn't open the X11 display ()!
Error opening/initializing the selected video_out (-vo) device.
Video: no video



Re: Mplayer/VLC crashes on yesterdays 5.8 snapshot on i386

2015-07-11 Thread Jan Vlach
Hi Dmitrij,

works fine with right input. Also playing this file and the output plays
wine with mplayer and mpv. I'm trying to track down which formats cause
the segfault now ...

The set of files I have problems with are youtoube-dl'd clips ...

akiyo_cif.y4m is the first link at http://media.xiph.org/video/derf/
(http://media.xiph.org/video/derf/y4m/akiyo_cif.y4m)

$ x265  Downloads/akiyo_cif.y4m ak   
y4m  [info]: 352x288 fps 3/1001 i420p8 sar 128:117 frames 0 - 299 of
300
raw  [info]: output file: ak
x265 [info]: HEVC encoder version 1.7
x265 [info]: build info [OpenBSD][clang 3.5.0][32 bit] 8bpp
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64 SlowCTZ
SlowAtom SlowPshufb
x265 [info]: Main profile, Level-2 (Main tier)
x265 [info]: Thread pool created using 2 threads
x265 [info]: frame threads / pool features   : 1 / wpp(5 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1
intra
x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 2
x265 [info]: Keyframe min / max / scenecut   : 25 / 250 / 40
x265 [info]: Lookahead / bframes / badapt: 20 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb / refs: 1 / 1 / 0 / 3
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 1 / 1.0 / 64 / 1
x265 [info]: Rate Control / qCompress: CRF-28.0 / 0.60
x265 [info]: tools: rd=3 psy-rd=0.30 signhide tmvp
strong-intra-smoothing
x265 [info]: tools: deblock sao
x265 [info]: frame I:  2, Avg QP:25.55  kb/s: 1164.88   
x265 [info]: frame P: 70, Avg QP:31.01  kb/s: 109.32  
x265 [info]: frame B:228, Avg QP:35.74  kb/s: 12.93   
x265 [info]: global :300, Avg QP:34.57  kb/s: 43.10   
x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x265 [info]: consecutive B-frames: 1.4% 2.8% 5.6% 58.3% 31.9% 

encoded 300 frames in 88.12s (3.40 fps), 43.10 kb/s


On Fri, Jul 10, 2015 at 11:57:39PM +0200, Dmitrij D. Czarkoff wrote:
 Does /usr/local/bin/x265 work for you?  
 
 -- 
 Dmitrij D. Czarkoff



Re: Libreoffice i386 crash on 5.8 snapshot

2015-07-11 Thread Edgar Pettijohn

When you upgraded to snapshot did you remember to run:

# sysmerge

and

# pkg_add -u

On 07/11/15 03:53, Alexis Parseghian wrote:

Hi all,

I'm relatively new to OpenBSD, hope this is proper.

Attempting to run libreoffice (be it writer, calc or the 'soffice'
chooser component) fails with the error listed below.

The problem has been observed over the last few snapshots (since 21
june). Haven't seen anything here or on bugs@ about this.

Hardware is a stock Thinkpad T60 originally installed with i386 5.7,
since upgraded to snapshots and following updates every few days.

Installed package libreoffice-4.3.5.2v0-no_java.

Is there anything I'm missing or should I report a bug ?

Output from 'lowriter' at the prompt:
/usr/local/lib/libreoffice/program/soffice.bin:/usr/X11R6/lib/libfreetype.so.24.0:
/usr/X11R6/lib/libfreetype.so.23.0 : WARNING: symbol(af_blue_strings)
size mismatch, relink your program
/usr/local/lib/libreoffice/program/soffice.bin:/usr/X11R6/lib/libfreetype.so.24.0:
/usr/X11R6/lib/libfreetype.so.23.0 : WARNING:
symbol(af_script_classes) size mismatch, relink your program
/usr/local/lib/libreoffice/program/soffice.bin:/usr/X11R6/lib/libfreetype.so.24.0:
/usr/X11R6/lib/libfreetype.so.23.0 : WARNING:
symbol(af_blue_stringsets) size mismatch, relink your program
/usr/local/lib/libreoffice/program/soffice.bin:/usr/X11R6/lib/libfreetype.so.24.0:
/usr/X11R6/lib/libfreetype.so.23.0 : WARNING: symbol(af_style_classes)
size mismatch, relink your program
/usr/local/lib/libreoffice/program/soffice.bin:/usr/lib/libstdc++.so.57.0:
/usr/local/lib/libestdc++.so.16.0 : WARNING:
symbol(_ZN11__gnu_debug17_S_debug_messagesE) size mismatch, relink
your program
/usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libreoffice/program/libi18nutil.so:
undefined symbol '_ZTVN6icu_5413UnicodeStringE'
/usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libreoffice/program/libvcllo.so:
undefined symbol '_ZTIN6icu_547UObjectE'
/usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libreoffice/program/../program/libi18npoollo.so:
undefined symbol '_ZTIN6icu_5422RuleBasedBreakIteratorE'
/usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libreoffice/program/../program/libi18npoollo.so:
undefined symbol
'_ZNK6icu_5422RuleBasedBreakIterator17getDynamicClassIDEv'
/usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libreoffice/program/../program/libi18npoollo.so:
undefined symbol
'_ZNK6icu_5422RuleBasedBreakIteratoreqERKNS_13BreakIteratorE'
/usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libreoffice/program/../program/libi18npoollo.so:
undefined symbol '_ZNK6icu_5422RuleBasedBreakIterator5cloneEv'
/usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libreoffice/program/../program/libi18npoollo.so:
undefined symbol '_ZNK6icu_5422RuleBasedBreakIterator7getTextEv'
/usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libreoffice/program/../program/libi18npoollo.so:
undefined symbol
'_ZNK6icu_5422RuleBasedBreakIterator8getUTextEP5UTextR10UErrorCode'
/usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libreoffice/program/../program/libi18npoollo.so:
undefined symbol
'_ZN6icu_5422RuleBasedBreakIterator7setTextERKNS_13UnicodeStringE'
/usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libreoffice/program/../program/libi18npoollo.so:
undefined symbol
'_ZN6icu_5422RuleBasedBreakIterator7setTextEP5UTextR10UErrorCode'
/usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libreoffice/program/../program/libi18npoollo.so:
undefined symbol
'_ZN6icu_5422RuleBasedBreakIterator9adoptTextEPNS_17CharacterIteratorE'
/usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libreoffice/program/../program/libi18npoollo.so:
undefined symbol '_ZN6icu_5422RuleBasedBreakIterator5firstEv'
/usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libreoffice/program/../program/libi18npoollo.so:
undefined symbol '_ZN6icu_5422RuleBasedBreakIterator4lastEv'
/usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libreoffice/program/../program/libi18npoollo.so:
undefined symbol '_ZN6icu_5422RuleBasedBreakIterator8previousEv'
/usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libreoffice/program/../program/libi18npoollo.so:
undefined symbol '_ZN6icu_5422RuleBasedBreakIterator4nextEv'
/usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libreoffice/program/../program/libi18npoollo.so:
undefined symbol '_ZNK6icu_5422RuleBasedBreakIterator7currentEv'
/usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libreoffice/program/../program/libi18npoollo.so:
undefined symbol '_ZN6icu_5422RuleBasedBreakIterator9followingEi'
/usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libreoffice/program/../program/libi18npoollo.so:
undefined symbol '_ZN6icu_5422RuleBasedBreakIterator9precedingEi'
/usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libreoffice/program/../program/libi18npoollo.so:
undefined symbol 

Re: Mplayer/VLC crashes on yesterdays 5.8 snapshot on i386

2015-07-11 Thread Stuart Henderson
On 2015-07-10, Jan Vlach ja...@volny.cz wrote:
 after countless cpu cycles on my little Atom and running out of disk
 space 3 times I'm getting: 

 error: inline assembly requires more
 registers than available

 Does this mean that I need different CPU to get this compiled? I'm out
 of ideas at this point ... hit with a cluestick appreciated, so I can
 get further ...

You might be able to get it built by adding -fno-pie to the compiler flags.
Or -fomit-frame-pointer may also let it build, though it may hinder debugging.
The problem isn't your cpu model, rather that i386 is rather short on registers.



Re: Audio Boost for Sndio

2015-07-11 Thread tekk

On 07/11/15 15:49, Jan Stary wrote:

On Jul 11 08:30:37, t...@parlementum.net wrote:

On 07/11/2015 08:24 AM, Jan Stary wrote:

On Jul 10 19:15:31, h...@stare.cz wrote:

On Jul 10 06:01:17, t...@parlementum.net wrote:

I'm having a bit of trouble with audio on my 5.7 box (Thinkpad T430.) Audio
is just a bit too quiet to be comfortable even when I have everything maxed
out. I had a similar problem on Linux

Are you sure the audio hardware is actually capable
of playing louder than it does? How exactly are you playing what?


I'm pretty sure. I mainly see it when playing youtube videos

  ^^

Mainly. So not always?
Do you experience this low volume when playing
just regular audio? For example, if you have sox installed,
try playing 'play -n synth 10 sin 220' (which is a saturated sin wave).
If the source is loud enough I can hear it. When volume is maxed out the 
sine wave is certainly audible,
but I wouldn't call it loud. Playing around with the value of 
outputs.master while the wave is actually running
showed something odd though: levels above 175 don't matter. I guess this 
is related to the inputs stopping at 174 (inputs.dac-0:1=174,174)

via mpv https://www.youtube.com/watch?v=d3IidGmVLo4
was giving me trouble for example.

mpv (or any other player, for that matter)
can have its own volume settings. If these are set low,
maxing out outputs.master will not help you much.
So how is mpv's volume set during this playback?

mpv's volume is at 100%

I know for sure that the hardware is capable of being much
louder since I'm able to play it at a good volume in Windows and Linux
(both Pulseaudio and ALSA, after I add a boost device to ALSA.)

I don't know what an ALSA boost device is,
but the name suggests some kind of amplification.

Yes, it's meant to increase the volume of sounds before they actually 
reach the sound card. I need it when using ALSA
but not when using Pulseaudio. The same issue may be underlying Linux 
ALSA though. Maybe some weird vendor thing
where the sound card is too quiet when you're not using the 
manufacturer's special Windows driver? I've noticed that

under Windows the laptop can get *really* loud if you set the volume high.

Sorry it took so long, lots of large files over a slow network.



Re: pkg_add -u freezes after last snapshot

2015-07-11 Thread nigel
On 07/11/15 17:15, Joseph Oficre wrote:
 Hello, misc.
 My dmesg:
 OpenBSD 5.8-beta (GENERIC.MP) #1141: Fri Jul 10 11:31:23 MDT 2015
 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
 RTC BIOS diagnostic error 80clock_battery
 real mem = 8451125248 (8059MB)
 avail mem = 8191127552 (7811MB)
 mpath0 at root
 scsibus0 at mpath0: 256 targets
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xdae9c000 (67 entries)
 bios0: vendor LENOVO version 8BET62WW (1.42 ) date 07/26/2013
 bios0: LENOVO 428445G
 acpi0 at bios0: rev 2
 acpi0: sleep states S0 S3 S4 S5
 acpi0: tables DSDT FACP SLIC SSDT SSDT SSDT HPET APIC MCFG ECDT ASF! TCPA
 SSDT SSDT UEFI UEFI UEFI
 acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP4(S4) EXP7(S4) 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-2820QM CPU @ 2.30GHz, 2292.87 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
 E
 S,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
 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-2820QM CPU @ 2.30GHz, 2292.56 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
 E
 S,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
 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-2820QM CPU @ 2.30GHz, 2292.56 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
 E
 S,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
 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-2820QM CPU @ 2.30GHz, 2292.56 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
 E
 S,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
 cpu3: 256KB 64b/line 8-way L2 cache
 cpu3: smt 1, core 1, package 0
 cpu4 at mainbus0: apid 4 (application processor)
 cpu4: Intel(R) Core(TM) i7-2820QM CPU @ 2.30GHz, 2292.56 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,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
 E
 S,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
 cpu4: 256KB 64b/line 8-way L2 cache
 cpu4: smt 0, core 2, package 0
 cpu5 at mainbus0: apid 5 (application processor)
 cpu5: Intel(R) Core(TM) i7-2820QM CPU @ 2.30GHz, 2292.56 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,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
 ES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
 cpu5: 256KB 64b/line 8-way L2 cache
 cpu5: smt 1, core 2, package 0
 cpu6 at mainbus0: apid 6 (application processor)
 cpu6: Intel(R) Core(TM) i7-2820QM CPU @ 2.30GHz, 2292.56 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,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
 ES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
 cpu6: 256KB 64b/line 8-way L2 cache
 cpu6: smt 0, core 3, package 0
 cpu7 at mainbus0: apid 7 (application processor)
 cpu7: Intel(R) Core(TM) i7-2820QM CPU @ 2.30GHz, 2292.56 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,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
 ES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
 cpu7: 256KB 64b/line 8-way L2 cache
 cpu7: smt 1, core 3, package 0
 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
 acpimcfg0 at acpi0 addr 0xf800, bus 0-63
 acpiec0 at acpi0
 

Re: Mplayer/VLC crashes on yesterdays 5.8 snapshot on i386

2015-07-11 Thread Antoine Jacoutot
On Sat, Jul 11, 2015 at 10:07:45PM +0200, Jan Vlach wrote:
 Dmitrij,
 sorry for previous mail, I've finally understood what you meant by h.265
 status ...
 
 both h.264 and h.265 video codecs fail with direct segfault without
 displaying stream info. detailed output follows.

Can you guys try to revert this commit, rebuild ffmpeg and see if it helps:
http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/graphics/ffmpeg/Makefile.diff?r1=1.118r2=1.119f=h


 using 480p files from: https://peach.blender.org/download/
 
 ### mp4 (OK)
 $ mpv big_buck_bunny_480p_surround-fix.avi  
 Playing: big_buck_bunny_480p_surround-fix.avi
  (+) Video --vid=1 (mpeg4)
  (+) Audio --aid=1 (ac3)
 [vo/opengl/x11] X11 error: GLXBadFBConfig
 [vo/opengl] Could not create GL3 context. Retrying with legacy context.
 [vo/opengl/x11] Disabling screensaver failed.
 AO: [sndio] 48000Hz 5.1(alsa) 6ch s16
 VO: [opengl] 854x480 yuv420p
 AV: 00:00:05 / 00:09:56 (0%) A-V: -0.000 Dropped: 2
   ^^^ this is n-th run to show the log
 
 plays fine, seekable until the end back and forth,multiple runs
 
 ### h.264 (FAILS)
 $ mpv big_buck_bunny_480p_h264.mov 
 Playing: big_buck_bunny_480p_h264.mov
  (+) Video --vid=1 (*) (h264)
  (+) Audio --aid=1 --alang=eng (*) (aac)
 [vo/opengl/x11] X11 error: GLXBadFBConfig
 [vo/opengl] Could not create GL3 context. Retrying with legacy context.
 [vo/opengl/x11] Disabling screensaver failed.
 AO: [sndio] 48000Hz 5.1(alsa) 6ch s16
 VO: [opengl] 854x480 yuv420p
 Segmentation fault (core dumped)  -0.000
 
 crashes at 0:09 always, also true for mplayer
 
 seeking in the file crashes it at 0:23 (with right arrow, mpv)
 
 ### ogg (OK)
 $ mpv big_buck_bunny_480p_stereo.ogg  
 Playing: big_buck_bunny_480p_stereo.ogg
 [ffmpeg/video] theora: 7 bits left in packet 82
 [ffmpeg/demuxer] ogg: Broken file, keyframe not correctly marked.
  (+) Video --vid=1 (theora)
  (+) Audio --aid=1 (vorbis)
 [vo/opengl/x11] X11 error: GLXBadFBConfig
 [vo/opengl] Could not create GL3 context. Retrying with legacy context.
 [ffmpeg/video] theora: 7 bits left in packet 82
 [vo/opengl/x11] Disabling screensaver failed.
 [ffmpeg/demuxer] ogg: Broken file, keyframe not correctly marked.
 AO: [sndio] 48000Hz stereo 2ch s16
 VO: [opengl] 854x480 yuv420p
 AV: 00:00:02 / 00:09:56 (0%) A-V: -0.000 Dropped: 7
  n-th run to show head of the log
 
 works fine, seekable back and forth
 
 ### msmp4 (OK)
 $ mpv big_buck_bunny_480p_stereo.avi  
 Playing: big_buck_bunny_480p_stereo.avi
 [ffmpeg/video] theora: 7 bits left in packet 82
 [ffmpeg/demuxer] ogg: Broken file, keyframe not correctly marked.
  (+) Video --vid=1 (msmpeg4v2)
  Audio --aid=1 (mp3)
  (+) Audio --aid=2 'big_buck_bunny_480p_stereo.ogg' (vorbis) (external)
 [vo/opengl/x11] X11 error: GLXBadFBConfig
 [vo/opengl] Could not create GL3 context. Retrying with legacy context.
 [vo/opengl/x11] Disabling screensaver failed.
 [ffmpeg/demuxer] ogg: Broken file, keyframe not correctly marked.
 [ffmpeg/demuxer] ogg: Broken file, keyframe not correctly marked.
 AO: [sndio] 48000Hz stereo 2ch s16
 VO: [opengl] 854x480 yuv420p
 AV: 00:00:00 / 00:09:56 (0%) A-V:  0.000
    n-th run to show head of the log 
 
 ### Hackfest 2014 from youtube, downloaded with youtube-dl, mpv headless
 (OK)
 to see stream info - 5.7-stable
 $ mpv
 Hackfest_2014_-_Theo_de_Raadt_presented_arc4random_-_randomization_for_all_occasions-aWmLWx8ut20.mp4
   
 Playing:
 Hackfest_2014_-_Theo_de_Raadt_presented_arc4random_-_randomization_for_all_occasions-aWmLWx8ut20.mp4
 [stream] Video (+) --vid=1 (*) (h264)
 [stream] Audio (+) --aid=1 --alang=und (*) (aac)
 File tags:
  major_brand: mp42
  minor_version: 0
  compatible_brands: isommp42
  creation_time: 2014-12-23 16:33:19
 [vo/xv/x11] couldn't open the X11 display ()!
 [vo/x11/x11] couldn't open the X11 display ()!
 Error opening/initializing the selected video_out (-vo) device.
 Video: no video
 AO: [sndio] 44100Hz stereo 2ch s16
 A: 00:00:01 / 00:36:35 (0%)
 [ao/sndio] Blocking until remaining audio is played... (sndio design 
 
 ### Hackfest 2014, same file like above, local X server, 5.8 snapshot
 (FAILS)
 from yesterday evening (2015-07-10), doesn't even
 read stream info
 $ mpv
 Hackfest_2014_-_Theo_de_Raadt_presented_arc4random_-_randomization_for_all_occasions-aWmLWx8ut20.mp4
 
 Playing:
 Hackfest_2014_-_Theo_de_Raadt_presented_arc4random_-_randomization_for_all_occasions-aWmLWx8ut20.mp4
 Segmentation fault 
 
 ### h265 sample from 
 http://www.elecard.com/assets/files/other/clips/140626_720p_hm130_4s_sao_dbf_qp27.265
 (FAILS)
 $ mpv 140626_720p_hm130_4s_sao_dbf_qp27.265
 Playing: 140626_720p_hm130_4s_sao_dbf_qp27.265
 Segmentation fault (core dumped) 
 
 ### h265 sample as above, headless 5.7-stable to see stream info (OK?)
 $ mpv 140626_720p_hm130_4s_sao_dbf_qp27.265
 Playing: 140626_720p_hm130_4s_sao_dbf_qp27.265
 [stream] Video (+) --vid=1 (hevc)
 [vo/xv/x11] couldn't open the X11 display ()!
 [vo/x11/x11] couldn't open the X11 

Re: Mplayer/VLC crashes on yesterdays 5.8 snapshot on i386

2015-07-11 Thread Jan Vlach
Hello Dmitrij,


 Try mpv.

 --
 Dmitrij D. Czarkoff

Thank you for your reply.

mpv also segfaults. I don't seem to be able to recompile mpv and ffmpeg
with debugging symbols to get useful backtrace... details below,
sections divided by ###

### mpv segfault
$ mpv a.mp4   
Playing: a.mp4
Segmentation fault (core dumped) 

### mpv core GDB
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-unknown-openbsd5.8...
Core was generated by `mpv'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libpthread.so.19.0...done.
Loaded symbols for /usr/lib/libpthread.so.19.0
Loaded symbols for /usr/local/bin/mpv
Symbols already loaded for /usr/lib/libpthread.so.19.0
Reading symbols from /usr/lib/libm.so.9.0...done.
Loaded symbols for /usr/lib/libm.so.9.0
Reading symbols from /usr/local/lib/libsmbclient.so.3.0...done.
Loaded symbols for /usr/local/lib/libsmbclient.so.3.0
Reading symbols from /usr/X11R6/lib/libX11.so.16.1...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.16.1
Reading symbols from /usr/X11R6/lib/libXss.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXss.so.6.0
Reading symbols from /usr/X11R6/lib/libXext.so.13.0...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.13.0
Reading symbols from /usr/X11R6/lib/libXv.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXv.so.6.0
Reading symbols from /usr/X11R6/lib/libXinerama.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXinerama.so.6.0
Reading symbols from /usr/X11R6/lib/libXrandr.so.7.0...done.
Loaded symbols for /usr/X11R6/lib/libXrandr.so.7.0
Reading symbols from /usr/local/lib/libjpeg.so.67.0...done.
Loaded symbols for /usr/local/lib/libjpeg.so.67.0
Reading symbols from /usr/X11R6/lib/libGL.so.15.0...done.
Loaded symbols for /usr/X11R6/lib/libGL.so.15.0
Reading symbols from /usr/X11R6/lib/libEGL.so.0.0...done.
Loaded symbols for /usr/X11R6/lib/libEGL.so.0.0
Reading symbols from /usr/lib/libsndio.so.6.0...done.
Loaded symbols for /usr/lib/libsndio.so.6.0
Reading symbols from /usr/local/lib/libbluray.so.2.0...done.
Loaded symbols for /usr/local/lib/libbluray.so.2.0
Reading symbols from /usr/local/lib/libdvdread.so.6.1...done.
Loaded symbols for /usr/local/lib/libdvdread.so.6.1
Reading symbols from /usr/local/lib/libdvdnav.so.7.1...done.
Loaded symbols for /usr/local/lib/libdvdnav.so.7.1
Reading symbols from /usr/local/lib/libcdio_paranoia.so.0.1...done.
Loaded symbols for /usr/local/lib/libcdio_paranoia.so.0.1
Reading symbols from /usr/local/lib/libcdio_cdda.so.0.1...done.
Loaded symbols for /usr/local/lib/libcdio_cdda.so.0.1
Reading symbols from /usr/local/lib/libcdio.so.0.1...done.
Loaded symbols for /usr/local/lib/libcdio.so.0.1
Reading symbols from /usr/local/lib/libass.so.1.3...done.
Loaded symbols for /usr/local/lib/libass.so.1.3
Reading symbols from /usr/lib/libz.so.5.0...done.
Loaded symbols for /usr/lib/libz.so.5.0
Reading symbols from /usr/local/lib/liblcms2.so.1.0...done.
Loaded symbols for /usr/local/lib/liblcms2.so.1.0
Reading symbols from /usr/local/lib/libavutil.so.12.3...done.
Loaded symbols for /usr/local/lib/libavutil.so.12.3
Reading symbols from /usr/local/lib/libavcodec.so.22.1...done.
Loaded symbols for /usr/local/lib/libavcodec.so.22.1
Reading symbols from /usr/local/lib/libavformat.so.19.3...done.
Loaded symbols for /usr/local/lib/libavformat.so.19.3
Reading symbols from /usr/local/lib/libswscale.so.6.1...done.
Loaded symbols for /usr/local/lib/libswscale.so.6.1
Reading symbols from /usr/local/lib/libswresample.so.1.2...done.
Loaded symbols for /usr/local/lib/libswresample.so.1.2
Reading symbols from /usr/local/lib/libavfilter.so.7.2...done.
Loaded symbols for /usr/local/lib/libavfilter.so.7.2
Reading symbols from /usr/local/lib/libavdevice.so.10.0...done.
Loaded symbols for /usr/local/lib/libavdevice.so.10.0
Reading symbols from /usr/local/lib/liblua5.1.so.5.1...done.
Loaded symbols for /usr/local/lib/liblua5.1.so.5.1
Reading symbols from /usr/lib/libc.so.80.0...done.
Loaded symbols for /usr/lib/libc.so.80.0
Reading symbols from /usr/local/lib/libiconv.so.6.0...done.
Loaded symbols for /usr/local/lib/libiconv.so.6.0
Reading symbols from /usr/local/lib/libtalloc.so.0.0...done.
Loaded symbols for /usr/local/lib/libtalloc.so.0.0
Reading symbols from /usr/local/lib/libtdb.so.3.0...done.
Loaded symbols for /usr/local/lib/libtdb.so.3.0
Reading symbols from /usr/local/lib/libwbclient.so.1.0...done.
Loaded symbols for /usr/local/lib/libwbclient.so.1.0
Reading symbols from /usr/local/lib/libexecinfo.so.2.0...done.
Loaded symbols for /usr/local/lib/libexecinfo.so.2.0
Reading symbols from /usr/X11R6/lib/libxcb.so.3.1...done.
Loaded symbols for 

Re: Mplayer/VLC crashes on yesterdays 5.8 snapshot on i386

2015-07-11 Thread Jan Vlach
Hi Antoine, Dmintrij,

 Can you guys try to revert this commit, rebuild ffmpeg and see if it helps:
 http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/graphics/ffmpeg/Makefile.diff?r1=1.118r2=1.119f=h

thank you very much for the hint. Reverting and rebuilding ffmpeg indeed
fixes the playback for h264 and h265 files.

(
big_buck_bunny_480p_h264.mov,
140626_720p_hm130_4s_sao_dbf_qp27.265,
Hackfest_2014_-_Theo_de_Raadt_presented_arc4random_-_randomization_for_all_occasions-aWmLWx8ut20.mp4,
)

Just for completeness sake, I've checked the behavior in mplayer, mpv and vlc
and all are fine now.

Thank you all for your help.
Jan



Re: OpenBSD 5.5 won't initiate VPN (Ipsec site-to-site)connection to Cisco device

2015-07-11 Thread Motty Cruz
Thank you for your suggestion,

I already have connections to peers using isakmpd, am afraid to bring 
those connections down to switch over to ipsec.

On 07/11/2015 05:02 PM, carlos albino garcia grijalba wrote:
 use ipsec.conf the new configuration are simple i have connections 
 from cisco peers and the only problem were using
 wrong credentials

  Date: Fri, 10 Jul 2015 12:59:56 -0700
  From: motty.c...@gmail.com
  To: misc@openbsd.org; motty.c...@gmail.com
  Subject: OpenBSD 5.5 won't initiate VPN (Ipsec 
 site-to-site)connection to Cisco device
 
  Hello,
 
  I have a gateway machine OpenBSD 5.5 that won't not initiate connection
  to peer. The one way to establish VPN tunnel is if peer ping IP in my
  subnet.
  in pf.conf
  IpsecClients={ 173.16.2.20/32, 139.19.10.51/32 }
  IpsecHosts={ 192.16.38.24/27 }
 
  # IPSec VPN tunnel
  pass in on $OUTSIDE inet proto udp from $IpsecClients to $IpsecHosts
  port 500
  pass in on $OUTSIDE inet proto esp from $IpsecClients to $IpsecHosts
 
 
  isakmpd.conf
  phase 1
  139.19.10.51= ISAKMP-peer-CORP1
  phase 2
  connections = IPsec-CORP1-DataCenter1
 
  #Phase 1 peers
  ## CORP1
  [ISAKMP-peer-CORP1]
  Phase= 1
  Transport= udp
  Address= 139.19.10.51
  Configuration= Default-main-mode3
  Authentication= psecret
 
  # phase 2
  [IPsec-CORP1-DataCenter1]
  Phase= 2
  ISAKMP-peer= ISAKMP-peer-CORP1
  Configuration= Default-quick-mode3
  Local-ID= Net-datacenter1
  Remote-ID= Net-corp1
 
  [IPsec-CORP1-DataCenter2]
  Phase= 2
  ISAKMP-peer= ISAKMP-peer-CORP1
  Configuration= Default-quick-mode3
  Local-ID= Net-datacenter2
  Remote-ID= Net-corp2
 
  any ideas?