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 > dera...@amd64.openbsd.org:/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 >