Re: Reading /etc/shells - Check /etc/master.passwd - Password file busy

2016-04-23 Thread Andrew Fresh
On Sat, Apr 23, 2016 at 06:42:06PM -0400, Nick wrote:
> Check /etc/master.passwd
> Password file busy
> #
> 
> I have checked both /etc/passwd, /etc/master.passwd and I cannot see any 
> issues with it.

This means that you're not able to open /etc/ptmp for some reason,
likely because  the file already exists (because adduser tries to open
the file O_CREAT|O_EXCL).

l8rZ,
-- 
andrew - http://afresh1.com

Unix is very simple,
but it takes a genius to understand the simplicity.
  -- Dennis Ritchie



unable to add tun interface to bridge

2016-04-23 Thread niya levi
hi everyone
i am trying to setup openvpn with tun on a bridge (openbsd 5.9),
i tried the following but got an Invalid argument error,

ifconfig tun0 create
ifconfig bridge0 create
ifconfig bridge0 add em0
ifconfig bridge0 add tun0
ifconfig: bridge0: tun0: Invalid argument

what is the correct way to add the tun interface to the bridge ?

shadrock



Re: Python requirements.

2016-04-23 Thread Muhammad Muntaza
On Apr 21, 2016 4:48 PM, "Jay Patel"  wrote:
>
> Hi Muhammad,
Hi,

>
> I did fresh install of 5.9 amd64 and tried to run it , it shows me this
error:
>

> django.core.exceptions.ImproperlyConfigured: ImportError djcelery: cannot
import name _uuid_generate_random

Chek your djcelery (django celery)  installation.

Muhammad Muntaza bin Hatta



Re: Reading /etc/shells - Check /etc/master.passwd - Password file busy

2016-04-23 Thread Philip Guenther
On Sat, Apr 23, 2016 at 3:42 PM, Nick  wrote:
> Hello, new issue I haven't ever had and no idea how to fix it either - 
> rebooting does not help. What the $%%! is going on, anyone help?
>
> Here it is:
...
> Reading /etc/shells
> Check /etc/master.passwd
> Password file busy
> #
>
> I have checked both /etc/passwd, /etc/master.passwd and I cannot see any 
> issues with it.

Is your root partition mounted read-only?

(Someone want to write a diff to make password file locking check the
errno returned and only claim it's busy when the expected value?)


Philip Guenther



Reading /etc/shells - Check /etc/master.passwd - Password file busy

2016-04-23 Thread Nick
Hello, new issue I haven't ever had and no idea how to fix it either - 
rebooting does not help. What the $%%! is going on, anyone help?

Here it is:

# id
uid=0(root) gid=0(wheel) groups=0(wheel), 2(kmem), 3(sys), 4(tty), 5(operator), 
20(staff), 31(guest)
# adduser Derek
Use option ``-silent'' if you don't want to see all warnings and questions.

Reading /etc/shells
Check /etc/master.passwd
Password file busy
#

I have checked both /etc/passwd, /etc/master.passwd and I cannot see any issues 
with it.



iperf download vs upload big difference

2016-04-23 Thread Predrag Punosevac
Hi Misc,

I was wondering if a kind soul could educate me about the results of my
trivial iperf test (tcp protocol only). 

I have two computers. My desktop is running OpenBSD 5.9 amd 64 stable
while my daughters' MAC is running 10.7.5 32-bit Lion. Running iperf
server on OpenBSD desktop (OpenBSD download test) I see on the MAC
client speed of 739 Mbits/s. Running iperf server on the MAC (OpenBSD
upload test) I get the speed of 545 Mbits/s. Both computers have 1
Gigbit Intel NICs. Firewalls were swithed off. 

I see similar discrepancy running the tests between DragonFly file
server and MAC through the same ASUS 1Gigabit switch. According to iperf
DragonFly can download things with the speed in excess of 935Mbits/s.
While DragonFly is uploading things to MAC OS with the speed 750Mbits/s.

I am really starting to be suspicious about iperf. Namely running speed
tests between two OpenBSD machines one of which has Broadcom NIC I see
almost symmetric speeds of about 565 Mbits/s which I would expect from a
consumer grade 1Gigabit gear (same ASUS dumb switch used above). However
iperf on the MAC consistently shows some stellar numbers. At work we run
a similar test and on the decent Cisco gear MAC consistently shows tcp
speeds over 930 Mbits/s. 

Is iperf lying?

Predrag



Re: 5.9: sndiod won't start: unknown user _sndiop: FIXED

2016-04-23 Thread Mark Carroll
I should add, in further investigation on other OpenBSD 5.9 systems I've
found one with,

/etc/group:_sndiop:*:110:
/etc/master.passwd:_sndiop:*:110:110::0:0:sndio privileged 
user:/var/empty:/sbin/nologin

so that does seem to be a clue. Rerunning sysmerge I seem to be getting
all this sorted now. Sorry for the noise, I'll remember to retry that
next time I run into such a puzzle! (It's even possible I lost track of
where I was up to with each machine and omitted it altogether, sigh.)

-- Mark



5.9: sndiod won't start: unknown user _sndiop

2016-04-23 Thread Mark Carroll
Since upgrading to 5.9 I noticed that sndiod wasn't starting:

# ps awux | grep snd
root 17168  0.0  0.0   336  1028 p0  S+p6:22PM0:00.00 grep snd
# rcctl start sndiod
sndiod(failed)

Sound still generally seems to work in a basic way at least.

I didn't see anything about it in /var/log/ but,

# sndiod -d
sndiod: unknown user _sndiop

made me wonder about http://www.openbsd.org/plus59.html -

> Add the _sndiop user and group in preparation of the sndiod(8)
> privsep.

I am guessing that I just missed some docs somewhere or messed up a
sysmerge or something? I certainly can't find a mention of _sndiop in
/etc/ nor in the manpage or obvious online docs. Or perhaps that's
irrelevant to why my sndiod doesn't start?

Possibly it just means that I didn't previously have to configure sndiod
but for some reason I now do? (I don't set any sndiod_flags.)

(Incidentally, thank you for the inteldrm improvements!)

-- Mark


OpenBSD 5.9 (GENERIC.MP) #1888: Fri Feb 26 01:20:19 MST 2016
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 17043365888 (16253MB)
avail mem = 16522633216 (15757MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xa2ee7000 (53 entries)
bios0: vendor Intel Corporation version "RYBDWi35.86A.0350.2015.0812.1722" date 
08/12/2015
bios0: Intel Corporation NUC5i3RYB
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT FIDT MCFG HPET SSDT UEFI LPIT SSDT ASF! SSDT 
SSDT SSDT DMAR
acpi0: wakeup devices PEGP(S4) PEG0(S4) PEGP(S4) PEG1(S4) PEGP(S4) PEG2(S4) 
PS2K(S3) PS2M(S3) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) 
PXSX(S4) RP04(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i3-5010U CPU @ 2.10GHz, 2095.45 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,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,PT,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.2.4.1.1.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i3-5010U CPU @ 2.10GHz, 2095.16 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,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,PT,SENSOR,ARAT
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Core(TM) i3-5010U CPU @ 2.10GHz, 2095.16 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,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,PT,SENSOR,ARAT
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 1, core 0, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i3-5010U CPU @ 2.10GHz, 2095.16 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,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,PT,SENSOR,ARAT
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 40 pins
acpimadt0: bogus nmi for apid 3
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG0)
acpiprt2 at acpi0: bus -1 (PEG1)
acpiprt3 at acpi0: bus -1 (PEG2)
acpiprt4 at acpi0: bus 1 (RP01)
acpiprt5 at acpi0: bus -1 (RP02)
acpiprt6 at acpi0: bus -1 (RP03)
acpiprt7 at acpi0: bus 2 (RP04)
acpiprt8 at acpi0: bus -1 (RP05)
acpiprt9 at acpi0: bus -1 (RP06)
acpiprt10 at acpi0: bus -1 (RP07)
acpiprt11 at acpi0: bus -1 (RP08)
acpiec0 at acpi0: not present
acpicpu0 at acpi0: C3(200@506 mwait.1@0x60), C2(200@230 mwait.1@0x31), 
C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C3(200@506 mwait.1@0x60), C2(200@230 mwait.1@0x31), 
C1(1000@1 mwait.1), PSS

Re: pkg_mgr, ntfs_3g, sudo, partition access.

2016-04-23 Thread Edgar Pettijohn
man disklabel

Scroll down to the first example.

Sent from my iPhone

> On Apr 23, 2016, at 8:08 AM, Mohammad BadieZadegan 
wrote:
>
> Thanks Paul, It's resolve my issue! Bravo.
> Thanks ludovic, I had bad chance in network speed at that time and when I
> repeat your command it resolve my issue!
> Dear Chris,
> I have 2 other partitions other than my OpenBSD and I don't know my HDD
> partitions IDs to append in my fstab! How can I know that?
>
> Regards to All.
>
> On Sat, Apr 23, 2016 at 8:08 PM, Paul Irofti  wrote:
>
>>> 2. I installed ntfs_3g but still I can not write over ntfs flash usb! How
>>> can I do that?
>>
>> Are you using the mount(8) command? Do not! Use ntfs-3g(8).
>
>
>
> --
> [image: ( openbsd.pro  933k.ir )] 



Re: pkg_mgr, ntfs_3g, sudo, partition access.

2016-04-23 Thread Mohammad BadieZadegan
Thanks Paul, It's resolve my issue! Bravo.
Thanks ludovic, I had bad chance in network speed at that time and when I
repeat your command it resolve my issue!
Dear Chris,
I have 2 other partitions other than my OpenBSD and I don't know my HDD
partitions IDs to append in my fstab! How can I know that?

Regards to All.

On Sat, Apr 23, 2016 at 8:08 PM, Paul Irofti  wrote:

> > 2. I installed ntfs_3g but still I can not write over ntfs flash usb! How
> > can I do that?
>
> Are you using the mount(8) command? Do not! Use ntfs-3g(8).
>



-- 
[image: ( openbsd.pro  933k.ir )] 



Re: pkg_mgr, ntfs_3g, sudo, partition access.

2016-04-23 Thread Paul Irofti
> 2. I installed ntfs_3g but still I can not write over ntfs flash usb! How
> can I do that?

Are you using the mount(8) command? Do not! Use ntfs-3g(8).



Re: pkg_mgr, ntfs_3g, sudo, partition access.

2016-04-23 Thread Chris Bennett
On Sat, Apr 23, 2016 at 02:52:37PM +0430, Mohammad BadieZadegan wrote:
> 3. How can I access to my other HDD partitions?
> Best Regards,
> 

You can edit the /etc/fstab file to also mount those other partitions
onto directories you create on the boot drive. This will happen when
booting.

mkdir /cool_other_drive_home
mkdir /lousy_other_drive_mp3s

you don't need to use the original names on the other hard drive, for
example, you can't have two /home folders
So, /cool_other_drive_home was the /home folder on the other drive.

21358ebbfcf8089c.b none swap sw
21358ebbfcf8089c.a / ffs rw 1 1
21358ebbfcf8089c.j /altroot ffs xx 0 0
21358ebbfcf8089c.d /tmp ffs rw,nodev,nosuid 1 2
21358ebbfcf8089c.f /usr ffs ro,nodev 1 2
21358ebbfcf8089c.g /usr/X11R6 ffs ro,nodev 1 2
21358ebbfcf8089c.h /usr/local ffs ro,nodev 1 2
21358ebbfcf8089c.e /var ffs rw,nodev,nosuid 1 2
2ba6d152d8b5c562.m /home ffs rw,nodev,nosuid 1 2
2ba6d152d8b5c562.n /cool_other_drive_home ffs rw,nodev,nosuid 1 2
2ba6d152d8b5c562.k /lousy_other_drive_mp3s ffs ro,nodev,nosuid 1 2

One caveat, if you do this, you must always have both drives present!
man fstab and man mount will be helpful.

Above is almost exactly what I use myself. Boot off of a small USB drive
and we have home folders on another 2TB USB drive.

Look at how I have some partitions marked ro (read-only) and rw (read
and write). This is very helpful when the system crashes and fsck is run
on reboot. Those partions are always left clean.

In the above, notice how I have prevented anyone from writing any more
lousy mp3s to that partition.

If drives are coming and going, you will need to manually mount and
umount them. Still need to create those directories first.

Chris Bennett



Re: pkg_mgr, ntfs_3g, sudo, partition access.

2016-04-23 Thread ludovic coues
2016-04-23 12:22 GMT+02:00 Mohammad BadieZadegan :
> Hi everybody,
> I have installed OpenBSD5.9 on my HDD last partition successfully.
> I have 3 questions about this latest release after reading the OpenBSD FAQ
> page,
> 1. How can I install pkg_mgr, sudo, as older releases?
> 2. I installed ntfs_3g but still I can not write over ntfs flash usb! How
> can I do that?
> 3. How can I access to my other HDD partitions?
> Best Regards,
>

To answer question 1, pkg_mgr and sudo are available as port.
`# pkg_add sudo pkg_mgr` should be enough to install both.
In case you missed it, doas is an alternative to sudo.

-- 

Cordialement, Coues Ludovic
+336 148 743 42



pkg_mgr, ntfs_3g, sudo, partition access.

2016-04-23 Thread Mohammad BadieZadegan
Hi everybody,
I have installed OpenBSD5.9 on my HDD last partition successfully.
I have 3 questions about this latest release after reading the OpenBSD FAQ
page,
1. How can I install pkg_mgr, sudo, as older releases?
2. I installed ntfs_3g but still I can not write over ntfs flash usb! How
can I do that?
3. How can I access to my other HDD partitions?
Best Regards,



Re: Mouse click problems with firefox and firefox-esr (and Seamonkey)

2016-04-23 Thread Birger Andersson

Hello Clint (and Nick),

On 2016-04-23 08:47, Clint Pachl wrote:

Nick wrote on 03/30/16 11:23:
I have tried both firefox and firefox-esr in both OpenBSD 5.8 and 5.9 
and can say that there are issues with the mouse not picking up 10-15% 
of my clicks, sometimes having to click a good 3 times or more for it 
to actually work correctly! When I select and drag text, it can 
randomly un-select it as if I have let go of the mouse and clicked 
elsewhere.. Just all sorts of stangeness. I never have a problem with 
moving the mouse cursor though. To say it's a nuisance is a bit of an 
understatement as I am now having to use chromium - which I detest, 
being a keen avoider of any google pish.


For extra info, I am using XFCE.

Does anyone have this issue? What is going on?


I have this exact same problem with Seamonkey using cwm(1) on a
ThinkPad T61. I've ran OpenBSD on this laptop for almost a decade now
and it's never had this issue before 5.8. It's really very annoying
but I've been living with it through 5.8, assuming it will be fixed in
5.9. Well I just upgraded to 5.9 the other day and was eager to see if
it was fixed, but it exhibits the same annoying behavior.

I don't know what to do or test. I run no ad-ons with Seamonkey.


Slightly off-topic, I can't see the selection problem reported above. 
But I *can* confirm that upgrading (or making a fresh install rather) of 
either 5.8 or 5.9 can be problematic. 
http://marc.info/?l=openbsd-misc=146099054608491=2


@Nick: xfce and firefox-esr under 5.7 runs reasonably well. No patches, 
though. In my case, chromium on 5.8 and 5.9 is a non-starter (almost 
literally) disregarding the ethics. In about a third of the starts it 
throws a "Use after free"-error: 
http://marc.info/?l=openbsd-bugs=14547010926=2 .



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 "amd64-unknown-openbsd5.9"...(no debugging
symbols found)

Core was generated by `chrome'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/lib/libpthread.so.20.1...done.
Loaded symbols for /usr/lib/libpthread.so.20.1
Loaded symbols for /usr/local/chrome/chrome
Reading symbols from /usr/local/lib/libestdc++.so.17.0...done.
Loaded symbols for /usr/local/lib/libestdc++.so.17.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/local/lib/libgmodule-2.0.so.4200.2...done.
Loaded symbols for /usr/local/lib/libgmodule-2.0.so.4200.2
Reading symbols from /usr/local/lib/libgobject-2.0.so.4200.2...done.
Loaded symbols for /usr/local/lib/libgobject-2.0.so.4200.2
Reading symbols from /usr/local/lib/libglib-2.0.so.4200.2...done.
Loaded symbols for /usr/local/lib/libglib-2.0.so.4200.2
Reading symbols from /usr/lib/libevent.so.4.1...done.
Loaded symbols for /usr/lib/libevent.so.4.1
Reading symbols from /usr/local/lib/libnss3.so.39.0...done.
Loaded symbols for /usr/local/lib/libnss3.so.39.0
Reading symbols from /usr/local/lib/libsmime3.so.39.0...done.
Loaded symbols for /usr/local/lib/libsmime3.so.39.0
Reading symbols from /usr/local/lib/libnspr4.so.23.2...done.
Loaded symbols for /usr/local/lib/libnspr4.so.23.2
Reading symbols from /usr/local/lib/libgconf-2.so.6.2...done.
Loaded symbols for /usr/local/lib/libgconf-2.so.6.2
Reading symbols from /usr/local/lib/libgio-2.0.so.4200.2...done.
Loaded symbols for /usr/local/lib/libgio-2.0.so.4200.2
Reading symbols from /usr/local/lib/libxml2.so.15.1...done.
Loaded symbols for /usr/local/lib/libxml2.so.15.1
Reading symbols from /usr/X11R6/lib/libfontconfig.so.9.1...done.
Loaded symbols for /usr/X11R6/lib/libfontconfig.so.9.1
Reading symbols from /usr/X11R6/lib/libfreetype.so.24.1...done.
Loaded symbols for /usr/X11R6/lib/libfreetype.so.24.1
Reading symbols from /usr/local/lib/libpangocairo-1.0.so.3800.0...done.
Loaded symbols for /usr/local/lib/libpangocairo-1.0.so.3800.0
Reading symbols from /usr/local/lib/libcairo.so.12.3...done.
Loaded symbols for /usr/local/lib/libcairo.so.12.3
Reading symbols from /usr/local/lib/libpango-1.0.so.3800.0...done.
Loaded symbols for /usr/local/lib/libpango-1.0.so.3800.0
Reading symbols from /usr/local/lib/libpng.so.17.2...done.
Loaded symbols for /usr/local/lib/libpng.so.17.2
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/libXi.so.12.1...done.
Loaded symbols for /usr/X11R6/lib/libXi.so.12.1
Reading symbols from /usr/X11R6/lib/libXcursor.so.5.0...done.
Loaded symbols for /usr/X11R6/lib/libXcursor.so.5.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 

current on Thinkpad T460p

2016-04-23 Thread P Arun Babu
Hi Misc,

I just purchased my first Thinkpad T460p yesterday. This one comes
with a WQHD display.

Though this is a new hardware, -current seems to be working fine for me.
Thank you very much :)

Below are my initial observations + dmesg and sysctl output:

* I can play youtube on Firefox.
* Trackpad & Trackpoint works fine.
* I get resolution of 2560x1440

* Resume does not seem to work
* Intel 8260 wireless card does not work (this was expected)
* For videos : mplayer only seem to work with "-vo x11"
* VLC does not work for videos. Iget:
   [023cc37f3650] xcb_xv vout display error: no available XVideo adaptor
  libGL error: unable to load driver: swrast_dri.so
   libGL error: failed to load driver: swrast
   Abort trap


dmesg output


OpenBSD 5.9-current (GENERIC.MP) #1996: Wed Apr 20 14:57:08 MDT 2016
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 16541773824 (15775MB)
avail mem = 16036057088 (15293MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xb7b33000 (67 entries)
bios0: vendor LENOVO version "R07ET63W (2.03 )" date 03/15/2016
bios0: LENOVO 20FWCTO1WW
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP TCPA SSDT SSDT TPM2 UEFI SSDT SSDT ECDT HPET
APIC MCFG SSDT DBGP DBG2 BOOT BATB SSDT SSDT SSDT MSDM SSDT SSDT DMAR
ASF! FPDT UEFI
acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) PXSX(S4) PXSX(S4)
PXSX(S4) PXSX(S4) PXSX(S4) PXSX(S4) XHCI(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiec0 at acpi0
acpihpet0 at acpi0: 2399 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-6300HQ CPU @ 2.30GHz, 1230.32 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
,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEA
DLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FS
GSBASE,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLU
SHOPT,PT,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 24MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i5-6300HQ CPU @ 2.30GHz, 1034.20 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEA
DLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FS
GSBASE,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLU
SHOPT,PT,SENSOR,ARAT
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Core(TM) i5-6300HQ CPU @ 2.30GHz, 907.53 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
,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEA
DLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FS
GSBASE,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLU
SHOPT,PT,SENSOR,ARAT
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Core(TM) i5-6300HQ CPU @ 2.30GHz, 897.91 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
,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEA
DLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FS
GSBASE,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLU
SHOPT,PT,SENSOR,ARAT
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 0, core 3, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 120 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PEG0)
acpiprt2 at acpi0: bus -1 (PEG1)
acpiprt3 at acpi0: bus 2 (PEG2)
acpiprt4 at acpi0: bus 3 (EXP1)
acpiprt5 at acpi0: bus -1 (EXP2)
acpiprt6 at acpi0: bus -1 (EXP3)
acpiprt7 at acpi0: bus -1 (EXP4)
acpiprt8 at acpi0: bus 4 (EXP5)
acpiprt9 at acpi0: bus -1 (EXP6)
acpiprt10 at acpi0: bus -1 (RP09)
acpicpu0 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151
mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151
mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151
mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151

pledge, shared memory, berkeley db

2016-04-23 Thread Peter J. Philipp
Hi,

A long time I tried pledging a daemon of mine but it was killed because
of SYSV shared memory in Berkeley DB.  Is there ongoing efforts in
pledge or is it seen as a done effort?  If I could make a feature
request it's support for programs with berkeley db (4+) backend.  I'm
donating a bit of money around every solstice so next donation will be
around June 20th...would be cool if the donation brought berkeley db's
syscalls on board.  Is there any chance?

Cheers,

-peter



Re: Mouse click problems with firefox and firefox-esr (and Seamonkey)

2016-04-23 Thread Clint Pachl

Nick wrote on 03/30/16 11:23:

I have tried both firefox and firefox-esr in both OpenBSD 5.8 and 5.9 and can 
say that there are issues with the mouse not picking up 10-15% of my clicks, 
sometimes having to click a good 3 times or more for it to actually work 
correctly! When I select and drag text, it can randomly un-select it as if I 
have let go of the mouse and clicked elsewhere.. Just all sorts of stangeness. 
I never have a problem with moving the mouse cursor though. To say it's a 
nuisance is a bit of an understatement as I am now having to use chromium - 
which I detest, being a keen avoider of any google pish.

For extra info, I am using XFCE.

Does anyone have this issue? What is going on?


I have this exact same problem with Seamonkey using cwm(1) on a ThinkPad 
T61. I've ran OpenBSD on this laptop for almost a decade now and it's 
never had this issue before 5.8. It's really very annoying but I've been 
living with it through 5.8, assuming it will be fixed in 5.9. Well I 
just upgraded to 5.9 the other day and was eager to see if it was fixed, 
but it exhibits the same annoying behavior.


I don't know what to do or test. I run no ad-ons with Seamonkey.