Re: nodejs/node package seems broken on openbsd 7.4 on amd64

2024-03-06 Thread Volker Schlecht

It's not the node package that's broken, but the esbuild binary distributed on
npm, see also

https://github.com/evanw/esbuild/issues/3523

You might want to try building esbuild yourself, on your OpenBSD system.

On 2024-03-05 10:12, Sandeep Gupta wrote:

As best i can see, node (node-18.18) is broken and cannot be used at all.
No matter the package config "npm install" results in same error:
```
npm install
npm ERR! code 1
npm ERR! path
/home/kabiraatmonallabs/Garage/my-skeleton-app/node_modules/esbuild
npm ERR! command failed
npm ERR! command sh -c node install.js
npm ERR! node:internal/errors:865
npm ERR!   const err = new Error(message);
npm ERR!   ^
npm ERR!
npm ERR! Error: Command failed:
/home/kabiraatmonallabs/Garage/my-skeleton-app/node_modules/esbuild/bin/esbuild
--version
npm ERR! at checkExecSyncError (node:child_process:890:11)
npm ERR! at Object.execFileSync (node:child_process:926:15)
npm ERR! at validateBinaryVersion
(/home/kabiraatmonallabs/Garage/my-skeleton-app/node_modules/esbuild/install.js:99:28)
npm ERR! at
/home/kabiraatmonallabs/Garage/my-skeleton-app/node_modules/esbuild/install.js:286:5
{
npm ERR!   status: null,
npm ERR!   signal: 'SIGILL',
npm ERR!   output: [ null, Buffer(0) [Uint8Array] [], Buffer(0)
[Uint8Array] [] ],
npm ERR!   pid: 50423,
npm ERR!   stdout: Buffer(0) [Uint8Array] [],
npm ERR!   stderr: Buffer(0) [Uint8Array] []
npm ERR! }
npm ERR!
npm ERR! Node.js v18.18.0
```




Re: cwm on wayland

2023-12-19 Thread Volker Schlecht

On 2023-12-15 18:49, David Coppa wrote:

On Fri, Dec 15, 2023 at 6:29 PM  wrote:


So they're putting a Wayland in our BSD.

I've never used that before.

Is a port of cwm planned?


I really don't think so.

But there's hikari, a stacking Wayland compositor heavily inspired by
cwm: https://hikari.acmelabs.space/

We might probably have a port of it in our ports tree in the future.


I'm currently looking into that, but porting it to wlroots 0.17.0 that we
have in ports is quite a bit of work. Did you already look into that? Just
to avoid double effort.



dmesg Framework 13, 13th gen

2023-07-06 Thread Volker Schlecht

Works:

- Touchpad (it sucks, but it works)
- Camera
- Microphone
- WiFi
- Ethernet with the Framework Ethernet adapter
- HDMI output with the Framework HDMI adapter
- DRM
- Suspend (zzz)

Doesn't work:

- Bluetooth (scnr)
- Resume ... it comes back to life in that it shows the contents of 
ttyC0, and will eventually emit warm air. It doesn't react to anything 
but a hard reset, though. That makes suspend only half as useful :-)


Not tested yet:

- DP Adapter
- micro-SD Adapter


I'm booting from the Framework external storage module, which gave me 
some sync failures for every mounted partition exactly once in a series

of unsuccessful attempts at making it suspend *and* resume.

Overall nice machine, though!


OpenBSD 7.3-current (GENERIC.MP) #1270: Wed Jul  5 21:29:08 MDT 2023
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 34005487616 (32430MB)
avail mem = 32955215872 (31428MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.4 @ 0x3efb8000 (54 entries)
bios0: vendor INSYDE Corp. version "03.03" date 04/07/2023
bios0: Framework Laptop (13th Gen Intel Core)
efi0 at bios0: UEFI 2.8
efi0: INSYDE Corp. rev 0x303
acpi0 at bios0: ACPI 5.3
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP UEFI SSDT SSDT SSDT SSDT SSDT SSDT SDEV SSDT 
TPM2 SSDT LPIT WSMT SSDT SSDT DBGP DBG2 NHLT ECDT HPET APIC MCFG SSDT 
DMAR SSDT SSDT SSDT SSDT FPDT PHAT ASF! BGRT
acpi0: wakeup devices PEG0(S4) PEGP(S4) PEGP(S4) PEG2(S4) PEGP(S4) 
XHCI(S4) XDCI(S4) HDAS(S4) CNVW(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) 
RP03(S4) PXSX(S4) RP04(S4) [...]

acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiec0 at acpi0
acpihpet0 at acpi0: 1920 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: 13th Gen Intel(R) Core(TM) i5-1340P, 4590.02 MHz, 06-ba-02
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,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,PT,SHA,UMIP,PKU,WAITPKG,PKS,MD_CLEAR,IBT,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu0: 48KB 64b/line 12-way D-cache, 32KB 64b/line 8-way I-cache, 1MB 
64b/line 10-way L2 cache, 12MB 64b/line 8-way L3 cache

cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 38MHz
cpu0: mwait min=64, max=64, C-substates=0.2.0.2.0.1.0.1, IBE
cpu1 at mainbus0: apid 8 (application processor)
cpu1: 13th Gen Intel(R) Core(TM) i5-1340P, 4590.14 MHz, 06-ba-02
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,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,PT,SHA,UMIP,PKU,PKS,MD_CLEAR,IBT,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu1: 48KB 64b/line 12-way D-cache, 32KB 64b/line 8-way I-cache, 1MB 
64b/line 10-way L2 cache, 12MB 64b/line 8-way L3 cache

cpu1: smt 0, core 4, package 0
cpu2 at mainbus0: apid 16 (application processor)
cpu2: 13th Gen Intel(R) Core(TM) i5-1340P, 4390.53 MHz, 06-ba-02
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,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,PT,SHA,UMIP,PKU,PKS,MD_CLEAR,IBT,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu2: 48KB 64b/line 12-way D-cache, 32KB 64b/line 8-way I-cache, 1MB 
64b/line 10-way L2 cache, 12MB 64b/line 8-way L3 cache

cpu2: smt 0, core 8, package 0
cpu3 at mainbus0: apid 24 (application processor)
cpu3: 13th Gen Intel(R) Core(TM) i5-1340P, 4390.50 MHz, 06-ba-02
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,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,PT,SHA,UMIP,PKU,PKS,MD_CLEAR,IBT,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu3: 48KB 64b/line 12-way D-cache,