Newest bootloader commits cause restart on amd64 EFI

2017-06-01 Thread Henrik Friedrichsen
Hey,

I just updated to the latest snapshot and can't run the EFI bootloader
anymore.

I used to chainload the bootx64.efi with GRUB2, which worked fine until
today. Now it just reboots after chainloading the bootloader. I don't
know if loading the OpenBSD bootx64.efi directly will solve this, but I
just wanted to give a heads-up and ask if maybe other people encountered
the same problem. Is this related to the serial console changes?

Reverting to the old bootx64.efi binary made OpenBSD boot again.

Best regards
Henrik



Re: Newest bootloader commits cause restart on amd64 EFI

2017-06-01 Thread Henrik Friedrichsen
On Thu, Jun 01, 2017 at 11:11:09AM +0200, David Skantz wrote:
> I have no chainloader but the same problem and solution.

Looks like a fix is already in the works:
http://marc.info/?l=openbsd-tech&m=149630569323456&w=2
http://marc.info/?l=openbsd-tech&m=149630653223750&w=2



Re: OpenSMTP and OpenLDAP

2017-07-25 Thread Henrik Friedrichsen
Hey,

On Tue, Jul 25, 2017 at 10:50:32AM +0200, Markus Rosjat wrote:
> I was just wondering if does two work together at all? I saw examples with
> ldapd that ships with the OS but not with OpenLDAP. Since I try to get my
> user table defined, and the man only has options for db and file, whats the
> way to go here if there is a way at all?

The OpenSMTPD-extras package should have an LDAP filter. I have no
experience with it and whether it works with OpenLDAP, but it might be
starting point:

https://github.com/OpenSMTPD/OpenSMTPD-extras/tree/master/extras/tables/table-ldap



Re: touchpad input driver: testing needed

2017-08-03 Thread Henrik Friedrichsen
No apparent problems here on my ThinkPad x220i.

Base pointer speed was slightly slower which I was able to adjust by
setting mouse.tp.scaling. This did, however, not affect the
two-finger-scrolling, which required more mileage on my trackpad to
scroll compared to the synaptics driver.

Nice work!

wsconsctl:
mouse.type=synaptics
mouse.rawmode=0
mouse.scale=1472,5472,1408,4448,0,75,129
mouse.tp.tapping=0
mouse.tp.scaling=0.200
mouse.tp.swapsides=0
mouse.tp.disable=0

dmesg:
OpenBSD 6.1-current (GENERIC.MP) #34: Tue Aug  1 18:56:18 MDT 2017
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8451125248 (8059MB)
avail mem = 8188628992 (7809MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xdae9c000 (66 entries)
bios0: vendor LENOVO version "8DET73WW (1.43 )" date 10/12/2016
bios0: LENOVO 4290W1A
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) i3-2310M CPU @ 2.10GHz, 2093.51 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,x2APIC,POPCNT,DEADLINE,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: TSC frequency 2093506380 Hz
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) i3-2310M CPU @ 2.10GHz, 2093.20 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,x2APIC,POPCNT,DEADLINE,XSAVE,AVX,NXE,RDTSCP,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) i3-2310M CPU @ 2.10GHz, 2093.20 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,AVX,NXE,RDTSCP,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) i3-2310M CPU @ 2.10GHz, 2093.20 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,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, 24 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP1)
acpiprt3 at acpi0: bus 3 (EXP2)
acpiprt4 at acpi0: bus 5 (EXP4)
acpiprt5 at acpi0: bus 13 (EXP5)
acpiprt6 at acpi0: bus -1 (EXP7)
acpicpu0 at acpi0: C3(200@109 io@0x416), C2(500@80 io@0x414), C1(1000@1 halt), 
PSS
acpicpu1 at acpi0: C3(200@109 io@0x416), C2(500@80 io@0x414), C1(1000@1 halt), 
PSS
acpicpu2 at acpi0: C3(200@109 io@0x416), C2(500@80 io@0x414), C1(1000@1 halt), 
PSS
acpicpu3 at acpi0: C3(200@109 io@0x416), C2(500@80 io@0x414), C1(1000@1 halt), 
PSS
acpipwrres0 at acpi0: PUBS, resource for EHC1, EHC2
acpitz0 at acpi0: critical temperature is 99 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
"PNP0303" at acpi0 not configured
"LEN0020" at acpi0 not configured
"SMO1200" at acpi0 not configured
acpibat0 at acpi0: BAT0 model "42T4861" serial  5714 type LION oem "SANYO"
acpiac0 at acpi0: AC unit offline
acpithinkpad0 at acpi0
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
acpidock0 at acpi0: GDCK not docked (0)
acpivideo0 at acpi0: VID_
acpivout at acpivideo0 not configured
acpivideo1 at acpi0: VID_
cpu0: Enhanced SpeedStep 2093 MHz: speeds: 2100, 2000, 1900, 1800, 1700, 1600, 
1500, 1400, 1300, 1200, 1100, 1000, 900, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x09
inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 3000" rev 0x09
drm0 at inteldrm0
inteldrm0: msi
inteldrm0: 1366x768, 32bpp
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std,

Re: sysmerge is not needed when updating to 6.2?

2017-10-12 Thread Henrik Friedrichsen
On Thu, Oct 12, 2017 at 09:34:44AM +, C. L. Martinez wrote:
>  But I have only one question: Is sysmerge not longer needed for updating 
> process like in previous releases?

sysmerge will be run when booting the system after the upgrade.



Router advertisements for dynamic IPv6 prefix

2020-10-11 Thread Henrik Friedrichsen
Hey,

my ISP provides connectivity via PPPoE. An IPv6 prefix is handed out via
DHCPv6 PD, which my OpenBSD gateway passes on to clients with the help
of router advertisements using rad.

This works fine until the ISP disconnects me after 24h (force disconnect
on ISP side). The gateway receives a new prefix via prefix delegation
and rad advertises it in the local network. So far so good. However, as
the old stale prefix is still valid according to the advertised
lifetime, clients keep their stale IPv6 addresses. I have already
decreased the lifetimes in rad to <24h, which mitigates the problem
somewhat, but it's not perfect. For instance, some clients may receive
the advertisement 1h before the disconnect but since the lifetimes are
static, the client will assume a validity of ~23h (as set), although the
prefix will expire in 1h.

After some research I found out that other router advertisement daemons,
e.g. radvd, have settings to alleviate this:

- DeprecatePrefix will advertise a 0 plt and 2h vlt for the stale prefix
- DecrementLifetimes decrements the lifetimes by the number of seconds
  since the last advertisement

Is there any way to do this using rad or other tools?

Best
Henrik



Re: Router advertisements for dynamic IPv6 prefix

2020-10-15 Thread Henrik Friedrichsen
Hey,

On Wed, Oct 14, 2020 at 02:30:04PM -0300, Fernando Gont wrote:
> And you may also look at this other one, which has recommendations for CPEs,
> which in your case accounts for your DHCPv6-PD and RA daemons:
> https://tools.ietf.org/html/draft-ietf-v6ops-cpe-slaac-renum-05

Looks like it's a problem that's not (easily) solved yet.

Thanks for the suggestions everyone. I'll reduce the lifetimes to the numbers
suggested in the draft and move the reconnect to 5am as suggested by Stuart.

Can this cause problems for connections that exceed these lifetimes? It seems
that at least macOS will assign a new IPv6 address with every advertisement due
to privacy extensions. I'd hope that existing sockets will remain connected if
the advertised prefix doesn't change, but I'm not sure.



iwn WiFi slow in CURRENT

2016-02-03 Thread Henrik Friedrichsen
Hey,

I recently upgraded 5.8 to CURRENT to test the new 802.11n WiFi
additions which I am very excited about.

I noticed that in CURRENT the WiFi throughput is much slower. The
environment I am testing it in is at my university with wall-mounted
Cisco APs (sorry, not very detailled).

Trying to connect to the AP in 11n mode does not work. The OS then seems
to fall back to "OFDM18 mode 11g" or "OFDM36 mode 11a". Both of these
modes yield pretty slow throughput, less than 1MBit/s down and around
2MBit/s up.

Previously, this was not a problem. Although 11n obviously did not work,
I had usable throughput in the older modes. The chip is a Intel Centrino
Advanced-N 6205.

Is this expected due to ongoing work? Should I file a bug?

Best regards
Henrik



Re: iwn WiFi slow in CURRENT

2016-02-04 Thread Henrik Friedrichsen
Hey,

manually setting the mode helps with the speed problems, thanks!

On Wed, Feb 03, 2016 at 08:54:51PM +0100, Stefan Sperling wrote:
> Does this diff help?

This diff + the one you posted in tech@ this morning does not seem to
help with the 11n mode, though.

Anything I can provide to help?

dmesg shows nothing extraordinary, but I have attached it anyway.
OpenBSD 5.9 (GENERIC.MP) #1868: Mon Feb  1 20:02:36 MST 2016
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8335577088 (7949MB)
avail mem = 8078757888 (7704MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xdae9c000 (66 entries)
bios0: vendor LENOVO version "8DET70WW (1.40 )" date 05/14/2015
bios0: LENOVO 4290W1A
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) i3-2310M CPU @ 2.10GHz, 2093.51 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,x2APIC,POPCNT,DEADLINE,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) i3-2310M CPU @ 2.10GHz, 2093.20 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,x2APIC,POPCNT,DEADLINE,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) i3-2310M CPU @ 2.10GHz, 2093.20 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,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) i3-2310M CPU @ 2.10GHz, 2093.20 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,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, 24 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP1)
acpiprt3 at acpi0: bus 3 (EXP2)
acpiprt4 at acpi0: bus 5 (EXP4)
acpiprt5 at acpi0: bus 13 (EXP5)
acpiprt6 at acpi0: bus -1 (EXP7)
acpicpu0 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS
acpicpu1 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS
acpicpu2 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS
acpicpu3 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS
acpipwrres0 at acpi0: PUBS, resource for EHC1, EHC2
acpitz0 at acpi0: critical temperature is 99 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "42T4861" serial  5714 type LION oem "SANYO"
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
cpu0: Enhanced SpeedStep 2093 MHz: speeds: 2100, 2000, 1900, 1800, 1700, 1600, 
1500, 1400, 1300, 1200, 1100, 1000, 900, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x09
inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 3000" rev 0x09
drm0 at inteldrm0
inteldrm0: msi
inteldrm0: 1366x768
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
"Intel 6 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
em0 at pci0 dev 25 function 0 "Intel 82579LM" rev 0x04: msi, address 
f0:de:f1:5a:e0:f6
ehci0 at pci0 dev 26 function 0 "Intel 6 Series USB" rev 0x04: apic 2 int 16
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 6 Series HD Audio" rev 0x04: msi
azalia0: codecs: Conexant CX20590, Intel/0x2805, using Conexant CX20590
audio0 at azali

Re: iwn WiFi slow in CURRENT

2016-02-04 Thread Henrik Friedrichsen
Sorry, wrong dmesg.
OpenBSD 5.9 (GENERIC.MP) #0: Thu Feb  4 11:31:35 CET 2016
r...@kobol.lan:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8335577088 (7949MB)
avail mem = 8078761984 (7704MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xdae9c000 (66 entries)
bios0: vendor LENOVO version "8DET70WW (1.40 )" date 05/14/2015
bios0: LENOVO 4290W1A
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) i3-2310M CPU @ 2.10GHz, 2093.51 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,x2APIC,POPCNT,DEADLINE,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) i3-2310M CPU @ 2.10GHz, 2093.20 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,x2APIC,POPCNT,DEADLINE,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) i3-2310M CPU @ 2.10GHz, 2093.20 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,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) i3-2310M CPU @ 2.10GHz, 2093.20 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,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, 24 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP1)
acpiprt3 at acpi0: bus 3 (EXP2)
acpiprt4 at acpi0: bus 5 (EXP4)
acpiprt5 at acpi0: bus 13 (EXP5)
acpiprt6 at acpi0: bus -1 (EXP7)
acpicpu0 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS
acpicpu1 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS
acpicpu2 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS
acpicpu3 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS
acpipwrres0 at acpi0: PUBS, resource for EHC1, EHC2
acpitz0 at acpi0: critical temperature is 99 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "42T4861" serial  5714 type LION oem "SANYO"
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
cpu0: Enhanced SpeedStep 2093 MHz: speeds: 2100, 2000, 1900, 1800, 1700, 1600, 
1500, 1400, 1300, 1200, 1100, 1000, 900, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x09
inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 3000" rev 0x09
drm0 at inteldrm0
inteldrm0: msi
inteldrm0: 1366x768
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
"Intel 6 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
em0 at pci0 dev 25 function 0 "Intel 82579LM" rev 0x04: msi, address 
f0:de:f1:5a:e0:f6
ehci0 at pci0 dev 26 function 0 "Intel 6 Series USB" rev 0x04: apic 2 int 16
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 6 Series HD Audio" rev 0x04: msi
azalia0: codecs: Conexant CX20590, Intel/0x2805, using Conexant CX20590
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 6 Series PCIE" rev 0xb4: msi
pci1 at ppb0 bus 2
ppb1 at pci0 dev 28 function 1 "Intel 6 Series PCIE" rev 0xb4: msi
pci2 at ppb1 bus 3
iwn0 at pci2 dev 0 function 0 "Intel Centrino Advanced-N 6205" rev 0x34: msi, 
MIMO 2T2R, MoW, address a0:88:b4:40:98:3c
ppb2 at pci0 dev 28 function 3 "Intel 6 Series PCIE" rev 0xb4

Re: iwn WiFi slow in CURRENT

2016-02-04 Thread Henrik Friedrichsen
Hey,

On Thu, Feb 04, 2016 at 11:56:30AM +0100, Stefan Sperling wrote:
> For starters, beacons from this AP.
> 
> While associated: tcpdump -n -i iwn0 -y IEEE802_11_RADIO -vvv subtype beacon
> 
> Send me one of the lines this prints.

Here you go:

14:52:00.658304 802.11 flags=0<>: beacon, timestamp 160798114825,
interval 102, caps=10021, ssid (eduroam),
rates 18M 24M 36M 48M 54M, tim 0x0001188000, country 'DE ', channels
36-43 limit 23dB, channels 100-104 limit 23dB, channels 132-134 limit
30dB, 41 stations, 24% utilization, admission capacity 732us/s,
htcaps=<20/40MHz,SGI@20MHz,SGI@40MHz,TXSTBC,RXSTBC 1 stream,A-MSDU
7935,DSSS/CCK@40MHz,A-MPDU max 65535,A-MPDU spacing 8.00us,RxMCS
0xfc00>, rsn
0x010fac04010fac04020fac01004096002800, 

Henrik



Re: iwn WiFi slow in CURRENT

2016-02-04 Thread Henrik Friedrichsen
On Thu, Feb 04, 2016 at 03:15:25PM +0100, Stefan Sperling wrote:
> Sorry, this capture is incomplete. Can you please add the -s 1500 option?

No problem:

15:57:46.601094 802.11 flags=0<>: beacon, timestamp 164743741446,
interval 102, caps=10021, ssid (eduroam),
rates 18M 24M 36M 48M 54M, tim 0x00010c0840, country 'DE ', channels
36-43 limit 23dB, channels 100-104 limit 23dB, channels 132-134 limit
30dB, 53 stations, 17% utilization, admission capacity 732us/s,
htcaps=<20/40MHz,SGI@20MHz,SGI@40MHz,TXSTBC,RXSTBC 1 stream,A-MSDU
7935,DSSS/CCK@40MHz,A-MPDU max 65535,A-MPDU spacing 8.00us,RxMCS
0xfc00>, rsn
0x010fac04010fac04020fac01004096002800, htop=<40MHz chan
48:44,RIFS,protect 20MHz,non-greenfield STA,basic MCS set
0x>, 127:8 0x001000400040, 133:30
0x06008f000f00ff0359005548482d5355422d484731333400354d, 150:6
0x004096001200, 191:12 0xb259820feaffeaff, 192:5 0x00,
195:3 0x010202, vendor
0x0050f202010183a427a442435e0062322f00, vendor
0x004096010104, vendor 0x0040960305, vendor 0x0040960b09, vendor
0x004096134000, vendor 0x0040961401, vendor
0x0040960c0361205731f8a25201c7260c002585d2394001bf78, 



Re: iwn WiFi slow in CURRENT

2016-02-04 Thread Henrik Friedrichsen
Hey,

On Thu, Feb 04, 2016 at 06:24:42PM +0100, Stefan Sperling wrote:
> This AP does not comply with the 11n standard I'm reading (802.11 2012)
> because it does not support all of MCS 0-7.
> 
> We currently require RxMCS starting with 0xff (MCS 0 to 7 supported).
> Looks like we need a better strategy to cope with the real world...

Ow, sounds like a painful "standard" to implement. If you need any more
data or a patch tested, let me know.

Here's another interesting tidbid: With the patches you posted I can
still associate with my WiFi AP at home (TP-Link WDR4900 running
OpenWRT), but DHCP does not work and if I set the IP statically, I
can't get to the router either. The media mode with these patches is
HT-MCS2. Reverting to the older modes (e.g. 11a) works. So this appears
to cause a regression with my setup.

If I boot the snapshot kernel the modulation used is HT-MCS1 and
internet traffic works fine.

Henrik



Re: iwn WiFi slow in CURRENT

2016-02-04 Thread Henrik Friedrichsen
Beacon from my home AP in case it helps:

20:29:53.785848 802.11 flags=0<>: beacon, timestamp 6134271936059,
interval 100, caps=21, ssid (DATENMOPED), rates 6M 9M 12M
18M 24M 36M 48M 54M, ds (chan 36), tim 0x0002, country 'US ',
channels 36-39 limit 17dB, channels 52-55 limit 23dB, channels 149-153
limit 30dB, rsn 0x010fac04010fac04010fac020c00,
htcaps=<20MHz,LDPC,SGI@20MHz,SGI@40MHz,TXSTBC,RXSTBC 1 stream,A-MSDU
3839,DSSS/CCK@40MHz,A-MPDU max 65535,A-MPDU spacing 8.00us,RxMCS
0xff00>, htop=<20MHz chan 36,STA chanw 20MHz,protect
non-HT,non-greenfield STA,non-HT STA,basic MCS set 0x>,
127:8 0x0040, vendor
0x0050f202010183a427a442435e0062322f00, 



Re: Migrating nginx config to OpenBSD's httpd

2018-04-16 Thread Henrik Friedrichsen
On Fri, Apr 13, 2018 at 02:30:18PM +0300, Pavel Korovin wrote:
> Hi Carlos,
> 
> There's no analog of proxy_pass in httpd(8). relayd(8) is your friend.

So far I have not been able to emulate proxy_pass with relayd.

I came across two issues:
- relayed HTTP requests resulted in cut off responses, similar to this
  issue: https://github.com/reyk/relayd/issues/12
- I have not been able to come up with a configuration/filter setting
  that will only match for a specific subdomain and will pass the
  non-matching requests to the regular httpd listening on port 80

Did anyone have success in setting this up?




Re: Migrating nginx config to OpenBSD's httpd

2018-04-16 Thread Henrik Friedrichsen
Hey Pavel,

thanks for your response. I have adapted my configuration and came up
with this:


ext4="51.15.10.194"
ext6="2001:bc8:2d08::1"

table  { "127.0.0.1" }
table  { "127.0.0.1" }

http protocol "monit" {
match request header "Host" value "status.affekt.org" forward to 
match request header "Host" value "affekt.org" forward to 
}

relay "proxy" {
listen on $ext4 port 80
protocol "monit"
forward to  port 2812
forward to  port 80
}


I have a local monit instance listening on 127.0.0.1:2812

This configuration works, sort of:
- Is there a way to match all hosts that are not "status.affekt.org"?
  That way I don't have to write a filter rule for every subdomain
- Relayed HTTP output is cut off. As you can see below the HTTP DOM is not
  closed and most of the HTTP response headers are missing (status code,
  content-length, etc.)

Any idea what I'm doing wrong?

Thanks!

hera ~ % curl -v "http://status.affekt.org/";
*   Trying 51.15.10.194...
* TCP_NODELAY set
* Connected to status.affekt.org (51.15.10.194) port 80 (#0)
> GET / HTTP/1.1
> Host: status.affekt.org
> User-Agent: curl/7.58.0
> Accept: */*
> 
Connection: close
Content-Type: text/html
WWW-Authenticate: Basic realm="monit"

* Connection #0 to host status.affekt.org left intact
401 UnauthorizedUnauthorizedYou are not authorized to access
monit. Either you supplied the wrong credentials (e.g. bad password), or
your browser doesn't understand how to supply the credentials required




Re: Migrating nginx config to OpenBSD's httpd

2018-04-16 Thread Henrik Friedrichsen
Thanks again.

This worked in case anyone is looking for it:

http protocol "monit" {
match request forward to 
match request header "Host" value "status.affekt.org" forward to 
}

The order is important, if put in reversed the "status.affekt.org"
forward will be overwritten.

Now all I need to investigate is why HTTP responses are erroneous,
though you might be right that it could be a Monit problem.



How to control multiple line channels in USB audio

2019-01-18 Thread Henrik Friedrichsen
Hey,

I have an ESI MAYA44 USB+
(https://www.esi-audio.com/products/maya44usb+/) with 8 channels (2
stereo input + 2 stereo output) and a headphone jack:

uaudio0 at uhub0 port 3 configuration 1 interface 0 "ESI Audiotechnik GmbH 
MAYA44 USB+" rev 1.00/3.01 addr 2
uaudio0: audio rev 1.00, 8 mixer controls
audio0 at uaudio0
uhidev0 at uhub0 port 3 configuration 1 interface 3 "ESI Audiotechnik GmbH 
MAYA44 USB+" rev 1.00/3.01 addr 2
uhidev0: iclass 3/0
uhid0 at uhidev0: input=8, output=8, feature=0

I would like to unmute the two stereo input channels to have them play
at the same time via one of the output channels. However, I'm
struggling a little.

It seems that mixerctl has given both line channels the same
identifier, so I can only unmute one of them. Also, only one output is
listed although this card has two:

inputs.line.mute=on
inputs.line=191,191
inputs.line.mute=on
inputs.line=191,191
outputs.spkr.mute=off
outputs.spkr=255,255
record.line.mute=off
record.line=0,0
record.enable=sysctl

audioctl output:
name=uaudio0
mode=
pause=0
active=0
nblks=2
blksz=960
rate=48000
encoding=s16le
play.channels=2
play.bytes=0
play.errors=0
record.channels=2
record.bytes=0
record.errors=0

Any idea what I'm missing?



Re: Thinkpad X220, can't control screen brightness via keyboard

2016-09-17 Thread Henrik Friedrichsen
Try suspending to RAM and waking it up again. Sometimes, the brightness
keys don't work for me either. Suspending + waking up once seems to fix
it.



X220 Backlight Buttons stopped working in 5.6

2014-11-05 Thread Henrik Friedrichsen
Hey,

I just did a fresh install of 5.6 on my ThinkPad x220i and it seems that
the brightness buttons stopped working.

I know they worked on 5.5. Is there anything that changed in terms of
this?

Best regards
Henrik



Re: X220 Backlight Buttons stopped working in 5.6

2014-11-05 Thread Henrik Friedrichsen
Okay, a suspend & resume cycle seems to have fixed it somehow.



Re: 5.6, IPv6: is autoconf set by default?

2014-12-30 Thread Henrik Friedrichsen
On Tue, Dec 30, 2014 at 06:16:04PM +0100, Harald Dunkel wrote:
> I wonder if autoconf
> is set or cleared by default, if inet6 is configured for the
> network interfaces and if net.inet6.ip6.forwarding is enabled?

It certainly doesn't seem to be enabled by default as I just had to
enable it to get an IPv6 assigned. This was on -CURRENt, though.



httpd SNI

2015-01-28 Thread Henrik Friedrichsen
Hello,

are there plans to implement SNI for httpd so that multiple virtual
hosts can be assigned to a single IP?
I couldn't find any commits related to this in -CURRENT.

Henrik



Re: touchpad slight regression (snap: 20141121->20150217)

2015-02-25 Thread Henrik Friedrichsen
I can confirm this on my Thinkpad X220i.



Re: touchpad slight regression (snap: 20141121->20150217)

2015-02-25 Thread Henrik Friedrichsen
On Wed, Feb 25, 2015 at 11:50:55AM -0600, joshua stein wrote:
> Can you try recompiling that driver with that last revision backed
> out and see if it fixes the problem?

Done. Problem is gone.



Re: touchpad slight regression (snap: 20141121->20150217)

2015-02-25 Thread Henrik Friedrichsen
On Thu, Feb 26, 2015 at 01:21:23AM +0100, Martin Pieuchot wrote:
> Do you guys mind sharing a dmesg?  On which touchpad/firmware version do
> you see this regression?

Sure:

OpenBSD 5.7-beta (GENERIC.MP) #860: Sun Feb 22 03:14:54 MST 2015
t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8335577088 (7949MB)
avail mem = 8109768704 (7734MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xdae9c000 (66 entries)
bios0: vendor LENOVO version "8DET69WW (1.39 )" date 07/18/2013
bios0: LENOVO 4290W1A
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) i3-2310M CPU @ 2.10GHz, 2093.50 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,x2APIC,POPCNT,DEADLINE,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz, 2093.20 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,x2APIC,POPCNT,DEADLINE,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
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) i3-2310M CPU @ 2.10GHz, 2093.20 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
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) i3-2310M CPU @ 2.10GHz, 2093.20 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP1)
acpiprt3 at acpi0: bus 3 (EXP2)
acpiprt4 at acpi0: bus 5 (EXP4)
acpiprt5 at acpi0: bus 13 (EXP5)
acpiprt6 at acpi0: bus -1 (EXP7)
acpicpu0 at acpi0: C3, C1, PSS
acpicpu1 at acpi0: C3, C1, PSS
acpicpu2 at acpi0: C3, C1, PSS
acpicpu3 at acpi0: C3, C1, PSS
acpipwrres0 at acpi0: PUBS, resource for EHC1, EHC2
acpitz0 at acpi0: critical temperature is 99 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "42T4861" serial  5714 type LION oem "SANYO"
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
cpu0: Enhanced SpeedStep 2093 MHz: speeds: 2100, 2000, 1900, 1800, 1700, 1600, 
1500, 1400, 1300, 1200, 1100, 1000, 900, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x09
vga1 at pci0 dev 2 function 0 "Intel HD Graphics 3000" rev 0x09
intagp at vga1 not configured
inteldrm0 at vga1
drm0 at inteldrm0
inteldrm0: 1366x768
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
"Intel 6 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
em0 at pci0 dev 25 function 0 "Intel 82579LM" rev 0x04: msi, address 
f0:de:f1:5a:e0:f6
ehci0 at pci0 dev 26 function 0 "Intel 6 Series USB" rev 0x04: apic 2 int 16
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 6 Series HD Audio" rev 0x04: msi
azalia0: codecs: Conexant/0x506e, Intel/0x2805, using Conexant/0x506e
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 6 Series PCIE" rev 0xb4: msi
pci1 at ppb0 bus 2
ppb1 at pci0 dev 28 function 1 "Intel 6 Series PCIE" rev 0xb4: msi
pci2 at ppb1 bus 3
iwn0 at pci2 dev 0 function 0 "Intel Centrino Advanced-N 6205" rev 0x34: msi, 
MIMO 2T2R, MoW, address a0:88:b4:40:98:3c
ppb2 at pci0 dev 28 function 3 "Intel 6 Se

Re: touchpad slight regression (snap: 20141121->20150217)

2015-02-27 Thread Henrik Friedrichsen
That does seem to fix it in my case.



Re: httpd tls - what am i missing?

2015-05-11 Thread Henrik Friedrichsen
I've got the same problem OP has with a freshly generated key and signed
cert from wosign.com on OpenBSD 5.7-stable.

The cert/key work fine with nginx, but with httpd the client simply
times out when trying to open a session with the server.

OpenSSL s_client stops right after connecting to the server:

% openssl s_client -connect $host:443
CONNECTED(0003)

Anything else we can give you for debugging?

Thanks
Henrik



Re: httpd tls - what am i missing?

2015-05-11 Thread Henrik Friedrichsen
Hey!

Thanks for getting back to me. Unfortunately that does not seem to be
the problem in my case. :(

On Mon, May 11, 2015 at 09:45:13PM -0500, Theodore Wynnychenko wrote:
> From: Joel Sing
> Sent: Sunday, March 29, 2015 5:13 AM
> Subject: Re: httpd tls - what am i missing?
> Okay, I've at least tracked down the source of the problem - your
> server.pem 
> file contains the text version of the certificate followed by the PEM
> encoded 
> version. The combined size seems to be triggering an issue in httpd - 
> removing the text version and starting with the BEGIN CERTIFICATE line
> makes 
> the certificate/key work... now to find out what is actually
> happening!

This does not apply to my case. My server certificate only contains PEM
encoded certificates.

Any other ideas?

Thanks
Henrik



Re: httpd tls - what am i missing?

2015-05-11 Thread Henrik Friedrichsen
Ok, so a little followup. I found out what the problem was:

The server certificate bundle given to me by my CA contained a SHA1
certificate along with the other SHA256 certificates. Apparently httpd
didn't like that. Removing this certificate from the bundle fixed my
problem.



Re: Major improvement in CPU temperatures for -current

2015-06-14 Thread Henrik Friedrichsen
Can confirm this. Quite a significant change on my Thinkpad X220.
Thanks a lot!



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

2015-07-08 Thread Henrik Friedrichsen
I have encountered the same problem as has the guy in [1]. Maybe it is
worth a bug report?

Could this be related to FastCGI and exhaustion of some ressource?

[1]: https://www.facebook.com/groups/2210554563/permalink/10153383131319564/



Re: dovecot startup failure (5.7-stable)

2015-07-25 Thread Henrik Friedrichsen
Hey!

This is known:
http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/mail/dovecot/pkg/README-server?rev=1.2

Henrik



Re: Sluggish/laggy browser behaviour

2015-07-26 Thread Henrik Friedrichsen
Hey,

On Sun, Jul 26, 2015 at 12:56:53PM -0700, Nathan Van Ymeren wrote:
> Unfortunately my problem persists even when tabs are not using sounds.
> Scrolling e.g. the front page of Reddit is choppy and stuttery.  Using
> apmd -A and hw.perfpolicy=auto helps a little with the tabbing issue
> but not scrolling.

I can pretty much confirm this on an X220i, I have sort of come to terms
with it, but it is definitely noticeable (in chromium and firefox).

Also, when I play clips on YouTube, playback sometimes hangs for half a
second. That is with a snapshot from today. To be safe, I also
recompiled sndio from CVS to make sure I didn't miss the previously
mentioned patch. While it does seem to have improved the situation, it's
not entirely fixed.

My guess is that this is due to missing SMP features/support, but I'm
not entirely sure.



Re: Sluggish/laggy browser behaviour

2015-07-26 Thread Henrik Friedrichsen
Hey

On Sun, Jul 26, 2015 at 10:46:30PM +0100, Dimitris Papastamos wrote:
> Try viewtube[0] and gecko-mediaplayer instead.  No hangs on my system
> at all.

Yeah, that is a workaround. Sometimes I use youtube_dl with mpv. That
was just one example, though ;p



Re: Native EFI Bootloader Support

2015-09-04 Thread Henrik Friedrichsen
On Fri, Sep 04, 2015 at 11:22:48AM -0700, Chris Cappuccio wrote:
> Since the purpose of Secure Boot provide little to no benefit to users (in 
> fact
> quite the opposite), the question becomes why?

UEFI does not always imply Secure Boot.  There are modern systems which
do not feature legacy booting with MBR.  With this UEFI loader OpenBSD
can be booted on them.



Synaptics/Chrome two-finger scrolling behaviour

2016-06-06 Thread Henrik Friedrichsen
Hey,

I'm not sure, but something seems to have changed two-finger-scrolling
on Synaptics touchpads in the latest snapshots.

My snapshot is from June 2nd. The following is what happens:

In Chromium, if I click somewhere and subsequently scroll the website
using two-finger-scrolling, it scrolls more units (e.g. to the
top/bottom of the page) and sometimes even in reverse. I can't quite
extract the pattern, yet.

Can anyone confirm this? Is this Xenocara or Chromium related?



Re: Synaptics/Chrome two-finger scrolling behaviour

2016-06-06 Thread Henrik Friedrichsen
On Mon, Jun 06, 2016 at 02:24:37PM +0200, Nicklas Mikkelinen wrote:
> I have the same issue in both openbsd, win10 and mac os x yosemite. 
> 
> Thought it was my mouse though. 

Good to know. Looks like it is a Chromium problem then.



Re: Synaptics/Chrome two-finger scrolling behaviour

2016-06-06 Thread Henrik Friedrichsen
On Mon, Jun 06, 2016 at 04:08:32PM +0200, Matej Nanut wrote:
> I noticed the option to navigate by overscrolling was turned on by
> default in version 51. Maybe it has something to do with this? Maybe
> common code changes?
> 
> I disabled it immediately because I find it annoying.
> 
> You can find it at chrome://flags/. The option is named "Overscroll
> history navigation".

Thanks for the hint, that doesn't seem to fix it for me, though :/



Re: Synaptics/Chrome two-finger scrolling behaviour

2016-06-19 Thread Henrik Friedrichsen
On Mon, Jun 06, 2016 at 02:17:00PM +0200, Henrik Friedrichsen wrote:
> Hey,
> 
> I'm not sure, but something seems to have changed two-finger-scrolling
> on Synaptics touchpads in the latest snapshots.
> 
> My snapshot is from June 2nd. The following is what happens:
> 
> In Chromium, if I click somewhere and subsequently scroll the website
> using two-finger-scrolling, it scrolls more units (e.g. to the
> top/bottom of the page) and sometimes even in reverse. I can't quite
> extract the pattern, yet.
> 
> Can anyone confirm this? Is this Xenocara or Chromium related?
> 

FYI: There is a relevant bugreport for this. A fix (reverted commit) is
in Chrome v53.

https://bugs.chromium.org/p/chromium/issues/detail?id=609748



py-pip for python3 on OpenBSD 5.5

2014-07-08 Thread Henrik Friedrichsen

Hey,

So I'm currently trying to install pip for Python 3 on a 5.5 system.

The port devel/py-pip has a python3 flavor which would theoretically 
allow me to do this. However, one of its dependencies (py-setuptools) 
does not,

which is why I cannot install py-pip with the python3 flavor.

What would be the best way to pip for Python 3 on the 5.5 release?

Thanks
Henrik



Re: py-pip for python3 on OpenBSD 5.5

2014-07-08 Thread Henrik Friedrichsen
Nevermind. This was due to a dependency that did not get installed for 
some reason..




Re: py-pip for python3 on OpenBSD 5.5

2014-07-09 Thread Henrik Friedrichsen

On 2014-07-08 19:49, Juan Francisco Cantero Hurtado wrote:

Which dependency? if a package needs some missing dependency, we can
fix the package.


Thanks, but the dependency is not missing in the ports tree. It simply 
did not get installed in the first run, although I'm not yet entirely 
sure why. Maybe it couldn't download the source file at that time..




Re: weird problem in Germany / TCP related

2014-10-29 Thread Henrik Friedrichsen
Hey,

On Wed, Oct 29, 2014 at 09:42:21AM +0100, Peter J. Philipp wrote:
> So I'm looking for more people who use DTAG who have experienced
> degragations (mostly noticed in running screen or tmux and having
> switched windows and it's doggedly slow due to retransmissions).  What
> sort of home router do you use?

Does this fit your description?

http://avm.de/nc/service/fritzbox/fritzbox-7390/wissensdatenbank/publication/show/1551_Nach-FRITZ-OS-Update-mit-einzelner-Anwendung-kein-Internetzugriff-moeglich/
http://stadt-bremerhaven.de/fritz-os-update-twitter/

Experienced it myself, too, with a FB 7390 as of 6.20. Definitely one of
the nastier bugs. Downgrading helped.