Mizzing Azalia sound device

Neil Booth neil at daikokuya.co.uk
Thu Apr 23 15:53:35 PDT 2009


I recently purchased a J&W mini-ITX motherboard.  Dragonfly
seems unable to see the sound device, which NetBSD reports as
Azalia, though I understand DragonFly has Azalia support.  I
compiled a GENERIC kernel as of a few days ago but added SMP
support.

Possibly unrelated, but dragonfly also reports several stray
interrupts that aren't present on NetBSD.

I'm willing to try various things to get this working.  I've
attached dmesgs from DragonFly and NetBSD for comparison.  Any
pointers appreciated.

Neil.
Copyright (c) 2003-2009 The DragonFly Project.
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
DragonFly 2.3.0-DEVELOPMENT #0: Tue Apr 21 14:58:19 JST 2009
    root at athlon2.akihabara.co.uk:/usr/obj/usr/src/sys/GENERIC.SMP
TSC clock: 2600135180 Hz, i8254 clock: 1193178 Hz
CPU: AMD Athlon(tm) Dual Core Processor 5050e (2600.16-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x60fb2  Stepping = 2
  Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x2001<SSE3,CX16>
  Hyperthreading: 2 logical CPUs
  AMD Features=0xe8500000<NX,AMIE,RDTSCP,LM,DSP,3DNow!>
real memory  = 3489333248 (3407552K bytes)
avail memory = 3377348608 (3298192K bytes)
Programming 24 pins in IOAPIC #0
DragonFly/MP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x80050010, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x80050010, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00178021, at 0xfec00000
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
SMP: AP CPU #1 Launched!
objcache(exec-args): too small for ncpus, adjusting cluster_limit 16->32
Preloaded elf kernel "/boot/kernel" at 0xc0807000.
Preloaded elf module "/boot/modules/acpi.ko" at 0xc0807268.
Pentium Pro MTRR support enabled
md0: Malloc disk
pcibios: BIOS version 3.00
Using $PIR table, 19 entries at 0xc00f4cb0
ACPI: RSDP @ 0x0xf9910/0x0014 (v  0 ACPIAM)
ACPI: RSDT @ 0x0xcffb0000/0x0038 (v  1 100808 RSDT1710 0x20081008 MSFT 0x00000097)
ACPI: FACP @ 0x0xcffb0200/0x0084 (v  2 100808 FACP1710 0x20081008 MSFT 0x00000097)
ACPI: DSDT @ 0x0xcffb0440/0x4D17 (v  1  RS78E RS78E27A 0x0000027A INTL 0x20051117)
ACPI: FACS @ 0x0xcffbe000/0x0040
ACPI: APIC @ 0x0xcffb0390/0x006C (v  1 100808 APIC1710 0x20081008 MSFT 0x00000097)
ACPI: MCFG @ 0x0xcffb0400/0x003C (v  1 100808 OEMMCFG  0x20081008 MSFT 0x00000097)
ACPI: OEMB @ 0x0xcffbe040/0x0071 (v  1 100808 OEMB1710 0x20081008 MSFT 0x00000097)
ACPI: HPET @ 0x0xcffb5160/0x0038 (v  1 100808 OEMHPET  0x20081008 MSFT 0x00000097)
npx0: <math processor> on motherboard
npx0: INT 16 interface
Using XMM optimized bcopy/copyin/copyout
acpi0: <100808 RSDT1710> on motherboard
acpi0: Power Button (fixed)
Warning: ACPI is disabling APM's device.  You can't run both
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
legacypci0 on motherboard
pcib0: <Host to PCI bridge> on legacypci0
pci0: <PCI bus> on pcib0
pcib1: <PCI to PCI bridge (vendor=1022 device=9602)> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <ATI model 9610 graphics accelerator> at 5.0 irq 2
pci1: <unknown card> (vendor=0x1002, dev=0x960f) at 5.1 irq 17
pcib2: <PCI to PCI bridge (vendor=1022 device=9609)> irq 2 at device 10.0 on pci0
pci2: <PCI bus> on pcib2
mskc0: <Marvell Yukon 88E8056 Gigabit Ethernet> port 0xe800-0xe8ff mem 0xfebfc000-0xfebfffff irq 2 at device 0.0 on pci2
msk0: <Marvell Technology Group Ltd. Yukon EC Ultra Id 0xb4 Rev 0x05> on mskc0
alignment check failed
miibus0: <MII bus> on msk0
e1000phy0: <Marvell 88E1149 Gigabit PHY> on miibus0
e1000phy0: 1000baseT-FDX, 100baseTX-FDX, 100baseTX, 10baseTX-FDX, 10baseTX, auto
msk0: MAC address: 00:ea:01:03:cc:bb
atapci0: <ATI ATA controller> port 0x8000-0x800f,0x9000-0x9003,0xa000-0xa007,0xb000-0xb003,0xc000-0xc007 mem 0xfe8ff800-0xfe8ffbff irq 10 at device 17.0 on pci0
ata2: <ATA channel 0> on atapci0
acd0: DVDR <Optiarc DVD RW AD-7203S/1.J1> at ata2-master UDMA33
ata3: <ATA channel 1> on atapci0
ad6: 610480MB <SAMSUNG HD642JI 1AA01111> at ata3-master UDMA33
ohci0: <OHCI (generic) USB controller> mem 0xfe8fe000-0xfe8fefff irq 11 at device 18.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 3 ports with 3 removable, self powered
ohci1: <OHCI (generic) USB controller> mem 0xfe8fd000-0xfe8fdfff irq 11 at device 18.1 on pci0
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1: <OHCI (generic) USB controller> on ohci1
usb1: USB revision 1.0
uhub1: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
uhub1: 3 ports with 3 removable, self powered
pci0: <USB controller> at 18.2 irq 16
ohci2: <OHCI (generic) USB controller> mem 0xfe8fc000-0xfe8fcfff irq 2 at device 19.0 on pci0
usb2: OHCI version 1.0, legacy support
usb2: SMM does not respond, resetting
usb2: <OHCI (generic) USB controller> on ohci2
usb2: USB revision 1.0
uhub2: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2
uhub2: 3 ports with 3 removable, self powered
ohci3: <OHCI (generic) USB controller> mem 0xfe8fb000-0xfe8fbfff irq 2 at device 19.1 on pci0
usb3: OHCI version 1.0, legacy support
usb3: SMM does not respond, resetting
usb3: <OHCI (generic) USB controller> on ohci3
usb3: USB revision 1.0
uhub3: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3
uhub3: 3 ports with 3 removable, self powered
pci0: <USB controller> at 19.2 irq 17
pci0: <unknown card> (vendor=0x1002, dev=0x4385) at 20.0
atapci1: <ATI ATA controller> port 0xff00-0xff0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 irq 11 at device 20.1 on pci0
ata0: <ATA channel 0> on atapci1
ata1: <ATA channel 1> on atapci1
pci0: <unknown card> (vendor=0x1002, dev=0x4383) at 20.2 irq 11
isab0: <PCI to ISA bridge (vendor=1002 device=439d)> at device 20.3 on pci0
isa0: <ISA bus> on isab0
pcib3: <PCI to PCI bridge (vendor=1002 device=4384)> at device 20.4 on pci0
pci3: <PCI bus> on pcib3
ohci4: <OHCI (generic) USB controller> mem 0xfe8f9000-0xfe8f9fff irq 2 at device 20.5 on pci0
usb4: OHCI version 1.0, legacy support
usb4: SMM does not respond, resetting
usb4: <OHCI (generic) USB controller> on ohci4
usb4: USB revision 1.0
uhub4: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb4
uhub4: 2 ports with 2 removable, self powered
pmtimer0 on isa0
fdc0: ready for input in output
fdc0: cmd 3 failed at out byte 1 of 3
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio2: can't drain, serial port might not exist, disabling
ppc0: parallel port not found.
ukbd0: <vendor 0x0566 product 0x3002, class 0/0, rev 1.10/1.01, addr 2> on uhub2
kbd0 at ukbd0
uhid0: <vendor 0x0566 product 0x3002, class 0/0, rev 1.10/1.01, addr 2> on uhub2
ums0: <Microsoft Microsoft Basic Optical Mouse v2.0, class 0/0, rev 1.10/1.99, addr 3> on uhub2
ums0: 3 buttons and Z dir.
ip: MPSAFE
arp: MPSAFE
Mounting root from hammer:/dev/ad6s1a
cd0 at ata0 bus 0 target 0 lun 0
cd0: <Optiarc DVD RW AD-7203S 1.J1> Removable CD-ROM SCSI-0 device 
cd0: 33.000MB/s transfers
cd0: cd present [4002937 x 2048 byte records]
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009
    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 5.99.11 (GENERIC) #0: Sun Apr 19 15:38:39 JST 2009
	root at duron:/usr/obj/usr/src/sys/arch/amd64/compile/GENERIC
total memory = 3839 MB
avail memory = 3706 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
To Be Filled By O.E.M. To Be Filled By O.E.M. (To Be Filled By O.E.M.)
mainbus0 (root)
cpu0 at mainbus0 apid 0: AMD 686-class, 2600MHz, id 0x60fb2
cpu1 at mainbus0 apid 1: AMD 686-class, 2600MHz, id 0x60fb2
ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 21, 24 pins
acpi0 at mainbus0: Intel ACPICA 20080321
acpi0: X/RSDT: OemId <100808,RSDT1710,20081008>, AslId <MSFT,00000097>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
ACPI-Fast 32-bit timer
pckbc1 at acpi0 (PSKE, PNP0303) (kbd port): io 0x60,0x64 irq 1
pckbc2 at acpi0 (PSMS, PNP0F03) (aux port): irq 12
attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43 irq 0
pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
midi0 at pcppi1: PC speaker (CPU-intensive output)
sysbeep0 at pcppi1
UAR1 (PNP0501) at acpi0 not configured
hpet0 at acpi0 (HPET, PNP0103): mem 0xfed00000-0xfed003ff
timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000
acpibut0 at acpi0 (PWRB, PNP0C0C-170): ACPI Power Button
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
attimer1: attached to pcppi1
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: vendor 0x1022 product 0x9600 (rev. 0x00)
ppb0 at pci0 dev 1 function 0: vendor 0x1022 product 0x9602 (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga0 at pci1 dev 5 function 0: vendor 0x1002 product 0x9610 (rev. 0x00)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
drm at vga0 not configured
azalia0 at pci1 dev 5 function 1: Generic High Definition Audio Controller
azalia0: interrupting at ioapic0 pin 19
azalia0: host: 0x1002/0x960f (rev. 0), HDA rev. 1.0
ppb1 at pci0 dev 10 function 0: vendor 0x1022 product 0x9609 (rev. 0x00)
ppb1: unsupported PCI Express version
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
mskc0 at pci2 dev 0 function 0mskc0: interrupt moderation is 0 us
, Yukon-2 EC Ultra (0x5): ioapic0 pin 18
msk0 at mskc0 port A: Ethernet address 00:ea:01:03:cc:bb
ukphy0 at msk0 phy 0: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000ac2, model 0x000b, rev. 1
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
ixpide0 at pci0 dev 17 function 0
ixpide0: ATI Technologies IXP IDE Controller (rev. 0x00)
ixpide0: bus-master DMA support present
ixpide0: primary channel configured to native-PCI mode
ixpide0: using ioapic0 pin 22 for native-PCI interrupt
atabus0 at ixpide0 channel 0
ixpide0: secondary channel configured to native-PCI mode
atabus1 at ixpide0 channel 1
ohci0 at pci0 dev 18 function 0: vendor 0x1002 product 0x4397 (rev. 0x00)
ohci0: interrupting at ioapic0 pin 16
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
ohci1 at pci0 dev 18 function 1: vendor 0x1002 product 0x4398 (rev. 0x00)
ohci1: interrupting at ioapic0 pin 16
ohci1: OHCI version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
ehci0 at pci0 dev 18 function 2: vendor 0x1002 product 0x4396 (rev. 0x00)
ehci0: interrupting at ioapic0 pin 17
ehci0: dropped intr workaround enabled
ehci0: EHCI version 1.0
ehci0: companion controllers, 3 ports each: ohci0 ohci1
usb2 at ehci0: USB revision 2.0
ohci2 at pci0 dev 19 function 0: vendor 0x1002 product 0x4397 (rev. 0x00)
ohci2: interrupting at ioapic0 pin 18
ohci2: OHCI version 1.0, legacy support
usb3 at ohci2: USB revision 1.0
ohci3 at pci0 dev 19 function 1: vendor 0x1002 product 0x4398 (rev. 0x00)
ohci3: interrupting at ioapic0 pin 18
ohci3: OHCI version 1.0, legacy support
usb4 at ohci3: USB revision 1.0
ehci1 at pci0 dev 19 function 2: vendor 0x1002 product 0x4396 (rev. 0x00)
ehci1: interrupting at ioapic0 pin 19
ehci1: dropped intr workaround enabled
ehci1: EHCI version 1.0
ehci1: companion controllers, 3 ports each: ohci2 ohci3
usb5 at ehci1: USB revision 2.0
piixpm0 at pci0 dev 20 function 0
piixpm0: vendor 0x1002 product 0x4385 (rev. 0x3a)
piixpm0: interrupting at SMI, polling
iic0 at piixpm0: I2C bus
ixpide1 at pci0 dev 20 function 1
ixpide1: ATI Technologies IXP IDE Controller (rev. 0x00)
ixpide1: bus-master DMA support present
ixpide1: primary channel configured to compatibility mode
ixpide1: primary channel interrupting at ioapic0 pin 14
atabus2 at ixpide1 channel 0
ixpide1: secondary channel configured to compatibility mode
ixpide1: secondary channel interrupting at ioapic0 pin 15
atabus3 at ixpide1 channel 1
azalia1 at pci0 dev 20 function 2: Generic High Definition Audio Controller
azalia1: interrupting at ioapic0 pin 16
azalia1: host: 0x1002/0x4383 (rev. 0), HDA rev. 1.0
pcib0 at pci0 dev 20 function 3
pcib0: vendor 0x1002 product 0x439d (rev. 0x00)
ppb2 at pci0 dev 20 function 4: vendor 0x1002 product 0x4384 (rev. 0x00)
pci3 at ppb2 bus 3
pci3: i/o space enabled
ohci4 at pci0 dev 20 function 5: vendor 0x1002 product 0x4399 (rev. 0x00)
ohci4: interrupting at ioapic0 pin 18
ohci4: OHCI version 1.0, legacy support
usb6 at ohci4: USB revision 1.0
pchb1 at pci0 dev 24 function 0
pchb1: vendor 0x1022 product 0x1100 (rev. 0x00)
pchb2 at pci0 dev 24 function 1
pchb2: vendor 0x1022 product 0x1101 (rev. 0x00)
pchb3 at pci0 dev 24 function 2
pchb3: vendor 0x1022 product 0x1102 (rev. 0x00)
amdtemp0 at pci0 dev 24 function 3: AMD CPU Temperature Sensors (K8: core rev BH-G2, socket AM2)
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
azalia0: codec[0]: ATI RS690/780 HDMI (rev. 0.0), HDA rev. 1.0
audio0 at azalia0: full duplex, independent
azalia1: codec[0]: Realtek ALC885 (rev. 1.1), HDA rev. 1.0
audio1 at azalia1: full duplex, independent
uhub0 at usb0: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
uhub1 at usb1: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
uhub2 at usb2: vendor 0x1002 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 6 ports with 6 removable, self powered
uhub3 at usb3: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 3 ports with 3 removable, self powered
uhub4 at usb4: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub4: 3 ports with 3 removable, self powered
uhub5 at usb5: vendor 0x1002 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub5: 6 ports with 6 removable, self powered
atapibus0 at atabus0: 2 targets
uhub6 at usb6: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub6: 2 ports with 2 removable, self powered
cd0 at atapibus0 drive 0: <Optiarc DVD RW AD-7203S, , 1.J1> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
cd0(ixpide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
uhidev0 at uhub3 port 1 configuration 1 interface 0
uhidev0: vendor 0x0566 product 0x3002, rev 1.10/1.01, addr 2, iclass 3/1
ukbd0 at uhidev0
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub3 port 1 configuration 1 interface 1
uhidev1: vendor 0x0566 product 0x3002, rev 1.10/1.01, addr 2, iclass 3/0
uhidev1: 4 report ids
uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0
uhid1 at uhidev1 reportid 3: input=3, output=0, feature=0
uhid2 at uhidev1 reportid 4: input=1, output=0, feature=0
wd0 at atabus1 drive 0: <SAMSUNG HD642JI>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 596 GB, 1240341 cyl, 16 head, 63 sec, 512 bytes/sect x 1250263728 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 7
wd0(ixpide0:1:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio2 at pad0: half duplex
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
WARNING: clock gained 2 days
mskc0: interrupt moderation is 1000 us
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
uhidev2 at uhub3 port 3 configuration 1 interface 0
uhidev2: Microsoft Microsoft Basic Optical Mouse v2.0, rev 1.10/1.99, addr 3, iclass 3/1
ums0 at uhidev2: 3 buttons and Z dir.
wsmouse0 at ums0 mux 0




More information about the Kernel mailing list