NetBSD Problem Report #54317

From wiz@yt.nih.at  Sat Jun 22 11:10:57 2019
Return-Path: <wiz@yt.nih.at>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id C59107A165
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 22 Jun 2019 11:10:57 +0000 (UTC)
Message-Id: <20190622111049.C4AAC2AC0BC@yt.nih.at>
Date: Sat, 22 Jun 2019 13:10:49 +0200 (CEST)
From: Thomas Klausner <wiz@NetBSD.org>
Reply-To: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@NetBSD.org
Subject: System hang during boot
X-Send-Pr-Version: 3.95

>Number:         54317
>Category:       kern
>Synopsis:       System hang during boot
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 22 11:15:00 +0000 2019
>Last-Modified:  Fri Aug 09 03:25:00 +0000 2019
>Originator:     Thomas Klausner
>Release:        NetBSD 8.0.1/8.99.46
>Organization:
Curiosity is the very basis of education and if you tell me that
curiosity killed the cat, I say only that the cat died nobly.
- Arnold Edinborough
>Environment:


Architecture: x86_64
Machine: amd64
>Description:
I've installed a new system (old hardware from around 2010).
First I tried NetBSD 8.1. sysinst worked fine, but the boot stops after the line
Checking file systems:

The USB keyboard could not break into the debugger.

Then I tried 8.99.46 with a prebuilt daily snapshot. Installation, again, worked
fine, this time boot stops after the line:
Setting tty flags.

I've attached a PS/2 keyboard in the meantime, but I can't break into the debugger
with it either. (Nothing happens when I press ctrl-alt-esc).

This is repeatable very time.
>How-To-Repeat:
Boot this system:

[     1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
[     1.000000] 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
[     1.000000] 2018, 2019 The NetBSD Foundation, Inc.  All rights reserved.
[     1.000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[     1.000000] The Regents of the University of California.  All rights reserved.

[     1.000000] NetBSD 8.99.45 (GENERIC) #0: Sat Jun 15 15:22:56 UTC 2019
[     1.000000] 	mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC
[     1.000000] total memory = 12279 MB
[     1.000000] avail memory = 11897 MB
[     1.000000] timecounter: Timecounters tick every 10.000 msec
[     1.000000] Kernelized RAIDframe activated
[     1.000000] running cgd selftest aes-xts-256 aes-xts-512 done
[     1.000000] timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
[     1.000003] System manufacturer System Product Name (System Version)
[     1.000003] mainbus0 (root)
[     1.000003] ACPI: RSDP 0x00000000000FB2C0 000014 (v00 ACPIAM)
[     1.000003] ACPI: RSDT 0x00000000BF780000 000040 (v01 092410 RSDT1941 20100924 MSFT 00000097)
[     1.000003] ACPI: FACP 0x00000000BF780200 000084 (v01 092410 FACP1941 20100924 MSFT 00000097)
[     1.000003] ACPI: DSDT 0x00000000BF7804B0 00B119 (v01 A1095  A1095001 00000001 INTL 20060113)
[     1.000003] ACPI: FACS 0x00000000BF798000 000040
[     1.000003] ACPI: APIC 0x00000000BF780390 0000D8 (v01 092410 APIC1941 20100924 MSFT 00000097)
[     1.000003] ACPI: MCFG 0x00000000BF780470 00003C (v01 092410 OEMMCFG  20100924 MSFT 00000097)
[     1.000003] ACPI: OEMB 0x00000000BF798040 000072 (v01 092410 OEMB1941 20100924 MSFT 00000097)
[     1.000003] ACPI: HPET 0x00000000BF78F4B0 000038 (v01 092410 OEMHPET  20100924 MSFT 00000097)
[     1.000003] ACPI: OSFR 0x00000000BF78F4F0 0000B0 (v01 092410 OEMOSFR  20100924 MSFT 00000097)
[     1.000003] ACPI: SSDT 0x00000000BF79A510 000363 (v01 DpgPmm CpuPm    00000012 INTL 20060113)
[     1.000003] ACPI: 2 ACPI AML tables successfully acquired and loaded
[     1.000003] ioapic0 at mainbus0 apid 8: pa 0xfec00000, version 0x20, 24 pins
[     1.000003] ioapic1 at mainbus0 apid 9: pa 0xfec8a000, version 0x20, 24 pins
[     1.000003] cpu0 at mainbus0 apid 0
[     1.000003] cpu0: Intel(R) Xeon(R) CPU           W3565  @ 3.20GHz, id 0x106a5
[     1.000003] cpu0: package 0, core 0, smt 0
[     1.000003] cpu1 at mainbus0 apid 2
[     1.000003] cpu1: Intel(R) Xeon(R) CPU           W3565  @ 3.20GHz, id 0x106a5
[     1.000003] cpu1: package 0, core 1, smt 0
[     1.000003] cpu2 at mainbus0 apid 4
[     1.000003] cpu2: Intel(R) Xeon(R) CPU           W3565  @ 3.20GHz, id 0x106a5
[     1.000003] cpu2: package 0, core 2, smt 0
[     1.000003] cpu3 at mainbus0 apid 6
[     1.000003] cpu3: Intel(R) Xeon(R) CPU           W3565  @ 3.20GHz, id 0x106a5
[     1.000003] cpu3: package 0, core 3, smt 0
[     1.000003] cpu4 at mainbus0 apid 1
[     1.000003] cpu4: Intel(R) Xeon(R) CPU           W3565  @ 3.20GHz, id 0x106a5
[     1.000003] cpu4: package 0, core 0, smt 1
[     1.000003] cpu5 at mainbus0 apid 3
[     1.000003] cpu5: Intel(R) Xeon(R) CPU           W3565  @ 3.20GHz, id 0x106a5
[     1.000003] cpu5: package 0, core 1, smt 1
[     1.000003] cpu6 at mainbus0 apid 5
[     1.000003] cpu6: Intel(R) Xeon(R) CPU           W3565  @ 3.20GHz, id 0x106a5
[     1.000003] cpu6: package 0, core 2, smt 1
[     1.000003] cpu7 at mainbus0 apid 7
[     1.000003] cpu7: Intel(R) Xeon(R) CPU           W3565  @ 3.20GHz, id 0x106a5
[     1.000003] cpu7: package 0, core 3, smt 1
[     1.000003] acpi0 at mainbus0: Intel ACPICA 20190405
[     1.000003] acpi0: X/RSDT: OemId <092410,RSDT1941,20100924>, AslId <MSFT,00000097>
[     1.000003] acpi0: MCFG: segment 0, bus 0-255, address 0x00000000e0000000
[     1.000003] ACPI: Dynamic OEM Table Load:
[     1.000003] ACPI: SSDT 0xFFFFC10015D15000 00244C (v01 DpgPmm P001Ist  00000011 INTL 20060113)
[     1.000003] acpi0: SCI interrupting at int 9
[     1.000003] acpi0: fixed power button present
[     1.000003] timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
[     1.044083] hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
[     1.044083] timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000
[     1.044331] IOH (PNP0C01) at acpi0 not configured
[     1.044331] attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43 irq 0
[     1.044331] pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
[     1.044331] spkr0 at pcppi1: PC Speaker
[     1.044331] wsbell at spkr0 not configured
[     1.044331] midi0 at pcppi1: PC speaker
[     1.044331] sysbeep0 at pcppi1
[     1.044331] SIOR (PNP0C02) at acpi0 not configured
[     1.044331] RMSC (PNP0C02) at acpi0 not configured
[     1.044331] aibs0 at acpi0 (ASOC, ATK0110-16843024): ASUSTeK AI Booster
[     1.044331] FWH (INT0800) at acpi0 not configured
[     1.044331] FWHE (PNP0C02) at acpi0 not configured
[     1.044331] OMSC (PNP0C02) at acpi0 not configured
[     1.044331] pckbc1 at acpi0 (PS2K, PNP0303) (kbd port): io 0x60,0x64 irq 1
[     1.044331] PCIE (PNP0C02) at acpi0 not configured
[     1.044331] acpiwmi0 at acpi0 (WMI1, PNP0C14-MXM2): ACPI WMI Interface
[     1.044331] acpiwmibus at acpiwmi0 not configured
[     1.044331] RMEM (PNP0C01) at acpi0 not configured
[     1.044331] acpibut0 at acpi0 (PWRB, PNP0C0C-170): ACPI Power Button
[     1.044331] ACPI: Enabled 3 GPEs in block 00 to 3F
[     1.044331] attimer1: attached to pcppi1
[     1.044331] pckbd0 at pckbc1 (kbd slot)
[     1.044331] pckbc1: using irq 1 for kbd slot
[     1.044331] wskbd0 at pckbd0: console keyboard
[     1.044331] pci0 at mainbus0 bus 0: configuration mode 1
[     1.044331] pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
[     1.044331] pchb0 at pci0 dev 0 function 0: vendor 8086 product 3405 (rev. 0x13)
[     1.044331] ppb0 at pci0 dev 1 function 0: vendor 8086 product 3408 (rev. 0x13)
[     1.044331] ppb0: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x4 @ 5.0GT/s
[     1.044331] ppb0: link is x4 @ 2.5GT/s
[     1.044331] pci1 at ppb0 bus 1
[     1.044331] pci1: i/o space, memory space enabled, rd/line, wr/inv ok
[     1.044331] ppb1 at pci1 dev 0 function 0: vendor 1033 product 0125 (rev. 0x06)
[     1.044331] ppb1: PCI Express capability version 1 <PCI-E to PCI/PCI-X Bridge>
[     1.044331] pci2 at ppb1 bus 3
[     1.044331] pci2: i/o space, memory space enabled, rd/line, wr/inv ok
[     1.044331] ppb2 at pci1 dev 0 function 1: vendor 1033 product 0125 (rev. 0x06)
[     1.044331] ppb2: PCI Express capability version 1 <PCI-E to PCI/PCI-X Bridge>
[     1.044331] pci3 at ppb2 bus 2
[     1.044331] pci3: i/o space, memory space enabled, rd/line, wr/inv ok
[     1.044331] ppb3 at pci0 dev 3 function 0: vendor 8086 product 340a (rev. 0x13)
[     1.044331] ppb3: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x16 @ 5.0GT/s
[     1.044331] pci4 at ppb3 bus 4
[     1.044331] pci4: i/o space, memory space enabled, rd/line, wr/inv ok
[     1.044331] radeon0 at pci4 dev 0 function 0: vendor 1002 product 6818 (rev. 0x00)
[     1.044331] hdaudio0 at pci4 dev 0 function 1: HD Audio Controller
[     1.044331] hdaudio0: interrupting at msi0 vec 0
[     1.044331] hdafg0 at hdaudio0: vendor 1002 product aa01
[     1.044331] hdafg0: HDMI00 2ch: Digital Out [Jack]
[     1.044331] hdafg0: HDMI01 2ch: Digital Out [Jack]
[     1.044331] hdafg0: HDMI02 2ch: Digital Out [Jack]
[     1.044331] hdafg0: HDMI03 2ch: Digital Out [Jack]
[     1.044331] hdafg0: HDMI04 2ch: Digital Out [Jack]
[     1.044331] hdafg0: HDMI05 2ch: Digital Out [Jack]
[     1.044331] hdafg0: 2ch/0ch 32000Hz 44100Hz 48000Hz PCM16 AC3
[     1.044331] ppb4 at pci0 dev 7 function 0: vendor 8086 product 340e (rev. 0x13)
[     1.044331] ppb4: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x16 @ 5.0GT/s
[     1.044331] pci5 at ppb4 bus 5
[     1.044331] pci5: i/o space, memory space enabled, rd/line, wr/inv ok
[     1.044331] vendor 8086 product 342e (interrupt system, generic 8259, revision 0x13) at pci0 dev 20 function 0 not configured
[     1.044331] vendor 8086 product 3422 (interrupt system, generic 8259, revision 0x13) at pci0 dev 20 function 1 not configured
[     1.044331] vendor 8086 product 3423 (interrupt system, generic 8259, revision 0x13) at pci0 dev 20 function 2 not configured
[     1.044331] vendor 8086 product 3438 (interrupt system, generic 8259, revision 0x13) at pci0 dev 20 function 3 not configured
[     1.044331] uhci0 at pci0 dev 26 function 0: vendor 8086 product 3a37 (rev. 0x00)
[     1.044331] uhci0: interrupting at ioapic0 pin 16
[     1.044331] usb0 at uhci0: USB revision 1.0
[     1.044331] uhci1 at pci0 dev 26 function 1: vendor 8086 product 3a38 (rev. 0x00)
[     1.044331] uhci1: interrupting at ioapic0 pin 21
[     1.044331] usb1 at uhci1: USB revision 1.0
[     1.044331] uhci2 at pci0 dev 26 function 2: vendor 8086 product 3a39 (rev. 0x00)
[     1.044331] uhci2: interrupting at ioapic0 pin 19
[     1.044331] usb2 at uhci2: USB revision 1.0
[     1.044331] ehci0 at pci0 dev 26 function 7: vendor 8086 product 3a3c (rev. 0x00)
[     1.044331] ehci0: interrupting at ioapic0 pin 18
[     1.044331] ehci0: EHCI version 1.0
[     1.044331] ehci0: 3 companion controllers, 2 ports each: uhci0 uhci1 uhci2
[     1.044331] usb3 at ehci0: USB revision 2.0
[     1.044331] hdaudio1 at pci0 dev 27 function 0: HD Audio Controller
[     1.044331] hdaudio1: interrupting at msi1 vec 0
[     1.044331] hdafg1 at hdaudio1: vendor 11d4 product 989b
[     1.044331] hdafg1: DAC00 8ch: Speaker [Jack]
[     1.044331] hdafg1: ADC01 2ch: CD [Built-In], Line In [Jack], Mic In [Jack]
[     1.044331] hdafg1: DAC02 2ch: HP Out [Jack]
[     1.044331] hdafg1: DIG03 2ch: SPDIF Out [Jack]
[     1.044331] hdafg1: DIG04 2ch: Digital Out [Jack]
[     1.044331] hdafg1: 8ch/2ch 8000Hz 11025Hz 16000Hz 22050Hz 32000Hz 44100Hz 48000Hz 88200Hz 96000Hz 192000Hz PCM16 PCM20 PCM24 AC3
[     1.044331] audio0 at hdafg1: playback, capture, full duplex, independent
[     1.044331] audio0: slinear_le:16 8ch 48000Hz, blk 40ms for playback
[     1.044331] audio0: slinear_le:16 2ch 48000Hz, blk 40ms for recording
[     1.044331] spkr1 at audio0: PC Speaker (synthesized)
[     1.044331] wsbell at spkr1 not configured
[     1.044331] ppb5 at pci0 dev 28 function 0: vendor 8086 product 3a40 (rev. 0x00)
[     1.044331] ppb5: PCI Express capability version 1 <Root Port of PCI-E Root Complex> x1 @ 2.5GT/s
[     1.044331] pci6 at ppb5 bus 9
[     1.044331] pci6: i/o space, memory space enabled, rd/line, wr/inv ok
[     1.044331] athn0 at pci6 dev 0 function 0: Atheros AR9280
[     1.044331] athn0: rev 2 (2T2R), ROM rev 11, address 00:26:82:60:82:5f
[     1.044331] athn0: interrupting at ioapic0 pin 16
[     1.044331] athn0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
[     1.044331] athn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
[     1.044331] athn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
[     1.044331] ppb6 at pci0 dev 28 function 1: vendor 8086 product 3a42 (rev. 0x00)
[     1.044331] ppb6: PCI Express capability version 1 <Root Port of PCI-E Root Complex> x1 @ 2.5GT/s
[     1.044331] pci7 at ppb6 bus 8
[     1.044331] pci7: i/o space, memory space enabled, rd/line, wr/inv ok
[     1.044331] re0 at pci7 dev 0 function 0: RealTek 8168/8111 PCIe Gigabit Ethernet (rev. 0x02)
[     1.044331] re0: interrupting at msix2 vec 0
[     1.044331] re0: Ethernet address 14:da:e9:20:0b:ce
[     1.044331] re0: using 256 tx descriptors
[     1.044331] rgephy0 at re0 phy 7: RTL8211B 1000BASE-T media interface
[     1.044331] rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
[     1.044331] ppb7 at pci0 dev 28 function 2: vendor 8086 product 3a44 (rev. 0x00)
[     1.044331] ppb7: PCI Express capability version 1 <Root Port of PCI-E Root Complex> x1 @ 2.5GT/s
[     1.044331] pci8 at ppb7 bus 7
[     1.044331] pci8: i/o space, memory space enabled, rd/line, wr/inv ok
[     1.044331] re1 at pci8 dev 0 function 0: RealTek 8168/8111 PCIe Gigabit Ethernet (rev. 0x02)
[     1.044331] re1: interrupting at msix3 vec 0
[     1.044331] re1: Ethernet address 14:da:e9:20:0c:40
[     1.044331] re1: using 256 tx descriptors
[     1.044331] rgephy1 at re1 phy 7: RTL8211B 1000BASE-T media interface
[     1.044331] rgephy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
[     1.044331] ppb8 at pci0 dev 28 function 3: vendor 8086 product 3a46 (rev. 0x00)
[     1.044331] ppb8: PCI Express capability version 1 <Root Port of PCI-E Root Complex> x1 @ 2.5GT/s
[     1.044331] pci9 at ppb8 bus 6
[     1.044331] pci9: i/o space, memory space enabled, rd/line, wr/inv ok
[     1.044331] ahcisata0 at pci9 dev 0 function 0: vendor 11ab product 6121 (rev. 0xb2)
[     1.044331] ahcisata0: 64-bit DMA
[     1.044331] ahcisata0: ignoring broken port multiplier support
[     1.044331] ahcisata0: AHCI revision 1.0, 3 ports, 32 slots, CAP 0xca207f02<PSC,SSC,ISS=0x2=Gen2,SAL,SSS,SNCQ,S64A>
[     1.044331] ahcisata0: interrupting at msi4 vec 0
[     1.044331] atabus0 at ahcisata0 channel 0
[     1.044331] atabus1 at ahcisata0 channel 1
[     1.044331] atabus2 at ahcisata0 channel 2
[     1.044331] uhci3 at pci0 dev 29 function 0: vendor 8086 product 3a34 (rev. 0x00)
[     1.044331] uhci3: interrupting at ioapic0 pin 23
[     1.044331] usb4 at uhci3: USB revision 1.0
[     1.044331] uhci4 at pci0 dev 29 function 1: vendor 8086 product 3a35 (rev. 0x00)
[     1.044331] uhci4: interrupting at ioapic0 pin 19
[     1.044331] usb5 at uhci4: USB revision 1.0
[     1.044331] uhci5 at pci0 dev 29 function 2: vendor 8086 product 3a36 (rev. 0x00)
[     1.044331] uhci5: interrupting at ioapic0 pin 18
[     1.044331] usb6 at uhci5: USB revision 1.0
[     1.044331] ehci1 at pci0 dev 29 function 7: vendor 8086 product 3a3a (rev. 0x00)
[     1.044331] ehci1: interrupting at ioapic0 pin 23
[     1.044331] ehci1: EHCI version 1.0
[     1.044331] ehci1: 3 companion controllers, 2 ports each: uhci3 uhci4 uhci5
[     1.044331] usb7 at ehci1: USB revision 2.0
[     1.044331] ppb9 at pci0 dev 30 function 0: vendor 8086 product 244e (rev. 0x90)
[     1.044331] pci10 at ppb9 bus 10
[     1.044331] pci10: i/o space, memory space enabled
[     1.044331] fwohci0 at pci10 dev 4 function 0: vendor 11c1 product 5811 (rev. 0x70)
[     1.044331] fwohci0: interrupting at ioapic0 pin 19
[     1.044331] fwohci0: OHCI version 1.0 (ROM=1)
[     1.044331] fwohci0: No. of Isochronous channels is 8.
[     1.044331] fwohci0: EUI64 00:1e:8c:00:00:e5:18:a0
[     1.044331] fwohci0: Phy 1394a available S400, 2 ports.
[     1.044331] fwohci0: Link S400, max_rec 2048 bytes.
[     1.044331] ieee1394if0 at fwohci0: IEEE1394 bus
[     1.044331] fwip0 at ieee1394if0: IP over IEEE1394
[     1.044331] fwohci0: Initiate bus reset
[     1.044331] fwohci0: Clear PME# now
[     1.044331] ichlpcib0 at pci0 dev 31 function 0: vendor 8086 product 3a16 (rev. 0x00)
[     1.044331] timecounter: Timecounter "ichlpcib0" frequency 3579545 Hz quality 1000
[     1.044331] ichlpcib0: 24-bit timer
[     1.044331] tco0 at ichlpcib0: TCO (watchdog) timer configured.
[     1.044331] tco0: Min/Max interval 1/367 seconds
[     1.044331] piixide0 at pci0 dev 31 function 2: Intel 82801JI Serial ATA Controller (ICH10) (rev. 0x00)
[     1.044331] piixide0: bus-master DMA support present
[     1.044331] piixide0: primary channel configured to native-PCI mode
[     1.044331] piixide0: using ioapic0 pin 19 for native-PCI interrupt
[     1.044331] atabus3 at piixide0 channel 0
[     1.044331] piixide0: secondary channel configured to native-PCI mode
[     1.044331] atabus4 at piixide0 channel 1
[     1.044331] ichsmb0 at pci0 dev 31 function 3: vendor 8086 product 3a30 (rev. 0x00)
[     1.044331] ichsmb0: interrupting at ioapic0 pin 18
[     1.044331] iic0 at ichsmb0: I2C bus
[     1.044331] piixide1 at pci0 dev 31 function 5: Intel 82801JI Serial ATA Controller (ICH10) (rev. 0x00)
[     1.044331] piixide1: bus-master DMA support present
[     1.044331] piixide1: primary channel wired to native-PCI mode
[     1.044331] piixide1: using ioapic0 pin 19 for native-PCI interrupt
[     1.044331] atabus5 at piixide1 channel 0
[     1.044331] piixide1: secondary channel wired to native-PCI mode
[     1.044331] atabus6 at piixide1 channel 1
[     1.044331] isa0 at ichlpcib0
[     1.044331] lpt0 at isa0 port 0x378-0x37b irq 7
[     1.044331] com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
[     1.044331] acpicpu0 at cpu0: ACPI CPU
[     1.044331] acpicpu0: C1: HLT, lat   0 us, pow     0 mW
[     1.044331] acpicpu0: P0: FFH, lat  10 us, pow 143000 mW, 3201 MHz, turbo boost
[     1.044331] acpicpu0: P1: FFH, lat  10 us, pow 130000 mW, 3200 MHz
[     1.044331] acpicpu0: P2: FFH, lat  10 us, pow 114000 mW, 3067 MHz
[     1.044331] acpicpu0: P3: FFH, lat  10 us, pow 102000 mW, 2933 MHz
[     1.044331] acpicpu0: P4: FFH, lat  10 us, pow 92000 mW, 2800 MHz
[     1.044331] acpicpu0: P5: FFH, lat  10 us, pow 82000 mW, 2667 MHz
[     1.044331] acpicpu0: P6: FFH, lat  10 us, pow 74000 mW, 2533 MHz
[     1.044331] acpicpu0: P7: FFH, lat  10 us, pow 66000 mW, 2400 MHz
[     1.044331] acpicpu0: P8: FFH, lat  10 us, pow 57000 mW, 2267 MHz
[     1.044331] acpicpu0: P9: FFH, lat  10 us, pow 51000 mW, 2133 MHz
[     1.044331] acpicpu0: P10: FFH, lat  10 us, pow 46000 mW, 2000 MHz
[     1.044331] acpicpu0: P11: FFH, lat  10 us, pow 41000 mW, 1867 MHz
[     1.044331] acpicpu0: P12: FFH, lat  10 us, pow 37000 mW, 1733 MHz
[     1.044331] acpicpu0: P13: FFH, lat  10 us, pow 33000 mW, 1600 MHz
[     1.044331] coretemp0 at cpu0: thermal sensor, 1 C resolution, Tjmax=100
[     1.044331] acpicpu1 at cpu1: ACPI CPU
[     1.044331] coretemp1 at cpu1: thermal sensor, 1 C resolution, Tjmax=100
[     1.044331] acpicpu2 at cpu2: ACPI CPU
[     1.044331] coretemp2 at cpu2: thermal sensor, 1 C resolution, Tjmax=100
[     1.044331] acpicpu3 at cpu3: ACPI CPU
[     1.044331] coretemp3 at cpu3: thermal sensor, 1 C resolution, Tjmax=100
[     1.044331] acpicpu4 at cpu4: ACPI CPU
[     1.044331] acpicpu5 at cpu5: ACPI CPU
[     1.044331] acpicpu6 at cpu6: ACPI CPU
[     1.044331] acpicpu7 at cpu7: ACPI CPU
[     1.044331] fwohci0: BUS reset
[     1.044331] fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
[     1.044331] ieee1394if0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me)
[     1.044331] ieee1394if0: bus manager 0
[     1.044331] timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
[     1.422808] autoconfiguration error: ERROR: 278 cycle TSC drift observed
[     1.422808] IPsec: Initialized Security Association Processing.
[     1.442820] uhub0 at usb0: NetBSD (0000) UHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
[     1.442820] uhub0: 2 ports with 2 removable, self powered
[     1.442820] uhub1 at usb1: NetBSD (0000) UHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
[     1.442820] uhub1: 2 ports with 2 removable, self powered
[     1.442820] uhub2 at usb2: NetBSD (0000) UHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
[     1.442820] uhub2: 2 ports with 2 removable, self powered
[     1.442820] uhub3 at usb3: NetBSD (0000) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
[     1.442820] uhub3: 6 ports with 6 removable, self powered
[     1.442820] uhub4 at usb4: NetBSD (0000) UHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
[     1.442820] uhub4: 2 ports with 2 removable, self powered
[     1.442820] uhub5 at usb5: NetBSD (0000) UHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
[     1.442820] uhub5: 2 ports with 2 removable, self powered
[     1.442820] uhub6 at usb6: NetBSD (0000) UHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
[     1.442820] uhub6: 2 ports with 2 removable, self powered
[     1.442820] uhub7 at usb7: NetBSD (0000) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
[     1.442820] uhub7: 6 ports with 6 removable, self powered
[     2.463676] delaying ask root by 5 seconds due to USB owner change.ehci1: handing over low speed device on port 3 to uhci4
[     2.523700] atapibus0 at atabus4: 2 targets
[     2.533708] cd0 at atapibus0 drive 0: <ATAPI   iHAS120   D, 3520015 2C8240503981, GL02> cdrom removable
[     2.533708] cd0: 32-bit data port
[     2.533708] cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
[     2.533708] wd0 at atabus4 drive 1
[     2.533708] wd0: <SAMSUNG HD501LJ>
[     2.533708] wd0: drive supports 16-sector PIO transfers, LBA48 addressing
[     2.533708] wd0: 465 GB, 969021 cyl, 16 head, 63 sec, 512 bytes/sect x 976773168 sectors
[     2.563733] wd0: GPT GUID: 0ec9a630-50ff-43ec-93da-d682425cb193
[     2.573749] dk0 at wd0: "0485992e-c1b5-4344-93a4-e2b549689562", 926474221 blocks at 2048, type: ffs
[     2.573749] dk1 at wd0: "3f6c96e8-ac84-47af-bd90-9b8adb06d076", 50296847 blocks at 926476288, type: swap
[     2.573749] wd0: 32-bit data port
[     2.573749] wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 7, NCQ (32 tags)
[     2.573749] cd0(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
[     2.573749] wd0(piixide0:1:1): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
[     2.833859] ehci1: handing over low speed device on port 4 to uhci4
[     3.694226] umass0 at uhub3 port 4 configuration 1 interface 0
[     3.694226] umass0: Generic (0x58f) Mass Storage Device (0x6362), rev 2.00/1.00, addr 2
[     3.694226] umass0: using SCSI over Bulk-Only
[     3.694226] scsibus0 at umass0: 2 targets, 4 luns per target
[     3.694226] sd0 at scsibus0 target 0 lun 0: <Generic, USB SD Reader, 1.00> disk removable
[     3.694226] sd0: drive offline
[     3.694226] sd1 at scsibus0 target 0 lun 1: <Generic, USB CF Reader, 1.01> disk removable
[     3.694226] sd1: drive offline
[     3.694226] sd2 at scsibus0 target 0 lun 2: <Generic, USB xD/SM Reader, 1.02> disk removable
[     3.704258] sd2: drive offline
[     3.704258] sd3 at scsibus0 target 0 lun 3: <Generic, USB MS Reader, 1.03> disk removable
[     3.704258] sd3: drive offline
[     4.474599] uhidev0 at uhub5 port 1 configuration 1 interface 0
[     4.474599] uhidev0: Microsoft (0x45e) Microsoft Basic Optical Mouse v2.0 (0xcb), rev 1.10/1.99, addr 2, iclass 3/1
[     4.484607] ums0 at uhidev0: 3 buttons and Z dir
[     4.484607] wsmouse0 at ums0 mux 0
[     5.224915] umass1 at uhub3 port 6 configuration 1 interface 0
[     5.224915] umass1: SanDisk (0x781) ExtremePro (0x5588), rev 2.10/0.10, addr 3
[     5.224915] umass1: using SCSI over Bulk-Only
[     5.224915] scsibus1 at umass1: 2 targets, 1 lun per target
[     5.224915] sd4 at scsibus1 target 0 lun 0: <SanDisk, ExtremePro, 0001> disk removable
[     5.555061] sd4(umass1:0:0:0):  Check Condition on CDB: 0x00 00 00 00 00 00
[     5.555061] SENSE KEY:  Not Ready
[     5.555061] ASC/ASCQ:  Logical Unit Is In Process Of Becoming Ready
[     5.555061] sd4: drive offline
[     5.555061] sd4: fabricating a geometry
[     6.265365] uhidev1 at uhub5 port 2 configuration 1 interface 0
[     6.265365] uhidev1: vendor 046a (0x46a) product 0023 (0x23), rev 2.00/2.20, addr 3, iclass 3/1
[     6.295381] ukbd0 at uhidev1: 8 Variable keys, 6 Array codes
[     6.705551] wskbd1 at ukbd0 mux 1
[     6.705551] uhidev2 at uhub5 port 2 configuration 1 interface 1
[     6.705551] uhidev2: vendor 046a (0x46a) product 0023 (0x23), rev 2.00/2.20, addr 3, iclass 3/0
[     6.735568] uhidev2: 2 report ids
[     6.735568] uhid0 at uhidev2 reportid 1: input=2, output=0, feature=0
[     6.735568] uhid1 at uhidev2 reportid 2: input=1, output=0, feature=0
[     7.535937] WARNING: 1 error while detecting hardware; check system log.
[     7.535937] boot device: wd0
[     7.535937] root on dk0 dumps on dk1
[     7.565961] root file system type: ffs
[     7.565961] kern.module.path=/stand/amd64/8.99.45/modules
[     7.565961] kern info: [drm] initializing kernel modesetting (PITCAIRN 0x1002:0x6818 0x1682:0x3252).
[     7.565961] kern info: [drm] register mmio base: 0xfb980000
[     7.565961] kern info: [drm] register mmio size: 262144
[     8.256252] kern info: ATOM BIOS: C40102
[     8.256252] radeon0: info: VRAM: 2048M 0x0000000000000000 - 0x000000007FFFFFFF (2048M used)
[     8.256252] radeon0: info: GTT: 2048M 0x0000000080000000 - 0x00000000FFFFFFFF
[     8.266251] kern info: [drm] Detected VRAM RAM=800M, BAR=256M
[     8.266251] kern info: [drm] RAM width 256bits DDR
[     8.266251] Zone  kernel: Available graphics memory: 4069846 kiB
[     8.266251] Zone   dma32: Available graphics memory: 2097152 kiB
[     8.266251] kern info: [drm] radeon: 2048M of VRAM memory ready
[     8.266251] kern info: [drm] radeon: 2048M of GTT memory ready.
[     8.266251] kern info: [drm] Loading pitcairn Microcode
[     8.366298] kern info: [drm] radeon/PITCAIRN_mc2.bin: 31100 bytes
[     8.366298] kern info: [drm] Internal thermal controller with fan control
[     8.386333] kern info: [drm] radeon: dpm initialized
[     8.386333] radeon0: autoconfiguration error: error: radeon_vce: Can't load firmware "radeon/TAHITI_vce.bin"
[     8.386333] kern info: [drm] GART: num cpu pages 524288, num gpu pages 524288
[     8.416369] kern info: [drm] PCIE GART of 2048M enabled (table at 0x0000000000277000).
[     8.416369] radeon0: info: WB enabled
[     8.416369] radeon0: info: fence driver on ring 0 use gpu addr 0x0000000080000c00 and cpu addr 0x0xffff9fbb6eafbc00
[     8.416369] radeon0: info: fence driver on ring 1 use gpu addr 0x0000000080000c04 and cpu addr 0x0xffff9fbb6eafbc04
[     8.416369] radeon0: info: fence driver on ring 2 use gpu addr 0x0000000080000c08 and cpu addr 0x0xffff9fbb6eafbc08
[     8.416369] radeon0: info: fence driver on ring 3 use gpu addr 0x0000000080000c0c and cpu addr 0x0xffff9fbb6eafbc0c
[     8.416369] radeon0: info: fence driver on ring 4 use gpu addr 0x0000000080000c10 and cpu addr 0x0xffff9fbb6eafbc10
[     8.416369] radeon0: info: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0x0xffffc100f7485a18
[     8.416369] radeon0: autoconfiguration error: error: VCE init error (-22).
[     8.416369] kern info: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[     8.416369] kern info: [drm] Driver supports precise vblank timestamp query.
[     8.416369] radeon0: info: radeon: MSI limited to 32-bit
[     8.416369] radeon0: interrupting at ioapic1 pin 0 (radeon0)
[     8.416369] kern info: [drm] radeon: irq initialized.
[     8.606446] kern info: [drm] ring test on 0 succeeded in 3 usecs
[     8.606446] kern info: [drm] ring test on 1 succeeded in 1 usecs
[     8.606446] kern info: [drm] ring test on 2 succeeded in 1 usecs
[     8.606446] kern info: [drm] ring test on 3 succeeded in 6 usecs
[     8.606446] kern info: [drm] ring test on 4 succeeded in 6 usecs
[     8.776514] kern info: [drm] ring test on 5 succeeded in 2 usecs
[     8.776514] kern info: [drm] UVD initialized successfully.
[     8.776514] kern info: [drm] ib test on ring 0 succeeded in 0 usecs
[     8.776514] kern info: [drm] ib test on ring 1 succeeded in 0 usecs
[     8.776514] kern info: [drm] ib test on ring 2 succeeded in 0 usecs
[     8.786519] kern info: [drm] ib test on ring 3 succeeded in 0 usecs
[     8.786519] kern info: [drm] ib test on ring 4 succeeded in 0 usecs
[     9.426789] kern info: [drm] ib test on ring 5 succeeded
[     9.426789] kern info: [drm] Radeon Display Connectors
[     9.426789] kern info: [drm] Connector 0:
[     9.426789] kern info: [drm]   DP-1
[     9.426789] kern info: [drm]   HPD4
[     9.426789] kern info: [drm]   DDC: 0x6530 0x6530 0x6534 0x6534 0x6538 0x6538 0x653c 0x653c
[     9.426789] kern info: [drm]   Encoders:
[     9.426789] kern info: [drm]     DFP1: INTERNAL_UNIPHY2
[     9.426789] kern info: [drm] Connector 1:
[     9.426789] kern info: [drm]   DP-2
[     9.426789] kern info: [drm]   HPD5
[     9.426789] kern info: [drm]   DDC: 0x6540 0x6540 0x6544 0x6544 0x6548 0x6548 0x654c 0x654c
[     9.426789] kern info: [drm]   Encoders:
[     9.426789] kern info: [drm]     DFP2: INTERNAL_UNIPHY2
[     9.426789] kern info: [drm] Connector 2:
[     9.426789] kern info: [drm]   HDMI-A-1
[     9.426789] kern info: [drm]   HPD1
[     9.426789] kern info: [drm]   DDC: 0x6550 0x6550 0x6554 0x6554 0x6558 0x6558 0x655c 0x655c
[     9.426789] kern info: [drm]   Encoders:
[     9.426789] kern info: [drm]     DFP3: INTERNAL_UNIPHY1
[     9.426789] kern info: [drm] Connector 3:
[     9.426789] kern info: [drm]   DVI-I-1
[     9.426789] kern info: [drm]   HPD6
[     9.426789] kern info: [drm]   DDC: 0x6580 0x6580 0x6584 0x6584 0x6588 0x6588 0x658c 0x658c
[     9.426789] kern info: [drm]   Encoders:
[     9.426789] kern info: [drm]     DFP4: INTERNAL_UNIPHY
[     9.426789] kern info: [drm]     CRT1: INTERNAL_KLDSCP_DAC1
[     9.426789] kern info: [drm] Connector 4:
[     9.426789] kern info: [drm]   DVI-D-1
[     9.436801] kern info: [drm]   HPD3
[     9.436801] kern info: [drm]   DDC: 0x6570 0x6570 0x6574 0x6574 0x6578 0x6578 0x657c 0x657c
[     9.436801] kern info: [drm]   Encoders:
[     9.436801] kern info: [drm]     DFP5: INTERNAL_UNIPHY1
[     9.496819] radeondrmkmsfb0 at radeon0
[     9.496819] radeondrmkmsfb0: framebuffer at 0xffffc100f7ed5000, size 3840x2160, depth 32, stride 15360
[     9.666887] kern error: [drm:(/usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_si_dpm.c:6626)si_dpm_set_power_state] *ERROR* si_restrict_performance_levels_before_switch failed
[     9.766928] wsdisplay0 at radeondrmkmsfb0 kbdmux 1: console (default, vt100 emulation), using wskbd0
[     9.847158] wsmux1: connecting to wsdisplay0
[     9.847158] wskbd1: connecting to wsdisplay0
[    28.104865] sd0(umass0:0:0:0):  Check Condition on CDB: 0x00 00 00 00 00 00
[    28.104865] SENSE KEY:  Not Ready
[    28.104865] COMMAND INFO:  11162944 (0xaa5540)
[    28.104865] ASC/ASCQ:  Medium Not Present
[    31.786389] aibs0: warning under limit on 'CHASSIS1 FAN Speed'
[    32.086523] aibs0: warning under limit on 'CHASSIS2 FAN Speed'
[    32.286616] aibs0: warning under limit on 'CHASSIS3 FAN Speed'
[    32.436689] aibs0: warning under limit on 'POWER FAN Speed'
>Fix:
Yes, please.

>Audit-Trail:
From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc: 
Subject: Re: kern/54317: System hang during boot
Date: Sun, 23 Jun 2019 11:03:41 +0200

 On Sat, Jun 22, 2019 at 11:15:01AM +0000, Thomas Klausner wrote:
 > >Number:         54317
 > >Category:       kern
 > >Synopsis:       System hang during boot

 I remembered that the graphics card was newer than 2010 and there's this warning:

 > [     8.386333] radeon0: autoconfiguration error: error: radeon_vce: Can't load firmware "radeon/TAHITI_vce.bin"

 So I tried disableing all radeon* and radeondrmkmsfb* and radeonfb*
 with userconf, but that didn't help.

 Other ideas, anyone?
  Thomas

From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@netbsd.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
    netbsd-bugs@netbsd.org, Thomas Klausner <wiz@NetBSD.org>
Subject: re: kern/54317: System hang during boot
Date: Sun, 23 Jun 2019 22:34:38 +1000

 >  I remembered that the graphics card was newer than 2010 and there's thi=
 s warning:
 >  =

 >  > [     8.386333] radeon0: autoconfiguration error: error: radeon_vce: =
 Can't load firmware "radeon/TAHITI_vce.bin"

 [     7.565961] kern info: [drm] initializing kernel modesetting (PITCAIRN=
  0x1002:0x6818 0x1682:0x3252).

 ah, "southern islands".

 i have a card in this generation and we're out of luck until we
 get a drm update.  the existing code only supports them in the
 radeon driver, but much of the rest is broken in radeon vs
 amdgpu driver -- Mesa complains (tries amdgpu style fail), and
 i don't recall that Xvideo even works.

 the newer drm code supports this card in amdgpu and i suspect
 then it will be fine.  until then, this card will not work well.
 (if our amdgpu code worked, newer tech cards might work, but =

 this 1st generation GCN was poorly supported in our drm.)

 >  So I tried disableing all radeon* and radeondrmkmsfb* and radeonfb*
 > with userconf, but that didn't help.

 what happened?  i assume vga attached instead, and whatever the
 problem is remains, ie, probably not the gpu?

 i would just keep disabling drivers -- there are a *lot* that
 attach something -- and see if anything helps.


 .mrg.

From: Thomas Klausner <wiz@NetBSD.org>
To: matthew green <mrg@eterna.com.au>
Cc: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Subject: Re: kern/54317: System hang during boot
Date: Sun, 23 Jun 2019 19:35:50 +0200

 On Sun, Jun 23, 2019 at 10:34:38PM +1000, Matthew Green wrote:
 > >  So I tried disableing all radeon* and radeondrmkmsfb* and radeonfb*
 > > with userconf, but that didn't help.
 > 
 > what happened?  i assume vga attached instead, and whatever the
 > problem is remains, ie, probably not the gpu?

 I got a text console (I didn't check the dmesg for details, but I can
 if you want to know something in particular) and it hung in the same
 place, after the line about setting tty flags.

 > i would just keep disabling drivers -- there are a *lot* that
 > attach something -- and see if anything helps.

 There are a lot of drivers in GENERIC - are there any you would try
 disabling first?

 Thank you,
  Thomas

From: matthew green <mrg@eterna.com.au>
To: Thomas Klausner <wiz@NetBSD.org>
Cc: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Subject: re: kern/54317: System hang during boot
Date: Mon, 24 Jun 2019 07:11:19 +1000

 Thomas Klausner writes:
 > On Sun, Jun 23, 2019 at 10:34:38PM +1000, Matthew Green wrote:
 > > >  So I tried disableing all radeon* and radeondrmkmsfb* and radeonfb*
 > > > with userconf, but that didn't help.
 > > 
 > > what happened?  i assume vga attached instead, and whatever the
 > > problem is remains, ie, probably not the gpu?
 > 
 > I got a text console (I didn't check the dmesg for details, but I can
 > if you want to know something in particular) and it hung in the same
 > place, after the line about setting tty flags.

 hmmm, try turning off ttyflags in rc.conf.  this may be
 triggering some problem ...

 alternatively, boot single user and run /etc/rc.d/ttyflags
 and see if that hangs, if it does, next attempt would be to
 comment various lines in /etc/ttys until ttyflags does _not_
 hang...

 > > i would just keep disabling drivers -- there are a *lot* that
 > > attach something -- and see if anything helps.
 > 
 > There are a lot of drivers in GENERIC - are there any you would try
 > disabling first?

 hmmm, this might need a kernel or smarts in user conf:

 - disable @ acpi attachments (eg, pckbc)
 - disable com(4)
 - networks (re0, re1, athn0)


 .mrg.

From: Thomas Klausner <wiz@NetBSD.org>
To: matthew green <mrg@eterna.com.au>
Cc: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Subject: Re: kern/54317: System hang during boot
Date: Tue, 2 Jul 2019 19:52:01 +0200

 I did my tests with 8.99.46 because that was still installed.

 On Mon, Jun 24, 2019 at 07:11:19AM +1000, Matthew Green wrote:
 > Thomas Klausner writes:
 > > On Sun, Jun 23, 2019 at 10:34:38PM +1000, Matthew Green wrote:
 > > > >  So I tried disableing all radeon* and radeondrmkmsfb* and radeonfb*
 > > > > with userconf, but that didn't help.
 > > > 
 > > > what happened?  i assume vga attached instead, and whatever the
 > > > problem is remains, ie, probably not the gpu?
 > > 
 > > I got a text console (I didn't check the dmesg for details, but I can
 > > if you want to know something in particular) and it hung in the same
 > > place, after the line about setting tty flags.
 > 
 > hmmm, try turning off ttyflags in rc.conf.  this may be
 > triggering some problem ...
 > 
 > alternatively, boot single user and run /etc/rc.d/ttyflags
 > and see if that hangs,

 It did.

 > if it does, next attempt would be to
 > comment various lines in /etc/ttys until ttyflags does _not_
 > hang...
 > 
 > > > i would just keep disabling drivers -- there are a *lot* that
 > > > attach something -- and see if anything helps.
 > > 
 > > There are a lot of drivers in GENERIC - are there any you would try
 > > disabling first?
 > 
 > hmmm, this might need a kernel or smarts in user conf:
 > 
 > - disable @ acpi attachments (eg, pckbc)
 > - disable com(4)

 Disabling "com0 at isa*" makes the boot finish successfully.

 Alternatively, I can comment out the tty0* lines in /etc/ttys to make
 the build succeed.

 Thanks for the hints!

 Should we disable "com0 at isa*" in GENERIC?
  Thomas

From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gnats-bugs@netbsd.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,
        Thomas Klausner <wiz@NetBSD.org>
Subject: Re: kern/54317: System hang during boot
Date: Wed, 3 Jul 2019 10:12:41 +0200

 On Tue, Jul 02, 2019 at 05:55:01PM +0000, Thomas Klausner wrote:
 >  [...]
 >  
 >  Should we disable "com0 at isa*" in GENERIC?

 I hope not, I use it on a recular basis

 -- 
 Manuel Bouyer <bouyer@antioche.eu.org>
      NetBSD: 26 ans d'experience feront toujours la difference
 --

From: Thomas Klausner <wiz@NetBSD.org>
To: Manuel Bouyer <bouyer@antioche.eu.org>
Cc: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Subject: Re: kern/54317: System hang during boot
Date: Sat, 20 Jul 2019 17:27:44 +0200

 On Wed, Jul 03, 2019 at 10:12:41AM +0200, Manuel Bouyer wrote:
 > On Tue, Jul 02, 2019 at 05:55:01PM +0000, Thomas Klausner wrote:
 > >  [...]
 > >  
 > >  Should we disable "com0 at isa*" in GENERIC?
 > 
 > I hope not, I use it on a recular basis

 Well, if it makes machines hang, that's a reason to improve the driver
 or disable it, in my eyes.

 I replaced it with "com* at acpi*" but no com device was detected (and
 there are no serial connectors on the outside of the machine). So not
 even ACPI believes it has a serial interface, and still com0 at isa*
 attaches.
  Thomas

From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@netbsd.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org, Thomas Klausner <wiz@NetBSD.org>
Subject: Re: kern/54317: System hang during boot
Date: Sat, 20 Jul 2019 17:44:30 +0200

 On Sat, Jul 20, 2019 at 03:30:02PM +0000, Thomas Klausner wrote:
 >  Well, if it makes machines hang, that's a reason to improve the driver
 >  or disable it, in my eyes.

 We should find out what is up. I also use the driver on a daily basis.

 >  I replaced it with "com* at acpi*" but no com device was detected (and
 >  there are no serial connectors on the outside of the machine). So not
 >  even ACPI believes it has a serial interface, and still com0 at isa*
 >  attaches.

 Many chipsets have the com hardware build in, but either no connector is
 run to the outside of the box (only a header on the mainboard), or it is
 not connected at all. Usually this is documented in the mainboard manual.

 Martin

From: Manuel Bouyer <bouyer@antioche.eu.org>
To: Thomas Klausner <wiz@NetBSD.org>
Cc: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Subject: Re: kern/54317: System hang during boot
Date: Sat, 20 Jul 2019 17:51:59 +0200

 On Sat, Jul 20, 2019 at 05:27:44PM +0200, Thomas Klausner wrote:
 > On Wed, Jul 03, 2019 at 10:12:41AM +0200, Manuel Bouyer wrote:
 > > On Tue, Jul 02, 2019 at 05:55:01PM +0000, Thomas Klausner wrote:
 > > >  [...]
 > > >  
 > > >  Should we disable "com0 at isa*" in GENERIC?
 > > 
 > > I hope not, I use it on a recular basis
 > 
 > Well, if it makes machines hang, that's a reason to improve the driver
 > or disable it, in my eyes.
 > 
 > I replaced it with "com* at acpi*" but no com device was detected (and
 > there are no serial connectors on the outside of the machine). So not
 > even ACPI believes it has a serial interface, and still com0 at isa*
 > attaches.

 Ha yes, these days I guess using com* at acpi* would be good enough.

 -- 
 Manuel Bouyer <bouyer@antioche.eu.org>
      NetBSD: 26 ans d'experience feront toujours la difference
 --

From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/54317: System hang during boot
Date: Wed, 7 Aug 2019 20:03:56 +0200

 I checked all my machines (most of them I had to add a serial connector
 myself, as they only came with a header on the mainboard) and all of
 them properly show the com ports via acpi.

 So no objection to changing the amd64 GENERIC kernel to use the (currently
 commented out) acpi attachment instead of com0/1 @ isa.

 Martin

From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@netbsd.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
    netbsd-bugs@netbsd.org, Thomas Klausner <wiz@NetBSD.org>
Subject: re: kern/54317: System hang during boot
Date: Thu, 08 Aug 2019 06:11:28 +1000

 Martin Husemann writes:
 > The following reply was made to PR kern/54317; it has been noted by GNATS.
 > 
 > From: Martin Husemann <martin@duskware.de>
 > To: gnats-bugs@netbsd.org
 > Cc: 
 > Subject: Re: kern/54317: System hang during boot
 > Date: Wed, 7 Aug 2019 20:03:56 +0200
 > 
 >  I checked all my machines (most of them I had to add a serial connector
 >  myself, as they only came with a header on the mainboard) and all of
 >  them properly show the com ports via acpi.
 >  
 >  So no objection to changing the amd64 GENERIC kernel to use the (currently
 >  commented out) acpi attachment instead of com0/1 @ isa.

 the proposed change seems to upset non-acpi boots.

 instead of commenting it, can we change the priority of the match
 routines, so that on ACPI-enabled boots, com@acpi is found, but
 when ACPI is disabled, com@isa is found?

 thanks.


 .mrg.

From: Martin Husemann <martin@duskware.de>
To: matthew green <mrg@eterna.com.au>
Cc: gnats-bugs@netbsd.org
Subject: Re: kern/54317: System hang during boot
Date: Thu, 8 Aug 2019 10:37:29 +0200

 On Thu, Aug 08, 2019 at 06:11:28AM +1000, matthew green wrote:
 > the proposed change seems to upset non-acpi boots.

 Do we support those with GENERIC (instead of LEGACY) still?
 If we do, your suggestion makes sense but I don't know how to implement it.

 Martin

From: matthew green <mrg@eterna.com.au>
To: Martin Husemann <martin@duskware.de>
Cc: gnats-bugs@netbsd.org
Subject: re: kern/54317: System hang during boot
Date: Fri, 09 Aug 2019 13:22:47 +1000

 Martin Husemann writes:
 > On Thu, Aug 08, 2019 at 06:11:28AM +1000, matthew green wrote:
 > > the proposed change seems to upset non-acpi boots.
 > 
 > Do we support those with GENERIC (instead of LEGACY) still?
 > If we do, your suggestion makes sense but I don't know how to implement it.

 "boot -2" is still disable acpi, last i saw.

 i'm not sure either, but we do it some how with other devices?


 .mrg.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.