SOLVED: Re: Thinkpad function-key wierdness

2023-09-15 Thread Jonathan Thornburg
For the archives: The problem was exactly as Mizsei_Zolt??n
suggested in :
I had mistakenly toggled Fn-Lock.  (I normally have it on, and had failed
to notice it was off.)  Re-toggling that key solve my problems.

Thanks to all who replied (both on- and off-list),

-- 
-- "Jonathan Thornburg [remove -color to reply]" 
   currently on the west coast of Canada
   "Dear everyone who says masks don't work:
Please get your next surgery with no one wearing masks.
Thank you for your cooperation.  -- anon"



Re: Compulab's Fitlet3: Intel's Elkhart Atom X6425E with MARVELL PHY 88E1512 Ethernet

2023-09-15 Thread Stefan Sperling
On Fri, Sep 15, 2023 at 04:55:42PM +0200, Wolfgang Oelerich wrote:
> Hello,
> 
> recently, I „inherited“ one of Compulab‘s Fitlet3. I received it with 
> Linux Mint installed and found all 4 available Ethernet ports working: 
> 2 of its extensional FACET card and 2 of Intel‘s Elkhart Lake Atom X6425E 
> with MARVELL-type PHY „88E1512" at Atom's PCIe bus (see link below). 
> 
> Now, I tried a clean install of OpenBSD 7.3/AMD64 which smoothly worked 
> out but only the FACET card Ethernet ports have been recognized properly. 
> While assuming BIOS is ok since Linux Mint worked I am wondering how far 
> the hardware combination of X6425E/MARVELL PHY 88E1512 is already set to 
> be working or if there is some driver or other Kernel level code not 
> available yet.

Elkhart Lake Ethernet will require PCI attachment code to be written
for dwqe(4). There is interest in getting this working but it will take
time. Definitely won't be ready for OpenBSD 7.4. Maybe 7.5.



Compulab's Fitlet3: Intel's Elkhart Atom X6425E with MARVELL PHY 88E1512 Ethernet

2023-09-15 Thread Wolfgang Oelerich
Hello,

recently, I „inherited“ one of Compulab‘s Fitlet3. I received it with 
Linux Mint installed and found all 4 available Ethernet ports working: 
2 of its extensional FACET card and 2 of Intel‘s Elkhart Lake Atom X6425E 
with MARVELL-type PHY „88E1512" at Atom's PCIe bus (see link below). 

Now, I tried a clean install of OpenBSD 7.3/AMD64 which smoothly worked 
out but only the FACET card Ethernet ports have been recognized properly. 
While assuming BIOS is ok since Linux Mint worked I am wondering how far 
the hardware combination of X6425E/MARVELL PHY 88E1512 is already set to 
be working or if there is some driver or other Kernel level code not available 
yet.

After clean OpenBSD 7.3/AMD64 install I did afterboot, syspatch and 
sysmerge. 

Also, from Compulab‘s / FitPC‘s R folks (Andrey Mazlin) I was 
redirected to OpenBSD groups because they were not able to help. Here is, 
what they replied to my support request: "The best solution is to rise a 
question at OpenBSD kernel support community. We did try to ask them and 
what we've got: "I was able to created an OpenBSD custom kernel with this 
NIC enabled, but the device is still a pci-device not a network 
interface."" [end of citation].

At first, I have a short question: should first booting of 
OpenBSD 7.3/AMD64 have recognized mentioned hardware properly? 
If yes, I will follow-up at „sendbug“ with enclosed system info.

Would appreciate any answer. 
Kind regards 
Wolfgang 

Link to Fitlet3 schematic:
https://fit-pc.com/wiki/index.php?title=Fitlet3_Specifications_and_block_diagram



Performance decrease on my student minipc from 7.3

2023-09-15 Thread Daniele Bonini

Hello,

I would like to ask for help for my student minipc
that upgraded to 7.3 showed off a tangible decrease of
performance. 

OpenBSD had already problems recognizing many acpi "parts"..
indeed I finally decided to pass you its full dmesg.

For know I got a rendering general improvement of performance
by opening allowaperture and disabling composition in X.
But as you switch to the console is still slow to make
things happening.

Indeed I hope in this way you can better support
these minipc series that after all is not bad at all.

Thanks, appreciated.


-- Daniele Bonini
OpenBSD 7.3 (GENERIC.MP) #3: Tue Jul 25 08:20:26 MDT 2023

r...@syspatch-73-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8439963648 (8048MB)
avail mem = 8164773888 (7786MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdbe53018 (84 entries)
bios0: vendor FUJITSU // American Megatrends Inc. version "V4.6.5.4 R1.47.0 for 
D3233-A1x" date 08/26/2019
bios0: FUJITSU ESPRIMO Q920
acpi0 at bios0: ACPI 5.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT TCPA SSDT SSDT MCFG HPET SSDT SSDT ASF! MSDM 
SLIC DMAR
acpi0: wakeup devices PXSX(S4) PXSX(S4) PXSX(S4) GLAN(S4) EHC1(S4) EHC2(S4) 
XHC_(S4) HDEF(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) i5-4590T CPU @ 2.00GHz, 1995.55 MHz, 06-3c-03
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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,MELTDOWN
cpu0: 256KB 64b/line 8-way L2 cache
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz, 1995.44 MHz, 06-3c-03
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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,MELTDOWN
cpu1: 256KB 64b/line 8-way L2 cache
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz, 1995.52 MHz, 06-3c-03
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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,MELTDOWN
cpu2: 256KB 64b/line 8-way L2 cache
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz, 1995.55 MHz, 06-3c-03
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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,MELTDOWN
cpu3: 256KB 64b/line 8-way L2 cache
ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xf800, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiec0 at acpi0: not present
acpipci0 at acpi0 PCI0: 0x 0x0011 0x0001
acpicmos0 at acpi0
"FUJ02E3" at acpi0 not configured
tpm0 at acpi0 TPM_ 1.2 (TIS) addr 0xfed4/0x5000, Infineon SLB9635 1.2 rev 
0x10
"PNP0C14" at acpi0 not configured
"PNP0C32" at acpi0 not configured
"PNP0C14" at acpi0 not configured
acpibtn0 at acpi0: PWRB
"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
acpicpu0 at acpi0: C1(@1 halt!), PSS
acpicpu1 at acpi0: C1(@1 halt!), PSS
acpicpu2 at acpi0: C1(@1 halt!), PSS
acpicpu3 at acpi0: C1(@1 halt!), 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 80 degC
acpitz1 at acpi0: critical temperature is 80 degC
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD1F
cpu0: using Broadwell MDS workaround
cpu0: Enhanced SpeedStep 1995 MHz: speeds: 2001, 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 4G Host" rev 0x06
inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 4600" rev 

Re: PF queue bandwidth limited to 32bit value

2023-09-15 Thread Stuart Henderson
On 2023/09/15 13:40, Andy Lemin wrote:
> Hi Stuart,
> 
> Seeing as it seems like everyone is too busy, and my workaround
> (not queue some flows on interfaces with queue defined) seems of no
> interest,

well, it might be, but I'm not sure if it will fit with how
queues work..

> and my current hack to use queuing on Vlan interfaces is
> a very incomplete and restrictive workaround; Would you please be
> so kind as to provide me with a starting point in the source code
> and variable names to concentrate on, where I can start tracing from
> beginning to end for changing the scale from bits to bytes?

maybe try hfsc.c, but overall there are quite a few files involved
in queue definition and use from start to finish. or going from the
other side start with how pfctl defines queues and follow through
from there.