Hi,

I updated a box with a VIA VE-900 chipset (VIA Nano X2 CPU) from 6.7 to 6.8 which then hung during first boot with 6.8. The last line was for azalia. I rebooted and disabled azalia which allowed the 6.8 boot to complete.

Comparing the dmesg with that from 6.7 showed that the change was from using acpi to msi for the device. Also that the on board NIC is no longer seen under 6.8. The re device is seen by find but doesn't appear from the boot process, either taken out by disabling azalia or a separate problem. (I stuck a usb wifi dongle on the box to finish the upgrade process.)

Here is the diff between the two dmesgs:

-- *** ../dmesg/dmesg6.7        Sat May 30 09:05:59 2020
--- dmesg6.8-noazalia   Sat Oct 24 18:01:12 2020
***************
*** 39,51 ****
  acpiprt1 at acpi0: bus 1 (NBP0)
  acpiprt2 at acpi0: bus 5 (NBP3)
  acpiprt3 at acpi0: bus 6 (P0P4)
! acpicpu0 at acpi0: C1(1000@1 halt), PSS
! acpicpu1 at acpi0: C1(1000@1 halt), PSS
! acpipci0 at acpi0 PCI0: _OSC failed
  acpiac0 at acpi0: AC unit online
  acpicmos0 at acpi0
  acpibtn0 at acpi0: SLPB
  acpibtn1 at acpi0: PWRB
  acpivideo0 at acpi0: VUMA
  acpivout0 at acpivideo0: LCD_
cpu0: Enhanced SpeedStep 1400 MHz: speeds: 1400, 1200, 1100, 1000, 900, 800 MHz
--- 47,59 ----
  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(1000@1 halt), PSS
+ acpicpu1 at acpi0: C1(1000@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,78 ****
  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
  pci1 at ppb0 bus 1
! ppb1 at pci0 dev 3 function 1 "VIA VX900 PCIE" rev 0x00: apic 4 int 7
  pci2 at ppb1 bus 2
! ppb2 at pci0 dev 3 function 2 "VIA VX900 PCIE" rev 0x00: apic 4 int 11
  pci3 at ppb2 bus 3
! ppb3 at pci0 dev 3 function 3 "VIA VX900 PCIE" rev 0x00: apic 4 int 15
  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
--- 69,83 ----
  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
***************
*** 92,100 ****
  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
--- 97,103 ----
  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
! "VIA HD Audio" rev 0x20 at pci0 dev 20 function 0 not configured
  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

I have been running OBSD since 5.1 on this box without problem. Checking back through the dmesgs this is the first time msi has been used instead of acpi.

Is the issue switching to use msi, or not using acpi as before?

Any suggestins for things to try? I can live without sound but using the onboard NIC would be nice. Happy to try patches, but will need a while to setup builds from source.

Here is the full dmesg from the 6.8 boot with azalia disabled:

OpenBSD 6.8 (GENERIC.MP) #98: Sun Oct  4 18:13:26 MDT 2020
    [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4009426944 (3823MB)
avail mem = 3872862208 (3693MB)
User Kernel Config
UKC> find azalia
 91 azalia* at pci* dev -1 function -1 flags 0x0
UKC> disable azalia
 91 azalia* disabled
UKC> find re
116 re* at pci* dev -1 function -1 flags 0x0
117 re* at cardbus* dev -1 function -1 flags 0x0
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.27 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(1000@1 halt), PSS
acpicpu1 at acpi0: C1(1000@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
"VIA HD Audio" rev 0x20 at pci0 dev 20 function 0 not configured
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)
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


TIA

Mike

Reply via email to