Hi, "Taylor R Campbell" <riastr...@netbsd.org> writes:
> Module Name: src > Committed By: riastradh > Date: Mon Oct 3 19:57:25 UTC 2022 > > Modified Files: > src/sys/dev: cons.c > > Log Message: > console(4), constty(4): Rip off the kernel lock. After introduction of MP-safe console/constty, my kernel stopped just after genfb(4) detection. LOCKDEBUG, DIAGNOSTIC, DEBUG options does not provide any additional information with me. Could you take a look at my problem? My dmesg just before MP-safe console.constty is here: Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 The NetBSD Foundation, Inc. All rights reserved. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. NetBSD 9.99.100 (DTRACE8) #16: Tue Oct 4 09:36:04 JST 2022 ryoon@brownie:/usr/world/9.99/amd64/obj/sys/arch/amd64/compile/DTRACE8 total memory = 15680 MB avail memory = 15137 MB timecounter: Timecounters tick every 10.000 msec Kernelized RAIDframe activated pms* disabled timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100 efi: systbl at pa c9f7e018 mainbus0 (root) ACPI: RSDP 0x00000000CDFFE014 000024 (v02 HPQOEM) ACPI: XSDT 0x00000000CDFA4228 000174 (v01 HPQOEM SLIC-MPC 00000002 HP 01000013) ACPI: FACP 0x00000000CDFE0000 00010C (v05 HPQOEM SLIC-MPC 00000002 HP 00040000) ACPI: DSDT 0x00000000CDFD2000 009607 (v01 HPQOEM 8929 00000002 HP 00040000) ACPI: FACS 0x00000000CDEB3000 000040 ACPI: UEFI 0x00000000CDF7E000 000236 (v01 HPQOEM 8929 00000001 HP 00040000) ACPI: SSDT 0x00000000CDFFC000 00020D (v01 HPQOEM 8929 00000001 HP 00040000) ACPI: SSDT 0x00000000CDFF4000 0072B0 (v02 HPQOEM 8929 00000002 HP 00040000) ACPI: IVRS 0x00000000CDFF3000 0001A4 (v02 HPQOEM 8929 00000001 HP 00040000) ACPI: SSDT 0x00000000CDFEF000 003A21 (v01 HPQOEM 8929 00000001 HP 00040000) ACPI: SSDT 0x00000000CDFEE000 000472 (v02 HPQOEM 8929 00001000 HP 00040000) ACPI: TPM2 0x00000000CDFED000 00004C (v04 HPQOEM 8929 00000002 HP 00040000) ACPI: SSDT 0x00000000CDFEC000 00017D (v01 HPQOEM 8929 00001000 HP 00040000) ACPI: SSDT 0x00000000CDFE4000 007B3B (v01 HPQOEM 8929 00001000 HP 00040000) ACPI: MSDM 0x00000000CDFE3000 000055 (v03 HPQOEM SLIC-MPC 00000001 HP 00040000) ACPI: ASF! 0x00000000CDFE2000 0000A5 (v32 HPQOEM 8929 00000002 HP 00040000) ACPI: BOOT 0x00000000CDFE1000 000028 (v01 HPQOEM 8929 00000002 HP 00040000) ACPI: HPET 0x00000000CDFDF000 000038 (v01 HPQOEM 8929 00000002 HP 00040000) ACPI: APIC 0x00000000CDFDE000 000138 (v03 HPQOEM 8929 00000002 HP 00040000) ACPI: MCFG 0x00000000CDFDD000 00003C (v01 HPQOEM 8929 00000002 HP 00040000) ACPI: SSDT 0x00000000CDFD1000 0000C1 (v01 HPQOEM 8929 00000002 HP 00040000) ACPI: SSDT 0x00000000CDFD0000 000080 (v01 HPQOEM 8929 00000002 HP 00040000) ACPI: VFCT 0x00000000CDFC2000 00D884 (v01 HPQOEM 8929 00000001 HP 00040000) ACPI: SSDT 0x00000000CDFFD000 0000F8 (v01 HPQOEM 8929 00001000 HP 00040000) ACPI: SSDT 0x00000000CDFC0000 00005C (v02 HPQOEM 8929 00001000 HP 00040000) ACPI: SSDT 0x00000000CDFB9000 005354 (v02 HPQOEM 8929 00000001 HP 00040000) ACPI: CRAT 0x00000000CDFB8000 000EE8 (v01 HPQOEM 8929 00000001 HP 00040000) ACPI: CDIT 0x00000000CDFB7000 000029 (v01 HPQOEM 8929 00000001 HP 00040000) ACPI: SSDT 0x00000000CDFB6000 000139 (v01 HPQOEM 8929 00000001 HP 00040000) ACPI: SSDT 0x00000000CDFB5000 00028D (v01 HPQOEM 8929 00000001 HP 00040000) ACPI: SSDT 0x00000000CDFB4000 000372 (v01 HPQOEM 8929 00000001 HP 00040000) ACPI: SSDT 0x00000000CDFB3000 00021F (v01 HPQOEM 8929 00000001 HP 00040000) ACPI: SSDT 0x00000000CDFB2000 000D53 (v01 HPQOEM 8929 00000001 HP 00040000) ACPI: SSDT 0x00000000CDFB0000 0010C5 (v01 HPQOEM 8929 00000001 HP 00040000) ACPI: SSDT 0x00000000CDFAC000 00362F (v01 HPQOEM 8929 00000001 HP 00040000) ACPI: FPDT 0x00000000CDFAB000 000044 (v01 HPQOEM SLIC-MPC 00000002 HP 00040000) ACPI: WSMT 0x00000000CDFA9000 000028 (v01 HPQOEM 8929 00000001 HP 00040000) ACPI: SSDT 0x00000000CDFA8000 000042 (v01 HPQOEM 8929 00000001 HP 00040000) ACPI: SSDT 0x00000000CDFA7000 00020A (v01 HPQOEM 8929 00000001 HP 00040000) ACPI: SSDT 0x00000000CDFA6000 0005AD (v01 HPQOEM 8929 00000001 HP 00040000) ACPI: SSDT 0x00000000CDFA5000 0002E9 (v01 HPQOEM 8929 00000001 HP 00040000) ACPI: SSDT 0x00000000CDFC1000 00007D (v01 HPQOEM 8929 00000001 HP 00040000) ACPI: SSDT 0x00000000CDFA3000 0000C7 (v01 HPQOEM 8929 00000001 HP 00040000) ACPI: SSDT 0x00000000CDFA2000 0004DB (v01 HPQOEM 8929 00000001 HP 00040000) ACPI: BGRT 0x00000000CDFDC000 000038 (v01 HPQOEM 8929 00000001 HP 00040000) ACPI: 26 ACPI AML tables successfully acquired and loaded ioapic0 at mainbus0 apid 33: pa 0xfec00000, version 0x21, 24 pins ioapic1 at mainbus0 apid 34: pa 0xfec01000, version 0x21, 32 pins cpu0 at mainbus0 apid 0 cpu0: Use mfence to serialize rdtsc cpu0: AMD Ryzen 7 5800U with Radeon Graphics , id 0xa50f00 cpu0: node 0, package 0, core 0, smt 0 cpu1 at mainbus0 apid 1 cpu1: AMD Ryzen 7 5800U with Radeon Graphics , id 0xa50f00 cpu1: node 0, package 0, core 0, smt 1 cpu2 at mainbus0 apid 2 cpu2: AMD Ryzen 7 5800U with Radeon Graphics , id 0xa50f00 cpu2: node 0, package 0, core 1, smt 0 cpu3 at mainbus0 apid 3 cpu3: AMD Ryzen 7 5800U with Radeon Graphics , id 0xa50f00 cpu3: node 0, package 0, core 1, smt 1 cpu4 at mainbus0 apid 4 cpu4: AMD Ryzen 7 5800U with Radeon Graphics , id 0xa50f00 cpu4: node 0, package 0, core 2, smt 0 cpu5 at mainbus0 apid 5 cpu5: AMD Ryzen 7 5800U with Radeon Graphics , id 0xa50f00 cpu5: node 0, package 0, core 2, smt 1 cpu6 at mainbus0 apid 6 cpu6: AMD Ryzen 7 5800U with Radeon Graphics , id 0xa50f00 cpu6: node 0, package 0, core 3, smt 0 cpu7 at mainbus0 apid 7 cpu7: AMD Ryzen 7 5800U with Radeon Graphics , id 0xa50f00 cpu7: node 0, package 0, core 3, smt 1 cpu8 at mainbus0 apid 8 cpu8: AMD Ryzen 7 5800U with Radeon Graphics , id 0xa50f00 cpu8: node 0, package 0, core 4, smt 0 cpu9 at mainbus0 apid 9 cpu9: AMD Ryzen 7 5800U with Radeon Graphics , id 0xa50f00 cpu9: node 0, package 0, core 4, smt 1 cpu10 at mainbus0 apid 10 cpu10: AMD Ryzen 7 5800U with Radeon Graphics , id 0xa50f00 cpu10: node 0, package 0, core 5, smt 0 cpu11 at mainbus0 apid 11 cpu11: AMD Ryzen 7 5800U with Radeon Graphics , id 0xa50f00 cpu11: node 0, package 0, core 5, smt 1 cpu12 at mainbus0 apid 12 cpu12: AMD Ryzen 7 5800U with Radeon Graphics , id 0xa50f00 cpu12: node 0, package 0, core 6, smt 0 cpu13 at mainbus0 apid 13 cpu13: AMD Ryzen 7 5800U with Radeon Graphics , id 0xa50f00 cpu13: node 0, package 0, core 6, smt 1 cpu14 at mainbus0 apid 14 cpu14: AMD Ryzen 7 5800U with Radeon Graphics , id 0xa50f00 cpu14: node 0, package 0, core 7, smt 0 cpu15 at mainbus0 apid 15 cpu15: AMD Ryzen 7 5800U with Radeon Graphics , id 0xa50f00 cpu15: node 0, package 0, core 7, smt 1 acpi0 at mainbus0: Intel ACPICA 20220331 acpi0: X/RSDT: OemId <HPQOEM,SLIC-MPC,00000002>, AslId <HP ,01000013> acpi0: MCFG: segment 0, bus 0-63, address 0x00000000f8000000 acpi0: SCI interrupting at int 9 acpi0: fixed power button present timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000 hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400) timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000 acpiec0 at acpi0 (EC0, PNP0C09): io 0x62,0x66 acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button acpivga0 at acpi0 (VGA): ACPI Display Adapter acpiout0 at acpivga0 (LCD, 0x0110): ACPI Display Output Device acpiout0: brightness levels: [2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100] acpivga0: connected output devices: acpivga0: 0x0110 (acpiout0): LCD Panel, head 0, bios detect acpivga0: 0x0210: Unknown Output Device, head 0, bios detect acpivga0: 0x0220: Unknown Output Device, head 0, bios detect acpivga0: 0x0230: Unknown Output Device, head 0, bios detect acpivga0: 0x0240: Unknown Output Device, head 0, bios detect acpivga0: 0x1000: Unknown Output Device, head 0, bios detect, non vga acpivga0: 0x2000: Unknown Output Device, head 0, bios detect, non vga pcppi1 at acpi0 (SPKR, PNP0800): io 0x61 spkr0 at pcppi1: PC Speaker wsbell at spkr0 not configured midi0 at pcppi1: PC speaker sysbeep0 at pcppi1 attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43 pckbc1 at acpi0 (KBC0, HPQ8001) (kbd port): io 0x60,0x64 irq 1 MEM (PNP0C01) at acpi0 not configured acpibat0 at acpi0 (BAT1, PNP0C0A-1): ACPI Battery acpibat0: ACPI 4.0 functionality present acpiacad0 at acpi0 (ACAD, ACPI0003): ACPI AC Adapter acpilid0 at acpi0 (LID, PNP0C0D): ACPI Lid Switch GPIO (AMDI0030) at acpi0 not configured dwiic0 at acpi0 (I2CC, AMDI0010-2): mem 0xfedc4000-0xfedc4fff irq 4 resource type 0x11 ignored iic0 at dwiic0: I2C bus ihidev0 at iic0 addr 0x10: vendor 0x4f3 product 0x2af1, TPNL ihidev0: 23 report ids ihidev0: autoconfiguration error: no IRQ resource dwiic1 at acpi0 (I2CD, AMDI0010-3): mem 0xfedc5000-0xfedc5fff irq 6 resource type 0x11 ignored iic1 at dwiic1: I2C bus ihidev1 at iic1 addr 0x2c: vendor 0x6cb product 0xce14, TPDD ihidev1: 31 report ids ihidev1: autoconfiguration error: no IRQ resource acpiwmi0 at acpi0 (WFDE, PNP0C14-SampleDev): ACPI WMI Interface acpiwmibus at acpiwmi0 not configured acpiwmi1 at acpi0 (WFTE, PNP0C14-TestDev): ACPI WMI Interface acpiwmibus at acpiwmi1 not configured UBTC (USBC000) at acpi0 not configured ACDC (ACPI000E) at acpi0 not configured TPM2 (MSFT0101) at acpi0 not configured acpiwmi2 at acpi0 (WMID, PNP0C14-0): ACPI WMI Interface wmihp0 at acpiwmi2: HP WMI mappings Firmware Error (ACPI): Attempt to CreateField of length zero (20220331/dsopcode-181) ACPI Error: Aborting method \_SB.WMID.WHCM due to previous error (AE_AML_OPERAND_VALUE) (20220331/psparse-580) ACPI Error: Aborting method \_SB.WMID.WMAA due to previous error (AE_AML_OPERAND_VALUE) (20220331/psparse-580) Firmware Error (ACPI): Attempt to CreateField of length zero (20220331/dsopcode-181) ACPI Error: Aborting method \_SB.WMID.WHCM due to previous error (AE_AML_OPERAND_VALUE) (20220331/psparse-580) ACPI Error: Aborting method \_SB.WMID.WMAA due to previous error (AE_AML_OPERAND_VALUE) (20220331/psparse-580) Firmware Error (ACPI): Attempt to CreateField of length zero (20220331/dsopcode-181) ACPI Error: Aborting method \_SB.WMID.WHCM due to previous error (AE_AML_OPERAND_VALUE) (20220331/psparse-580) ACPI Error: Aborting method \_SB.WMID.WMAA due to previous error (AE_AML_OPERAND_VALUE) (20220331/psparse-580) Firmware Error (ACPI): Attempt to CreateField of length zero (20220331/dsopcode-181) ACPI Error: Aborting method \_SB.WMID.WHCM due to previous error (AE_AML_OPERAND_VALUE) (20220331/psparse-580) ACPI Error: Aborting method \_SB.WMID.WMAA due to previous error (AE_AML_OPERAND_VALUE) (20220331/psparse-580) Firmware Error (ACPI): Attempt to CreateField of length zero (20220331/dsopcode-181) ACPI Error: Aborting method \_SB.WMID.WHCM due to previous error (AE_AML_OPERAND_VALUE) (20220331/psparse-580) ACPI Error: Aborting method \_SB.WMID.WMAA due to previous error (AE_AML_OPERAND_VALUE) (20220331/psparse-580) IPPF (HPIC0003) at acpi0 not configured PEP (AMDI0005) at acpi0 not configured CIND (AMDI0081) at acpi0 not configured VGBI (AMDI0080) at acpi0 not configured acpitz0 at acpi0 (TSZ0) acpitz0: levels: hot 112.0 C, passive cooling acpitz1 at acpi0 (TSZ2) acpitz1: levels: hot 90.0 C, passive cooling acpiwmi3 at acpi0 (AOD, PNP0C14-AOD): ACPI WMI Interface acpiwmibus at acpiwmi3 not configured ACPI: Enabled 1 GPEs in block 00 to 1F attimer1: attached to pcppi1 pckbd0 at pckbc1 (kbd slot) pckbc1: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard pci0 at mainbus0 bus 0: configuration mode 1 pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok amdsmn0 at pci0 dev 0 function 0: AMD System Management Network amdzentemp0 at amdsmn0: AMD CPU Temperature Sensors (Family19h)amdzentemp0: autoconfiguration error: Unrecognized Family 19h Model: 50h AMD 17h/6xh IOMMU (IOMMU system) at pci0 dev 0 function 2 not configured pchb0 at pci0 dev 1 function 0: AMD 17h/6xh Host Bridge (rev. 0x00) ppb0 at pci0 dev 1 function 3: AMD 17h/6xh PCIe (rev. 0x00) ppb0: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x1 @ 8.0GT/s ppb0: link is x1 @ 2.5GT/s pci1 at ppb0 bus 1 pci1: i/o space, memory space enabled, rd/line, wr/inv ok Realtek Semiconductor product 8852 (miscellaneous network) at pci1 dev 0 function 0 not configured pchb1 at pci0 dev 2 function 0: AMD 17h/6xh Host Bridge (rev. 0x00) ppb1 at pci0 dev 2 function 1: AMD 17h/6xh PCIe (rev. 0x00) ppb1: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x1 @ 8.0GT/s ppb1: link is x1 @ 2.5GT/s pci2 at ppb1 bus 2 pci2: i/o space, memory space enabled, rd/line, wr/inv ok rtsx0 at pci2 dev 0 function 0: Realtek Semiconductor RTS522A PCI-E Card Reader (rev. 0x01) rtsx0: interrupting at msi0 vec 0 sdmmc0 at rtsx0 ppb2 at pci0 dev 2 function 3: AMD 17h/6xh PCIe (rev. 0x00) ppb2: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x4 @ 8.0GT/s pci3 at ppb2 bus 3 pci3: i/o space, memory space enabled, rd/line, wr/inv ok nvme0 at pci3 dev 0 function 0: vendor 1344 product 5405 (rev. 0x00) nvme0: NVMe 1.3 nvme0: for admin queue interrupting at msix1 vec 0 nvme0: MTFDHBA1T0TDV-1AZ1AABHA, firmware HPS0032, serial UJUNE0170G5U0V nvme0: for io queue 1 interrupting at msix1 vec 1 affinity to cpu0 nvme0: for io queue 2 interrupting at msix1 vec 2 affinity to cpu1 nvme0: for io queue 3 interrupting at msix1 vec 3 affinity to cpu2 nvme0: for io queue 4 interrupting at msix1 vec 4 affinity to cpu3 nvme0: for io queue 5 interrupting at msix1 vec 5 affinity to cpu4 nvme0: for io queue 6 interrupting at msix1 vec 6 affinity to cpu5 nvme0: for io queue 7 interrupting at msix1 vec 7 affinity to cpu6 nvme0: for io queue 8 interrupting at msix1 vec 8 affinity to cpu7 nvme0: for io queue 9 interrupting at msix1 vec 9 affinity to cpu8 nvme0: for io queue 10 interrupting at msix1 vec 10 affinity to cpu9 nvme0: for io queue 11 interrupting at msix1 vec 11 affinity to cpu10 nvme0: for io queue 12 interrupting at msix1 vec 12 affinity to cpu11 nvme0: for io queue 13 interrupting at msix1 vec 13 affinity to cpu12 nvme0: for io queue 14 interrupting at msix1 vec 14 affinity to cpu13 nvme0: for io queue 15 interrupting at msix1 vec 15 affinity to cpu14 nvme0: for io queue 16 interrupting at msix1 vec 16 affinity to cpu15 ld0 at nvme0 nsid 1 ld0: 953 GB, 124519 cyl, 255 head, 63 sec, 512 bytes/sect x 2000409264 sectors pchb2 at pci0 dev 8 function 0: AMD 17h/6xh Host Bridge (rev. 0x00) ppb3 at pci0 dev 8 function 1: AMD 17h/6xh PCIe (rev. 0x00) ppb3: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x16 @ 8.0GT/s pci4 at ppb3 bus 4 pci4: i/o space, memory space enabled, rd/line, wr/inv ok genfb0 at pci4 dev 0 function 0: ATI Technologies product 1638 (rev. 0xc1) genfb0: framebuffer at 0xfce0000000, size 1920x1080, depth 32, stride 7680 genfb0: shadow framebuffer enabled, size 8100 KB [stall here in MP-safe console/constty case] wsdisplay0 at genfb0 kbdmux 1: console (default, vt100 emulation), using wskbd0 wsmux1: connecting to wsdisplay0 drm at genfb0 not configured hdaudio0 at pci4 dev 0 function 1: HD Audio Controller hdaudio0: interrupting at msi2 vec 0 hdaudio0: HDA ver. 1.0, OSS 4, ISS 0, BSS 0, SDO 1, 64-bit hdafg0 at hdaudio0: ATI R6xx HDMI hdafg0: HDMI00 2ch: Digital Out [Jack] hdafg0: HDMI01 2ch: Digital Out [Jack] hdafg0: HDMI02 2ch: Digital Out [Jack] hdafg0: HDMI03 2ch: Digital Out [Jack] hdafg0: 2ch/0ch 32000Hz 44100Hz 48000Hz PCM16 AC3 audio0 at hdafg0: playback audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for playback spkr1 at audio0: PC Speaker (synthesized) wsbell at spkr1 not configured AMD Family17h/1xh Platform Security Processor (miscellaneous crypto) at pci4 dev 0 function 2 not configured xhci0 at pci4 dev 0 function 3: AMD 17h/6xh xHCI (rev. 0x00) xhci0: 64-bit DMA xhci0: interrupting at msix3 vec 0 xhci0: xHCI version 1.10 usb0 at xhci0: USB revision 3.1 usb1 at xhci0: USB revision 2.0 xhci1 at pci4 dev 0 function 4: AMD 17h/6xh xHCI (rev. 0x00) xhci1: 64-bit DMA xhci1: interrupting at msix4 vec 0 xhci1: xHCI version 1.10 usb2 at xhci1: USB revision 3.1 usb3 at xhci1: USB revision 2.0 AMD 17h/1xh I2S Audio (miscellaneous multimedia, revision 0x01) at pci4 dev 0 function 5 not configured hdaudio1 at pci4 dev 0 function 6: HD Audio Controller hdaudio1: interrupting at msi5 vec 0 hdaudio1: HDA ver. 1.0, OSS 4, ISS 4, BSS 0, SDO 1, 64-bit hdafg1 at hdaudio1: Realtek product 0245 hdafg1: DAC00 2ch: HP Out [Jack] hdafg1: ADC01 2ch: Mic In [Jack] hdafg1: DAC02 2ch: Speaker [Built-In] hdafg1: 2ch/2ch 44100Hz 48000Hz 96000Hz 192000Hz PCM16 PCM20 PCM24 audio1 at hdafg1: playback, capture, full duplex, independent audio1: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for playback audio1: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for recording spkr2 at audio1: PC Speaker (synthesized) wsbell at spkr2 not configured AMD product 15e4 (miscellaneous DASP) at pci4 dev 0 function 7 not configured ppb4 at pci0 dev 8 function 2: AMD 17h/6xh PCIe (rev. 0x00) ppb4: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x16 @ 8.0GT/s pci5 at ppb4 bus 5 pci5: i/o space, memory space enabled, rd/line, wr/inv ok ahcisata0 at pci5 dev 0 function 0: AMD FCH SATA AHCI (rev. 0x81) ahcisata0: 64-bit DMA ahcisata0: AHCI revision 1.31, 1 port, 32 slots, CAP 0xf737ff00<PSC,SSC,PMD,FBSS,SPM,SAM,ISS=0x3=Gen3,SCLO,SAL,SALP,SMPS,SSNTF,SNCQ,S64A> ahcisata0: interrupting at msi6 vec 0 atabus0 at ahcisata0 channel 0 ahcisata1 at pci5 dev 0 function 1: AMD FCH SATA AHCI (rev. 0x81) ahcisata1: 64-bit DMA ahcisata1: AHCI revision 1.31, 1 port, 32 slots, CAP 0xf737ff00<PSC,SSC,PMD,FBSS,SPM,SAM,ISS=0x3=Gen3,SCLO,SAL,SALP,SMPS,SSNTF,SNCQ,S64A> ahcisata1: interrupting at msi7 vec 0 atabus1 at ahcisata1 channel 0 piixpm0 at pci0 dev 20 function 0: AMD X370/X399 SMBus Controller (rev. 0x51) piixpm0: interrupting at SMI, iic2 at piixpm0 port 0: I2C bus iic3 at piixpm0 port 1: I2C bus pcib0 at pci0 dev 20 function 3: AMD FCH LPC (rev. 0x51) pchb3 at pci0 dev 24 function 0: AMD 19h/5xh Data Fabric (rev. 0x00) pchb4 at pci0 dev 24 function 1: AMD 19h/5xh Data Fabric (rev. 0x00) pchb5 at pci0 dev 24 function 2: AMD 19h/5xh Data Fabric (rev. 0x00) pchb6 at pci0 dev 24 function 3: AMD 19h/5xh Data Fabric (rev. 0x00) pchb7 at pci0 dev 24 function 4: AMD 19h/5xh Data Fabric (rev. 0x00) pchb8 at pci0 dev 24 function 5: AMD 19h/5xh Data Fabric (rev. 0x00) pchb9 at pci0 dev 24 function 6: AMD 19h/5xh Data Fabric (rev. 0x00) pchb10 at pci0 dev 24 function 7: AMD 19h/5xh Data Fabric (rev. 0x00) isa0 at pcib0 acpicpu0 at cpu0: ACPI CPU acpicpu0: C1: FFH, lat 1 us, pow 0 mW acpicpu0: C2: I/O, lat 18 us, pow 0 mW acpicpu0: C3: I/O, lat 350 us, pow 0 mW acpicpu0: P0: FFH, lat 1 us, pow 2315 mW, 1900 MHz acpicpu0: P1: FFH, lat 1 us, pow 1710 mW, 1800 MHz acpicpu0: P2: FFH, lat 1 us, pow 1460 mW, 1600 MHz acpicpu1 at cpu1: ACPI CPU acpicpu2 at cpu2: ACPI CPU acpicpu3 at cpu3: ACPI CPU acpicpu4 at cpu4: ACPI CPU acpicpu5 at cpu5: ACPI CPU acpicpu6 at cpu6: ACPI CPU acpicpu7 at cpu7: ACPI CPU acpicpu8 at cpu8: ACPI CPU acpicpu9 at cpu9: ACPI CPU acpicpu10 at cpu10: ACPI CPU acpicpu11 at cpu11: ACPI CPU acpicpu12 at cpu12: ACPI CPU acpicpu13 at cpu13: ACPI CPU acpicpu14 at cpu14: ACPI CPU acpicpu15 at cpu15: ACPI CPU timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0 timecounter: Timecounter "TSC" frequency 1896436000 Hz quality 3000 uhub0 at usb0ACPI Warning: Firmware issue: Excessive sleep time (0x00000000000001F4 ms > 10 ms) in ACPI Control Method: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 3.00/1.00, addr 0 (20220331/exsystem-239) uhub0: 2 ports with 2 removable, self powered uhub1 at usb1: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 0 uhub1: 4 ports with 4 removable, self powered uhub2 at usb2: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 3.00/1.00, addr 0 uhub2: 2 ports with 2 removable, self powered uhub3 at usb3: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 0 uhub3: 4 ports with 4 removable, self powered ld0: GPT GUID: d9ca5bba-59b6-43c4-8cba-7fb7a2d87f21 dk0 at ld0: "EFI", 262144 blocks at 2048, type: msdos dk1 at ld0: "ROOT", 4194304 blocks at 264192, type: ffs dk2 at ld0: "SWAP", 67108864 blocks at 4458496, type: swap dk3 at ld0: "USR", 838860800 blocks at 71567360, type: ffs dk4 at ld0: "HOME", 1089981071 blocks at 910428160, type: ffs IPsec: Initialized Security Association Processing. aes: Intel AES-NI chacha: x86 SSE2 ChaCha acpibat0: Hewlett-Packard LION rechargeable battery acpibat0: granularity: low->warn 0.264 Wh, warn->full 3.780 Wh acpiacad0: AC adapter online. acpilid0: lid opened. acpilid0: lid opened. acpilid0: lid opened. acpivga0: connected output devices: acpivga0: 0x0110 (acpiout0): LCD Panel, head 0, bios detect acpivga0: 0x0210: Unknown Output Device, head 0, bios detect acpivga0: 0x0220: Unknown Output Device, head 0, bios detect acpivga0: 0x0230: Unknown Output Device, head 0, bios detect acpivga0: 0x0240: Unknown Output Device, head 0, bios detect acpivga0: 0x1000: Unknown Output Device, head 0, bios detect, non vga acpivga0: 0x2000: Unknown Output Device, head 0, bios detect, non vga acpivga0: connected output devices: acpivga0: 0x0110 (acpiout0): LCD Panel, head 0, bios detect acpivga0: 0x0210: Unknown Output Device, head 0, bios detect acpivga0: 0x0220: Unknown Output Device, head 0, bios detect acpivga0: 0x0230: Unknown Output Device, head 0, bios detect acpivga0: 0x0240: Unknown Output Device, head 0, bios detect acpivga0: 0x1000: Unknown Output Device, head 0, bios detect, non vga acpivga0: 0x2000: Unknown Output Device, head 0, bios detect, non vga ubt0 at uhub3 port 1 ubt0: Realtek (0x0bda) Bluetooth Radio (0x2852), rev 1.00/0.00, addr 1 ugen0 at uhub1 port 3 ugen0: vendor 06cb (0x06cb) product 00e7 (0x00e7), rev 2.00/0.00, addr 1 uhub4 at uhub0 port 1: VIA Labs, Inc. (0x2109) USB3.0 Hub (0x0813), class 9/0, rev 3.00/90.11, addr 2 uhub4: 4 ports with 4 removable, self powered uhidev0 at uhub3 port 2 configuration 1 interface 0 uhidev0: Logitech (0x046d) USB Receiver (0xc53f), rev 2.00/44.01, addr 2, iclass 3/1 ukbd0 at uhidev0 wskbd1 at ukbd0 mux 1 wskbd1: connecting to wsdisplay0 uhidev1 at uhub3 port 2 configuration 1 interface 1 uhidev1: Logitech (0x046d) USB Receiver (0xc53f), rev 2.00/44.01, addr 2, iclass 3/1 uhidev1: 8 report ids ums0 at uhidev1 reportid 2: 16 buttons, W and Z dirs wsmouse0 at ums0 mux 0 uhid0 at uhidev1 reportid 3: input=4, output=0, feature=0 uhid1 at uhidev1 reportid 4: input=1, output=0, feature=0 uhid2 at uhidev1 reportid 8: input=1, output=0, feature=0 uhidev2 at uhub3 port 2 configuration 1 interface 2 uhidev2: Logitech (0x046d) USB Receiver (0xc53f), rev 2.00/44.01, addr 2, iclass 3/0 uhidev2: 33 report ids uhid3 at uhidev2 reportid 16: input=6, output=6, feature=0 uhid4 at uhidev2 reportid 17: input=19, output=19, feature=0 uhid5 at uhidev2 reportid 32: input=14, output=14, feature=0 uhid6 at uhidev2 reportid 33: input=31, output=31, feature=0 uhub5 at uhub1 port 1: VIA Labs, Inc. (0x2109) USB2.0 Hub (0x2813), class 9/0, rev 2.10/90.11, addr 3 uhub5: single transaction translator uhub5: 4 ports with 4 removable, self powered ure0 at uhub4 port 2 ure0: Realtek (0x0bda) USB 10/100/1000 LAN (0x8153), rev 3.00/30.00, addr 4 ure0: RTL8153 ver 5c30 rgephy0 at ure0 phy 0: RTL8251 1000BASE-T media interface, rev. 0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto ure0: Ethernet address 00:12:d4:09:04:fb umodem0 at uhub5 port 4 configuration 2 interface 1 umodem0: SAMSUNG (0x04e8) SAMSUNG_Android (0x6860), rev 2.00/4.00, addr 5, iclass 2/2 umodem0: data interface 2, has no CM over data, has no break umodem0: status change notification available ucom0 at umodem0 portno 0 swwdog0: software watchdog initialized WARNING: 3 errors while detecting hardware; check system log. boot device: ld0 root on dk1 dumps on dk2 root file system type: ffs kern.module.path=/stand/amd64/9.99.100/modules wsdisplay0: screen 1 added (default, vt100 emulation) wsdisplay0: screen 2 added (default, vt100 emulation) wsdisplay0: screen 3 added (default, vt100 emulation) wsdisplay0: screen 4 added (default, vt100 emulation) Thank you. > To generate a diff of this commit: > cvs rdiff -u -r1.83 -r1.84 src/sys/dev/cons.c > > Please note that diffs are not public domain; they are subject to the > copyright notices on the relevant files. > > Modified files: > > Index: src/sys/dev/cons.c > diff -u src/sys/dev/cons.c:1.83 src/sys/dev/cons.c:1.84 > --- src/sys/dev/cons.c:1.83 Mon Oct 3 19:57:05 2022 > +++ src/sys/dev/cons.c Mon Oct 3 19:57:25 2022 > @@ -1,4 +1,4 @@ > -/* $NetBSD: cons.c,v 1.83 2022/10/03 19:57:05 riastradh Exp $ */ > +/* $NetBSD: cons.c,v 1.84 2022/10/03 19:57:25 riastradh Exp $ */ > > /* > * Copyright (c) 1988 University of Utah. > @@ -39,7 +39,7 @@ > */ > > #include <sys/cdefs.h> > -__KERNEL_RCSID(0, "$NetBSD: cons.c,v 1.83 2022/10/03 19:57:05 riastradh Exp > $"); > +__KERNEL_RCSID(0, "$NetBSD: cons.c,v 1.84 2022/10/03 19:57:25 riastradh Exp > $"); > > #include <sys/param.h> > #include <sys/proc.h> > @@ -84,7 +84,7 @@ const struct cdevsw cons_cdevsw = { > .d_mmap = nommap, > .d_kqfilter = cnkqfilter, > .d_discard = nodiscard, > - .d_flag = D_TTY > + .d_flag = D_TTY|D_MPSAFE, > }; > > static struct kmutex cn_lock; > -- Ryo ONODERA // r...@tetera.org PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB FD1B F404 27FA C7D1 15F3