KDE-apps okular, kmahjongg

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

KDE-apps okular, kmahjongg

Stefan Wollny-2
Hi there,

I run amd64-current with the latest public snapshots:
$ dmesg | grep Open
OpenBSD 6.3-current (GENERIC.MP) #52: Sun Jun 24 09:59:46 MDT 2018
< Full dmesg at the end >

Although I try to follow reading src-changes and topics on misc@ as
close as possible I might have missed something lately. Until a few days
ago okular and kmahjongg came up without a comment. Now I cannot start
them (havn't tried other KDE apps)


$ okular
okular(68871)/kdeui (kdelibs): Session bus not found
To circumvent this problem try the following command (with Linux and bash)
export $(dbus-launch)
KCrash: Application 'okular' crashing...
KCrash: Attempting to start /usr/local/libexec/drkonqi from kdeinit
KCrash: Connect
sock_file=/home/sw/.kde4/socket-asterix.fritz.box/kdeinit4__0
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start /usr/local/libexec/drkonqi directly
drkonqi(78427)/kdeui (kdelibs): Session bus not found
To circumvent this problem try the following command (with Linux and bash)
export $(dbus-launch)

~ $ kmahjongg
kmahjongg(43798)/kdeui (kdelibs): Session bus not found
To circumvent this problem try the following command (with Linux and bash)
export $(dbus-launch)
KCrash: Application 'kmahjongg' crashing...
KCrash: Attempting to start /usr/local/libexec/drkonqi from kdeinit
KCrash: Connect
sock_file=/home/sw/.kde4/socket-asterix.fritz.box/kdeinit4__0
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start /usr/local/libexec/drkonqi directly
drkonqi(34562)/kdeui (kdelibs): Session bus not found
To circumvent this problem try the following command (with Linux and bash)
export $(dbus-launch)

What did I miss / what am I doing wrong here?

In /etc/rc.conf.local I have:
pkg_scripts=freshclam clamd messagebus avahi_daemon cupsd smartd
cups_browsed

(cups isn't working for a looong time but that should be a different thread)

Anyone got a clue what might be wrong with my system or what knob to
turn? Or is this just a temporary annnoyance that ought to go away in a
short time?

TIA.

Best,
STEFAN




OpenBSD 6.3-current (GENERIC.MP) #52: Sun Jun 24 09:59:46 MDT 2018
    [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 17079074816 (16287MB)
avail mem = 16420831232 (15660MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb500 (35 entries)
bios0: vendor American Megatrends Inc. version "1.03.06" date 06/25/2014
bios0: Notebook W65_67SZ
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT ASF! SSDT SSDT SSDT MCFG HPET SSDT
SSDT SSDT DMAR
acpi0: wakeup devices PXSX(S4) RP01(S4) PXSX(S4) PXSX(S4) RP03(S4)
PXSX(S4) RP04(S4) PXSX(S4) PXSX(S4) PXSX(S4) PXSX(S4) GLAN(S4) EHC1(S3)
EHC2(S3) XHC_(S3) HDEF(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3093.34 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,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 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.85 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,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-4210M CPU @ 2.60GHz, 3092.84 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,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-4210M CPU @ 2.60GHz, 3092.84 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (RP01)
acpiprt2 at acpi0: bus 3 (RP03)
acpiprt3 at acpi0: bus 4 (RP04)
acpiprt4 at acpi0: bus 1 (P0P2)
acpiprt5 at acpi0: bus -1 (P0PA)
acpiprt6 at acpi0: bus -1 (P0PB)
acpiprt7 at acpi0: bus 1 (PEG0)
acpiec0 at acpi0
acpicpu0 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpitz0 at acpi0: critical temperature is 120 degC
acpicmos0 at acpi0
"INT3F0D" at acpi0 not configured
"MSFT0001" at acpi0 not configured
"ETD0403" at acpi0 not configured
"PNPC000" at acpi0 not configured
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: SLPB
acpibtn2 at acpi0: LID0
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 model "BAT" serial 0001 type LION oem "Notebook"
"PNP0C14" at acpi0 not configured
"INT340E" at acpi0 not configured
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: LCD0
cpu0: Enhanced SpeedStep 3093 MHz: speeds: 2601, 2600, 2500, 2300, 2200,
2100, 2000, 1800, 1700, 1600, 1400, 1300, 1200, 1100, 900, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 4G Host" rev 0x06
ppb0 at pci0 dev 1 function 0 "Intel Core 4G PCIE" rev 0x06: msi
pci1 at ppb0 bus 1
inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 4600" rev 0x06
drm0 at inteldrm0
inteldrm0: msi
inteldrm0: 1920x1080, 32bpp
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
azalia0 at pci0 dev 3 function 0 "Intel Core 4G HD Audio" rev 0x06: msi
xhci0 at pci0 dev 20 function 0 "Intel 8 Series xHCI" rev 0x05: msi,
xHCI 1.0
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev
3.00/1.00 addr 1
"Intel 8 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
ehci0 at pci0 dev 26 function 0 "Intel 8 Series USB" rev 0x05: apic 2 int 16
usb1 at ehci0: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev
2.00/1.00 addr 1
azalia1 at pci0 dev 27 function 0 "Intel 8 Series HD Audio" rev 0x05: msi
azalia1: codecs: VIA/0x8446
audio0 at azalia1
ppb1 at pci0 dev 28 function 0 "Intel 8 Series PCIE" rev 0xd5
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 2 "Intel 8 Series PCIE" rev 0xd5: msi
pci3 at ppb2 bus 3
iwm0 at pci3 dev 0 function 0 "Intel Dual Band Wireless AC 7260" rev
0xbb, msi
ppb3 at pci0 dev 28 function 3 "Intel 8 Series PCIE" rev 0xd5: msi
pci4 at ppb3 bus 4
rtsx0 at pci4 dev 0 function 0 "Realtek RTL8411 Card Reader" rev 0x01: msi
sdmmc0 at rtsx0: 4-bit, dma
re0 at pci4 dev 0 function 2 "Realtek 8168" rev 0x0a: RTL8411 (0x4880),
msi, address 80:fa:5b:14:87:b4
rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 5
ehci1 at pci0 dev 29 function 0 "Intel 8 Series USB" rev 0x05: apic 2 int 23
usb2 at ehci1: USB revision 2.0
uhub2 at usb2 configuration 1 interface 0 "Intel EHCI root hub" rev
2.00/1.00 addr 1
pcib0 at pci0 dev 31 function 0 "Intel HM86 LPC" rev 0x05
ahci0 at pci0 dev 31 function 2 "Intel 8 Series AHCI" rev 0x05: msi,
AHCI 1.3
ahci0: port 0: 1.5Gb/s
ahci0: port 5: 6.0Gb/s
scsibus1 at ahci0: 32 targets
cd0 at scsibus1 targ 0 lun 0: <Optiarc, DVD RW AD-7740H, 1.00> ATAPI
5/cdrom removable
sd0 at scsibus1 targ 5 lun 0: <ATA, Samsung SSD 850, EXM0> SCSI3
0/direct fixed naa.500253887007d4c5
sd0: 976762MB, 512 bytes/sector, 2000409264 sectors, thin
ichiic0 at pci0 dev 31 function 3 "Intel 8 Series SMBus" rev 0x05: apic
2 int 18
iic0 at ichiic0
iic0: addr 0x1a 00=00 01=00 02=00 03=00 04=00 05=c2 06=1b 07=0a 08=00
09=00 0a=00 0b=00 0c=00 0d=00 0e=00 0f=00 words 00=007f 01=0000 02=0000
03=0000 04=0000 05=c2be 06=1b09 07=0a01
spdmem0 at iic0 addr 0x50: 8GB DDR3 SDRAM PC3-14200 SO-DIMM with thermal
sensor
spdmem1 at iic0 addr 0x52: 8GB DDR3 SDRAM PC3-14200 SO-DIMM with thermal
sensor
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
vmm0 at mainbus0: VMX/EPT
uhub3 at uhub0 port 1 configuration 1 interface 0 "Genesys Logic USB2.0
Hub" rev 2.00/9.01 addr 2
uhidev0 at uhub3 port 1 configuration 1 interface 0 "Logitech Trackball"
rev 1.10/2.20 addr 3
uhidev0: iclass 3/1
ums0 at uhidev0: 3 buttons, Z dir
wsmouse1 at ums0 mux 0
umass0 at uhub3 port 3 configuration 1 interface 0 "SMI Technology
Intenso Micro Line" rev 2.00/10.00 addr 4
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
sd1 at scsibus2 targ 1 lun 0: <Intenso, Micro Line, > SCSI2 0/direct
removable serial.090c1000090600003175
sd1: 7450MB, 512 bytes/sector, 15257600 sectors
uhidev1 at uhub3 port 4 configuration 1 interface 0 "Logitech USB
Receiver" rev 2.00/12.01 addr 5
uhidev1: iclass 3/1
ukbd0 at uhidev1: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev2 at uhub3 port 4 configuration 1 interface 1 "Logitech USB
Receiver" rev 2.00/12.01 addr 5
uhidev2: iclass 3/1, 8 report ids
ums1 at uhidev2 reportid 2: 16 buttons, Z and W dir
wsmouse2 at ums1 mux 0
uhid0 at uhidev2 reportid 3: input=4, output=0, feature=0
uhid1 at uhidev2 reportid 4: input=1, output=0, feature=0
uhid2 at uhidev2 reportid 8: input=1, output=0, feature=0
uhidev3 at uhub3 port 4 configuration 1 interface 2 "Logitech USB
Receiver" rev 2.00/12.01 addr 5
uhidev3: iclass 3/0, 33 report ids
uhid3 at uhidev3 reportid 16: input=6, output=6, feature=0
uhid4 at uhidev3 reportid 17: input=19, output=19, feature=0
uhid5 at uhidev3 reportid 32: input=14, output=14, feature=0
uhid6 at uhidev3 reportid 33: input=31, output=31, feature=0
uhub0: port 3, set config 0 at addr 6 failed
uhub0: device problem, disabling port 3
ugen0 at uhub0 port 7 "Intel product 0x07dc" rev 2.00/0.01 addr 6
uhub4 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching
Hub" rev 2.00/0.05 addr 2
uhub5 at uhub2 port 1 configuration 1 interface 0 "Intel Rate Matching
Hub" rev 2.00/0.05 addr 2
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
sd2 at scsibus4 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006> SCSI2 0/direct fixed
sd2: 976756MB, 512 bytes/sector, 2000397143 sectors
root on sd2a (27a349ce45a3b091.a) swap on sd2b dump on sd2b
iwm0: hw rev 0x140, fw ver 16.242414.0, address 7c:5c:f8:3b:80:99
lock order reversal:
 1st 0xffffffff81debf80 &sched_lock (&sched_lock) @
/usr/src/sys/kern/kern_synch.c:444
 2nd 0xffff8000001169f0 &dev_priv->uncore.lock (&dev_priv->uncore.lock)
@ /usr/src/sys/dev/pci/drm/i915/intel_uncore.c:811
lock order "&dev_priv->uncore.lock"(mutex) -> "&sched_lock"(sched_lock)
first seen at:
#0  witness_checkorder+0x4c0
#1  ___mp_lock+0x70
#2  schedclock+0x30
#3  hardclock+0xe3
#4  lapic_clockintr+0x3d
#5  Xresume_lapic_ltimer+0x22
#6  x86_bus_space_mem_read_4+0x14
#7  gen6_read32+0x184
#8  ironlake_irq_handler+0xb8b
#9  intr_handler+0x74
#10 Xintr_ioapic_edge17_untramp+0x166
#11 Xspllower+0xc
#12 _rw_enter+0x68
#13 _rrw_enter+0x3e
#14 VOP_LOCK+0x3d
#15 vn_lock+0x34
#16 spec_read+0xbb
#17 VOP_READ+0x49
#18 vn_read+0xca
lock order "&sched_lock"(sched_lock) -> "&dev_priv->uncore.lock"(mutex)
first seen at:
#0  witness_checkorder+0x4c0
#1  _mtx_enter+0x31
#2  gen6_read32+0x8f
#3  gen6_ring_get_seqno+0x3a
#4  __i915_wait_request+0x232
#5  i915_wait_request+0x97
#6  i915_gem_object_wait_rendering+0x19c
#7  i915_gem_object_sync+0x6c
#8  i915_gem_object_pin_to_display_plane+0x2e
#9  intel_pin_and_fence_fb_obj+0x1cd
#10 intel_prepare_plane_fb+0xb4
#11 drm_atomic_helper_prepare_planes+0x6b
#12 intel_atomic_commit+0x52
#13 drm_atomic_helper_set_config+0x80
#14 drm_mode_setcrtc+0x36f
#15 drm_do_ioctl+0x221
#16 drmioctl+0xf9
#17 VOP_IOCTL+0x5a
#18 vn_ioctl+0x6b
lock order reversal:
 1st 0xffffffff81debf80 &sched_lock (&sched_lock) @
/usr/src/sys/kern/kern_synch.c:444
 2nd 0xffff80000011d270 &dev_priv->irq_lock (&dev_priv->irq_lock) @
/usr/src/sys/dev/pci/drm/i915/intel_ringbuffer.c:1787
lock order "&dev_priv->irq_lock"(mutex) -> "&sched_lock"(sched_lock)
first seen at:
#0  witness_checkorder+0x4c0
#1  ___mp_lock+0x70
#2  wakeup_n+0x39
#3  task_add+0x93
#4  gen6_rps_boost+0x129
#5  __i915_wait_request+0x155
#6  i915_gem_object_wait_rendering__nonblocking+0x1d6
#7  i915_gem_set_domain_ioctl+0xdb
#8  drm_do_ioctl+0x221
#9  drmioctl+0xf9
#10 VOP_IOCTL+0x5a
#11 vn_ioctl+0x6b
#12 sys_ioctl+0x477
#13 syscall+0x32a
#14 Xsyscall_untramp+0xe4
lock order "&sched_lock"(sched_lock) -> "&dev_priv->irq_lock"(mutex)
first seen at:
#0  witness_checkorder+0x4c0
#1  _mtx_enter+0x31
#2  gen6_ring_put_irq+0x36
#3  __i915_wait_request+0x367
#4  i915_wait_request+0x97
#5  i915_gem_object_wait_rendering+0x19c
#6  i915_gem_object_sync+0x6c
#7  i915_gem_object_pin_to_display_plane+0x2e
#8  intel_pin_and_fence_fb_obj+0x1cd
#9  intel_prepare_plane_fb+0xb4
#10 drm_atomic_helper_prepare_planes+0x6b
#11 intel_atomic_commit+0x52
#12 drm_atomic_helper_set_config+0x80
#13 drm_mode_setcrtc+0x36f
#14 drm_do_ioctl+0x221
#15 drmioctl+0xf9
#16 VOP_IOCTL+0x5a
#17 vn_ioctl+0x6b
#18 sys_ioctl+0x477
lock order reversal:
 1st 0xffffff039f1e0198 vmmaplk (&map->lock) @
/usr/src/sys/uvm/uvm_fault.c:1441
 2nd 0xffff800000120138 drmdevlk (&dev->struct_mutex) @
/usr/src/sys/dev/pci/drm/i915/i915_gem.c:1801
lock order "&dev->struct_mutex"(rwlock) -> "&map->lock"(rwlock) first
seen at:
#0  witness_checkorder+0x4c0
#1  _rw_enter+0x68
#2  vm_map_lock_ln+0xbc
#3  uvm_map+0x1a1
#4  uvm_km_valloc+0x6c
#5  vmap+0x36
#6  vmap_batch+0xeb
#7  i915_parse_cmds+0x15d
#8  i915_gem_execbuffer2+0x1032
#9  drm_do_ioctl+0x221
#10 drmioctl+0xf9
#11 VOP_IOCTL+0x5a
#12 vn_ioctl+0x6b
#13 sys_ioctl+0x477
#14 syscall+0x32a
#15 Xsyscall_untramp+0xe4
lock order "&map->lock"(rwlock) -> "&dev->struct_mutex"(rwlock) first
seen at:
#0  witness_checkorder+0x4c0
#1  _rw_enter_write+0x53
#2  i915_gem_object_wait_rendering__nonblocking+0x1fa
#3  i915_gem_fault+0x144
#4  drm_fault+0x18a
#5  uvm_fault+0x743
#6  pageflttrap+0x14c
#7  trap+0x2b6
#8  recall_trap+0x8

Reply | Threaded
Open this post in threaded view
|

Re: KDE-apps okular, kmahjongg

Vijay Sankar

Quoting Stefan Wollny <[hidden email]>:

> Hi there,
>
> I run amd64-current with the latest public snapshots:
> $ dmesg | grep Open
> OpenBSD 6.3-current (GENERIC.MP) #52: Sun Jun 24 09:59:46 MDT 2018
> < Full dmesg at the end >
>
> Although I try to follow reading src-changes and topics on misc@ as
> close as possible I might have missed something lately. Until a few days
> ago okular and kmahjongg came up without a comment. Now I cannot start
> them (havn't tried other KDE apps)
>
>
> $ okular
> okular(68871)/kdeui (kdelibs): Session bus not found
> To circumvent this problem try the following command (with Linux and bash)
> export $(dbus-launch)
> KCrash: Application 'okular' crashing...
> KCrash: Attempting to start /usr/local/libexec/drkonqi from kdeinit
> KCrash: Connect
> sock_file=/home/sw/.kde4/socket-asterix.fritz.box/kdeinit4__0
> Warning: connect() failed: : No such file or directory
> KCrash: Attempting to start /usr/local/libexec/drkonqi directly
> drkonqi(78427)/kdeui (kdelibs): Session bus not found
> To circumvent this problem try the following command (with Linux and bash)
> export $(dbus-launch)
>
> ~ $ kmahjongg
> kmahjongg(43798)/kdeui (kdelibs): Session bus not found
> To circumvent this problem try the following command (with Linux and bash)
> export $(dbus-launch)
> KCrash: Application 'kmahjongg' crashing...
> KCrash: Attempting to start /usr/local/libexec/drkonqi from kdeinit
> KCrash: Connect
> sock_file=/home/sw/.kde4/socket-asterix.fritz.box/kdeinit4__0
> Warning: connect() failed: : No such file or directory
> KCrash: Attempting to start /usr/local/libexec/drkonqi directly
> drkonqi(34562)/kdeui (kdelibs): Session bus not found
> To circumvent this problem try the following command (with Linux and bash)
> export $(dbus-launch)
>
> What did I miss / what am I doing wrong here?
>
> In /etc/rc.conf.local I have:
> pkg_scripts=freshclam clamd messagebus avahi_daemon cupsd smartd
> cups_browsed
>
> (cups isn't working for a looong time but that should be a different thread)
>
> Anyone got a clue what might be wrong with my system or what knob to
> turn? Or is this just a temporary annnoyance that ought to go away in a
> short time?
>
> TIA.
>
> Best,
> STEFAN
>
>
>
>
> OpenBSD 6.3-current (GENERIC.MP) #52: Sun Jun 24 09:59:46 MDT 2018
>     [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 17079074816 (16287MB)
> avail mem = 16420831232 (15660MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb500 (35 entries)
> bios0: vendor American Megatrends Inc. version "1.03.06" date 06/25/2014
> bios0: Notebook W65_67SZ
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP APIC FPDT ASF! SSDT SSDT SSDT MCFG HPET SSDT
> SSDT SSDT DMAR
> acpi0: wakeup devices PXSX(S4) RP01(S4) PXSX(S4) PXSX(S4) RP03(S4)
> PXSX(S4) RP04(S4) PXSX(S4) PXSX(S4) PXSX(S4) PXSX(S4) GLAN(S4) EHC1(S3)
> EHC2(S3) XHC_(S3) HDEF(S4) [...]
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3093.34 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,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 99MHz
> cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4, IBE
> cpu1 at mainbus0: apid 2 (application processor)
> cpu1: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.85 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,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-4210M CPU @ 2.60GHz, 3092.84 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,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-4210M CPU @ 2.60GHz, 3092.84 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,MELTDOWN
> cpu3: 256KB 64b/line 8-way L2 cache
> cpu3: smt 1, core 1, package 0
> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
> acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63
> acpihpet0 at acpi0: 14318179 Hz
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 2 (RP01)
> acpiprt2 at acpi0: bus 3 (RP03)
> acpiprt3 at acpi0: bus 4 (RP04)
> acpiprt4 at acpi0: bus 1 (P0P2)
> acpiprt5 at acpi0: bus -1 (P0PA)
> acpiprt6 at acpi0: bus -1 (P0PB)
> acpiprt7 at acpi0: bus 1 (PEG0)
> acpiec0 at acpi0
> acpicpu0 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
> acpicpu1 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
> acpicpu2 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
> acpicpu3 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
> acpitz0 at acpi0: critical temperature is 120 degC
> acpicmos0 at acpi0
> "INT3F0D" at acpi0 not configured
> "MSFT0001" at acpi0 not configured
> "ETD0403" at acpi0 not configured
> "PNPC000" at acpi0 not configured
> acpibtn0 at acpi0: PWRB
> acpibtn1 at acpi0: SLPB
> acpibtn2 at acpi0: LID0
> acpiac0 at acpi0: AC unit online
> acpibat0 at acpi0: BAT0 model "BAT" serial 0001 type LION oem "Notebook"
> "PNP0C14" at acpi0 not configured
> "INT340E" at acpi0 not configured
> acpivideo0 at acpi0: GFX0
> acpivout0 at acpivideo0: LCD0
> cpu0: Enhanced SpeedStep 3093 MHz: speeds: 2601, 2600, 2500, 2300, 2200,
> 2100, 2000, 1800, 1700, 1600, 1400, 1300, 1200, 1100, 900, 800 MHz
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "Intel Core 4G Host" rev 0x06
> ppb0 at pci0 dev 1 function 0 "Intel Core 4G PCIE" rev 0x06: msi
> pci1 at ppb0 bus 1
> inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 4600" rev 0x06
> drm0 at inteldrm0
> inteldrm0: msi
> inteldrm0: 1920x1080, 32bpp
> wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
> wsdisplay0: screen 1-5 added (std, vt100 emulation)
> azalia0 at pci0 dev 3 function 0 "Intel Core 4G HD Audio" rev 0x06: msi
> xhci0 at pci0 dev 20 function 0 "Intel 8 Series xHCI" rev 0x05: msi,
> xHCI 1.0
> usb0 at xhci0: USB revision 3.0
> uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev
> 3.00/1.00 addr 1
> "Intel 8 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
> ehci0 at pci0 dev 26 function 0 "Intel 8 Series USB" rev 0x05: apic 2 int 16
> usb1 at ehci0: USB revision 2.0
> uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev
> 2.00/1.00 addr 1
> azalia1 at pci0 dev 27 function 0 "Intel 8 Series HD Audio" rev 0x05: msi
> azalia1: codecs: VIA/0x8446
> audio0 at azalia1
> ppb1 at pci0 dev 28 function 0 "Intel 8 Series PCIE" rev 0xd5
> pci2 at ppb1 bus 2
> ppb2 at pci0 dev 28 function 2 "Intel 8 Series PCIE" rev 0xd5: msi
> pci3 at ppb2 bus 3
> iwm0 at pci3 dev 0 function 0 "Intel Dual Band Wireless AC 7260" rev
> 0xbb, msi
> ppb3 at pci0 dev 28 function 3 "Intel 8 Series PCIE" rev 0xd5: msi
> pci4 at ppb3 bus 4
> rtsx0 at pci4 dev 0 function 0 "Realtek RTL8411 Card Reader" rev 0x01: msi
> sdmmc0 at rtsx0: 4-bit, dma
> re0 at pci4 dev 0 function 2 "Realtek 8168" rev 0x0a: RTL8411 (0x4880),
> msi, address 80:fa:5b:14:87:b4
> rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 5
> ehci1 at pci0 dev 29 function 0 "Intel 8 Series USB" rev 0x05: apic 2 int 23
> usb2 at ehci1: USB revision 2.0
> uhub2 at usb2 configuration 1 interface 0 "Intel EHCI root hub" rev
> 2.00/1.00 addr 1
> pcib0 at pci0 dev 31 function 0 "Intel HM86 LPC" rev 0x05
> ahci0 at pci0 dev 31 function 2 "Intel 8 Series AHCI" rev 0x05: msi,
> AHCI 1.3
> ahci0: port 0: 1.5Gb/s
> ahci0: port 5: 6.0Gb/s
> scsibus1 at ahci0: 32 targets
> cd0 at scsibus1 targ 0 lun 0: <Optiarc, DVD RW AD-7740H, 1.00> ATAPI
> 5/cdrom removable
> sd0 at scsibus1 targ 5 lun 0: <ATA, Samsung SSD 850, EXM0> SCSI3
> 0/direct fixed naa.500253887007d4c5
> sd0: 976762MB, 512 bytes/sector, 2000409264 sectors, thin
> ichiic0 at pci0 dev 31 function 3 "Intel 8 Series SMBus" rev 0x05: apic
> 2 int 18
> iic0 at ichiic0
> iic0: addr 0x1a 00=00 01=00 02=00 03=00 04=00 05=c2 06=1b 07=0a 08=00
> 09=00 0a=00 0b=00 0c=00 0d=00 0e=00 0f=00 words 00=007f 01=0000 02=0000
> 03=0000 04=0000 05=c2be 06=1b09 07=0a01
> spdmem0 at iic0 addr 0x50: 8GB DDR3 SDRAM PC3-14200 SO-DIMM with thermal
> sensor
> spdmem1 at iic0 addr 0x52: 8GB DDR3 SDRAM PC3-14200 SO-DIMM with thermal
> sensor
> isa0 at pcib0
> isadma0 at isa0
> pckbc0 at isa0 port 0x60/5 irq 1 irq 12
> pckbd0 at pckbc0 (kbd slot)
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pms0 at pckbc0 (aux slot)
> wsmouse0 at pms0 mux 0
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> vmm0 at mainbus0: VMX/EPT
> uhub3 at uhub0 port 1 configuration 1 interface 0 "Genesys Logic USB2.0
> Hub" rev 2.00/9.01 addr 2
> uhidev0 at uhub3 port 1 configuration 1 interface 0 "Logitech Trackball"
> rev 1.10/2.20 addr 3
> uhidev0: iclass 3/1
> ums0 at uhidev0: 3 buttons, Z dir
> wsmouse1 at ums0 mux 0
> umass0 at uhub3 port 3 configuration 1 interface 0 "SMI Technology
> Intenso Micro Line" rev 2.00/10.00 addr 4
> umass0: using SCSI over Bulk-Only
> scsibus2 at umass0: 2 targets, initiator 0
> sd1 at scsibus2 targ 1 lun 0: <Intenso, Micro Line, > SCSI2 0/direct
> removable serial.090c1000090600003175
> sd1: 7450MB, 512 bytes/sector, 15257600 sectors
> uhidev1 at uhub3 port 4 configuration 1 interface 0 "Logitech USB
> Receiver" rev 2.00/12.01 addr 5
> uhidev1: iclass 3/1
> ukbd0 at uhidev1: 8 variable keys, 6 key codes
> wskbd1 at ukbd0 mux 1
> wskbd1: connecting to wsdisplay0
> uhidev2 at uhub3 port 4 configuration 1 interface 1 "Logitech USB
> Receiver" rev 2.00/12.01 addr 5
> uhidev2: iclass 3/1, 8 report ids
> ums1 at uhidev2 reportid 2: 16 buttons, Z and W dir
> wsmouse2 at ums1 mux 0
> uhid0 at uhidev2 reportid 3: input=4, output=0, feature=0
> uhid1 at uhidev2 reportid 4: input=1, output=0, feature=0
> uhid2 at uhidev2 reportid 8: input=1, output=0, feature=0
> uhidev3 at uhub3 port 4 configuration 1 interface 2 "Logitech USB
> Receiver" rev 2.00/12.01 addr 5
> uhidev3: iclass 3/0, 33 report ids
> uhid3 at uhidev3 reportid 16: input=6, output=6, feature=0
> uhid4 at uhidev3 reportid 17: input=19, output=19, feature=0
> uhid5 at uhidev3 reportid 32: input=14, output=14, feature=0
> uhid6 at uhidev3 reportid 33: input=31, output=31, feature=0
> uhub0: port 3, set config 0 at addr 6 failed
> uhub0: device problem, disabling port 3
> ugen0 at uhub0 port 7 "Intel product 0x07dc" rev 2.00/0.01 addr 6
> uhub4 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching
> Hub" rev 2.00/0.05 addr 2
> uhub5 at uhub2 port 1 configuration 1 interface 0 "Intel Rate Matching
> Hub" rev 2.00/0.05 addr 2
> vscsi0 at root
> scsibus3 at vscsi0: 256 targets
> softraid0 at root
> scsibus4 at softraid0: 256 targets
> sd2 at scsibus4 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006> SCSI2 0/direct fixed
> sd2: 976756MB, 512 bytes/sector, 2000397143 sectors
> root on sd2a (27a349ce45a3b091.a) swap on sd2b dump on sd2b
> iwm0: hw rev 0x140, fw ver 16.242414.0, address 7c:5c:f8:3b:80:99
> lock order reversal:
>  1st 0xffffffff81debf80 &sched_lock (&sched_lock) @
> /usr/src/sys/kern/kern_synch.c:444
>  2nd 0xffff8000001169f0 &dev_priv->uncore.lock (&dev_priv->uncore.lock)
> @ /usr/src/sys/dev/pci/drm/i915/intel_uncore.c:811
> lock order "&dev_priv->uncore.lock"(mutex) -> "&sched_lock"(sched_lock)
> first seen at:
> #0  witness_checkorder+0x4c0
> #1  ___mp_lock+0x70
> #2  schedclock+0x30
> #3  hardclock+0xe3
> #4  lapic_clockintr+0x3d
> #5  Xresume_lapic_ltimer+0x22
> #6  x86_bus_space_mem_read_4+0x14
> #7  gen6_read32+0x184
> #8  ironlake_irq_handler+0xb8b
> #9  intr_handler+0x74
> #10 Xintr_ioapic_edge17_untramp+0x166
> #11 Xspllower+0xc
> #12 _rw_enter+0x68
> #13 _rrw_enter+0x3e
> #14 VOP_LOCK+0x3d
> #15 vn_lock+0x34
> #16 spec_read+0xbb
> #17 VOP_READ+0x49
> #18 vn_read+0xca
> lock order "&sched_lock"(sched_lock) -> "&dev_priv->uncore.lock"(mutex)
> first seen at:
> #0  witness_checkorder+0x4c0
> #1  _mtx_enter+0x31
> #2  gen6_read32+0x8f
> #3  gen6_ring_get_seqno+0x3a
> #4  __i915_wait_request+0x232
> #5  i915_wait_request+0x97
> #6  i915_gem_object_wait_rendering+0x19c
> #7  i915_gem_object_sync+0x6c
> #8  i915_gem_object_pin_to_display_plane+0x2e
> #9  intel_pin_and_fence_fb_obj+0x1cd
> #10 intel_prepare_plane_fb+0xb4
> #11 drm_atomic_helper_prepare_planes+0x6b
> #12 intel_atomic_commit+0x52
> #13 drm_atomic_helper_set_config+0x80
> #14 drm_mode_setcrtc+0x36f
> #15 drm_do_ioctl+0x221
> #16 drmioctl+0xf9
> #17 VOP_IOCTL+0x5a
> #18 vn_ioctl+0x6b
> lock order reversal:
>  1st 0xffffffff81debf80 &sched_lock (&sched_lock) @
> /usr/src/sys/kern/kern_synch.c:444
>  2nd 0xffff80000011d270 &dev_priv->irq_lock (&dev_priv->irq_lock) @
> /usr/src/sys/dev/pci/drm/i915/intel_ringbuffer.c:1787
> lock order "&dev_priv->irq_lock"(mutex) -> "&sched_lock"(sched_lock)
> first seen at:
> #0  witness_checkorder+0x4c0
> #1  ___mp_lock+0x70
> #2  wakeup_n+0x39
> #3  task_add+0x93
> #4  gen6_rps_boost+0x129
> #5  __i915_wait_request+0x155
> #6  i915_gem_object_wait_rendering__nonblocking+0x1d6
> #7  i915_gem_set_domain_ioctl+0xdb
> #8  drm_do_ioctl+0x221
> #9  drmioctl+0xf9
> #10 VOP_IOCTL+0x5a
> #11 vn_ioctl+0x6b
> #12 sys_ioctl+0x477
> #13 syscall+0x32a
> #14 Xsyscall_untramp+0xe4
> lock order "&sched_lock"(sched_lock) -> "&dev_priv->irq_lock"(mutex)
> first seen at:
> #0  witness_checkorder+0x4c0
> #1  _mtx_enter+0x31
> #2  gen6_ring_put_irq+0x36
> #3  __i915_wait_request+0x367
> #4  i915_wait_request+0x97
> #5  i915_gem_object_wait_rendering+0x19c
> #6  i915_gem_object_sync+0x6c
> #7  i915_gem_object_pin_to_display_plane+0x2e
> #8  intel_pin_and_fence_fb_obj+0x1cd
> #9  intel_prepare_plane_fb+0xb4
> #10 drm_atomic_helper_prepare_planes+0x6b
> #11 intel_atomic_commit+0x52
> #12 drm_atomic_helper_set_config+0x80
> #13 drm_mode_setcrtc+0x36f
> #14 drm_do_ioctl+0x221
> #15 drmioctl+0xf9
> #16 VOP_IOCTL+0x5a
> #17 vn_ioctl+0x6b
> #18 sys_ioctl+0x477
> lock order reversal:
>  1st 0xffffff039f1e0198 vmmaplk (&map->lock) @
> /usr/src/sys/uvm/uvm_fault.c:1441
>  2nd 0xffff800000120138 drmdevlk (&dev->struct_mutex) @
> /usr/src/sys/dev/pci/drm/i915/i915_gem.c:1801
> lock order "&dev->struct_mutex"(rwlock) -> "&map->lock"(rwlock) first
> seen at:
> #0  witness_checkorder+0x4c0
> #1  _rw_enter+0x68
> #2  vm_map_lock_ln+0xbc
> #3  uvm_map+0x1a1
> #4  uvm_km_valloc+0x6c
> #5  vmap+0x36
> #6  vmap_batch+0xeb
> #7  i915_parse_cmds+0x15d
> #8  i915_gem_execbuffer2+0x1032
> #9  drm_do_ioctl+0x221
> #10 drmioctl+0xf9
> #11 VOP_IOCTL+0x5a
> #12 vn_ioctl+0x6b
> #13 sys_ioctl+0x477
> #14 syscall+0x32a
> #15 Xsyscall_untramp+0xe4
> lock order "&map->lock"(rwlock) -> "&dev->struct_mutex"(rwlock) first
> seen at:
> #0  witness_checkorder+0x4c0
> #1  _rw_enter_write+0x53
> #2  i915_gem_object_wait_rendering__nonblocking+0x1fa
> #3  i915_gem_fault+0x144
> #4  drm_fault+0x18a
> #5  uvm_fault+0x743
> #6  pageflttrap+0x14c
> #7  trap+0x2b6
> #8  recall_trap+0x8

Only additional thing I have in /etc/rc.conf.local is

multicast=YES

All KDE seems to work fine here (-current from June 21, 2018)



Vijay Sankar, M.Eng., P.Eng.
ForeTell Technologies Limited
[hidden email]

Reply | Threaded
Open this post in threaded view
|

Softraid0-Problem: Inappropriate file type or format (Was: KDE-apps okular, kmahjongg)

Stefan Wollny
In reply to this post by Stefan Wollny-2
Hi there!

Unfortunately I have to hijack my own thread as it has the last working dmesg.

Right after I had asked on misc@ about those KDE-apps I upgraded to the latest snapshot for amd64-current. By this I was hit by the "libxshmfence.so.0.0-issue".
https://marc.info/?l=openbsd-tech&m=153003604704089&w=2

Well - running -current is usually rock-solid, but I am well aware that every now-and-then things might go wrong and will be corrected by the devs with the next snapshot (or the one thereafter). Happens remarkably seldom but obviously here I had to make use of the next snapshot, which I did: Wham! I cannot log-in to the system any more!

"booting sr0a:/bsd: sr0a:/bsd: Inappropriate file type or format
 failed(79). will try /bsd"

Yes - this system is fully encrypted, secured by a key-disk. I have dd'ed two more copies of this key, both behave the same. Thus I dare to suppose that there is no technical issue with the key (in particular as the other two USB-keys have not been attached at the time of the last upgrade).

Most likely I did unknowingly s.th. really dumb.

OK - how to proceed? Yes - I am lucky having backed up the relevant data the night before. My fallback solution is to simply reinstall everything. Annoying, as it will take a little time, but I will survive.

My question is, as I can boot into 'bsd.rd', what alternative(s) I have to
'# bioctl -c C -k /dev/sd1a -l /sd0a softraid0'
softraid0: chunk sd0a already in use

bsd.rd-dmesg shows at the end sd1 being the USB-key-disk and sd2 being the unencrypted OpenBSD-crypto-file, thus I used sd0 with 'bioctl'.

Anyone a clue what might have gone wrong and how to proceed (except reinstallation)?

TIA!

Best,
STEFAN




Am 25.06.2018 um 22:36 schrieb Stefan Wollny:

> Hi there,
>
> I run amd64-current with the latest public snapshots:
> $ dmesg | grep Open
> OpenBSD 6.3-current (GENERIC.MP) #52: Sun Jun 24 09:59:46 MDT 2018
> < Full dmesg at the end >
>
> [ ... ]
>
>
>
> OpenBSD 6.3-current (GENERIC.MP) #52: Sun Jun 24 09:59:46 MDT 2018
>     [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 17079074816 (16287MB)
> avail mem = 16420831232 (15660MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb500 (35 entries)
> bios0: vendor American Megatrends Inc. version "1.03.06" date 06/25/2014
> bios0: Notebook W65_67SZ
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP APIC FPDT ASF! SSDT SSDT SSDT MCFG HPET SSDT
> SSDT SSDT DMAR
> acpi0: wakeup devices PXSX(S4) RP01(S4) PXSX(S4) PXSX(S4) RP03(S4)
> PXSX(S4) RP04(S4) PXSX(S4) PXSX(S4) PXSX(S4) PXSX(S4) GLAN(S4) EHC1(S3)
> EHC2(S3) XHC_(S3) HDEF(S4) [...]
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3093.34 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,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 99MHz
> cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4, IBE
> cpu1 at mainbus0: apid 2 (application processor)
> cpu1: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.85 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,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-4210M CPU @ 2.60GHz, 3092.84 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,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-4210M CPU @ 2.60GHz, 3092.84 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,MELTDOWN
> cpu3: 256KB 64b/line 8-way L2 cache
> cpu3: smt 1, core 1, package 0
> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
> acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63
> acpihpet0 at acpi0: 14318179 Hz
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 2 (RP01)
> acpiprt2 at acpi0: bus 3 (RP03)
> acpiprt3 at acpi0: bus 4 (RP04)
> acpiprt4 at acpi0: bus 1 (P0P2)
> acpiprt5 at acpi0: bus -1 (P0PA)
> acpiprt6 at acpi0: bus -1 (P0PB)
> acpiprt7 at acpi0: bus 1 (PEG0)
> acpiec0 at acpi0
> acpicpu0 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
> acpicpu1 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
> acpicpu2 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
> acpicpu3 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
> acpitz0 at acpi0: critical temperature is 120 degC
> acpicmos0 at acpi0
> "INT3F0D" at acpi0 not configured
> "MSFT0001" at acpi0 not configured
> "ETD0403" at acpi0 not configured
> "PNPC000" at acpi0 not configured
> acpibtn0 at acpi0: PWRB
> acpibtn1 at acpi0: SLPB
> acpibtn2 at acpi0: LID0
> acpiac0 at acpi0: AC unit online
> acpibat0 at acpi0: BAT0 model "BAT" serial 0001 type LION oem "Notebook"
> "PNP0C14" at acpi0 not configured
> "INT340E" at acpi0 not configured
> acpivideo0 at acpi0: GFX0
> acpivout0 at acpivideo0: LCD0
> cpu0: Enhanced SpeedStep 3093 MHz: speeds: 2601, 2600, 2500, 2300, 2200,
> 2100, 2000, 1800, 1700, 1600, 1400, 1300, 1200, 1100, 900, 800 MHz
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "Intel Core 4G Host" rev 0x06
> ppb0 at pci0 dev 1 function 0 "Intel Core 4G PCIE" rev 0x06: msi
> pci1 at ppb0 bus 1
> inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 4600" rev 0x06
> drm0 at inteldrm0
> inteldrm0: msi
> inteldrm0: 1920x1080, 32bpp
> wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
> wsdisplay0: screen 1-5 added (std, vt100 emulation)
> azalia0 at pci0 dev 3 function 0 "Intel Core 4G HD Audio" rev 0x06: msi
> xhci0 at pci0 dev 20 function 0 "Intel 8 Series xHCI" rev 0x05: msi,
> xHCI 1.0
> usb0 at xhci0: USB revision 3.0
> uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev
> 3.00/1.00 addr 1
> "Intel 8 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
> ehci0 at pci0 dev 26 function 0 "Intel 8 Series USB" rev 0x05: apic 2 int 16
> usb1 at ehci0: USB revision 2.0
> uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev
> 2.00/1.00 addr 1
> azalia1 at pci0 dev 27 function 0 "Intel 8 Series HD Audio" rev 0x05: msi
> azalia1: codecs: VIA/0x8446
> audio0 at azalia1
> ppb1 at pci0 dev 28 function 0 "Intel 8 Series PCIE" rev 0xd5
> pci2 at ppb1 bus 2
> ppb2 at pci0 dev 28 function 2 "Intel 8 Series PCIE" rev 0xd5: msi
> pci3 at ppb2 bus 3
> iwm0 at pci3 dev 0 function 0 "Intel Dual Band Wireless AC 7260" rev
> 0xbb, msi
> ppb3 at pci0 dev 28 function 3 "Intel 8 Series PCIE" rev 0xd5: msi
> pci4 at ppb3 bus 4
> rtsx0 at pci4 dev 0 function 0 "Realtek RTL8411 Card Reader" rev 0x01: msi
> sdmmc0 at rtsx0: 4-bit, dma
> re0 at pci4 dev 0 function 2 "Realtek 8168" rev 0x0a: RTL8411 (0x4880),
> msi, address 80:fa:5b:14:87:b4
> rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 5
> ehci1 at pci0 dev 29 function 0 "Intel 8 Series USB" rev 0x05: apic 2 int 23
> usb2 at ehci1: USB revision 2.0
> uhub2 at usb2 configuration 1 interface 0 "Intel EHCI root hub" rev
> 2.00/1.00 addr 1
> pcib0 at pci0 dev 31 function 0 "Intel HM86 LPC" rev 0x05
> ahci0 at pci0 dev 31 function 2 "Intel 8 Series AHCI" rev 0x05: msi,
> AHCI 1.3
> ahci0: port 0: 1.5Gb/s
> ahci0: port 5: 6.0Gb/s
> scsibus1 at ahci0: 32 targets
> cd0 at scsibus1 targ 0 lun 0: <Optiarc, DVD RW AD-7740H, 1.00> ATAPI
> 5/cdrom removable
> sd0 at scsibus1 targ 5 lun 0: <ATA, Samsung SSD 850, EXM0> SCSI3
> 0/direct fixed naa.500253887007d4c5
> sd0: 976762MB, 512 bytes/sector, 2000409264 sectors, thin
> ichiic0 at pci0 dev 31 function 3 "Intel 8 Series SMBus" rev 0x05: apic
> 2 int 18
> iic0 at ichiic0
> iic0: addr 0x1a 00=00 01=00 02=00 03=00 04=00 05=c2 06=1b 07=0a 08=00
> 09=00 0a=00 0b=00 0c=00 0d=00 0e=00 0f=00 words 00=007f 01=0000 02=0000
> 03=0000 04=0000 05=c2be 06=1b09 07=0a01
> spdmem0 at iic0 addr 0x50: 8GB DDR3 SDRAM PC3-14200 SO-DIMM with thermal
> sensor
> spdmem1 at iic0 addr 0x52: 8GB DDR3 SDRAM PC3-14200 SO-DIMM with thermal
> sensor
> isa0 at pcib0
> isadma0 at isa0
> pckbc0 at isa0 port 0x60/5 irq 1 irq 12
> pckbd0 at pckbc0 (kbd slot)
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pms0 at pckbc0 (aux slot)
> wsmouse0 at pms0 mux 0
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> vmm0 at mainbus0: VMX/EPT
> uhub3 at uhub0 port 1 configuration 1 interface 0 "Genesys Logic USB2.0
> Hub" rev 2.00/9.01 addr 2
> uhidev0 at uhub3 port 1 configuration 1 interface 0 "Logitech Trackball"
> rev 1.10/2.20 addr 3
> uhidev0: iclass 3/1
> ums0 at uhidev0: 3 buttons, Z dir
> wsmouse1 at ums0 mux 0
> umass0 at uhub3 port 3 configuration 1 interface 0 "SMI Technology
> Intenso Micro Line" rev 2.00/10.00 addr 4
> umass0: using SCSI over Bulk-Only
> scsibus2 at umass0: 2 targets, initiator 0
> sd1 at scsibus2 targ 1 lun 0: <Intenso, Micro Line, > SCSI2 0/direct
> removable serial.090c1000090600003175
> sd1: 7450MB, 512 bytes/sector, 15257600 sectors
> uhidev1 at uhub3 port 4 configuration 1 interface 0 "Logitech USB
> Receiver" rev 2.00/12.01 addr 5
> uhidev1: iclass 3/1
> ukbd0 at uhidev1: 8 variable keys, 6 key codes
> wskbd1 at ukbd0 mux 1
> wskbd1: connecting to wsdisplay0
> uhidev2 at uhub3 port 4 configuration 1 interface 1 "Logitech USB
> Receiver" rev 2.00/12.01 addr 5
> uhidev2: iclass 3/1, 8 report ids
> ums1 at uhidev2 reportid 2: 16 buttons, Z and W dir
> wsmouse2 at ums1 mux 0
> uhid0 at uhidev2 reportid 3: input=4, output=0, feature=0
> uhid1 at uhidev2 reportid 4: input=1, output=0, feature=0
> uhid2 at uhidev2 reportid 8: input=1, output=0, feature=0
> uhidev3 at uhub3 port 4 configuration 1 interface 2 "Logitech USB
> Receiver" rev 2.00/12.01 addr 5
> uhidev3: iclass 3/0, 33 report ids
> uhid3 at uhidev3 reportid 16: input=6, output=6, feature=0
> uhid4 at uhidev3 reportid 17: input=19, output=19, feature=0
> uhid5 at uhidev3 reportid 32: input=14, output=14, feature=0
> uhid6 at uhidev3 reportid 33: input=31, output=31, feature=0
> uhub0: port 3, set config 0 at addr 6 failed
> uhub0: device problem, disabling port 3
> ugen0 at uhub0 port 7 "Intel product 0x07dc" rev 2.00/0.01 addr 6
> uhub4 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching
> Hub" rev 2.00/0.05 addr 2
> uhub5 at uhub2 port 1 configuration 1 interface 0 "Intel Rate Matching
> Hub" rev 2.00/0.05 addr 2
> vscsi0 at root
> scsibus3 at vscsi0: 256 targets
> softraid0 at root
> scsibus4 at softraid0: 256 targets
> sd2 at scsibus4 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006> SCSI2 0/direct fixed
> sd2: 976756MB, 512 bytes/sector, 2000397143 sectors
> root on sd2a (27a349ce45a3b091.a) swap on sd2b dump on sd2b
> iwm0: hw rev 0x140, fw ver 16.242414.0, address 7c:5c:f8:3b:80:99
> lock order reversal:
>  1st 0xffffffff81debf80 &sched_lock (&sched_lock) @
> /usr/src/sys/kern/kern_synch.c:444
>  2nd 0xffff8000001169f0 &dev_priv->uncore.lock (&dev_priv->uncore.lock)
> @ /usr/src/sys/dev/pci/drm/i915/intel_uncore.c:811
> lock order "&dev_priv->uncore.lock"(mutex) -> "&sched_lock"(sched_lock)
> first seen at:
> #0  witness_checkorder+0x4c0
> #1  ___mp_lock+0x70
> #2  schedclock+0x30
> #3  hardclock+0xe3
> #4  lapic_clockintr+0x3d
> #5  Xresume_lapic_ltimer+0x22
> #6  x86_bus_space_mem_read_4+0x14
> #7  gen6_read32+0x184
> #8  ironlake_irq_handler+0xb8b
> #9  intr_handler+0x74
> #10 Xintr_ioapic_edge17_untramp+0x166
> #11 Xspllower+0xc
> #12 _rw_enter+0x68
> #13 _rrw_enter+0x3e
> #14 VOP_LOCK+0x3d
> #15 vn_lock+0x34
> #16 spec_read+0xbb
> #17 VOP_READ+0x49
> #18 vn_read+0xca
> lock order "&sched_lock"(sched_lock) -> "&dev_priv->uncore.lock"(mutex)
> first seen at:
> #0  witness_checkorder+0x4c0
> #1  _mtx_enter+0x31
> #2  gen6_read32+0x8f
> #3  gen6_ring_get_seqno+0x3a
> #4  __i915_wait_request+0x232
> #5  i915_wait_request+0x97
> #6  i915_gem_object_wait_rendering+0x19c
> #7  i915_gem_object_sync+0x6c
> #8  i915_gem_object_pin_to_display_plane+0x2e
> #9  intel_pin_and_fence_fb_obj+0x1cd
> #10 intel_prepare_plane_fb+0xb4
> #11 drm_atomic_helper_prepare_planes+0x6b
> #12 intel_atomic_commit+0x52
> #13 drm_atomic_helper_set_config+0x80
> #14 drm_mode_setcrtc+0x36f
> #15 drm_do_ioctl+0x221
> #16 drmioctl+0xf9
> #17 VOP_IOCTL+0x5a
> #18 vn_ioctl+0x6b
> lock order reversal:
>  1st 0xffffffff81debf80 &sched_lock (&sched_lock) @
> /usr/src/sys/kern/kern_synch.c:444
>  2nd 0xffff80000011d270 &dev_priv->irq_lock (&dev_priv->irq_lock) @
> /usr/src/sys/dev/pci/drm/i915/intel_ringbuffer.c:1787
> lock order "&dev_priv->irq_lock"(mutex) -> "&sched_lock"(sched_lock)
> first seen at:
> #0  witness_checkorder+0x4c0
> #1  ___mp_lock+0x70
> #2  wakeup_n+0x39
> #3  task_add+0x93
> #4  gen6_rps_boost+0x129
> #5  __i915_wait_request+0x155
> #6  i915_gem_object_wait_rendering__nonblocking+0x1d6
> #7  i915_gem_set_domain_ioctl+0xdb
> #8  drm_do_ioctl+0x221
> #9  drmioctl+0xf9
> #10 VOP_IOCTL+0x5a
> #11 vn_ioctl+0x6b
> #12 sys_ioctl+0x477
> #13 syscall+0x32a
> #14 Xsyscall_untramp+0xe4
> lock order "&sched_lock"(sched_lock) -> "&dev_priv->irq_lock"(mutex)
> first seen at:
> #0  witness_checkorder+0x4c0
> #1  _mtx_enter+0x31
> #2  gen6_ring_put_irq+0x36
> #3  __i915_wait_request+0x367
> #4  i915_wait_request+0x97
> #5  i915_gem_object_wait_rendering+0x19c
> #6  i915_gem_object_sync+0x6c
> #7  i915_gem_object_pin_to_display_plane+0x2e
> #8  intel_pin_and_fence_fb_obj+0x1cd
> #9  intel_prepare_plane_fb+0xb4
> #10 drm_atomic_helper_prepare_planes+0x6b
> #11 intel_atomic_commit+0x52
> #12 drm_atomic_helper_set_config+0x80
> #13 drm_mode_setcrtc+0x36f
> #14 drm_do_ioctl+0x221
> #15 drmioctl+0xf9
> #16 VOP_IOCTL+0x5a
> #17 vn_ioctl+0x6b
> #18 sys_ioctl+0x477
> lock order reversal:
>  1st 0xffffff039f1e0198 vmmaplk (&map->lock) @
> /usr/src/sys/uvm/uvm_fault.c:1441
>  2nd 0xffff800000120138 drmdevlk (&dev->struct_mutex) @
> /usr/src/sys/dev/pci/drm/i915/i915_gem.c:1801
> lock order "&dev->struct_mutex"(rwlock) -> "&map->lock"(rwlock) first
> seen at:
> #0  witness_checkorder+0x4c0
> #1  _rw_enter+0x68
> #2  vm_map_lock_ln+0xbc
> #3  uvm_map+0x1a1
> #4  uvm_km_valloc+0x6c
> #5  vmap+0x36
> #6  vmap_batch+0xeb
> #7  i915_parse_cmds+0x15d
> #8  i915_gem_execbuffer2+0x1032
> #9  drm_do_ioctl+0x221
> #10 drmioctl+0xf9
> #11 VOP_IOCTL+0x5a
> #12 vn_ioctl+0x6b
> #13 sys_ioctl+0x477
> #14 syscall+0x32a
> #15 Xsyscall_untramp+0xe4
> lock order "&map->lock"(rwlock) -> "&dev->struct_mutex"(rwlock) first
> seen at:
> #0  witness_checkorder+0x4c0
> #1  _rw_enter_write+0x53
> #2  i915_gem_object_wait_rendering__nonblocking+0x1fa
> #3  i915_gem_fault+0x144
> #4  drm_fault+0x18a
> #5  uvm_fault+0x743
> #6  pageflttrap+0x14c
> #7  trap+0x2b6
> #8  recall_trap+0x8
>

Reply | Threaded
Open this post in threaded view
|

Re: Softraid0-Problem: Inappropriate file type or format (Was: KDE-apps okular, kmahjongg)

Stefan Wollny-2
Am 06/28/18 um 23:49 schrieb Stefan Wollny:

> Hi there!
>
> Unfortunately I have to hijack my own thread as it has the last working dmesg.
>
> Right after I had asked on misc@ about those KDE-apps I upgraded to the latest snapshot for amd64-current. By this I was hit by the "libxshmfence.so.0.0-issue".
> https://marc.info/?l=openbsd-tech&m=153003604704089&w=2
>
> Well - running -current is usually rock-solid, but I am well aware that every now-and-then things might go wrong and will be corrected by the devs with the next snapshot (or the one thereafter). Happens remarkably seldom but obviously here I had to make use of the next snapshot, which I did: Wham! I cannot log-in to the system any more!
>
> "booting sr0a:/bsd: sr0a:/bsd: Inappropriate file type or format
>  failed(79). will try /bsd"
>
> Yes - this system is fully encrypted, secured by a key-disk. I have dd'ed two more copies of this key, both behave the same. Thus I dare to suppose that there is no technical issue with the key (in particular as the other two USB-keys have not been attached at the time of the last upgrade).
>
> Most likely I did unknowingly s.th. really dumb.
>
> OK - how to proceed? Yes - I am lucky having backed up the relevant data the night before. My fallback solution is to simply reinstall everything. Annoying, as it will take a little time, but I will survive.
>
> My question is, as I can boot into 'bsd.rd', what alternative(s) I have to
> '# bioctl -c C -k /dev/sd1a -l /sd0a softraid0'
> softraid0: chunk sd0a already in use
>
> bsd.rd-dmesg shows at the end sd1 being the USB-key-disk and sd2 being the unencrypted OpenBSD-crypto-file, thus I used sd0 with 'bioctl'.
>
> Anyone a clue what might have gone wrong and how to proceed (except reinstallation)?
>
> TIA!
>
> Best,
> STEFAN
>

For the records:
After some more reading of man-pages, the OpenBSD FAQ and some other
sites by the devs I realized that nothing is wrong with softraid(0) as
the encrypted disk (sd0) shows up as sd2. This 'disk' is accessible via
bsd.rd.

All that needed to be done was fsck'ing the partitions (/usr needed
help) and updating the system via bsd.rd to be back in business.

Another fine example that it takes a lot to wreck OpenBSD, actually.
To all devs: THANK YOU!

Best,
STEFAN

Reply | Threaded
Open this post in threaded view
|

Re: KDE-apps okular, kmahjongg

Stefan Wollny-2
In reply to this post by Stefan Wollny-2


Am 06/25/18 um 22:36 schrieb Stefan Wollny:

> Hi there,
>
> I run amd64-current with the latest public snapshots:
> $ dmesg | grep Open
> OpenBSD 6.3-current (GENERIC.MP) #52: Sun Jun 24 09:59:46 MDT 2018
> < Full dmesg at the end >
>
> Although I try to follow reading src-changes and topics on misc@ as
> close as possible I might have missed something lately. Until a few days
> ago okular and kmahjongg came up without a comment. Now I cannot start
> them (havn't tried other KDE apps)
>
>
> $ okular
> okular(68871)/kdeui (kdelibs): Session bus not found
> To circumvent this problem try the following command (with Linux and bash)
> export $(dbus-launch)
> KCrash: Application 'okular' crashing...
> KCrash: Attempting to start /usr/local/libexec/drkonqi from kdeinit
> KCrash: Connect
> sock_file=/home/sw/.kde4/socket-asterix.fritz.box/kdeinit4__0
> Warning: connect() failed: : No such file or directory
> KCrash: Attempting to start /usr/local/libexec/drkonqi directly
> drkonqi(78427)/kdeui (kdelibs): Session bus not found
> To circumvent this problem try the following command (with Linux and bash)
> export $(dbus-launch)
>
> ~ $ kmahjongg
> kmahjongg(43798)/kdeui (kdelibs): Session bus not found
> To circumvent this problem try the following command (with Linux and bash)
> export $(dbus-launch)
> KCrash: Application 'kmahjongg' crashing...
> KCrash: Attempting to start /usr/local/libexec/drkonqi from kdeinit
> KCrash: Connect
> sock_file=/home/sw/.kde4/socket-asterix.fritz.box/kdeinit4__0
> Warning: connect() failed: : No such file or directory
> KCrash: Attempting to start /usr/local/libexec/drkonqi directly
> drkonqi(34562)/kdeui (kdelibs): Session bus not found
> To circumvent this problem try the following command (with Linux and bash)
> export $(dbus-launch)
>
> What did I miss / what am I doing wrong here?
>
> In /etc/rc.conf.local I have:
> pkg_scripts=freshclam clamd messagebus avahi_daemon cupsd smartd
> cups_browsed
>
> (cups isn't working for a looong time but that should be a different thread)
>
> Anyone got a clue what might be wrong with my system or what knob to
> turn? Or is this just a temporary annnoyance that ought to go away in a
> short time?
>
> TIA.
>
> Best,
> STEFAN
>
>

Now that I am back in business having updated the system (new dmesg at
the end) and all installed packages I tried again ... yet neither
kmahjongg nor okular are working:

~ $ pkg_info | grep kmah
kmahjongg-4.14.3p3  Mah Jongg solitare board game for KDE
libkmahjongg-4.14.3p1 common library for Mah Jongg-based KDE games

~ $ pkg_info | grep oku
libmusicbrainz5-5.0.1p4 library for audio metadata lookup (v5)
okular-4.14.3p7     KDE document viewer

~ $ kmahjongg
kmahjongg(25428)/kdeui (kdelibs): Session bus not found
To circumvent this problem try the following command (with Linux and bash)
export $(dbus-launch)
KCrash: Application 'kmahjongg' crashing...
KCrash: Attempting to start /usr/local/libexec/drkonqi from kdeinit
KCrash: Connect
sock_file=/home/sw/.kde4/socket-asterix.fritz.box/kdeinit4__0
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start /usr/local/libexec/drkonqi directly
drkonqi(30570)/kdeui (kdelibs): Session bus not found
To circumvent this problem try the following command (with Linux and bash)
export $(dbus-launch)

~ $ okular
okular(31187)/kdeui (kdelibs): Session bus not found
To circumvent this problem try the following command (with Linux and bash)
export $(dbus-launch)
KCrash: Application 'okular' crashing...
KCrash: Attempting to start /usr/local/libexec/drkonqi from kdeinit
KCrash: Connect
sock_file=/home/sw/.kde4/socket-asterix.fritz.box/kdeinit4__0
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start /usr/local/libexec/drkonqi directly
drkonqi(23688)/kdeui (kdelibs): Session bus not found
To circumvent this problem try the following command (with Linux and bash)
export $(dbus-launch)


~ $ doas rcctl ls started
apmd
avahi_daemon
clamd
cron
cups_browsed
cupsd
freshclam
messagebus
ntpd
pflogd
postgresql
sensorsd
slaacd
smartd
smtpd
sndiod
sshd
syslogd


Has anyone a clue what might be missing? Wrong permissions?

Any hint welcome. TIA!

Best,
STEFAN


OpenBSD 6.3-current (GENERIC.MP) #82: Sun Jul  1 15:37:34 MDT 2018
    [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 17079074816 (16287MB)
avail mem = 16552341504 (15785MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb500 (35 entries)
bios0: vendor American Megatrends Inc. version "1.03.06" date 06/25/2014
bios0: Notebook W65_67SZ
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT ASF! SSDT SSDT SSDT MCFG HPET SSDT
SSDT SSDT DMAR
acpi0: wakeup devices PXSX(S4) RP01(S4) PXSX(S4) PXSX(S4) RP03(S4)
PXSX(S4) RP04(S4) PXSX(S4) PXSX(S4) PXSX(S4) PXSX(S4) GLAN(S4) EHC1(S3)
EHC2(S3) XHC_(S3) HDEF(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3093.35 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,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 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.84 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,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-4210M CPU @ 2.60GHz, 3092.84 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,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-4210M CPU @ 2.60GHz, 3092.84 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (RP01)
acpiprt2 at acpi0: bus 3 (RP03)
acpiprt3 at acpi0: bus 4 (RP04)
acpiprt4 at acpi0: bus 1 (P0P2)
acpiprt5 at acpi0: bus -1 (P0PA)
acpiprt6 at acpi0: bus -1 (P0PB)
acpiprt7 at acpi0: bus 1 (PEG0)
acpiec0 at acpi0
acpicpu0 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpitz0 at acpi0: critical temperature is 120 degC
acpicmos0 at acpi0
"INT3F0D" at acpi0 not configured
"MSFT0001" at acpi0 not configured
"ETD0403" at acpi0 not configured
"PNPC000" at acpi0 not configured
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: SLPB
acpibtn2 at acpi0: LID0
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 model "BAT" serial 0001 type LION oem "Notebook"
"PNP0C14" at acpi0 not configured
"INT340E" at acpi0 not configured
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: LCD0
cpu0: Enhanced SpeedStep 3093 MHz: speeds: 2601, 2600, 2500, 2300, 2200,
2100, 2000, 1800, 1700, 1600, 1400, 1300, 1200, 1100, 900, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 4G Host" rev 0x06
ppb0 at pci0 dev 1 function 0 "Intel Core 4G PCIE" rev 0x06: msi
pci1 at ppb0 bus 1
inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 4600" rev 0x06
drm0 at inteldrm0
inteldrm0: msi
inteldrm0: 1920x1080, 32bpp
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
azalia0 at pci0 dev 3 function 0 "Intel Core 4G HD Audio" rev 0x06: msi
xhci0 at pci0 dev 20 function 0 "Intel 8 Series xHCI" rev 0x05: msi,
xHCI 1.0
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev
3.00/1.00 addr 1
"Intel 8 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
ehci0 at pci0 dev 26 function 0 "Intel 8 Series USB" rev 0x05: apic 2 int 16
usb1 at ehci0: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev
2.00/1.00 addr 1
azalia1 at pci0 dev 27 function 0 "Intel 8 Series HD Audio" rev 0x05: msi
azalia1: codecs: VIA/0x8446
audio0 at azalia1
ppb1 at pci0 dev 28 function 0 "Intel 8 Series PCIE" rev 0xd5
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 2 "Intel 8 Series PCIE" rev 0xd5: msi
pci3 at ppb2 bus 3
iwm0 at pci3 dev 0 function 0 "Intel Dual Band Wireless AC 7260" rev
0xbb, msi
ppb3 at pci0 dev 28 function 3 "Intel 8 Series PCIE" rev 0xd5: msi
pci4 at ppb3 bus 4
rtsx0 at pci4 dev 0 function 0 "Realtek RTL8411 Card Reader" rev 0x01: msi
sdmmc0 at rtsx0: 4-bit, dma
re0 at pci4 dev 0 function 2 "Realtek 8168" rev 0x0a: RTL8411 (0x4880),
msi, address 80:fa:5b:14:87:b4
rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 5
ehci1 at pci0 dev 29 function 0 "Intel 8 Series USB" rev 0x05: apic 2 int 23
usb2 at ehci1: USB revision 2.0
uhub2 at usb2 configuration 1 interface 0 "Intel EHCI root hub" rev
2.00/1.00 addr 1
pcib0 at pci0 dev 31 function 0 "Intel HM86 LPC" rev 0x05
ahci0 at pci0 dev 31 function 2 "Intel 8 Series AHCI" rev 0x05: msi,
AHCI 1.3
ahci0: port 0: 1.5Gb/s
ahci0: port 5: 6.0Gb/s
scsibus1 at ahci0: 32 targets
cd0 at scsibus1 targ 0 lun 0: <Optiarc, DVD RW AD-7740H, 1.00> ATAPI
5/cdrom removable
sd0 at scsibus1 targ 5 lun 0: <ATA, Samsung SSD 850, EXM0> SCSI3
0/direct fixed naa.500253887007d4c5
sd0: 976762MB, 512 bytes/sector, 2000409264 sectors, thin
ichiic0 at pci0 dev 31 function 3 "Intel 8 Series SMBus" rev 0x05: apic
2 int 18
iic0 at ichiic0
iic0: addr 0x1a 00=00 01=00 02=00 03=00 04=00 05=c2 06=1b 07=0a 08=00
09=00 0a=00 0b=00 0c=00 0d=00 0e=00 0f=00 words 00=007f 01=0000 02=0000
03=0000 04=0000 05=c29a 06=1b09 07=0a01
spdmem0 at iic0 addr 0x50: 8GB DDR3 SDRAM PC3-14200 SO-DIMM with thermal
sensor
spdmem1 at iic0 addr 0x52: 8GB DDR3 SDRAM PC3-14200 SO-DIMM with thermal
sensor
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
vmm0 at mainbus0: VMX/EPT
uhub3 at uhub0 port 1 configuration 1 interface 0 "Genesys Logic USB2.0
Hub" rev 2.00/9.01 addr 2
uhidev0 at uhub3 port 1 configuration 1 interface 0 "Logitech Trackball"
rev 1.10/2.20 addr 3
uhidev0: iclass 3/1
ums0 at uhidev0: 3 buttons, Z dir
wsmouse1 at ums0 mux 0
uhidev1 at uhub3 port 4 configuration 1 interface 0 "Logitech USB
Receiver" rev 2.00/12.01 addr 4
uhidev1: iclass 3/1
ukbd0 at uhidev1: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev2 at uhub3 port 4 configuration 1 interface 1 "Logitech USB
Receiver" rev 2.00/12.01 addr 4
uhidev2: iclass 3/1, 8 report ids
ums1 at uhidev2 reportid 2: 16 buttons, Z and W dir
wsmouse2 at ums1 mux 0
uhid0 at uhidev2 reportid 3: input=4, output=0, feature=0
uhid1 at uhidev2 reportid 4: input=1, output=0, feature=0
uhid2 at uhidev2 reportid 8: input=1, output=0, feature=0
uhidev3 at uhub3 port 4 configuration 1 interface 2 "Logitech USB
Receiver" rev 2.00/12.01 addr 4
uhidev3: iclass 3/0, 33 report ids
uhid3 at uhidev3 reportid 16: input=6, output=6, feature=0
uhid4 at uhidev3 reportid 17: input=19, output=19, feature=0
uhid5 at uhidev3 reportid 32: input=14, output=14, feature=0
uhid6 at uhidev3 reportid 33: input=31, output=31, feature=0
umass0 at uhub0 port 3 configuration 1 interface 0 "SMI Technology
Intenso Micro Line" rev 2.00/10.00 addr 5
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
sd1 at scsibus2 targ 1 lun 0: <Intenso, Micro Line, > SCSI2 0/direct
removable serial.090c1000090600003175
sd1: 7450MB, 512 bytes/sector, 15257600 sectors
ugen0 at uhub0 port 7 "Intel product 0x07dc" rev 2.00/0.01 addr 6
uhub4 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching
Hub" rev 2.00/0.05 addr 2
uhub5 at uhub2 port 1 configuration 1 interface 0 "Intel Rate Matching
Hub" rev 2.00/0.05 addr 2
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
sd2 at scsibus4 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006> SCSI2 0/direct fixed
sd2: 976756MB, 512 bytes/sector, 2000397143 sectors
root on sd2a (27a349ce45a3b091.a) swap on sd2b dump on sd2b
iwm0: hw rev 0x140, fw ver 16.242414.0, address 7c:5c:f8:3b:80:99

Reply | Threaded
Open this post in threaded view
|

Re: KDE-apps okular, kmahjongg

Stefan Wollny-2
Am 07/02/18 um 09:43 schrieb Stefan Wollny:

>
>
> Am 06/25/18 um 22:36 schrieb Stefan Wollny:
>> Hi there,
>>
>> I run amd64-current with the latest public snapshots:
>> $ dmesg | grep Open
>> OpenBSD 6.3-current (GENERIC.MP) #52: Sun Jun 24 09:59:46 MDT 2018
>> < Full dmesg at the end >
>>
>> Although I try to follow reading src-changes and topics on misc@ as
>> close as possible I might have missed something lately. Until a few days
>> ago okular and kmahjongg came up without a comment. Now I cannot start
>> them (havn't tried other KDE apps)
>>
>>
>> $ okular
>> okular(68871)/kdeui (kdelibs): Session bus not found
>> To circumvent this problem try the following command (with Linux and bash)
>> export $(dbus-launch)
>> KCrash: Application 'okular' crashing...
>> KCrash: Attempting to start /usr/local/libexec/drkonqi from kdeinit
>> KCrash: Connect
>> sock_file=/home/sw/.kde4/socket-asterix.fritz.box/kdeinit4__0
>> Warning: connect() failed: : No such file or directory
>> KCrash: Attempting to start /usr/local/libexec/drkonqi directly
>> drkonqi(78427)/kdeui (kdelibs): Session bus not found
>> To circumvent this problem try the following command (with Linux and bash)
>> export $(dbus-launch)
>>
>> ~ $ kmahjongg
>> kmahjongg(43798)/kdeui (kdelibs): Session bus not found
>> To circumvent this problem try the following command (with Linux and bash)
>> export $(dbus-launch)
>> KCrash: Application 'kmahjongg' crashing...
>> KCrash: Attempting to start /usr/local/libexec/drkonqi from kdeinit
>> KCrash: Connect
>> sock_file=/home/sw/.kde4/socket-asterix.fritz.box/kdeinit4__0
>> Warning: connect() failed: : No such file or directory
>> KCrash: Attempting to start /usr/local/libexec/drkonqi directly
>> drkonqi(34562)/kdeui (kdelibs): Session bus not found
>> To circumvent this problem try the following command (with Linux and bash)
>> export $(dbus-launch)
>>
>> What did I miss / what am I doing wrong here?
>>
>> In /etc/rc.conf.local I have:
>> pkg_scripts=freshclam clamd messagebus avahi_daemon cupsd smartd
>> cups_browsed
>>
>> (cups isn't working for a looong time but that should be a different thread)
>>
>> Anyone got a clue what might be wrong with my system or what knob to
>> turn? Or is this just a temporary annnoyance that ought to go away in a
>> short time?
>>
>> TIA.
>>
>> Best,
>> STEFAN
>>
>>
>
> Now that I am back in business having updated the system (new dmesg at
> the end) and all installed packages I tried again ... yet neither
> kmahjongg nor okular are working:
>
> ~ $ pkg_info | grep kmah
> kmahjongg-4.14.3p3  Mah Jongg solitare board game for KDE
> libkmahjongg-4.14.3p1 common library for Mah Jongg-based KDE games
>
> ~ $ pkg_info | grep oku
> libmusicbrainz5-5.0.1p4 library for audio metadata lookup (v5)
> okular-4.14.3p7     KDE document viewer
>
> ~ $ kmahjongg
> kmahjongg(25428)/kdeui (kdelibs): Session bus not found
> To circumvent this problem try the following command (with Linux and bash)
> export $(dbus-launch)
> KCrash: Application 'kmahjongg' crashing...
> KCrash: Attempting to start /usr/local/libexec/drkonqi from kdeinit
> KCrash: Connect
> sock_file=/home/sw/.kde4/socket-asterix.fritz.box/kdeinit4__0
> Warning: connect() failed: : No such file or directory
> KCrash: Attempting to start /usr/local/libexec/drkonqi directly
> drkonqi(30570)/kdeui (kdelibs): Session bus not found
> To circumvent this problem try the following command (with Linux and bash)
> export $(dbus-launch)
>
> ~ $ okular
> okular(31187)/kdeui (kdelibs): Session bus not found
> To circumvent this problem try the following command (with Linux and bash)
> export $(dbus-launch)
> KCrash: Application 'okular' crashing...
> KCrash: Attempting to start /usr/local/libexec/drkonqi from kdeinit
> KCrash: Connect
> sock_file=/home/sw/.kde4/socket-asterix.fritz.box/kdeinit4__0
> Warning: connect() failed: : No such file or directory
> KCrash: Attempting to start /usr/local/libexec/drkonqi directly
> drkonqi(23688)/kdeui (kdelibs): Session bus not found
> To circumvent this problem try the following command (with Linux and bash)
> export $(dbus-launch)
>
>
> ~ $ doas rcctl ls started
> apmd
> avahi_daemon
> clamd
> cron
> cups_browsed
> cupsd
> freshclam
> messagebus
> ntpd
> pflogd
> postgresql
> sensorsd
> slaacd
> smartd
> smtpd
> sndiod
> sshd
> syslogd
>
>
> Has anyone a clue what might be missing? Wrong permissions?
>
> Any hint welcome. TIA!
>

OK - I found a solution (though I still do not understand what has changed):

Somehow the dbus-daemon is not recognized although started as 'rcctl ls
started' shows. And

$ cat /var/log/daemon | grep dbus
[ ... ]
Jul  3 09:39:34 asterix dbus-daemon[56322]: [system] Activating service
name='org.freedesktop.ColorManager' requested by ':1.1' (uid=0 pid=34041
comm="/usr/local/sbin/cupsd -C /etc/cups/cupsd.conf -s /") (using
servicehelper)
Jul  3 09:39:34 asterix dbus-daemon[56322]: [system] Successfully
activated service 'org.freedesktop.ColorManager'
Jul  3 09:42:04 asterix dbus-daemon[56322]: [system] Activating service
name='org.freedesktop.GeoClue2' requested by ':1.5' (uid=1000 pid=62929
comm="redshift") (using servicehelper)
Jul  3 09:42:04 asterix dbus-daemon[56322]: [system] Successfully
activated service 'org.freedesktop.GeoClue2'

Frustrated I ignored the hint on Linux and (as unpriviledged user) did
'export $(dbus-launch)' in a xterm. Et voila: kmahjongg and okular come
up if started from this very xterm - and only from this one.

Finally I added 'export $(dbus-launch)' to .xinitrc (plus kdeinit4) and
those KDE apps now do get started as they did until last week.

Is this expected behaviour? I didn't find anything related to this in
the man pages or the FAQ - if it is could s.o. please point my sore eyes
to the relevant documentation?

Thank you for your patience.

Best,
STEFAN

Reply | Threaded
Open this post in threaded view
|

Re: KDE-apps okular, kmahjongg

Stuart Henderson
On 2018-07-04, Stefan Wollny <[hidden email]> wrote:
> Somehow the dbus-daemon is not recognized although started as 'rcctl ls
> started' shows. And

That is a system dbus-daemon but you didn't have a session dbus-daemon.

> Finally I added 'export $(dbus-launch)' to .xinitrc (plus kdeinit4) and
> those KDE apps now do get started as they did until last week.
>
> Is this expected behaviour? I didn't find anything related to this in
> the man pages or the FAQ - if it is could s.o. please point my sore eyes
> to the relevant documentation?

There was a fallback in the dbus port for the case where the session bus
was missing, it was removed for a bit, but it seems few people bother
to read the dbus pkg-readme and most software which needs it doesn't
fail with a very informative error message, so it has gone back in
for now...

The fallback is not great because it means that each program wanting
to use dbus has its own separate session bus - there's only supposed to
be a single one.

You are supposed to run the session bus like this:

$ cat /usr/local/share/doc/pkg-readmes/dbus-*                                                
$OpenBSD: README-main,v 1.3 2017/11/01 06:27:31 ajacoutot Exp $

+-----------------------------------------------------------------------
| Running dbus-1.12.8p0v0 on OpenBSD
+-----------------------------------------------------------------------

To start a session bus instance of dbus-daemon (needed by applications
installing /usr/local/share/dbus-1/services/*.service files), add the
following lines to your Xsession script before starting the window manager
(see dbus-launch(1) for more info) -- note that some session/login managers,
like gnome-session(1) already handle this automatically.

e.g. console login: ~/.xinitrc
if [ -x /usr/local/bin/dbus-launch -a -z "${DBUS_SESSION_BUS_ADDRESS}" ]; then
        eval `dbus-launch --sh-syntax --exit-with-session`
fi

e.g. graphical display manager: ~/.xsession
if [ -x /usr/local/bin/dbus-launch -a -z "${DBUS_SESSION_BUS_ADDRESS}" ]; then
        eval `dbus-launch --sh-syntax --exit-with-x11`
fi


Reply | Threaded
Open this post in threaded view
|

Re: KDE-apps okular, kmahjongg

Stefan Wollny-2
Am 07/04/18 um 16:13 schrieb Stuart Henderson:

> On 2018-07-04, Stefan Wollny <[hidden email]> wrote:
>> Somehow the dbus-daemon is not recognized although started as 'rcctl ls
>> started' shows. And
>
> That is a system dbus-daemon but you didn't have a session dbus-daemon.
>
>> Finally I added 'export $(dbus-launch)' to .xinitrc (plus kdeinit4) and
>> those KDE apps now do get started as they did until last week.
>>
>> Is this expected behaviour? I didn't find anything related to this in
>> the man pages or the FAQ - if it is could s.o. please point my sore eyes
>> to the relevant documentation?
>
> There was a fallback in the dbus port for the case where the session bus
> was missing, it was removed for a bit, but it seems few people bother
> to read the dbus pkg-readme and most software which needs it doesn't
> fail with a very informative error message, so it has gone back in
> for now...
>
> The fallback is not great because it means that each program wanting
> to use dbus has its own separate session bus - there's only supposed to
> be a single one.
>
> You are supposed to run the session bus like this:
>
> $ cat /usr/local/share/doc/pkg-readmes/dbus-*                                                
> $OpenBSD: README-main,v 1.3 2017/11/01 06:27:31 ajacoutot Exp $
>
> +-----------------------------------------------------------------------
> | Running dbus-1.12.8p0v0 on OpenBSD
> +-----------------------------------------------------------------------
>
> To start a session bus instance of dbus-daemon (needed by applications
> installing /usr/local/share/dbus-1/services/*.service files), add the
> following lines to your Xsession script before starting the window manager
> (see dbus-launch(1) for more info) -- note that some session/login managers,
> like gnome-session(1) already handle this automatically.
>
> e.g. console login: ~/.xinitrc
> if [ -x /usr/local/bin/dbus-launch -a -z "${DBUS_SESSION_BUS_ADDRESS}" ]; then
>         eval `dbus-launch --sh-syntax --exit-with-session`
> fi
>
> e.g. graphical display manager: ~/.xsession
> if [ -x /usr/local/bin/dbus-launch -a -z "${DBUS_SESSION_BUS_ADDRESS}" ]; then
>         eval `dbus-launch --sh-syntax --exit-with-x11`
> fi
>
>

Thank you, Stuart! Excellent explanation and precise help, right to the
point!