x230 host with VM; VM's clock runs at half speed

2018-03-23 Thread Andreas Kusalananda Kähäri
Hi,

I recently set up a VM on my Lenovo Thinkpad x230 to build ports.  With
yesterday's sources, the clock in the VM seems to run at about 50% the
speed of the clock on the host.  I don't think this was an issue at the
start of the week.

After 21 minutes of uptime on the host, the VM reports 12 minutes of
uptime and the daemon log contains

Mar 23 08:54:38 ports ntpd[8242]: ntp engine ready
Mar 23 08:54:39 ports ntpd[83538]: set local clock to Fri Mar 23
08:54:39 CET 2018 (offset 1.083490s)
Mar 23 08:56:03 ports ntpd[89983]: adjusting local clock by 31.117545s
Mar 23 08:58:04 ports ntpd[89983]: adjusting local clock by 84.676093s
Mar 23 08:59:39 ports ntpd[89983]: adjusting local clock by 153.445943s
Mar 23 09:01:09 ports ntpd[89983]: adjusting local clock by 239.135899s
Mar 23 09:02:39 ports ntpd[89983]: adjusting local clock by 328.310449s
Mar 23 09:04:10 ports ntpd[89983]: adjusting local clock by 417.339908s
Mar 23 09:05:41 ports ntpd[89983]: adjusting local clock by 506.461867s

ntpctl -s all on the VM reports

0/1 peers valid, 1/1 sensors valid, clock unsynced, clock offset is 506151.866ms

peer
   wt tl st  next  poll  offset   delay  jitter
not resolved from pool pool.ntp.org
1  2  -   14s   15s  peer not valid 

sensor
   wt gd st  next  poll  offset  correction
vmmci0
1  1  0   14s   15s 97005.318ms 0.000ms

The host and VM runs exactly the same base system (as I said, with
yesterday's sources).

The following is the dmesg of the host followed by the dmesg of the VM.

OpenBSD 6.3 (GENERIC.MP) #39: Thu Mar 22 17:04:01 CET 2018
kk@box.local:/extra/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 17000153088 (16212MB)
avail mem = 16477863936 (15714MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdae9d000 (71 entries)
bios0: vendor LENOVO version "G2ET33WW (1.13 )" date 07/24/2012
bios0: LENOVO 23252FG
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) i5-3210M CPU @ 2.50GHz, 2494.79 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,AES,XSAVE,AVX,F16C,RDRAND,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT,MELTDOWN
cpu0: 256KB 64b/line 8-way L2 cache
acpihpet0: recalibrated TSC frequency 2494333449 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) i5-3210M CPU @ 2.50GHz, 2494.34 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,AES,XSAVE,AVX,F16C,RDRAND,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT,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) i5-3210M CPU @ 2.50GHz, 2494.34 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,AES,XSAVE,AVX,F16C,RDRAND,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT,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) i5-3210M CPU @ 2.50GHz, 2494.34 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,AES,XSAVE,AVX,F16C,RDRAND,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT,MELTDOWN
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP1)
acpiprt3 at acpi0: bus 3 (EXP2)
acpiprt4 at acpi0: bus 4 (EXP3)
acpicpu0 at acpi0: C2(350@80 mwait.1@0x20), C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C2(350@80 mwait.1@0x20), C1(1000@1 mwait.1), PSS

Re: unbound reload crashes the server

2018-03-23 Thread Craig Skinner
Hi Rupert,

On Thu, 22 Mar 2018 15:49:55 -0400 Rupert Gallagher wrote:
> Why reaching to /etc/unbound.conf when the binary was compiled
> for /var/unbound/etc/unbound.conf?

Yep;- it uses the default, so nothing needs setting. Removing the
config file from /etc/rc.conf* & /etc/rc.d/unbound works OK - since 5.6.

$ fgrep 'unbound.conf' /etc/rc.conf* /etc/rc.d/unbound
[nothing]

$ fgrep unbound /etc/rc.conf* 
/etc/rc.conf:unbound_flags=NO
/etc/rc.conf.local:unbound_flags=''

$ fgrep 'daemon_flags=' /etc/rc.d/unbound
[nothing]


The daemon reloads just fine.


Regards,
-- 
Craig Skinner | http://linkd.in/yGqkv7



Re: PPPoE connection closing right after authentication?

2018-03-23 Thread Mihai Popescu
> To me this further indicates a "double authentication"

It is not clear what hardware you use in front of openbsd, but i guess
it is just a dsl modem.
Is it a pure modem, or maybe it has some router capabilities. If so,
is it configured to act as a bridge?

Can you get a conection on your ISP with other computer than openbsd one?



Re: PPPoE connection closing right after authentication?

2018-03-23 Thread Jon Martin
On Fri, Mar 23, 2018 at 09:01:04PM +0200, Mihai Popescu wrote:
> 
> It is not clear what hardware you use in front of openbsd, but i guess
> it is just a dsl modem.

It is.

> Is it a pure modem, or maybe it has some router capabilities. If so,
> is it configured to act as a bridge?

It is configured as a bridge.

> Can you get a conection on your ISP with other computer than openbsd one?

Yes, my Win 10 box can establish a PPPoE connection with the modem in
bridge mode.  I will see what WinDump or Wireshark can reveal about what
it is doing.



Re: x230 host with VM; VM's clock runs at half speed

2018-03-23 Thread Mike Larkin
On Fri, Mar 23, 2018 at 09:22:26AM +0100, Andreas Kusalananda Kähäri wrote:
> Hi,
> 
> I recently set up a VM on my Lenovo Thinkpad x230 to build ports.  With
> yesterday's sources, the clock in the VM seems to run at about 50% the
> speed of the clock on the host.  I don't think this was an issue at the
> start of the week.
> 
> After 21 minutes of uptime on the host, the VM reports 12 minutes of
> uptime and the daemon log contains
> 
> Mar 23 08:54:38 ports ntpd[8242]: ntp engine ready
> Mar 23 08:54:39 ports ntpd[83538]: set local clock to Fri Mar 23
> 08:54:39 CET 2018 (offset 1.083490s)
> Mar 23 08:56:03 ports ntpd[89983]: adjusting local clock by 31.117545s
> Mar 23 08:58:04 ports ntpd[89983]: adjusting local clock by 84.676093s
> Mar 23 08:59:39 ports ntpd[89983]: adjusting local clock by 153.445943s
> Mar 23 09:01:09 ports ntpd[89983]: adjusting local clock by 239.135899s
> Mar 23 09:02:39 ports ntpd[89983]: adjusting local clock by 328.310449s
> Mar 23 09:04:10 ports ntpd[89983]: adjusting local clock by 417.339908s
> Mar 23 09:05:41 ports ntpd[89983]: adjusting local clock by 506.461867s
> 
> ntpctl -s all on the VM reports
> 
> 0/1 peers valid, 1/1 sensors valid, clock unsynced, clock offset is 
> 506151.866ms
> 
> peer
>wt tl st  next  poll  offset   delay  jitter
> not resolved from pool pool.ntp.org
> 1  2  -   14s   15s  peer not valid 
> 
> sensor
>wt gd st  next  poll  offset  correction
> vmmci0
> 1  1  0   14s   15s 97005.318ms 0.000ms
> 
> The host and VM runs exactly the same base system (as I said, with
> yesterday's sources).
> 
> The following is the dmesg of the host followed by the dmesg of the VM.
> 
> OpenBSD 6.3 (GENERIC.MP) #39: Thu Mar 22 17:04:01 CET 2018
> kk@box.local:/extra/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 17000153088 (16212MB)
> avail mem = 16477863936 (15714MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdae9d000 (71 entries)
> bios0: vendor LENOVO version "G2ET33WW (1.13 )" date 07/24/2012
> bios0: LENOVO 23252FG
> 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) i5-3210M CPU @ 2.50GHz, 2494.79 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,AES,XSAVE,AVX,F16C,RDRAND,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT,MELTDOWN
> cpu0: 256KB 64b/line 8-way L2 cache
> acpihpet0: recalibrated TSC frequency 2494333449 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) i5-3210M CPU @ 2.50GHz, 2494.34 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,AES,XSAVE,AVX,F16C,RDRAND,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT,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) i5-3210M CPU @ 2.50GHz, 2494.34 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,AES,XSAVE,AVX,F16C,RDRAND,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT,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) i5-3210M CPU @ 2.50GHz, 2494.34 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,AES,XSAVE,AVX,F16C,RDRAND,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT,MELTDOWN
> 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)
> 

Re: Dell Latitude E6540 OpenBSD 6.2 amd64 freezes when adjusting refresh rate using xrandr

2018-03-23 Thread lists
Tue, 20 Mar 2018 20:18:16 + Xianwen Chen 
> [...]
> If you are right that humans are not able to see the difference between 60 Hz 
> and 59.95 Hz, then something is wrong with xrandr that the actual refresh 
> rate is quite below 60, not as much as 59.95 as reported by xrandr, because I 
> can clearly see the flickering. I do not think that this is a minimal thing, 
> because the flickering screen makes my head dizzy.
> 
> I do not think that there is problem with the connection cable, as there was 
> no such problem when the same external monitor is connected to a ThinkPad R52 
> using the same VGA cable a couple of days ago. I can check the cable 
> connection again tomorrow.
> 
> I am sceptical whether there is any other source of distortion. I don't know 
> where to start if there should be distortion.
> 
> Yours sincerely,
> Xianwen
> 

Hi Xianwen,

Most probably it is NOT the refresh rate and xrandr is reporting it fine.

I would recommend you find the source of interference: in a closed ground
loop, electrical current between various signalling cables, nearby USB ?!
cables close to the video cable or other signal cables, and power circuit
plug orientation, noise in the electric mains power from other equipment.

Also some monitors have PWM flickering quite visible on low settings, yet
I suspect you have a signalling interference and closed ground loop case.

Kind regards,
Anton Lazarov



vxlan multicast

2018-03-23 Thread Hendrik Meyburgh
Hi.

I am testing on a fresh 6.2 i386 install, and following vxlan(4):


Unicast is working:

# ifconfig vxlan0 tunnel 192.168.1.100 192.168.1.200 vnetid 5

# ifconfig vxlan0

vxlan0: flags=8802 mtu 1500

lladdr fe:e1:ba:d0:12:a6

index 7 priority 0 llprio 3

encap: vnetid 5

groups: vxlan

media: Ethernet autoselect

status: active

tunnel: inet 192.168.1.100 -> 192.168.1.200


But it does not accept the multicast address:

# ifconfig vxlan0 tunnel 192.168.1.100 239.1.1.100 vnetid 7395

ifconfig: SIOCSLIFPHYADDR: Can't assign requested address


Is there something else needed that I might have missed?


Kind regards.

Hendrik


Re: ESP8266 Non-OS SDK

2018-03-23 Thread Base Pr1me
Thanks for the info. I haven't dove into the 32 world, yet. Glad to hear
someone is working in that direction.
Take care.

On Fri, Mar 23, 2018 at 6:56 AM, Eric Huiban  wrote:

> Base Pr1me wrote:
>
>> Has anyone played around with compiling the Espressif SDK for their chips?
>> Just curious.
>>
>> Thanks,
>> Tracey
>>
>>
> I'm beginning to modify the SDK for Espressif ESP32 step by step when time
> allows. It's full of linuxism and very gnuish, but if i can do some mod in
> their stuff everybody can. I'm a very small player in this kind of arena. ;)
>
> I'm know at the step where the SDK is looking for python and does not find
> it on BSD (all versions are here because of pkg dependancies management...).
>
> So... it is slow (on my  x230 laptop each compilation of the toolchain now
> lasts 50mn before ending with a new error) and quite boring. However it
> apparently can be done up to now. But i'm not finished with this stuff and
> cannot say it is definitively OK.
>
> Regards
>


Re: ESP8266 Non-OS SDK

2018-03-23 Thread Eric Huiban

Base Pr1me wrote:

Has anyone played around with compiling the Espressif SDK for their chips?
Just curious.

Thanks,
Tracey



I'm beginning to modify the SDK for Espressif ESP32 step by step when 
time allows. It's full of linuxism and very gnuish, but if i can do some 
mod in their stuff everybody can. I'm a very small player in this kind 
of arena. ;)


I'm know at the step where the SDK is looking for python and does not 
find it on BSD (all versions are here because of pkg dependancies 
management...).


So... it is slow (on my  x230 laptop each compilation of the toolchain 
now lasts 50mn before ending with a new error) and quite boring. However 
it apparently can be done up to now. But i'm not finished with this 
stuff and cannot say it is definitively OK.


Regards



OpenBSD 6.2 amd64 and ATI Radeon 9550

2018-03-23 Thread Freen
Hi all

I have installed OpenBSD 6.2 AMD64 on my old PC consisting of:
Motherboard:MSI K8N Neo2 Series (MS-7025);
Graphic card:   Sapphire (ATI) Radeon 9550/X1050 Series (RV350) AGP 8x.

Unfortunately, things don't work very well: the AGP seems to be not configured 
and there is an error in dmesg. X environment is slow and when scrolling the 
mouse become irresponsive until the scrolling stops. Setting different values 
in "machdep.allowaperture" doesn't change anything.

Don't know if it matters, but I noticed that though my card is listed in the 
radeon(4) man page, it isn't listed in the Xorg.0.log Driver section: it is 
instead recognized as an ATI Radeon 9600 AS (ChipID = 0x4153) of which my card 
should be a derivative with different chipset ID (0x4173). Automatically 
installed firmware is "radeondrm-firmware-20150927".

USB has problem too, but I think I'll not go in depth further if I can't fix 
the graphic issue, provided that my hardware is still supported. Hope someone 
helps me understand what exactly is wrong here.

FWIW here are the dmesg.boot and Xorg.0.log files.

Thank you.

-dmesg.boot-

OpenBSD 6.2 (GENERIC.MP) #134: Tue Oct  3 21:22:29 MDT 2017
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 3204382720 (3055MB)
avail mem = 3100299264 (2956MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.2 @ 0xf (43 entries)
bios0: vendor Phoenix Technologies, LTD version "6.00 PG" date 01/29/2007
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP SSDT APIC
acpi0: wakeup devices HUB0(S5) HUB1(S4) USB0(S3) USB1(S3) USB2(S3) F139(S3) 
MMAC(S5) MMCI(S5) UAR1(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+, 2009.42 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 200MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+, 2009.17 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 24 pins
, remapped to apid 2
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (HUB0)
acpiprt2 at acpi0: bus 1 (AGPB)
acpiprt3 at acpi0: bus -1 (HUB1)
acpicpu0 at acpi0: C1(@1 halt!), PSS
acpicpu1 at acpi0: C1(@1 halt!), PSS
acpipwrres0 at acpi0: ISAV, resource for IDE0
acpibtn0 at acpi0: PWRB
"PNP0700" at acpi0 not configured
"PNP0F13" at acpi0 not configured
cpu0: Cool'n'Quiet K8 2009 MHz: speeds: 2000 1800 1000 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "NVIDIA nForce3 250 Host" rev 0xa1
agp at pchb0 not configured
pcib0 at pci0 dev 1 function 0 "NVIDIA nForce3 250 ISA" rev 0xa2
nviic0 at pci0 dev 1 function 1 "NVIDIA nForce3 250 SMBus" rev 0xa1
iic0 at nviic0
spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM non-parity PC3200CL3.0
spdmem1 at iic0 addr 0x51: 512MB DDR SDRAM non-parity PC3200CL3.0
spdmem2 at iic0 addr 0x52: 1GB DDR SDRAM non-parity PC3200CL3.0
spdmem3 at iic0 addr 0x53: 1GB DDR SDRAM non-parity PC3200CL3.0
iic1 at nviic0
iic1: addr 0x2f 00=12 01=0f 02=10 03=01 04=07 05=00 06=18 07=00 08=00 14=14 
15=62 16=02 17=05 words 00=12ff 01=0fff 02=10ff 03=01ff 04=07ff 05=00ff 06=18ff 
07=00ff
ohci0 at pci0 dev 2 function 0 "NVIDIA nForce3 250 USB" rev 0xa1: apic 2 int 
20, version 1.0, legacy support
ohci1 at pci0 dev 2 function 1 "NVIDIA nForce3 250 USB" rev 0xa1: apic 2 int 
20, version 1.0, legacy support
ehci0 at pci0 dev 2 function 2 "NVIDIA nForce3 250 USB" rev 0xa2: apic 2 int 20
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "NVIDIA EHCI root hub" rev 2.00/1.00 
addr 1
nfe0 at pci0 dev 5 function 0 "NVIDIA nForce3 LAN" rev 0xa2: apic 2 int 20, 
address xx:xx:xx:xx:xx:xx
eephy0 at nfe0 phy 1: 88E Gigabit PHY, rev. 2
auich0 at pci0 dev 6 function 0 "NVIDIA nForce3 250 AC97" rev 0xa1: apic 2 int 
20, nForce3
ac97: codec id 0x414c4790 (Avance Logic ALC850 rev 0)
audio0 at auich0
pciide0 at pci0 dev 8 function 0 "NVIDIA nForce3 250 IDE" rev 0xa2: DMA, 

Attempting to bring up AC 1368 wireless card results in fatal firmware error

2018-03-23 Thread Alex Elizalde
Recently installed OpenBSD 6.2 amd64 and ran fw_update and syspatch.
Attempting to use the wireless card fails with the following messages:

iwm0: hw rev 0x220, fw ver 22.361476.0, address 10:f0:05:8f:42:8d
iwm0: fatal firmware error
iwm0: could not load firmware
iwm0: could not load firmware
iwm0: NIC already unlocked
ifconfig: SIOCSIFFLAGS: Resource temporarily unavailable

Enabling debug in ifconfig results in the same, but with INIT -> IINIT
added to the messages.

I've attempted using the most recent snapshot, with the same results.
How might I get more information on what's causing this to fail?

Below you'll find the dmesg and pcidump for 6.2, followed by the dimes
and pcidump for 6.3.


6.2 dmesg:
OpenBSD 6.2 (GENERIC.MP) #134: Tue Oct  3 21:22:29 MDT 2017
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8477470720 (8084MB)
avail mem = 8213520384 (7833MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0x7a84e000 (50 entries)
bios0: vendor SECO version "1.01" date 02/20/2017
bios0: SECO UDOO x86
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP UEFI TCPA UEFI APIC MCFG SLIC WDAT WDRT SSDT
SSDT SSDT SSDT TPM2 CSRT FPDT BGRT
acpi0: wakeup devices XHC1(S4) HDEF(S4) PXSX(S4) RP01(S4) PXSX(S4)
RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Pentium(R) CPU N3710 @ 1.60GHz, 1600.31 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,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT
cpu0: 1MB 64b/line 16-way L2 cache
cpu0: TSC frequency 1600310600 Hz
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 79MHz
cpu0: mwait min=64, max=64, C-substates=0.2.0.0.0.0.3.3, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Pentium(R) CPU N3710 @ 1.60GHz, 1600.00 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,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT
cpu1: 1MB 64b/line 16-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Pentium(R) CPU N3710 @ 1.60GHz, 1600.00 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,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT
cpu2: 1MB 64b/line 16-way L2 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Pentium(R) CPU N3710 @ 1.60GHz, 1600.00 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,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT
cpu3: 1MB 64b/line 16-way L2 cache
cpu3: smt 0, core 3, package 0
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 115 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-63
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (RP01)
acpiprt2 at acpi0: bus -1 (RP02)
acpiprt3 at acpi0: bus 2 (RP03)
acpiprt4 at acpi0: bus 3 (RP04)
acpicpu0 at acpi0
C2: state 6: substate 8 >= num 3
C3: state 7: substate 4 >= num 3: C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0
C2: state 6: substate 8 >= num 3
C3: state 7: substate 4 >= num 3: C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0
C2: state 6: substate 8 >= num 3
C3: state 7: substate 4 >= num 3: C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0
C2: state 6: substate 8 >= num 3
C3: state 7: substate 4 >= num 3: C1(1000@1 mwait.1), PSS
acpipwrres0 at acpi0: ID3C, resource for ISP3
acpipwrres1 at acpi0: USBC, resource for XHC1
acpitz0 at acpi0: critical temperature is 90 degC
acpitz1 at acpi0acpitz1: TZPO: failed to read _PSV
: critical temperature is 125 degC
chvgpio0 at acpi0: GPO3 uid 4 addr 0xfed98000/0x8000 irq 91, 55 pins
chvgpio1 at acpi0: GPO1 uid 2 addr 0xfed88000/0x8000 irq 48, 59 pins
sdhc0 at acpi0: SDHA addr 0x9152b000/0x1000 irq 45
sdhc0: SDHC 3.0, 200 MHz base clock
sdmmc0 at sdhc0: 8-bit, sd high-speed, mmc high-speed, dma
sdhc1 at acpi0: SDHC addr 0x91529000/0x1000 irq 47, gpio
sdhc1: SDHC 3.0, 200 MHz base clock
sdmmc1 at sdhc1: 4-bit, sd high-speed, mmc high-speed, dma
"INTL9C60" at acpi0 not configured
"INTL9C60" at acpi0 not configured
"8086228A" at acpi0 

How do I disable specific keys on Thinkpad laptop?

2018-03-23 Thread Z Ero
Hello,

I want to disable / render dead in the software environment the web
navigation keys next to the arrow keys. Multiple times I have gone to
press the up or down arrow keys while filling out forms in Firefox and
accidentally hit the "back" key. If I have typed up a 500 word forum
post it is lost irretrievably. I don't want these keys to function any
more in X11 but I would rather not mutilate my keyboard to make that
happen. I suppose I could research it but I want to go back to
retyping my post and am hoping some kind individual can point me in
the right direction to speed the process of the solving this problem
along...

Thanks a lot!



Re: How do I disable specific keys on Thinkpad laptop?

2018-03-23 Thread Z Ero
Use xev to get key code. Use xmodmap to map to null. Answered on my own.

On Sat, Mar 24, 2018 at 12:08 AM, Z Ero  wrote:
> Hello,
>
> I want to disable / render dead in the software environment the web
> navigation keys next to the arrow keys. Multiple times I have gone to
> press the up or down arrow keys while filling out forms in Firefox and
> accidentally hit the "back" key. If I have typed up a 500 word forum
> post it is lost irretrievably. I don't want these keys to function any
> more in X11 but I would rather not mutilate my keyboard to make that
> happen. I suppose I could research it but I want to go back to
> retyping my post and am hoping some kind individual can point me in
> the right direction to speed the process of the solving this problem
> along...
>
> Thanks a lot!