Poor browser performance in OpenBSD

2018-06-19 Thread Максим
Hello.
I'm using Firefox and Chromium (from packages) to browse the internet on 
OpenBSD 6.3 (amd64).
The problem is that their performance in OpenBSD is very poor compared to other 
OSes.
Everything I found regarding boosting their performance:
1) Changing some values in login.conf for login group staff and adding myself 
to that login class:
staff:\
:datasize-cur=4096M:\
:datasize-max=infinity:\
:openfiles-cur=1024:\
:stacksize-cur=64M:\
:maxproc-max=512:\
:maxproc-cur=512:\
:ignorenologin:\
:requirehome@:\
:tc=default:

2) sysctl kern.shminfo.shmall=268435456

All of this was taken from here:
http://openbsd-archive.7691.n7.nabble.com/Coddling-bloated-web-browsers-etc-or-how-far-does-kern-shminfo-shmall-usefully-go-td244155.html

These changes to the system don't seem to have any effect.
Loading pages is slow, watching online video is possible but the responsiveness 
of the browser becomes awful.

Do I need additional settings to fix this?


dmesg:

OpenBSD 6.3-current (GENERIC.MP) #13: Thu Jun 14 17:29:44 MDT 2018
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8442433536 (8051MB)
avail mem = 8108933120 (7733MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xe9374 (57 entries)
bios0: vendor Hewlett-Packard version "K01 v02.57" date 11/16/2012
bios0: Hewlett-Packard HP Compaq Pro 6300 All-in-One PC
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG HPET SSDT SSDT SLIC SSDT SSDT TCPA ASF! BGRT
acpi0: wakeup devices PS2K(S3) PS2M(S3) P0P1(S4) USB1(S3) USB2(S3) USB3(S3) 
USB4(S3) USB5(S3) USB6(S3) USB7(S3) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) 
PXSX(S4) RP03(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-3220 CPU @ 3.30GHz, 3293.09 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,DEADLINE,XSAVE,AVX,F16C,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,MELTDOWN
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, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz, 3292.52 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,DEADLINE,XSAVE,AVX,F16C,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (P0P1)
acpiprt2 at acpi0: bus -1 (RP01)
acpiprt3 at acpi0: bus -1 (RP02)
acpiprt4 at acpi0: bus -1 (RP03)
acpiprt5 at acpi0: bus -1 (RP04)
acpiprt6 at acpi0: bus -1 (RP05)
acpiprt7 at acpi0: bus -1 (RP06)
acpiprt8 at acpi0: bus -1 (RP07)
acpiprt9 at acpi0: bus -1 (RP08)
acpiprt10 at acpi0: bus -1 (PEG0)
acpiprt11 at acpi0: bus -1 (PEG1)
acpiprt12 at acpi0: bus -1 (PEG2)
acpiprt13 at acpi0: bus -1 (PEG3)
acpiec0 at acpi0: not present
acpicpu0 at acpi0: C3(350@80 mwait.1@0x20), C2(500@59 mwait.1@0x10), C1(1000@1 
mwait.1), PSS
acpicpu1 at acpi0: C3(350@80 mwait.1@0x20), C2(500@59 mwait.1@0x10), C1(1000@1 
mwait.1), PSS
acpipwrres0 at acpi0: FN00, resource for FAN0
acpipwrres1 at acpi0: FN01, resource for FAN1
acpipwrres2 at acpi0: FN02, resource for FAN2
acpipwrres3 at acpi0: FN03, resource for FAN3
acpipwrres4 at acpi0: FN04, resource for FAN4
acpitz0 at acpi0: critical temperature is 105 degC
acpitz1 at acpi0: critical temperature is 105 degC
acpicmos0 at acpi0
"INT3F0D" at acpi0 not configured
tpm0 at acpi0: TPM_ addr 0xfed4/0x5000: Infineon SLB9635 1.2 rev 0x10
acpibtn0 at acpi0: PWRB
"PNP0C14" at acpi0 not configured
"PNP0C0B" at acpi0 not configured
"PNP0C0B" at acpi0 not configured
"PNP0C0B" at acpi0 not configured
"PNP0C0B" at acpi0 not configured
"PNP0C0B" at acpi0 not configured
acpivideo0 at acpi0: PEG0
acpivideo1 at acpi0: VGA_
acpivideo2 at acpi0: GFX0
acpivout0 at acpivideo2: DD02
acpivout at acpivideo2 not configured
cpu0: Enhanced SpeedStep 3293 MHz: speeds: 3300, 3200, 3100, 3000, 2800, 2700, 
2600, 2500, 2400, 2300, 2200, 2100, 1900, 1800, 1700, 1600 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 3G Host" rev 0x09
inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 2500" rev 

Re: iked support for IKEv2 Message Fragmentation (RFC 7383)

2018-06-19 Thread Tim Stewart
Tim Stewart  writes:

> Hello misc@,
>
> My IKEv2 sessions are occasionally down due to transit networks dropping
> UDP fragments for one reason or another[1].  It happens frequently
> enough that I am considering implementing support for RFC 7383 in
> iked.
>
> Before I dig in, I feel that I should ask if anyone has already started
> on such work.  If not, perhaps someone that is familiar with the code
> could suggest an approach at a high level?
>
> Thanks for any advice,
>
> -TimS
>
>
> [1] Whenver I've asked, the reason is usually something about DDoS
> prevention.

I realize now I should send this to tech@.  My apologies for the noise.

--
Tim Stewart
---
Mail:   t...@stoo.org
Matrix: @tim:stoo.org



iked support for IKEv2 Message Fragmentation (RFC 7383)

2018-06-19 Thread Tim Stewart
Hello misc@,

My IKEv2 sessions are occasionally down due to transit networks dropping
UDP fragments for one reason or another[1].  It happens frequently
enough that I am considering implementing support for RFC 7383 in
iked.

Before I dig in, I feel that I should ask if anyone has already started
on such work.  If not, perhaps someone that is familiar with the code
could suggest an approach at a high level?

Thanks for any advice,

-TimS


[1] Whenver I've asked, the reason is usually something about DDoS
prevention.

--
Tim Stewart
---
Mail:   t...@stoo.org
Matrix: @tim:stoo.org



Re: New laptop recommendations

2018-06-19 Thread Patrick Marchand
You can get a pretty good refurbished 3th gen thinkpad x1 carbon under 900$.
I've baught two on ebay over the last year,



Re: firefox crashes when password field is focused

2018-06-19 Thread jungle Boogie
On 19 June 2018 at 16:24, Leahcim  wrote:
> Title pretty much says it.
>
> Whenever I click on a password field on a website firefox crashes.
> This is on current w/ newest firefox and is reproducible on every
> password field on every site I tried (although usernames work fine)
> and is reproducible with all combinations of settings including
> default. It has persisted for the last few days.
>


You'll need to read this:
https://marc.info/?l=openbsd-tech=152848412106216=2

Which says:

Check here the readme of firefox and dbus on the info and howto:
/usr/local/share/doc/pkg-readmes



firefox crashes when password field is focused

2018-06-19 Thread Leahcim
Title pretty much says it.

Whenever I click on a password field on a website firefox crashes.
This is on current w/ newest firefox and is reproducible on every
password field on every site I tried (although usernames work fine)
and is reproducible with all combinations of settings including
default. It has persisted for the last few days.

dmesg and gdb output is below. If you have more things to test or need
more information I can probably provide it.

OpenBSD 6.3-current (GENERIC.MP) #34: Tue Jun 19 08:14:47 MDT 2018
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 16736841728 (15961MB)
avail mem = 16091475968 (15346MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xbae9d000 (73 entries)
bios0: vendor LENOVO version "G5ET33WW (1.11 )" date 08/09/2012
bios0: LENOVO 2436CTO
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC TCPA SSDT SSDT SSDT HPET APIC MCFG ECDT
FPDT ASF! UEFI UEFI POAT SSDT SSDT DMAR UEFI
acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP3(S4) XHCI(S3)
EHC1(S3) EHC2(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-3820QM CPU @ 2.70GHz, 2694.27 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,MELTDOWN
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-3820QM CPU @ 2.70GHz, 2693.89 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,MELTDOWN
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-3820QM CPU @ 2.70GHz, 2693.89 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,MELTDOWN
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-3820QM CPU @ 2.70GHz, 2693.89 MHz
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,MELTDOWN
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-3820QM CPU @ 2.70GHz, 2693.88 MHz
cpu4: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,MELTDOWN
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-3820QM CPU @ 2.70GHz, 2693.89 MHz
cpu5: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,MELTDOWN
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-3820QM CPU @ 2.70GHz, 2693.89 MHz
cpu6: 

Re: add -powersave to hostname.if

2018-06-19 Thread Ken M
On Tue, Jun 19, 2018 at 11:30:42PM +0100, Stuart Henderson wrote:
> 
> If powersave is enabled, you'll see "powersave on (XXms sleep)" on the
> ieee80211: [...] line.
> 
> If powersave is disabled (which is the default), nothing special is printed.
> 

Good to know, thank you.

Ken



Re: add -powersave to hostname.if

2018-06-19 Thread Stuart Henderson
On 2018/06/19 18:09, Ken M wrote:
> On Tue, Jun 19, 2018 at 04:53:21PM +, Stuart Henderson wrote:
> > 
> > hostname.if(5) has this:
> > 
> > "Any lines not matching these packed formats are passed directly to
> > ifconfig(8)."
> > 
> 
> After reading the manpage again for hostname.if last night I spotted the way 
> it
> suggests to put uptions at the end of the inet line, or the dhcp line. So I 
> made
> my last line this:
> 
> dhcp -powersave

You can do that, or you can put options on a line by themselves and
they're passed directly to ifconfig.

> That seems to have solved my intermitten network issues that I was guessing 
> were
> caused by the wireless powersave. To ask a side question I am not noticing a 
> way
> to confirm powersave is disabled from the ifconfig command.

If powersave is enabled, you'll see "powersave on (XXms sleep)" on the
ieee80211: [...] line.

If powersave is disabled (which is the default), nothing special is printed.



Re: add -powersave to hostname.if

2018-06-19 Thread Ken M
On Tue, Jun 19, 2018 at 04:53:21PM +, Stuart Henderson wrote:
> 
> hostname.if(5) has this:
> 
> "Any lines not matching these packed formats are passed directly to
> ifconfig(8)."
> 

After reading the manpage again for hostname.if last night I spotted the way it
suggests to put uptions at the end of the inet line, or the dhcp line. So I made
my last line this:

dhcp -powersave

That seems to have solved my intermitten network issues that I was guessing were
caused by the wireless powersave. To ask a side question I am not noticing a way
to confirm powersave is disabled from the ifconfig command.

Ken



Re: OpenBSD in qemu freezes randomly

2018-06-19 Thread Tom Smyth
Hi Stuart,
I had a similar issue on Proxmox /KVM

the issue doesnt affect linux guests / windows guests on a KVM Box

It doesnt affect OpenBSD running on Older versions of KVM /
Linux Kernel (4.x)

it would appear to be a compatibility issue between an openBSD
guest and the virtual hardware (virtual timers)  as presented by
newer KVM boxes
http://openbsd-archive.7691.n7.nabble.com/Performance-issues-as-KVM-guest-td334612.html

as Stuart Henderson pointed out kernel pre-emption timer disabling
worked for us and would probably help you...  that said the
Kernel Patch as mentioned by Kaptaniks sounds interesting and may be a more
permanent fix (on my to do list to try ...)

Thanks

Tom Smyth


On 19 June 2018 at 21:09, Stuart Longland  wrote:
> On 20/06/18 00:21, Leo Unglaub wrote:
>> Hi,
>> i have searched the list archive and found some similar reports but none
>> of them found a solution for the problem. (at least not the threads i
>> have found)
>>
>> I run some OpenBSD 6.3 instances in a virtual environment. The host is
>> some unknown Linux distribution with qemu on it. After the data center
>> updated there kernels and also qemu my virtual OpenBSD instances startet
>> to freeze randomly but almost always during login. They freeze up so
>> hard that i cannot drop into a debugger or get any output whatsoever.
>> There is not even a core dump, nothing. Just for testing purposes i
>> installed a 6.2 as well and did syspatch on it just to see if the error
>> happens there as well and it does. I have added a dmesg on the bottom of
>> the email.
>
> I had a problem like this as well, this was about the time I was
> battling rl0 issues on an old industrial PC, so thought it might've been
> something else causing the issues.
>
> With the exception of the border router, all my other OpenBSD instances
> are virtual machines.  Updating the VMs to 6.3 proved to be quite an
> adventure as the kernel would randomly freeze up.  `virt-manager` would
> show the virtual processor spinning at 100% CPU, `top` on the host would
> show qemu-system-x86_64 consuming 100% CPU.
>
> One spot it'd freeze up (in the installer) is creating /dev nodes, and
> sometimes when re-linking the kernel.  Very rarely, it will freeze up on
> the production install.
>
> None of the Linux guests are affected, it's just OpenBSD.  I've seen it
> in 6.1, 6.2 and 6.3.  (They were 6.1 VMs; did the update to 6.2 then to
> 6.3.)
>
> Due to resets during install, one of my routers complains (the
> "insecurity" report from cron) about permissions and ownership on /dev
> nodes as a result.  It's on my TO-DO list to clean this up.
>
> https://www.mail-archive.com/misc@openbsd.org/msg161846.html was posted
> as a response to me trying to find a work-around until such time as I
> could investigate it further.
>
> If it happens again, I wonder if it's worth breaking into the QEMU
> monitor and seeing where the CPU registers are pointed and to inspect
> the RAM on the VM to figure out where in the kernel OpenBSD is spinning?
>  (Although trying to figure out where in the kernel a particular hex
> dump of machine code came from will be "fun".)
>
> Regards,
> --
> Stuart Longland (aka Redhatter, VK4MSL)
>
> I haven't lost my mind...
>   ...it's backed up on a tape somewhere.
>



-- 
Kindest regards,
Tom Smyth

Mobile: +353 87 6193172
The information contained in this E-mail is intended only for the
confidential use of the named recipient. If the reader of this message
is not the intended recipient or the person responsible for
delivering it to the recipient, you are hereby notified that you have
received this communication in error and that any review,
dissemination or copying of this communication is strictly prohibited.
If you have received this in error, please notify the sender
immediately by telephone at the number above and erase the message
You are requested to carry out your own virus check before
opening any attachment.



iked log messages when no traffic is on vpn tunnel

2018-06-19 Thread Peter van Oord van der Vlies
Hello Misc,

I configured a site-to-site vpn between OpenBSD 6.3 device with iked and 
Microsoft Azure.
The VPN tunnel works fine however when there is no traffic on the vpn my 
/var/log/daemon is spammed every 2 seconds with the following :
Jun 19 22:59:13 obsd iked[33937]: ikev2_recv: INFORMATIONAL request from 
responder :500 to :500 policy 'Azure EUW' id 108, 88 
bytes
Jun 19 22:59:13 obsd iked[33937]: ikev2_msg_send: INFORMATIONAL response from 
:500 to :500 msgid 108, 88 bytes

My iked.conf is :
ikev2 "Azure EUW" \
active esp \
from 172.31.254.0/24 to 172.21.0/24 \
from 172.31.254.0/24 to 172.21.10/24 \
peer  local  \
ikesa enc aes-256 auth hmac-sha2-384 group ecp384 prf hmac-sha2-384 \
childsa enc aes-256 auth hmac-sha1 group ecp384 \
psk "somethingverysecret"
Is there something I did wrong ?
Met vriendelijke groet/Kind Regards,
Peter van Oord van der Vlies




20% package loss on CARP after upgrade to 6.3

2018-06-19 Thread Henrik Dige Semark
Hey everybody,

I'm experiencing problems with CARP after upgrading to 6.3, it was working
fine between my two servers in 6.2 but after upgrading (first backup and
then master) I have a ping package loss on about 20%.

It seem like the backup server tries to take the master, cause it's the
only one changing the states. When it changes state the symptoms is:
one package is dropped (ping), and it switches back to backup. I haven't
changed anything, carp-config or PF, except the upgrade to 6.3.

It works if i shutdown the master, then Backup takes over fine and gives
back to master when it gets up, but when it's just running in backup, it
switches back and fourth.

I have tried tcpdumping and looking at my pfsync0 but I can't find the
problem. I have tried to write my CARP settings again in hostname.carp*
on both servers, check if pfsync0 is on the same interface and IP-range
on both servers, checked my PF and everything, but can't find the problem...

It does it across all 6 CARP's, so it looks like it's missing a hardbeat
or something once in a while.

I also tried switching from multicast to unicast, in case my ISP (running
Juniper equipment) have activated something on the WAN side, but it didn't
change my experience - but since it also happens on my LAN I didn't really
expect this to be the problem.

# Server 1
My /etc/hostname.* for CARP's and pfsync + host adaptor:
https://pastebin.com/vrtuPqnQ
My /etc/pf.conf: https://pastebin.com/yhVkG4x4

# Server 2
My /etc/hostname.* for CARP's and pfsync + host adaptor:
https://pastebin.com/a7fuM923
My /etc/pf.conf: https://pastebin.com/xNr1TtZ7

Any help or pointers would be fantastic.
I have struggled with this for a week now and I'm running out of idears -
the only solution I have right now is turning off the backup server.

$ uname -a
OpenBSD BSD-firewall01.static.semarkit.net 6.3 GENERIC.MP#107 amd64

Both servers is running on a KVM host running Debian Stretch with ZFS-for-
Linux and they haven't been touched either since it got installed, neither
before, under or after the problems started.

em0 is passed through the host and running all the VLAN and CARP things,
while em1 (pfsync0) is a crossed connection between the two host servers
not connected to the outside world or switch.

If you need any other information on anything in the setup, please feel
free to ask, I'm really annoyed by this, since it has worked and now it
don't, and I can't figure out why or what I have missed.

The only thing I haven't tried yet is to install a couple of new server
and reproduce the problem.

Sorry for a really long post!

-- 
Med Venlig Hilsen / Best Regards
Henrik Dige Semark



Re: New laptop recommendations

2018-06-19 Thread Jordan Geoghegan

On 06/19/18 11:20, li...@wrant.com wrote:

Tue, 19 Jun 2018 09:59:45 -0700 Jordan Geoghegan 

Have you considered one of the Librem laptops by Purism? I hear they're
quite nice, and are running coreboot straight from the factory.

The pinnacle of bullshit talk, utter nonsense, no technical value at all.


You don't have to be a snarky prick about things-- I don't hear you 
making any suggestions or providing any "technical" arguments or giving 
reasons for how/why my suggestion is "utter nonsense".
You want a dmesg? You want the stats on the laptop? I'm not your 
secretary, you know how to Google. Don't be aggressive just for the sake 
of being aggressive.


Cheers,
Jordan



Re: New laptop recommendations

2018-06-19 Thread Scott Bonds

On 06/19/18 03:37, Rupert Gallagher wrote:


I have 1500EUR for a new laptop. What would you buy with it?



On 06/19, Jordan Geoghegan wrote:

Have you considered one of the Librem laptops by Purism? I hear they're 
quite nice, and are running coreboot straight from the factory.


They run OpenBSD fine with some caveats:

https://forums.puri.sm/t/openbsd-on-librem/1080



Re: OpenBSD in qemu freezes randomly

2018-06-19 Thread Stuart Longland
On 20/06/18 00:21, Leo Unglaub wrote:
> Hi,
> i have searched the list archive and found some similar reports but none
> of them found a solution for the problem. (at least not the threads i
> have found)
> 
> I run some OpenBSD 6.3 instances in a virtual environment. The host is
> some unknown Linux distribution with qemu on it. After the data center
> updated there kernels and also qemu my virtual OpenBSD instances startet
> to freeze randomly but almost always during login. They freeze up so
> hard that i cannot drop into a debugger or get any output whatsoever.
> There is not even a core dump, nothing. Just for testing purposes i
> installed a 6.2 as well and did syspatch on it just to see if the error
> happens there as well and it does. I have added a dmesg on the bottom of
> the email.

I had a problem like this as well, this was about the time I was
battling rl0 issues on an old industrial PC, so thought it might've been
something else causing the issues.

With the exception of the border router, all my other OpenBSD instances
are virtual machines.  Updating the VMs to 6.3 proved to be quite an
adventure as the kernel would randomly freeze up.  `virt-manager` would
show the virtual processor spinning at 100% CPU, `top` on the host would
show qemu-system-x86_64 consuming 100% CPU.

One spot it'd freeze up (in the installer) is creating /dev nodes, and
sometimes when re-linking the kernel.  Very rarely, it will freeze up on
the production install.

None of the Linux guests are affected, it's just OpenBSD.  I've seen it
in 6.1, 6.2 and 6.3.  (They were 6.1 VMs; did the update to 6.2 then to
6.3.)

Due to resets during install, one of my routers complains (the
"insecurity" report from cron) about permissions and ownership on /dev
nodes as a result.  It's on my TO-DO list to clean this up.

https://www.mail-archive.com/misc@openbsd.org/msg161846.html was posted
as a response to me trying to find a work-around until such time as I
could investigate it further.

If it happens again, I wonder if it's worth breaking into the QEMU
monitor and seeing where the CPU registers are pointed and to inspect
the RAM on the VM to figure out where in the kernel OpenBSD is spinning?
 (Although trying to figure out where in the kernel a particular hex
dump of machine code came from will be "fun".)

Regards,
-- 
Stuart Longland (aka Redhatter, VK4MSL)

I haven't lost my mind...
  ...it's backed up on a tape somewhere.



Re: New laptop recommendations

2018-06-19 Thread Rupert Gallagher
On Tue, Jun 19, 2018 at 21:16, Scott Bonds  wrote:

> On 06/19, Jordan Geoghegan wrote:
>>Have you considered one of the Librem laptops by Purism? I hear they're quite 
>>nice, and are running coreboot straight from the factory!

> They run OpenBSD fine with some caveats: 
> https://forums.puri.sm/t/openbsd-on-libre

Very good with coreboot, but the cpu is too slow: an i3 of the 8-th generation 
is cheaper and faster.


Re: OpenBSD in qemu freezes randomly

2018-06-19 Thread Kapetanakis Giannis

On 19/06/18 19:47, Stuart Henderson wrote:

On 2018-06-19, Leo Unglaub  wrote:

i have searched the list archive and found some similar reports but none
of them found a solution for the problem. (at least not the threads i
have found)

I run some OpenBSD 6.3 instances in a virtual environment. The host is
some unknown Linux distribution with qemu on it. After the data center
updated there kernels and also qemu my virtual OpenBSD instances startet
to freeze randomly but almost always during login. They freeze up so
hard that i cannot drop into a debugger or get any output whatsoever.
There is not even a core dump, nothing. Just for testing purposes i
installed a 6.2 as well and did syspatch on it just to see if the error
happens there as well and it does. I have added a dmesg on the bottom of
the email.

I talked to the people at the datacenter and they confirmed that they
did a Linux kernel update at the same time as the problems started. They
send me a link to this bug report here from Arch. They say they don't
use Arch, but the problem described here is exactly what i experienced
as well: https://bugs.archlinux.org/task/55231

They should try setting this on the host:

kvm-intel.preemption_timer=0



It seems that this patch on linux kernel fixes the problem.

https://patchwork.kernel.org/patch/10411125/

G



Re: New laptop recommendations

2018-06-19 Thread lists
Tue, 19 Jun 2018 09:59:45 -0700 Jordan Geoghegan 
> Have you considered one of the Librem laptops by Purism? I hear they're 
> quite nice, and are running coreboot straight from the factory.

The pinnacle of bullshit talk, utter nonsense, no technical value at all.

> Tue, 19 Jun 2018 06:37:18 -0400 Rupert Gallagher 
> > I'm done with my 10 years old 1200EUR MacBookPro. It served me
> > well, every day, but is now falling apart, finally.
> >
> > I would buy a new one if only Steve Jobs would be alive and keeping
> > Apple inspired. The new models are meticulously designed to make
> > you suffer: expensive, slow cpu, soldered ram, soldered disk, small
> > disk, bad keyboard keys, wifi only, must pay extra for standard
> > connectors.
> >
> > I have 1500EUR for a new laptop. What would you buy with it?  

Advertisements to resurrection crap, no dmesg, no hardware specification.



Full Summary Of Research, Computer Sector Part. Now with Nyt Cloud BBS Intro oldskool style.

2018-06-19 Thread Ywe Cærlyn
As mentioned earlier, I did 15 years of research on religion, that 
gained me top 1% research on academia.edu.


The computer part is now also ready, and available on www.nyt.cloud BBS,
where we suggest what do to further, with the computer OS. Particulary 
addressing the economic part, with monotheistic philosophy, and labour 
party and work union politics, of fair pay.


Now also with oldskool intro: https://www.youtube.com/watch?v=rGjwDdojO1k

Peace (Go With Théé)
Your Top Academic.
Ywe Cærlyn.



Re: New laptop recommendations

2018-06-19 Thread Jordan Geoghegan
Have you considered one of the Librem laptops by Purism? I hear they're 
quite nice, and are running coreboot straight from the factory.



On 06/19/18 03:37, Rupert Gallagher wrote:

I'm done with my 10 years old 1200EUR MacBookPro. It served me well, every day, 
but is now falling apart, finally.

I would buy a new one if only Steve Jobs would be alive and keeping Apple 
inspired. The new models are meticulously designed to make you suffer: 
expensive, slow cpu, soldered ram, soldered disk, small disk, bad keyboard 
keys, wifi only, must pay extra for standard connectors.

I have 1500EUR for a new laptop. What would you buy with it?




Re: screenshot with maim: Invalid number of channels provided to image.

2018-06-19 Thread Stuart Henderson
On 2018-06-19, Rudolf Sykora  wrote:
> Hello,
>
> when I run the maim program to take a screenshot, I get an error:
>
> odin$ maim -s Sr90.png
> Failed to detect a compositor, OpenGL hardware-accelleration disabled...
> Maim encountered an error:
> Invalid number of channels provided to image.
> odin$
>
> I do not get any picture.
> Can anybody help, please?
>
> Thanks
> Ruda
>
>

Works for me, but I am running a compositor

$ grep xcomp ~/.xsession
xcompmgr &




Re: add -powersave to hostname.if

2018-06-19 Thread Stuart Henderson
On 2018-06-18, Ken M  wrote:
> My thought was just to add the line
>
> -powersave
>
> in the file, just like I had added it to an iconfig commandline. Hostname.if 
> man
> pages don't specify anything about it that I can see.
>
> Was my thought a stupid thought?
>
> Ken
>
>

hostname.if(5) has this:

"Any lines not matching these packed formats are passed directly to
ifconfig(8)."



Re: OpenBSD in qemu freezes randomly

2018-06-19 Thread Stuart Henderson
On 2018-06-19, Leo Unglaub  wrote:
> i have searched the list archive and found some similar reports but none 
> of them found a solution for the problem. (at least not the threads i 
> have found)
> 
> I run some OpenBSD 6.3 instances in a virtual environment. The host is 
> some unknown Linux distribution with qemu on it. After the data center 
> updated there kernels and also qemu my virtual OpenBSD instances startet 
> to freeze randomly but almost always during login. They freeze up so 
> hard that i cannot drop into a debugger or get any output whatsoever. 
> There is not even a core dump, nothing. Just for testing purposes i 
> installed a 6.2 as well and did syspatch on it just to see if the error 
> happens there as well and it does. I have added a dmesg on the bottom of 
> the email.
>
> I talked to the people at the datacenter and they confirmed that they 
> did a Linux kernel update at the same time as the problems started. They 
> send me a link to this bug report here from Arch. They say they don't 
> use Arch, but the problem described here is exactly what i experienced 
> as well: https://bugs.archlinux.org/task/55231

They should try setting this on the host:

kvm-intel.preemption_timer=0




OpenBSD in qemu freezes randomly

2018-06-19 Thread Leo Unglaub

Hi,
i have searched the list archive and found some similar reports but none 
of them found a solution for the problem. (at least not the threads i 
have found)


I run some OpenBSD 6.3 instances in a virtual environment. The host is 
some unknown Linux distribution with qemu on it. After the data center 
updated there kernels and also qemu my virtual OpenBSD instances startet 
to freeze randomly but almost always during login. They freeze up so 
hard that i cannot drop into a debugger or get any output whatsoever. 
There is not even a core dump, nothing. Just for testing purposes i 
installed a 6.2 as well and did syspatch on it just to see if the error 
happens there as well and it does. I have added a dmesg on the bottom of 
the email.


I talked to the people at the datacenter and they confirmed that they 
did a Linux kernel update at the same time as the problems started. They 
send me a link to this bug report here from Arch. They say they don't 
use Arch, but the problem described here is exactly what i experienced 
as well: https://bugs.archlinux.org/task/55231


In this ticket someone commented the following:


It looks like linux-4.12.8-1 is built with GCC: (GNU) 7.1.1 20170630, whereas 
linux-4.12.8-2 with GCC: (GNU) 7.2.0 (which apparently is still in testing)


Could there be some sort of new optimization in GCC 7.2.0 that causes my 
OpenBSD instance to crash?


I have looked around the misc@, tech@ archives and also on reddit. A lot 
of people seam to have this problem with there OpenBSD crashing after 
this quemu update. Is there something i could try in order to stabilize 
the servers?


All servers are updated via syspatch and there is only one package 
installed on them: vim. The rest is as shipped in the sets.


Thanks so much
Leo


OpenBSD 6.3 (GENERIC) #4: Sun Jun 17 11:09:51 CEST 2018
r...@syspatch-63-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 2080227328 (1983MB)
avail mem = 2010259456 (1917MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xf68c0 (9 entries)
bios0: vendor Hetzner version "2017" date 11/11/2017
bios0: Hetzner vServer
acpi0 at bios0: rev 0
acpi0: sleep states S5
acpi0: tables DSDT FACP APIC HPET
acpi0: wakeup devices
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel Xeon Processor (Skylake, IBRS), 2100.29 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,PCLMUL,SSSE3,FMA3,CX16,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,HV,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,CLWB,AVX512CD,AVX512BW,AVX512VL,IBRS,IBPB,ARAT,XSAVEOPT,XSAVEC,XGETBV1,MELTDOWN
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu0: ITLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu0: DTLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 1000MHz
ioapic0 at mainbus0: apid 0 pa 0xfec0, version 11, 24 pins
acpihpet0 at acpi0: 1 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: C1(@1 halt!)
"ACPI0006" at acpi0 not configured
"PNP0A06" at acpi0 not configured
"PNP0A06" at acpi0 not configured
"PNP0A06" at acpi0 not configured
"QEMU0002" at acpi0 not configured
"ACPI0010" at acpi0 not configured
pvbus0 at mainbus0: KVM
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02
pcib0 at pci0 dev 1 function 0 "Intel 82371SB ISA" rev 0x00
pciide0 at pci0 dev 1 function 1 "Intel 82371SB IDE" rev 0x00: DMA, channel 0 
wired to compatibility, channel 1 wired to compatibility
pciide0: channel 0 disabled (no drives)
atapiscsi0 at pciide0 channel 1 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0:  ATAPI 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 1 function 2 "Intel 82371SB USB" rev 0x01: apic 0 int 11
piixpm0 at pci0 dev 1 function 3 "Intel 82371AB Power" rev 0x03: apic 0 int 9
iic0 at piixpm0
vga1 at pci0 dev 2 function 0 "Bochs VGA" rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
virtio0 at pci0 dev 3 function 0 "Qumranet Virtio Network" rev 0x00
vio0 at virtio0: address 96:00:00:07:a0:53
virtio0: msix shared
virtio1 at pci0 dev 4 function 0 "Qumranet Virtio SCSI" rev 0x00
vioscsi0 at virtio1: qsize 128
scsibus2 at vioscsi0: 255 targets
sd0 at scsibus2 targ 0 lun 0:  SCSI3 0/direct fixed
sd0: 19532MB, 512 bytes/sector, 40001536 sectors, thin
virtio1: msix shared
virtio2 at pci0 dev 5 function 0 "Qumranet Virtio Memory" rev 0x00
viomb0 at virtio2
virtio2: apic 0 int 10
virtio3 at pci0 dev 6 

Re: New laptop recommendations

2018-06-19 Thread traveller
I use 6.3 on my T450S. Works great. Also have installed easily on the Dell 
E7240 and E7440. I prefer the Thinkpad but the Dell is solid also. You can 
probably get one of each for under $1000. Likely you will want to replace the 
battery either way but all of these machines are available used quite 
reasonably and new batteries are available for all.
On Jun 19, 2018, 3:39 AM -0700, Rupert Gallagher , wrote:
> I'm done with my 10 years old 1200EUR MacBookPro. It served me well, every 
> day, but is now falling apart, finally.
>
> I would buy a new one if only Steve Jobs would be alive and keeping Apple 
> inspired. The new models are meticulously designed to make you suffer: 
> expensive, slow cpu, soldered ram, soldered disk, small disk, bad keyboard 
> keys, wifi only, must pay extra for standard connectors.
>
> I have 1500EUR for a new laptop. What would you buy with it?


Re: New laptop recommendations

2018-06-19 Thread Gilles Chehade
I love my DELL Latitude E7240 :-)


June 19, 2018 1:01 PM, "Jeffrey Joshua Rollin"  wrote:

> Definitely second the ThinkPad recommendations. I have an X230i, bought used, 
> on which I currently
> run OpenBSD 6.3, and an E550 on which I've used OpenBSD in the past; both run 
> perfectly as of 6.2,
> except for the fingerprint reader on the X (although to be fair I haven't 
> tried that again
> recently).
> 
> Jeff
> 
> ⁣Sent from Blue ​
> 
> On 19 Jun 2018, 11:51, at 11:51, Daniel Gracia  wrote:
> 
>> I would opt for a Thinkpad. Actually working with a T460s; runs like a
>> charm. If you are looking for mobility, a T series should fit. If you
>> need
>> more horsepower take a look at P series.
>> 
>> Of course those are my preferences, YMMV!
>> 
>> Regards.
>> 
>> El mar., 19 jun. 2018 a las 12:41, Rupert Gallagher
>> ()
>> escribió:
>> 
>>> I'm done with my 10 years old 1200EUR MacBookPro. It served me well,
>> 
>> every
>>> day, but is now falling apart, finally.
>>> 
>>> I would buy a new one if only Steve Jobs would be alive and keeping
>> 
>> Apple
>>> inspired. The new models are meticulously designed to make you
>> 
>> suffer:
>>> expensive, slow cpu, soldered ram, soldered disk, small disk, bad
>> 
>> keyboard
>>> keys, wifi only, must pay extra for standard connectors.
>>> 
>>> I have 1500EUR for a new laptop. What would you buy with it?


-- 
Gilles Chehade

https://www.poolp.org  @poolpOrg



Re: New laptop recommendations

2018-06-19 Thread Peter N. M. Hansteen
On Tue, Jun 19, 2018 at 06:37:18AM -0400, Rupert Gallagher wrote:
> 
> I have 1500EUR for a new laptop. What would you buy with it?

I myself have worn out a few thinkpads over the years, but my last couple of
laptops have been Clevo rebrands - local outfits tend to slap their own brands
on them, like Multicom in Norway[1] - a more recent model is at[2].

If you can live without the ThinkPad 'clitmouse' (as you probably can since
you're looking for a replacment for a Mac), try searching for "Clevo Notebook 
831"
which I think would leave you with something to spare out of your 1500 EUR.

- Peter

[1] https://bsdly.blogspot.com/2017/07/openbsd-and-modern-laptop.html
[2] 
https://www.multicom.no/multicom-talisa-u831-black-133/cat-p/c100559/p10642670

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
"Remember to set the evil bit on all malicious network traffic"
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.



Re: New laptop recommendations

2018-06-19 Thread Jeffrey Joshua Rollin
Definitely second the ThinkPad recommendations. I have an X230i, bought used, 
on which I currently run OpenBSD 6.3, and an E550 on which I've used OpenBSD in 
the past; both run perfectly as of 6.2, except for the fingerprint reader on 
the X (although to be fair I haven't tried that again recently).

Jeff

⁣Sent from Blue ​

On 19 Jun 2018, 11:51, at 11:51, Daniel Gracia  wrote:
>I would opt for a Thinkpad. Actually working with a T460s; runs like a
>charm. If you are looking for mobility, a T series should fit. If you
>need
>more horsepower take a look at P series.
>
>Of course those are my preferences, YMMV!
>
>Regards.
>
>El mar., 19 jun. 2018 a las 12:41, Rupert Gallagher
>()
>escribió:
>
>> I'm done with my 10 years old 1200EUR MacBookPro. It served me well,
>every
>> day, but is now falling apart, finally.
>>
>> I would buy a new one if only Steve Jobs would be alive and keeping
>Apple
>> inspired. The new models are meticulously designed to make you
>suffer:
>> expensive, slow cpu, soldered ram, soldered disk, small disk, bad
>keyboard
>> keys, wifi only, must pay extra for standard connectors.
>>
>> I have 1500EUR for a new laptop. What would you buy with it?
>>


Re: New laptop recommendations

2018-06-19 Thread Daniel Gracia
I would opt for a Thinkpad. Actually working with a T460s; runs like a
charm. If you are looking for mobility, a T series should fit. If you need
more horsepower take a look at P series.

Of course those are my preferences, YMMV!

Regards.

El mar., 19 jun. 2018 a las 12:41, Rupert Gallagher ()
escribió:

> I'm done with my 10 years old 1200EUR MacBookPro. It served me well, every
> day, but is now falling apart, finally.
>
> I would buy a new one if only Steve Jobs would be alive and keeping Apple
> inspired. The new models are meticulously designed to make you suffer:
> expensive, slow cpu, soldered ram, soldered disk, small disk, bad keyboard
> keys, wifi only, must pay extra for standard connectors.
>
> I have 1500EUR for a new laptop. What would you buy with it?
>


Re: New laptop recommendations

2018-06-19 Thread Kaya Saman
I couldn't say for the compatibility with OpenBSD though I have read 
other people running on them, but how about Lenovo??



I've got an X220 which I run a Linux distro on which I'm really happy 
with though the i7 CPU does seem to overheat for some reason, though I 
seem to have this issue with all laptops I've gone through?? Must be me :-S


- only system that never overheated was my old PowerBook G3 Firewire 
running Mac OS 9



I might be remembering wrong but I'm sure I've seen people on the list 
running OBSD on X-series Lenovo's so it might be worth a shot unless 
anyone else has better suggestions :-)



Regards,


Kaya


On 06/19/18 11:37, Rupert Gallagher wrote:

I'm done with my 10 years old 1200EUR MacBookPro. It served me well, every day, 
but is now falling apart, finally.

I would buy a new one if only Steve Jobs would be alive and keeping Apple 
inspired. The new models are meticulously designed to make you suffer: 
expensive, slow cpu, soldered ram, soldered disk, small disk, bad keyboard 
keys, wifi only, must pay extra for standard connectors.

I have 1500EUR for a new laptop. What would you buy with it?




New laptop recommendations

2018-06-19 Thread Rupert Gallagher
I'm done with my 10 years old 1200EUR MacBookPro. It served me well, every day, 
but is now falling apart, finally.

I would buy a new one if only Steve Jobs would be alive and keeping Apple 
inspired. The new models are meticulously designed to make you suffer: 
expensive, slow cpu, soldered ram, soldered disk, small disk, bad keyboard 
keys, wifi only, must pay extra for standard connectors.

I have 1500EUR for a new laptop. What would you buy with it?


Re: Different sound sources interfere with each other

2018-06-19 Thread Максим
The same occures during some network activity.
I noticed it when I had my python script get some data through ssh from several 
hosts simultaneously.
The sound from cmus worked with big interruptions till the script finished its 
work.

-- 
Best regards
Maksim Rodin


19.06.2018, 10:24, "Jordan Geoghegan" :
> On 06/18/18 11:58, Родин Максим wrote:
>>  May be the system becomes ... too busy to serve these actions
>>  simultaneously?
>>  It seemed to me that any task which made decent use of computer
>>  resources was able to cause that behavior.
>
> It would seem you're right. I just tried maxing out my workstation (i7
> 3770, 16GB ram) and with nearly all 16GB ram occupied (over 100 firefox
> tabs, 10 Libreoffice instances, Thunderbird etc) I have been able to
> consistently reproduce this issue.
> When I copy a large block of text from LibreOffice, the audio
> skips/stutters as Maxim described. Once I get the machine swapping, it's
> game over-- it becomes nigh impossible to play music. Closing down
> firefox and letting reaper do its magic (or just reducing ram usage in
> general) seems to resolve the issue.
>
> Just my 2 cents,
>
> Cheers,
> Jordan



Re: Different sound sources interfere with each other

2018-06-19 Thread Максим
The same occures during some network activity.
I noticed it when I had my python script get some data through ssh from several 
hosts simultaneously.
The sound from cmus worked with big interruptions till the script finished its 
work.

-- 
Best regards
Maksim Rodin


19.06.2018, 10:24, "Jordan Geoghegan" :
> On 06/18/18 11:58, Родин Максим wrote:
>>  May be the system becomes ... too busy to serve these actions
>>  simultaneously?
>>  It seemed to me that any task which made decent use of computer
>>  resources was able to cause that behavior.
>
> It would seem you're right. I just tried maxing out my workstation (i7
> 3770, 16GB ram) and with nearly all 16GB ram occupied (over 100 firefox
> tabs, 10 Libreoffice instances, Thunderbird etc) I have been able to
> consistently reproduce this issue.
> When I copy a large block of text from LibreOffice, the audio
> skips/stutters as Maxim described. Once I get the machine swapping, it's
> game over-- it becomes nigh impossible to play music. Closing down
> firefox and letting reaper do its magic (or just reducing ram usage in
> general) seems to resolve the issue.
>
> Just my 2 cents,
>
> Cheers,
> Jordan



Re: rtadvd bug ?

2018-06-19 Thread Bastien Durel

Le 17/06/2018 à 22:57, Sebastian Benoit a écrit :


you have to do check

   if (rtm->rtm_flags & RTF_CONNECTED)

The priority of a connected route depends on the interface priority,
see ifconfig(8) on the priority option and wifi and carp interfaces have a
different default prio than other interfacs. So the prio is not an indicator
for the type of the route.

/Benno


/* sanity check for plen */
/* as RFC2373, prefixlen is at least 4 */
if (plen < 4 || plen > 127) {




Hello,

The patch indeed prevent including ospf6d-learned route to be advertised 
by rtadvd, as priority is 32 (RTP_OSPF).


I had to add a check on RTM_DELETE: case too, as ospf6d add (an remove) 
routes on itself, see this:


fremen# route -n show -inet6|grep ac42
2a01:e35:8aea:ac42::/642a01:e35:8aea:ac42:200:24ff:fed1:420d 
UCn12 - 4 em1
2a01:e35:8aea:ac42::/64link#2 UC 
00 -32 em1


2a01:e35:8aea:ac42:200:24ff:fed1:420d is em1 address.

without checking priority on RTM_DELETE, stopping ospf6d removes all 
prefixes ...



checking rtm_flags & RTF_CONNECTED works too, as Sebastien said.
dhcpv6-pd works regardless of the check (I run it on this router).

--
Bastien



Re: Different sound sources interfere with each other

2018-06-19 Thread Jordan Geoghegan

On 06/18/18 11:58, Родин Максим wrote:
May be the system becomes ... too busy to serve these actions 
simultaneously?
It seemed to me that any task which made decent use of computer 
resources was able to cause that behavior.


It would seem you're right. I just tried maxing out my workstation (i7 
3770, 16GB ram) and with nearly all 16GB ram occupied (over 100 firefox 
tabs, 10 Libreoffice instances, Thunderbird etc) I have been able to 
consistently reproduce this issue.
When I copy a large block of text from LibreOffice, the audio 
skips/stutters as Maxim described. Once I get the machine swapping, it's 
game over-- it becomes nigh impossible to play music. Closing down 
firefox and letting reaper do its magic (or just reducing ram usage in 
general) seems to resolve the issue.


Just my 2 cents,

Cheers,
Jordan



screenshot with maim: Invalid number of channels provided to image.

2018-06-19 Thread Rudolf Sykora
Hello,

when I run the maim program to take a screenshot, I get an error:

odin$ maim -s Sr90.png
Failed to detect a compositor, OpenGL hardware-accelleration disabled...
Maim encountered an error:
Invalid number of channels provided to image.
odin$

I do not get any picture.
Can anybody help, please?

Thanks
Ruda