[no subject]
>Synopsis: >Category: >Environment: System : OpenBSD 6.6 Details : OpenBSD 6.6 (GENERIC.MP) #3: Thu Nov 21 03:20:01 MST 2019 r...@syspatch-66-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP Architecture: OpenBSD.amd64 Machine : amd64 >Description: >How-To-Repeat: >Fix: dmesg: OpenBSD 6.6 (GENERIC.MP) #3: Thu Nov 21 03:20:01 MST 2019 r...@syspatch-66-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 1975635968 (1884MB) avail mem = 1903104000 (1814MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xecdc0 (52 entries) bios0: vendor American Megatrends Inc. version "5.11" date 11/20/2015 bios0: ECS BSWI-D2 acpi0 at bios0: ACPI 5.0 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC FPDT FIDT MCFG SSDT SSDT SSDT UEFI LPIT CSRT acpi0: wakeup devices XHC1(S4) HDEF(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PXSX(S4) PWRB(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) Celeron(R) CPU N3050 @ 1.60GHz, 1600.31 MHz, 06-4c-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,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,TSC_ADJUST,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN cpu0: 1MB 64b/line 16-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 79MHz cpu0: mwait min=64, max=64, C-substates=0.2.0.0.0.0.3.3, IBE cpu1 at mainbus0: apid 4 (application processor) cpu1: Intel(R) Celeron(R) CPU N3050 @ 1.60GHz, 1600.02 MHz, 06-4c-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,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,TSC_ADJUST,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN cpu1: 1MB 64b/line 16-way L2 cache cpu1: smt 0, core 2, package 0 ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 115 pins acpimcfg0 at acpi0 acpimcfg0: addr 0xe000, bus 0-255 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (RP01) acpiprt2 at acpi0: bus -1 (RP02) acpiprt3 at acpi0: bus -1 (RP03) acpiprt4 at acpi0: bus 2 (RP04) acpiec0 at acpi0: not present acpicpu0 at acpi0: C3(10@1000 mwait.1@0x64), C2(10@500 mwait.1@0x58), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: C3(10@1000 mwait.1@0x64), C2(10@500 mwait.1@0x58), C1(1000@1 mwait.1), PSS acpipwrres0 at acpi0: USBC, resource for XHC1 acpicmos0 at acpi0 acpipci0 at acpi0 PCI0: 0x 0x0011 0x0001 acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: SLPB "PNP0C14" at acpi0 not configured acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: DD1F cpu0: using VERW MDS workaround cpu0: Enhanced SpeedStep 1600 MHz: speeds: 1601, 1600, 1520, 1440, 1360, 1280, 1200, 1120, 1040, 960, 880, 800, 720, 640, 560, 480 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Braswell Host" rev 0x21 inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics" rev 0x21 drm0 at inteldrm0 inteldrm0: msi ahci0 at pci0 dev 19 function 0 "Intel Braswell AHCI" rev 0x21: msi, AHCI 1.3.1 ahci0: PHY offline on port 0 ahci0: port 1: 6.0Gb/s scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 1 lun 0: naa.50026b7763068799 sd0: 114473MB, 512 bytes/sector, 234441648 sectors, thin xhci0 at pci0 dev 20 function 0 "Intel Braswell xHCI" rev 0x21: 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 Braswell TXE" rev 0x21 at pci0 dev 26 function 0 not configured azalia0 at pci0 dev 27 function 0 "Intel Braswell HD Audio" rev 0x21: msi azalia0: codecs: Realtek ALC662, Intel/0x2883, using Realtek ALC662 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 "Intel Braswell PCIE" rev 0x21: msi pci1 at ppb0 bus 1 ppb1 at pci0 dev 28 function 3 "Intel Braswell PCIE" rev 0x21: msi pci2 at ppb1 bus 2 re0 at pci2 dev 0 function 0 "Realtek 8168" rev 0x15: RTL8168H/8111H (0x5400), msi, address f4:4d:30:41:0f:b8 rgephy0 at re0 phy 7: RTL8251 PHY, rev. 0 pcib0 at pci0 dev 31 function 0 "Intel Braswell PCU LPC" rev 0x21 ichiic0 at pci0 dev 31 function 3 "Intel Braswell SMBus" rev 0x21: apic 1 int 18 iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-12800 SO-DIMM isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 irq 1 irq 12 pckbd0 at pckbc0 (kbd slot) wskbd0 at pckbd0 mux 1 pcppi0 at isa0 port 0x61 spkr0 at pcppi0
Syzkaller witness reports locking order issue
Unsure if this ever got through. -- Forwarded message - From: Date: Wed., 11 Dec. 2019, 12:15 Subject: Syzkaller witness reports locking order issue To: Cc: >Synopsis: Witness reports locking order issue pwritev/mmap/mlock >Category: system >Environment: System : OpenBSD 6.6 Details : OpenBSD 6.6-current (GENERIC.MP) #509: Tue Dec 3 19:03:47 MST 2019 dera...@amd64.openbsd.org: /usr/src/sys/arch/amd64/compile/GENERIC.MP Architecture: OpenBSD.amd64 Machine : amd64 >Description: Found from running the syzkaller against the OpenBSD kernel. login: witness: lock order reversal: 1st 0xfd80294d0e90 vmmaplk (>lock) 2nd 0xfd801e2d90a8 inode (>i_lock) lock order ">i_lock"(rrwlock) -> ">lock"(rwlock) first seen at: #0 witness_checkorder+0x69c witness_lock_order_check usr/src/sys/kern/subr_witness.c:2441 [inline] #0 witness_checkorder+0x69c usr/src/sys/kern/subr_witness.c:872 #1 rw_enter+0xd4 #2 vm_map_lock_ln+0x10d usr/src/sys/uvm/uvm_map.c:5397 #3 uvm_map+0x2da usr/src/sys/uvm/uvm_map.c:1226 #4 km_alloc+0x18b usr/src/sys/uvm/uvm_km.c:908 #5 pool_multi_alloc_ni+0xd0 usr/src/sys/kern/subr_pool.c:1692 #6 pool_p_alloc+0x74 pool_allocator_alloc usr/src/sys/kern/subr_pool.c:1606 [inline] #6 pool_p_alloc+0x74 usr/src/sys/kern/subr_pool.c:927 #7 pool_do_get+0x10f usr/src/sys/kern/subr_pool.c:712 #8 pool_get+0xeb usr/src/sys/kern/subr_pool.c:581 #9 ufsdirhash_build+0x3ea usr/src/sys/ufs/ufs/ufs_dirhash.c:180 #10 ufs_lookup+0x2a1 usr/src/sys/ufs/ufs/ufs_lookup.c:200 #11 VOP_LOOKUP+0x5b usr/src/sys/kern/vfs_vops.c:91 #12 vfs_lookup+0x7a6 usr/src/sys/kern/vfs_lookup.c:568 #13 namei+0x63c usr/src/sys/kern/vfs_lookup.c:249 #14 start_init+0xc9 check_console usr/src/sys/kern/init_main.c:596 [inline] #14 start_init+0xc9 usr/src/sys/kern/init_main.c:636 #15 proc_trampoline+0x1c lock order ">lock"(rwlock) -> ">i_lock"(rrwlock) first seen at: #0 witness_checkorder+0x69c witness_lock_order_check usr/src/sys/kern/subr_witness.c:2441 [inline] #0 witness_checkorder+0x69c usr/src/sys/kern/subr_witness.c:872 #1 rw_enter+0xd4 #2 rrw_enter+0x88 usr/src/sys/kern/kern_rwlock.c:453 #3 VOP_LOCK+0xf0 usr/src/sys/kern/vfs_vops.c:615 #4 vn_lock+0x81 usr/src/sys/kern/vfs_vnops.c:571 #5 uvn_io+0x2c8 usr/src/sys/uvm/uvm_vnode.c:1189 #6 uvn_get+0x226 usr/src/sys/uvm/uvm_vnode.c:1049 #7 uvm_fault+0x11cc usr/src/sys/uvm/uvm_fault.c:1023 #8 uvm_fault_wire+0x70 usr/src/sys/uvm/uvm_fault.c:1295 #9 uvm_map_pageable_wire+0x2dd usr/src/sys/uvm/uvm_map.c:2349 #10 sys_mlock+0x185 usr/src/sys/uvm/uvm_mmap.c:765 #11 syscall+0x4a4 mi_syscall usr/src/sys/sys/syscall_mi.h:92 [inline] #11 syscall+0x4a4 usr/src/sys/arch/amd64/amd64/trap.c:555 #12 Xsyscall+0x128 Stopped at db_enter+0x18: addq$0x8,%rsp ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic the kernel did not panic ddb{0}> trace db_enter() at db_enter+0x18 usr/src/sys/arch/amd64/amd64/db_interface.c:398 witness_checkorder(fd801e2d90a8,9,0) at witness_checkorder+0x1009 witness_debugger usr/src/sys/kern/subr_witness.c:2504 [inline] witness_checkorder(fd801e2d90a8,9,0) at witness_checkorder+0x1009 usr/src/sys/kern/subr_witness.c:1086 rw_enter(fd801e2d9098,81) at rw_enter+0xd4 rrw_enter(fd801e2d9098,81) at rrw_enter+0x88 usr/src/sys/kern/kern_rwlock.c:453 VOP_LOCK(fd802eca5aa8,81) at VOP_LOCK+0xf0 usr/src/sys/kern/vfs_vops.c:615 vn_lock(fd802eca5aa8,81) at vn_lock+0x81 usr/src/sys/kern/vfs_vnops.c:571 uvn_io(fd802ecfb3b0,800011575a18,1,2,0) at uvn_io+0x2c8 usr/src/sys/uvm/uvm_vnode.c:1189 uvn_get(fd802ecfb3b0,8000,800011575c70,800011575c04,0,4) at uvn_get+0x226 usr/src/sys/uvm/uvm_vnode.c:1049 uvm_fault(fd80294d0e78,2000a000,2,4) at uvm_fault+0x11cc usr/src/sys/uvm/uvm_fault.c:1023 uvm_fault_wire(fd80294d0e78,2000a000,2000b000,4) at uvm_fault_wire+0x70 usr/src/sys/uvm/uvm_fault.c:1295 uvm_map_pageable_wire(fd80294d0e78,fd80230bc240,fd802307a1c0,800013586000,81bea277,0) at uvm_map_pageable_wire+0x2dd usr/src/sys/uvm/uvm_map.c:2349 sys_mlock(80001144bb58,800011575e68,800011575eb0) at sys_mlock+0x185 usr/src/sys/uvm/uvm_mmap.c:765 syscall(800011575f30) at syscall+0x4a4 mi_syscall usr/src/sys/sys/syscall_mi.h:92 [inline] syscall(800011575f30) at syscall+0x4a4 usr/src/sys/arch/amd64/amd64/trap.c:555 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9029d457cc0, count: -14 ddb{0}> show registers rdi 0x3 rsi 0x3acpi_pdirpa+0x2be67 rbp 0x800011575690 rbx 0x3 rdx 0x4acpi_pdirpa+0x2be68 rcx 0x800013586000 rax 0x80415a00 r80x81be8072witness_checkorder+0xfe2 r9 0x5 r10 0x3 r11
Re: radiusd(8) bsdauth crashes if user authenticates with a mechanism ":style" and group checking on
Hi guys, Brilliant! Didn't know about strcspn() myself.. Now i tested and confirmed to work (both with and without auth style). Let me know if there's anything i can help. BR, Dennis ^^ OpenBSD/Finland (alpha,x86) since ca 2000 ^^ On Sat, 14 Dec 2019 at 17:15, Todd C. Miller wrote: > On Fri, 13 Dec 2019 22:37:31 +0200, Dennis Lindroos wrote: > > > If the user argument has the ":style" suffix attached to it then > > getpwnam(user) will return a NULL pointer. > > I tried just using strsep(3) to strip off the auth style and it works for > > me (this is probably not the safest bit of coding but i'm sure you figure > > out). > > I think this is a safer approach. > > - todd > > Index: usr.sbin/radiusd/radiusd_bsdauth.c > === > RCS file: /cvs/src/usr.sbin/radiusd/radiusd_bsdauth.c,v > retrieving revision 1.13 > diff -u -p -u -r1.13 radiusd_bsdauth.c > --- usr.sbin/radiusd/radiusd_bsdauth.c 3 Dec 2019 17:45:02 - > 1.13 > +++ usr.sbin/radiusd/radiusd_bsdauth.c 14 Dec 2019 15:14:29 - > @@ -189,6 +189,7 @@ main(int argc, char *argv[]) > group = user + args->userlen; > group[args->grouplen - 1] = '\0'; > > + user[strcspn(user, ":")] = '\0'; > pw = getpwnam(user); > if (pw == NULL) > goto invalid; >
uvm_fault Panic on recent -current
Hi, My Thinkpad T450s paniced with uvm_fault while fetching a large git repository to /usr/src. I had a read-only NFS share mounted during the git pull and copied a file over to my local disk in the background. The panic trace transcribed by hand. I can provide a photo upon request: uvm_fault () kernel: page fault trap, code=0 Stopped at _rb_remove+0x1eb:movq %r13,0(%rsi) _rb_remove() at _rb_remove+0x1eb nfs_reclaim() at nfs_reclaim+0x7e VOP_RECLAIM() at VOB_RECLAIM+0x46 vclean() at vclean+0xda vgonel() at vgonel+0x3c getnewvnode() at getnewvnode+0x208 ffs_vget() at ffs_vget+0x88 ufs_lookup() at ufs_lookup+0xc5c VOP_LOOKUP() at VOP_LOOKUP+0x... vfs_lookup() at vfs_lookup+0x3d2 namei() at namei+0x3a5 dofstatat() at dofstatat+0x... syscall() at syscall+0x389 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x20b7a046a20: count: -14 The disk/mount looks as follows: /dev/sd1a on / type ffs (local) /dev/sd1l on /home type ffs (local, noatime, nodev, nosuid, with quotas, softdep) /dev/sd1d on /tmp type ffs (local, noatime, nodev, nosuid) /dev/sd1f on /usr type ffs (local, nodev) /dev/sd1g on /usr/X11R6 type ffs (local, nodev) /dev/sd1h on /usr/local type ffs (local, nodev, wxallowed) /dev/sd1j on /usr/obj type ffs (asynchronous, local, noatime, nodev, nosuid) /dev/sd1k on /usr/ports type ffs (local, noatime, nodev, nosuid, softdep) /dev/sd1i on /usr/src type ffs (local, noatime, nodev, nosuid, softdep) /dev/sd1e on /var type ffs (local, nodev, nosuid) nas:/d on /mnt type nfs (noatime, read-only, v3, tcp, soft, intr, wsize=32768, rsize=32768, rdirsize=32768, timeo=100, readahead=4) Let me know if you need more details or if I should test something. Cheers Matthias OpenBSD 6.6-current (GENERIC.MP) #531: Sun Dec 15 02:17:57 MST 2019 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 12573335552 (11990MB) avail mem = 12179873792 (11615MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0x9cbfd000 (65 entries) bios0: vendor LENOVO version "JBET73WW (1.37 )" date 08/14/2019 bios0: LENOVO 20BX0049GE acpi0 at bios0: ACPI 5.0 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SLIC ASF! HPET ECDT APIC MCFG SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT PCCT SSDT TCPA SSDT UEFI MSDM BATB FPDT UEFI DMAR acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP2(S4) XHCI(S3) EHC1(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpiec0 at acpi0 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz, 2095.41 MHz, 06-3d-04 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,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,PT,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,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.1.1.1, IBE cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz, 2095.16 MHz, 06-3d-04 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,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,PT,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 40 pins acpimcfg0 at acpi0 acpimcfg0: addr 0xf800, bus 0-63 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEG_) acpiprt2 at acpi0: bus 2 (EXP1) acpiprt3 at acpi0: bus 3 (EXP2) acpiprt4 at acpi0: bus -1 (EXP3) acpicpu0 at acpi0: C3(200@233 mwait.1@0x40), C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: C3(200@233 mwait.1@0x40), C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpipwrres0 at acpi0: PUBS, resource for XHCI, EHC1 acpipwrres1 at acpi0: NVP3, resource for PEG_ acpipwrres2 at acpi0: NVP2, resource for PEG_ acpitz0 at acpi0: critical temperature is 128 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpipci0 at acpi0 PCI0: 0x 0x0011 0x0001 acpicmos0 at acpi0 acpibat0 at acpi0: BAT0 model "45N" serial 16646 type LiP oem "SONY" acpibat1 at acpi0: BAT1 model "45N1777" serial 410 type LION oem "SANYO" acpiac0 at acpi0: AC unit online
Dec 15 snapshot made t410 graphics unusable
>Synopsis: Dec 15 snapshot made T410 graphics unusable >Category: kernel >Environment: System : OpenBSD 6.6 Details : OpenBSD 6.6-current (GENERIC.MP) #531: Sun Dec 15 02:17:57 MST 2019 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP Architecture: OpenBSD.amd64 Machine : amd64 >Description: After upgrading to Dec 15 snapshot, in my thinkpad t410 image is so distorted that it's impossible to read the text. This happens in both, X11 and tty console, so I have to ssh login from another machine in my LAN to operate (however there are those who still argue full graphics support in tty console is a wonderful thing.) I'm not completely sure, but I think these lines already appeared in dmesg before this issue happened (I mean on previous snapshots): [drm] *ERROR* CPU pipe A FIFO underrun [drm] *ERROR* PCH transcoder A FIFO underrun >How-To-Repeat: Boot the machine and wait till drm is loaded. >Fix: I don't know. dmesg: OpenBSD 6.6-current (GENERIC.MP) #531: Sun Dec 15 02:17:57 MST 2019 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 6210174976 (5922MB) avail mem = 6009548800 (5731MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xe0010 (78 entries) bios0: vendor LENOVO version "6IET85WW (1.45 )" date 02/14/2013 bios0: LENOVO 2537EY8 acpi0 at bios0: ACPI 4.0 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET ASF! SLIC BOOT SSDT TCPA DMAR SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) EXP5(S4) EHC1(S3) EHC2(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiec0 at acpi0 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i5 CPU M 540 @ 2.53GHz, 2793.54 MHz, 06-25-02 cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,AES,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,MELTDOWN cpu0: 256KB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 133MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.1, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) i5 CPU M 540 @ 2.53GHz, 2793.01 MHz, 06-25-02 cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,AES,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,MELTDOWN cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 1, core 0, package 0 cpu2 at mainbus0: apid 4 (application processor) cpu2: Intel(R) Core(TM) i5 CPU M 540 @ 2.53GHz, 2793.02 MHz, 06-25-02 cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,AES,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,MELTDOWN cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 0, core 2, package 0 cpu3 at mainbus0: apid 5 (application processor) cpu3: Intel(R) Core(TM) i5 CPU M 540 @ 2.53GHz, 2793.01 MHz, 06-25-02 cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,AES,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,MELTDOWN cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 1, core 2, package 0 ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins, remapped acpimcfg0 at acpi0 acpimcfg0: addr 0xe000, bus 0-255 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEG_) acpiprt2 at acpi0: bus 2 (EXP1) acpiprt3 at acpi0: bus 3 (EXP2) acpiprt4 at acpi0: bus -1 (EXP3) acpiprt5 at acpi0: bus 5 (EXP4) acpiprt6 at acpi0: bus 13 (EXP5) acpicpu0 at acpi0: C3(350@245 mwait.3@0x20), C2(500@205 mwait.3@0x10), C1(1000@3 mwait.1), PSS acpicpu1 at acpi0: C3(350@245 mwait.3@0x20), C2(500@205 mwait.3@0x10), C1(1000@3 mwait.1), PSS acpicpu2 at acpi0: C3(350@245 mwait.3@0x20), C2(500@205 mwait.3@0x10), C1(1000@3 mwait.1), PSS acpicpu3 at acpi0: C3(350@245 mwait.3@0x20), C2(500@205 mwait.3@0x10), C1(1000@3 mwait.1), PSS acpipwrres0 at acpi0: PUBS, resource for EHC1, EHC2 acpitz0 at acpi0: critical temperature is 100 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpipci0 at acpi0 UNCR: _OSC failed acpipci1 at acpi0
Re: kernel panic on current when pressing brightness key
I can confirm the bug is fixed, thanks. Joe. Op zo dec 15 2019, om 10:33 schreef Uwe Werler: > On 14 Dec 22:08, j...@jlammrs.eu wrote: > > >Synopsis: when pressing brightness key in X: panic: rw_enter: acpilk > > >locking against myself > > >Category: kernel amd > > >Environment: > > System : OpenBSD 6.6 > > Details : OpenBSD 6.6-current (GENERIC.MP) #526: Fri Dec 13 > > 15:30:21 MST 2019 > > > > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > > > Architecture: OpenBSD.amd64 > > Machine : amd64 > > >Description: > > Kernel panic when pressing brightness (+/-) key > > >How-To-Repeat: > > Press the brightness up or brightness down key in xenodm or xfwm > > >Fix: > > Staying on default brightness > > > > > > dmesg: > > OpenBSD 6.6-current (GENERIC.MP) #526: Fri Dec 13 15:30:21 MST 2019 > > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > real mem = 8493654016 (8100MB) > > avail mem = 8223830016 (7842MB) > > Hi, > > I've seen the same bug but that seems to be alredy fixed in: > > OpenBSD 6.6-current (GENERIC.MP) #530: Sat Dec 14 17:12:48 MST 2019 > > Uwe > > -- >