Re: chroot x11 via Xephyr

2021-05-03 Thread Ian Darwin
On Mon, May 03, 2021 at 08:51:51PM +, Karsten Pedersen wrote:
> It is worth noting that you can move (not copy) UNIX sockets (again,
> so long as they are on the same filesystem).
> 
> So, once Xephyr has started up, you can move the socket from
> "/tmp/.X11-unix/X1" into "$CHROOT/tmp/.X11-unix/X1" and then your
> chroot application can access it.

Assuming root permissions, the above will "succeed" even if $CHROOT
is not on the same filesystem as /tmp. Then fail to connect at runtime.

Using ln (not ln -s) instead of mv will fail faster if the same-filesystem
requirement is not met. 



Base64.c: loadable library and perl binaries are mismatched

2021-05-03 Thread Jon Fineman
I just upgraded from 6.8 to 6.9 and am getting the following error when 
upgrading my packages. Any thoughts on how to resolve this?

Thanks.

Jon


$: doas pkg_add -u
Base64.c: loadable library and perl binaries are mismatched (got handshake key 
0xb60, needed 0xec0)
$: 
OpenBSD 6.8 (GENERIC.MP) #5: Mon Feb 22 04:36:10 MST 2021

r...@syspatch-68-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 17047867392 (16258MB)
avail mem = 16516169728 (15751MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.0 @ 0x8b1d7000 (57 entries)
bios0: vendor Intel Corp. version "SYSKLi35.86A.0042.2016.0409.1246" date 
04/09/2016
bios0: Intel corporation NUC6i5SYB
acpi0 at bios0: ACPI 5.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT FIDT MCFG HPET LPIT SSDT SSDT SSDT SSDT DBGP 
DBG2 SSDT SSDT UEFI SSDT BGRT DMAR
acpi0: wakeup devices PEG0(S4) PEGP(S4) PEG1(S4) PEGP(S4) PEG2(S4) PEGP(S4) 
SIO1(S3) RP09(S4) PXSX(S4) RP10(S4) PXSX(S4) RP11(S4) PXSX(S4) RP12(S4) 
PXSX(S4) RP13(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-6260U CPU @ 1.80GHz, 1796.46 MHz, 06-4e-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,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,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,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 24MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i5-6260U CPU @ 1.80GHz, 1715.11 MHz, 06-4e-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,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,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Core(TM) i5-6260U CPU @ 1.80GHz, 1696.05 MHz, 06-4e-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,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,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 1, core 0, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i5-6260U CPU @ 1.80GHz, 1696.05 MHz, 06-4e-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,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,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,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, 120 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xe000, bus 0-255
acpihpet0 at acpi0: 2399 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG0)
acpiprt2 at acpi0: bus -1 (PEG1)
acpiprt3 at acpi0: bus -1 (PEG2)
acpiprt4 at acpi0: bus -1 (RP09)
acpiprt5 at acpi0: bus -1 (RP10)
acpiprt6 at acpi0: bus -1 (RP11)
acpiprt7 at acpi0: bus -1 (RP12)
acpiprt8 at acpi0: bus -1 (RP13)
acpiprt9 at acpi0: bus -1 (RP01)
acpiprt10 at acpi0: bus -1 (RP02)
acpiprt11 at acpi0: bus -1 (RP03)
acpiprt12 at acpi0: bus -1 (RP04)
acpiprt13 at acpi0: bus 1 (RP05)
acpiprt14 at acpi0: bus -1 (RP06)
acpiprt15 at acpi0: bus -1 (RP07)
acpiprt16 at acpi0: bus -1 (RP08)
acpiprt17 at acpi0: bus -1 (RP17)
acpiprt18 at acpi0: bus -1 (RP18)
acpiprt19 at acpi0: bus -1 (RP19)
acpiprt20 at acpi0: bus -1 (RP20)

Re: Typo/Oversight?: upgrade69.html

2021-05-03 Thread Why 42? The lists account.


On Sun, May 02, 2021 at 03:08:12PM -0700, cal wrote:
> > ...
> If you would click on it, you would notice that it was a link to the
> page with upgrade instructions from 6.7 to 6.8. ...

And that is what I found confusing.

Cheers,
Robb.



Re: chroot x11 via Xephyr

2021-05-03 Thread Karsten Pedersen
>
> DISPLAY=:1 is short hand for connecting via the Unix socket
> "/tmp/.X11-unix/X1".
>
> That will only works if both the X server and applications run in
> the same base filesystem.
>
> If you chroot the application and not Xephyr, then the application
> cannot found the unix socket.
>

It is worth noting that you can move (not copy) UNIX sockets (again,
so long as they are on the same filesystem).

So, once Xephyr has started up, you can move the socket from
"/tmp/.X11-unix/X1" into "$CHROOT/tmp/.X11-unix/X1" and then your
chroot application can access it.



Re: chroot x11 via Xephyr

2021-05-03 Thread Hugo Villeneuve
On Mon, May 03, 2021 at 06:00:41AM +0200, u/Rogu3_AI wrote:
> Hi, I have successfully populated a chroot with 69 filesets. You
> can refer to https://www.reddit.com/r/openbsd/comments/n2k475/chroot_help/
> to know what I'm talking about. My question is after successfully
> entering my chroot environment how can I forward x11 apps to to the
> hosts Xephyr window. I have successfully opened up a Xephyr window
> on the host 'Xephyr -ac :1 &'. Whenever I run 'DISPLAY=:1 xlock'
> inside the chroot it fails to open the display > ' Error: Can't
> open display: :1'. Kindly please correct if I'm wrong or refer to
> a source of information please.


DISPLAY=:1 is short hand for connecting via the Unix socket
"/tmp/.X11-unix/X1".

That will only works if both the X server and applications run in
the same base filesystem.

If you chroot the application and not Xephyr, then the application
cannot found the unix socket.


It is possible to make Xephyr (and all the other Xservers) listen
on a TCP socket like in the old days with:

Xephyr :1 -listen tcp -ac &


This will allow you to use "DISPLAY=127.0.0.1:1" for your x
applications. (And no other IP than 127.0.0.1 on OpenBSD.)




cannot perform sysupgrade "CHECK AND RESET THE DATE"

2021-05-03 Thread kasak

hello all. I have one mini pc Gigabyte GA-SBCAP4200.

It has no special configuration and packages. It runs nearly default 
OpenBSD 6.8, and strange, I cannot perform sysupgrade to 6.9


the only log i see in messages is this: WARNING: CHECK AND RESET THE DATE!

I cannot try manual upgrade because it is remote pc.

Here is messages log of sysupgrade started and failed:

May  3 19:08:47 panki sysupgrade: installed new /bsd.upgrade. Old kernel 
version: OpenBSD 6.8 (GENERIC.MP) #5: Mon Feb 22 04:36:10 MST 2021 
r...@syspatch-68-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

May  3 19:08:47 panki reboot: rebooted by kasak
May  3 19:08:48 panki syslogd[80591]: exiting on signal 15
May  3 19:10:04 panki syslogd[16012]: start
May  3 19:10:04 panki /bsd: syncing disks... done
May  3 19:10:04 panki /bsd: rebooting...
May  3 19:10:04 panki /bsd: OpenBSD 6.9 (RAMDISK_CD) #456: Mon Apr 19 
10:47:37 MDT 2021
May  3 19:10:04 panki /bsd: 
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD

May  3 19:10:04 panki /bsd: real mem = 8411521024 (8021MB)
May  3 19:10:04 panki /bsd: avail mem = 8152571904 (7774MB)
May  3 19:10:04 panki /bsd: random: good seed from bootblocks
May  3 19:10:04 panki /bsd: mainbus0 at root
May  3 19:10:04 panki /bsd: bios0 at mainbus0: SMBIOS rev. 3.0 @ 0xec6a0 
(50 entries)
May  3 19:10:04 panki /bsd: bios0: vendor American Megatrends Inc. 
version F1 date 06/11/2018
May  3 19:10:04 panki /bsd: bios0: Gigabyte Technology Co., Ltd. Default 
string

May  3 19:10:04 panki /bsd: acpi0 at bios0: ACPI 6.0
May  3 19:10:04 panki /bsd: acpi0: tables DSDT FACP FPDT FIDT MCFG DBG2 
DBGP HPET LPIT APIC NPKT PRAM WSMT SSDT SSDT SSDT SSDT SSDT SSDT SSDT 
UEFI TPM2 WDAT

May  3 19:10:04 panki /bsd: acpihpet0 at acpi0: 1920 Hz
May  3 19:10:04 panki /bsd: acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
May  3 19:10:04 panki /bsd: cpu0 at mainbus0: apid 0 (boot processor)
May  3 19:10:04 panki /bsd: cpu0: Intel(R) Pentium(R) CPU N4200 @ 
1.10GHz, 1097.86 MHz, 06-5c-09
May  3 19:10:04 panki /bsd: 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,SDBG,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SMEP,ERMS,MPX,RDSEED,SMAP,CLFLUSHOPT,PT,SHA,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN

May  3 19:10:04 panki /bsd: cpu0: 1MB 64b/line 16-way L2 cache
May  3 19:10:04 panki /bsd: cpu0: apic clock running at 19MHz
May  3 19:10:04 panki /bsd: cpu0: mwait min=64, max=64, 
C-substates=0.2.0.2.4.2.1.1, IBE

May  3 19:10:04 panki /bsd: cpu at mainbus0: not configured
May  3 19:10:04 panki last message repeated 2 times
May  3 19:10:04 panki /bsd: ioapic0 at mainbus0: apid 1 pa 0xfec0, 
version 20, 120 pins

May  3 19:10:04 panki /bsd: acpiprt0 at acpi0: bus 0 (PCI0)
May  3 19:10:04 panki /bsd: acpiprt1 at acpi0: bus -1 (RP01)
May  3 19:10:04 panki /bsd: acpiprt2 at acpi0: bus -1 (RP02)
May  3 19:10:04 panki /bsd: acpiprt3 at acpi0: bus 1 (RP03)
May  3 19:10:04 panki /bsd: acpiprt4 at acpi0: bus 2 (RP04)
May  3 19:10:04 panki /bsd: acpiprt5 at acpi0: bus 3 (RP05)
May  3 19:10:04 panki /bsd: acpiprt6 at acpi0: bus 4 (RP06)
May  3 19:10:04 panki /bsd: acpiec0 at acpi0: not present
May  3 19:10:04 panki /bsd: acpipci0 at acpi0 PCI0: 0x 
0x0011 0x0001

May  3 19:10:04 panki /bsd: acpicmos0 at acpi0
May  3 19:10:04 panki /bsd: PNP0C0C at acpi0 not configured
May  3 19:10:04 panki /bsd: aplgpio0 at acpi0 GPO0 uid 1 addr 
0xd0c5/0x76c irq 14, 78 pins
May  3 19:10:04 panki /bsd: aplgpio1 at acpi0 GPO1 uid 2 addr 
0xd0c4/0x764 irq 14, 77 pins
May  3 19:10:04 panki /bsd: aplgpio2 at acpi0 GPO2 uid 3 addr 
0xd0c7/0x674 irq 14, 47 pins
May  3 19:10:04 panki /bsd: aplgpio3 at acpi0 GPO3 uid 4 addr 
0xd0c0/0x654 irq 14, 43 pins

May  3 19:10:04 panki /bsd: INT33A1 at acpi0 not configured
May  3 19:10:04 panki /bsd: MSFT0101 at acpi0 not configured
May  3 19:10:04 panki /bsd: PNP0C0B at acpi0 not configured
May  3 19:10:04 panki /bsd: acpicpu at acpi0 not configured
May  3 19:10:04 panki /bsd: acpipwrres at acpi0 not configured
May  3 19:10:04 panki /bsd: acpitz at acpi0 not configured
May  3 19:10:04 panki /bsd: pci0 at mainbus0 bus 0
May  3 19:10:04 panki /bsd: pchb0 at pci0 dev 0 function 0 Intel 
Apollo Lake Host rev 0x0b
May  3 19:10:04 panki /bsd: Intel HD Graphics 505 rev 0x0b 
at pci0 dev 2 function 0 not configured
May  3 19:10:04 panki /bsd: Intel Apollo Lake HD Audio rev 
0x0b at pci0 dev 14 function 0 not configured
May  3 19:10:04 panki /bsd: Intel Apollo Lake TXE rev 0x0b 
at pci0 dev 15 function 0 not configured
May  3 19:10:04 panki /bsd: vendor Intel, unknown product 
0x5a9c (class communications subclass miscellaneous, rev 0x0b) at pci0 
dev 15 function 1 not configured
May  3 19:10:04 panki /bsd: vendor Intel, unknown product 

Can't install on Raspberry Pi 3B using SanDisk 32GB card

2021-05-03 Thread Adriano Barbosa
Hi misc@,
I have a SanDisk 16GB Class 4 SD card which I can complete the install
process on my Raspberry Pi 3 Model B v1.2 and another SanDisk Ultra
32GB Class 10 which can't complete the install. Tried the install on
6.8 and 6.9. The 32GB card seems to be fine (tested with Ubuntu
install for a few days). Is that a known issue? Any workaround?
In the past when the SD card reader didn't work I had a similar issue
trying to install on a Kingston flash drive related to [1] according
to [2]. Any relation?

[1] https://www.raspberrypi.org/blog/pi-3-booting-part-i-usb-mass-storage-boot/
[2] https://undeadly.org/cgi?action=article=20170409123528

#
# SanDisk 16GB Class 4 info on working install
#

$ doas disklabel -h /dev/sd0c
# /dev/sd0c:
type: SCSI
disk: SCSI disk
label: SD/MMC SU16G
duid: f8222dcf9beba562
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 1936
total sectors: 31116288 # total bytes: 15193.5M
boundstart: 65536
boundend: 31116288
drivedata: 0


#
# SanDisk Ultra 32GB Class 10 during install
#

(I)nstall, (U)pgrade, (A)utoinstall or (S)hell? s
# cd /dev
# sh MAKEDEV sd0
# disklabel -h sd0
# /dev/rsd0c:
type: vnd
disk: vnd device
label: fictitious
duid: f90b6bb35b8cfb39
flags:
bytes/sector: 512
sectors/track: 100
tracks/cylinder: 1
sectors/cylinder: 100
cylinders: 880
total sectors: 60751872 # total bytes: 29664.0M
boundstart: 49152
boundend: 88064
drivedata: 0

16 partitions:
#size   offset  fstype [fsize bsize   cpg]
  a:19.0M49152  4.2BSD   2048 16384  1216
  c: 29664.0M0  unused
  i: 8.0M32768   MSDOS
# install
...

Available disks are: sd0.
Which disk is the root disk? ('?' for details) [sd0] ?
sd0: SD/MMC, SL32G, 0030  (29.0G)
Available disks are: sd0.
Which disk is the root disk? ('?' for details) [sd0]
Disk: sd0   geometry: 3781/255/63 [60751872 Sectors]
Offset: 0   Signature: 0xAA55
Starting Ending LBA Info:
 #: id  C   H   S -  C   H   S [   start:size ]
---
*0: 0C  2  10   9 -  3  15  12 [   32768:   16384 ] FAT32L
 1: 00  0   0   0 -  0   0   0 [   0:   0 ] unused
 2: 00  0   0   0 -  0   0   0 [   0:   0 ] unused
 3: A6  3  15  13 -  5 122  53 [   49152:   38912 ] OpenBSD
Use (W)hole disk or (E)dit the MBR? [whole]
Creating a msdos partition and an OpenBSD partition for rest of sd0...done.
/dev/rsd0i: 32668 sectors in 8167 FAT16 clusters (2048 bytes/cluster)
bps=512 spc=4 res=1 nft=2 rde=512 mid=0xf8 spf=32 spt=63 hds=255
hid=32768 bsec=32768
The auto-allocated layout for sd0 is:
#size   offset  fstype [fsize bsize   cpg]
  a:  1024.0M65536  4.2BSD   2048 16384 1 # /
  b:  1165.3M  2162688swap
  c: 29664.0M0  unused
  d:  1628.0M  4549312  4.2BSD   2048 16384 1 # /tmp
  e:  2530.5M  7883424  4.2BSD   2048 16384 1 # /var
  f:  3385.0M 13065888  4.2BSD   2048 16384 1 # /usr
  g:   949.5M 19998368  4.2BSD   2048 16384 1 # /usr/X11R6
  h:  3851.5M 21942944  4.2BSD   2048 16384 1 # /usr/local
  i:16.0M32768   MSDOS
  j:  1677.0M 29830816  4.2BSD   2048 16384 1 # /usr/src
  k:  5874.0M 33265312  4.2BSD   2048 16384 1 # /usr/obj
  l:  7547.2M 45295264  4.2BSD   2048 16384 1 # /home
Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a]
/dev/rsd0a: 1024.0MB in 2097152 sectors of 512 bytes
6 cylinder groups of 202.50MB, 12960 blocks, 25920 inodes each
newfs: wtfs: write error on block 192: Input/output error
newfs: 20e419e02833a06a.l: No such file or directory
newfs: 20e419e02833a06a.d: No such file or directory
newfs: 20e419e02833a06a.f: No such file or directory
newfs: 20e419e02833a06a.g: No such file or directory
newfs: 20e419e02833a06a.h: No such file or directory
newfs: 20e419e02833a06a.k: No such file or directory
newfs: 20e419e02833a06a.j: No such file or directory
newfs: 20e419e02833a06a.e: No such file or directory
mount_ffs: 20e419e02833a06a.a on /mnt: No such file or directory

mount_ffs: 20e419e02833a06a.l on /mnt/home: No such file or directory

mount_ffs: 20e419e02833a06a.d on /mnt/tmp: No such file or directory

mount_ffs: 20e419e02833a06a.f on /mnt/usr: No such file or directory

mount_ffs: 20e419e02833a06a.g on /mnt/usr/X11R6: No such file or directory

mount_ffs: 20e419e02833a06a.h on /mnt/usr/local: No such file or directory

mount_ffs: 20e419e02833a06a.k on /mnt/usr/obj: No such file or directory

mount_ffs: 20e419e02833a06a.j on /mnt/usr/src: No such file or directory

mount_ffs: 20e419e02833a06a.e on /mnt/var: No such file or directory



gnome, gdm problem on lenovo e14 gen2

2021-05-03 Thread Hrvoje Popovski
Hi all,

I've installed a snapshot on e14gen2 and the installation went smooth.
Gnome was installed and configured based on
/usr/local/share/doc/pkg-readmes/gnome.
Problem is that when i should get login screen, gdm to ask me for user
and password, i'm getting blank grey screen ..

after moving through terminals with ctrl-alt fX, from time to time i can
get this (screenshot below)
https://kosjenka.srce.hr/~hrvoje/openbsd/gdm1.jpg
https://kosjenka.srce.hr/~hrvoje/openbsd/gdm2.jpg

in both cases, i can't click on anything in login screen ..

I'm not much of a desktop user and if someone have clue what i'm doing
wrong please tell me :)

Tnx ..



cat /etc/rc.conf.local
multicast=YES
pkg_scripts=messagebus avahi_daemon gdm


OpenBSD 6.9-current (GENERIC.MP) #0: Sun May  2 23:36:18 MDT 2021
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 7742496768 (7383MB)
avail mem = 7492407296 (7145MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.2 @ 0xbf913000 (62 entries)
bios0: vendor LENOVO version "R1AET36W (1.12 )" date 03/15/2021
bios0: LENOVO 20T6000TSC
acpi0 at bios0: ACPI 6.3
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT SSDT IVRS SSDT SSDT TPM2 SSDT MSDM BATB
HPET APIC MCFG SBST WSMT VFCT SSDT CRAT CDIT FPDT SSDT SSDT SSDT BGRT
UEFI SSDT SSDT
acpi0: wakeup devices GPP3(S3) GPP4(S4) GPP5(S3) XHC0(S3) XHC1(S3)
GP19(S3) LID_(S4) SLPB(S3)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpihpet0 at acpi0: 14318180 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Ryzen 5 4500U with Radeon Graphics, 2370.85 MHz, 17-60-01
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,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,IBRS,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu0: 32KB 64b/line 8-way I-cache, 32KB 64b/line 8-way D-cache, 512KB
64b/line 8-way L2 cache
cpu0: ITLB 64 4KB entries fully associative, 64 4MB entries fully
associative
cpu0: DTLB 64 4KB entries fully associative, 64 4MB entries fully
associative
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=1.1, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Ryzen 5 4500U with Radeon Graphics, 2370.56 MHz, 17-60-01
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,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,IBRS,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu1: 32KB 64b/line 8-way I-cache, 32KB 64b/line 8-way D-cache, 512KB
64b/line 8-way L2 cache
cpu1: ITLB 64 4KB entries fully associative, 64 4MB entries fully
associative
cpu1: DTLB 64 4KB entries fully associative, 64 4MB entries fully
associative
cpu1: disabling user TSC (skew=-575919403)
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: AMD Ryzen 5 4500U with Radeon Graphics, 2370.55 MHz, 17-60-01
cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,IBRS,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu2: 32KB 64b/line 8-way I-cache, 32KB 64b/line 8-way D-cache, 512KB
64b/line 8-way L2 cache
cpu2: ITLB 64 4KB entries fully associative, 64 4MB entries fully
associative
cpu2: DTLB 64 4KB entries fully associative, 64 4MB entries fully
associative
cpu2: disabling user TSC (skew=-575919378)
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 4 (application processor)
cpu3: AMD Ryzen 5 4500U with Radeon Graphics, 2370.56 MHz, 17-60-01
cpu3:

Sorry,

2021-05-03 Thread zap
I hope you can find it in your heart to forgive me,  I acted like a 
child, and I offer you my sincere apologies,



Feel free to say whatever,


I mean it this time btw,   I really acted like an angry rageful child. I 
will leave you be past this if you want, have a good one!




chroot x11 via Xephyr

2021-05-03 Thread u/Rogu3_AI
Hi, I have successfully populated a chroot with 69 filesets. You can refer to 
https://www.reddit.com/r/openbsd/comments/n2k475/chroot_help/ to know what I'm 
talking about. My question is after successfully entering my chroot environment 
how can I forward x11 apps to to the hosts Xephyr window. I have successfully 
opened up a Xephyr window on the host 'Xephyr -ac :1 &'. Whenever I run 
'DISPLAY=:1 xlock' inside the chroot it fails to open the display > ' Error: 
Can't open display: :1'. Kindly please correct if I'm wrong or refer to a 
source of information please.