Discussion:
OBSD 6.9 boot hangs on azalia
Mike Williams
2021-05-29 08:12:37 UTC
Permalink
Hi,

Kicking this as it first appeared in the 6.8 release.

I have upgraded a PC with a VIA VE-900 chipset (VIA Nano X2 CPU) from
6.8 to 6.9. The box hangs on reboot after upgrade. The last line shown
was for azalia. I disabled azalia which then allows 6.9 to boot to
completion.

Comparing the dmesg with one for 6.7 (last version to boot with azalia
configured) showed one change was from using acpi to msi for the device.
Also it appears OBSD originally saw two azalia devices, the first did
not get a codec, the second did.

The on board NIC also fails to be recognised but since this is not
recognised until after azalia is configured it is not obvious if this is
caused by disabling azalia or a second problem. The NIC re device is
seen by boot -c find but doesn't appear during the boot process. Using
a usb wifi dongle on the box allowed the upgrade process to finish.

I can live without the sound but it would be nice to have the NIC working.

Here is the dmesg diff between 6.7 (azalia and re condfigured) and 6.9
(azalia disabled, no re):

--- dmesg6.7 Sat May 29 08:55:35 2021
+++ dmesg6.9 Sat May 29 08:55:35 2021
@@ -1,7 +1,13 @@
-OpenBSD 6.7 (GENERIC.MP) #1: Sat May 16 16:33:02 MDT 2020
-
***@syspatch-67-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
+OpenBSD 6.9 (GENERIC.MP) #473: Mon Apr 19 10:40:28 MDT 2021
+ ***@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4009426944 (3823MB)
-avail mem = 3875295232 (3695MB)
+avail mem = 3872538624 (3693MB)
+User Kernel Config
+UKC> disable azalia
+ 91 azalia* disabled
+UKC> quit
+Continuing...
+random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
@@ -15,7 +21,7 @@
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
-cpu0: VIA Nano X2 L4050 @ 1.4 GHz, 1400.26 MHz, 06-0f-0c
+cpu0: VIA Nano X2 L4050 @ 1.4 GHz, 1400.25 MHz, 06-0f-0c
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,MWAIT,VMX,EST,TM2,SSSE3,CX16,xTPR,SSE4.1,POPCNT,NXE,LONG,LAHF,PERF
cpu0: 64KB 64b/line 16-way I-cache, 64KB 64b/line 16-way D-cache, 1MB
64b/line 16-way L2 cache
cpu0: ITLB 128 4KB entries 8-way
@@ -39,13 +45,13 @@
acpiprt1 at acpi0: bus 1 (NBP0)
acpiprt2 at acpi0: bus 5 (NBP3)
acpiprt3 at acpi0: bus 6 (P0P4)
-acpicpu0 at acpi0: C1(***@1 halt), PSS
-acpicpu1 at acpi0: C1(***@1 halt), PSS
-acpipci0 at acpi0 PCI0: _OSC failed
+acpipci0 at acpi0 PCI0
acpiac0 at acpi0: AC unit online
acpicmos0 at acpi0
acpibtn0 at acpi0: SLPB
acpibtn1 at acpi0: PWRB
+acpicpu0 at acpi0: C1(***@1 halt), PSS
+acpicpu1 at acpi0: C1(***@1 halt), PSS
acpivideo0 at acpi0: VUMA
acpivout0 at acpivideo0: LCD_
cpu0: Enhanced SpeedStep 1400 MHz: speeds: 1400, 1200, 1100, 1000,
900, 800 MHz
@@ -61,18 +67,15 @@
vga1 at pci0 dev 1 function 0 "VIA Chrome9 HD" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
-azalia0 at pci0 dev 1 function 1 "VIA HD Audio" rev 0x00: apic 4 int 17
-azalia0: no supported codecs
-ppb0 at pci0 dev 3 function 0 "VIA VX900 PCIE" rev 0x00: apic 4 int 3
+"VIA HD Audio" rev 0x00 at pci0 dev 1 function 1 not configured
+ppb0 at pci0 dev 3 function 0 "VIA VX900 PCIE" rev 0x00: msi
pci1 at ppb0 bus 1
-ppb1 at pci0 dev 3 function 1 "VIA VX900 PCIE" rev 0x00: apic 4 int 7
+ppb1 at pci0 dev 3 function 1 "VIA VX900 PCIE" rev 0x00: msi
pci2 at ppb1 bus 2
-ppb2 at pci0 dev 3 function 2 "VIA VX900 PCIE" rev 0x00: apic 4 int 11
+ppb2 at pci0 dev 3 function 2 "VIA VX900 PCIE" rev 0x00: msi
pci3 at ppb2 bus 3
-ppb3 at pci0 dev 3 function 3 "VIA VX900 PCIE" rev 0x00: apic 4 int 15
+ppb3 at pci0 dev 3 function 3 "VIA VX900 PCIE" rev 0x00: msi
pci4 at ppb3 bus 5
-re0 at pci4 dev 0 function 0 "Realtek 8168" rev 0x06: RTL8168E/8111E
(0x2c00), apic 4 int 12, address c8:9c:dc:54:5f:77
-rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 4
pchb8 at pci0 dev 3 function 4 "VIA VX900 PCIE" rev 0x00
pciide0 at pci0 dev 15 function 0 "VIA VX900 IDE" rev 0x00: ATA133,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using apic 3 int 21 for native-PCI interrupt
@@ -92,9 +95,6 @@
pchb9 at pci0 dev 17 function 7 "VIA VX800 Host" rev 0x00
ppb4 at pci0 dev 19 function 0 "VIA VX800" rev 0x00
pci5 at ppb4 bus 6
-azalia1 at pci0 dev 20 function 0 "VIA HD Audio" rev 0x20: apic 3 int 17
-azalia1: codecs: VIA/0x0397
-audio0 at azalia1
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 configuration 1 interface 0 "VIA UHCI root hub" rev
1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
@@ -116,6 +116,8 @@
lpt0 at isa0 port 0x378/4 irq 7
it0 at isa0 port 0x2e/2: IT8721F rev 1, EC port 0xa10
vmm0 at mainbus0: VMX (using slow L1TF mitigation)
+rsu0 at uhub0 port 7 configuration 1 interface 0 "Manufacturer Realtek
ASUS WL-167G V3" rev 2.00/2.00 addr 2
+rsu0: MAC/BB RTL8712 cut 3, address bc:ae:c5:9b:0f:49
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root

Full 6.9 dmesg for diff context:

OpenBSD 6.9 (GENERIC.MP) #473: Mon Apr 19 10:40:28 MDT 2021
***@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4009426944 (3823MB)
avail mem = 3872538624 (3693MB)
User Kernel Config
UKC> disable azalia
91 azalia* disabled
UKC> quit
Continuing...
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0x9f400 (42 entries)
bios0: vendor American Megatrends Inc. version "080016" date 09/19/2011
bios0: VIA Technologies, Inc. VE-900
acpi0 at bios0: ACPI 4.0
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG OEMB HPET SSDT
acpi0: wakeup devices NP3S(S4) USB0(S3) USB1(S3) USB2(S3) USB3(S3)
EHCI(S3) SBRG(S5) P0P4(S5) AZAL(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: VIA Nano X2 L4050 @ 1.4 GHz, 1400.25 MHz, 06-0f-0c
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,MWAIT,VMX,EST,TM2,SSSE3,CX16,xTPR,SSE4.1,POPCNT,NXE,LONG,LAHF,PERF
cpu0: 64KB 64b/line 16-way I-cache, 64KB 64b/line 16-way D-cache, 1MB
64b/line 16-way L2 cache
cpu0: ITLB 128 4KB entries 8-way
cpu0: DTLB 128 4KB entries 8-way
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 200MHz
cpu0: RNG AES AES-CTR SHA1 SHA256 RSA
cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: VIA Nano X2 L4050 @ 1.4 GHz, 1400.06 MHz, 06-0f-0c
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,MWAIT,VMX,EST,TM2,SSSE3,CX16,xTPR,SSE4.1,POPCNT,NXE,LONG,LAHF,PERF
cpu1: 64KB 64b/line 16-way I-cache, 64KB 64b/line 16-way D-cache, 1MB
64b/line 16-way L2 cache
cpu1: ITLB 128 4KB entries 8-way
cpu1: DTLB 128 4KB entries 8-way
ioapic0 at mainbus0: apid 3 pa 0xfec00000, version 3, 24 pins, remapped
ioapic1 at mainbus0: apid 4 pa 0xfecc0000, version 3, 24 pins, remapped
acpimcfg0 at acpi0
acpimcfg0: addr 0xe0000000, bus 0-255
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (NBP0)
acpiprt2 at acpi0: bus 5 (NBP3)
acpiprt3 at acpi0: bus 6 (P0P4)
acpipci0 at acpi0 PCI0
acpiac0 at acpi0: AC unit online
acpicmos0 at acpi0
acpibtn0 at acpi0: SLPB
acpibtn1 at acpi0: PWRB
acpicpu0 at acpi0: C1(***@1 halt), PSS
acpicpu1 at acpi0: C1(***@1 halt), PSS
acpivideo0 at acpi0: VUMA
acpivout0 at acpivideo0: LCD_
cpu0: Enhanced SpeedStep 1400 MHz: speeds: 1400, 1200, 1100, 1000, 900,
800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "VIA VX900 Host" rev 0x80
pchb1 at pci0 dev 0 function 1 "VIA VX900 Error Reporting" rev 0x00
pchb2 at pci0 dev 0 function 2 "VIA VX900 Host" rev 0x00
pchb3 at pci0 dev 0 function 3 "VIA VX900 DRAM" rev 0x00
pchb4 at pci0 dev 0 function 4 "VIA VX900 Host" rev 0x00
pchb5 at pci0 dev 0 function 5 "VIA VX900 APIC" rev 0x00
pchb6 at pci0 dev 0 function 6 "VIA VX900 Scratch" rev 0x00
pchb7 at pci0 dev 0 function 7 "VIA VX900 Host" rev 0x00
vga1 at pci0 dev 1 function 0 "VIA Chrome9 HD" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
"VIA HD Audio" rev 0x00 at pci0 dev 1 function 1 not configured
ppb0 at pci0 dev 3 function 0 "VIA VX900 PCIE" rev 0x00: msi
pci1 at ppb0 bus 1
ppb1 at pci0 dev 3 function 1 "VIA VX900 PCIE" rev 0x00: msi
pci2 at ppb1 bus 2
ppb2 at pci0 dev 3 function 2 "VIA VX900 PCIE" rev 0x00: msi
pci3 at ppb2 bus 3
ppb3 at pci0 dev 3 function 3 "VIA VX900 PCIE" rev 0x00: msi
pci4 at ppb3 bus 5
pchb8 at pci0 dev 3 function 4 "VIA VX900 PCIE" rev 0x00
pciide0 at pci0 dev 15 function 0 "VIA VX900 IDE" rev 0x00: ATA133,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using apic 3 int 21 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <FUJITSU MHV2060BH>
wd0: 16-sector PIO, LBA48, 57231MB, 117210240 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
pciide0: channel 1 disabled (no drives)
uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0xa0: apic 3 int 20
uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0xa0: apic 3 int 22
uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0xa0: apic 3 int 21
uhci3 at pci0 dev 16 function 3 "VIA VT83C572 USB" rev 0xa0: apic 3 int 23
ehci0 at pci0 dev 16 function 4 "VIA VT6202 USB" rev 0x90: apic 3 int 23
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "VIA EHCI root hub" rev
2.00/1.00 addr 1
viapm0 at pci0 dev 17 function 0 "VIA VX900 ISA" rev 0x00: SMI
iic0 at viapm0
pchb9 at pci0 dev 17 function 7 "VIA VX800 Host" rev 0x00
ppb4 at pci0 dev 19 function 0 "VIA VX800" rev 0x00
pci5 at ppb4 bus 6
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 configuration 1 interface 0 "VIA UHCI root hub" rev
1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 configuration 1 interface 0 "VIA UHCI root hub" rev
1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 configuration 1 interface 0 "VIA UHCI root hub" rev
1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 configuration 1 interface 0 "VIA UHCI root hub" rev
1.00/1.00 addr 1
isa0 at mainbus0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
it0 at isa0 port 0x2e/2: IT8721F rev 1, EC port 0xa10
vmm0 at mainbus0: VMX (using slow L1TF mitigation)
rsu0 at uhub0 port 7 configuration 1 interface 0 "Manufacturer Realtek
ASUS WL-167G V3" rev 2.00/2.00 addr 2
rsu0: MAC/BB RTL8712 cut 3, address bc:ae:c5:9b:0f:49
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on wd0a (ce7ce7ca5e27ea2b.a) swap on wd0b dump on wd0b
--
Mike
Loading...