Subject: kern/36672:
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <diro@nixsyspaus.org>
List: netbsd-bugs
Date: 07/21/2007 06:25:00
>Number:         36672
>Category:       kern
>Synopsis:       
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 21 06:25:00 +0000 2007
>Originator:     diro@nixsyspaus.org
>Release:        NetBSD 3.1
>Organization:
>Environment:
System: NetBSD themobe 3.1 NetBSD 3.1 (THEMOBE) #9: Sat Jul 7 22:43:26 EDT 2007 root@themobe:/usr/src/sys/arch/i386/compile/THEMOBE i386
Architecture: i386
Machine: i386
>Description:

Unable to get audio to work either with native driver or with OSS Audio. I've had private communications from a NetBSD user using a very similar high definition audio controller from Intel with no problems. He suggested i test -current, which did not help.

If no one has time to handle this or pull a fix into 3.x and / or 4.x, if someone could point me at the right resources, i'd be willing to spend some time on it. I don't currently have time to find those resources and if someone knows, i'd appreciate the links.

from dmesg:

azalia0 at pci0 dev 27 function 0: Generic High Definition Audio Controller
pci_mem_find: 64-bit memory map which is inaccessible on a 32-bit platform
azalia0: can't map device i/o space

% lspci
[...]
00:1b.0 Class 0403: Intel Corp.: Unknown device 2668 (rev 04)
[...]

% pcictl pci0 list
[...]
000:27:0: Intel 82801FB/FR High Definition Audio Controller (multimedia subclass 0x03, revision 0x04)
[...]

 % pcictl pci0 dump -d 27
 PCI configuration registers:
   Common header:
     0x00: 0x26688086 0x00100006 0x04030004 0x00000008
 
     Vendor Name: Intel (0x8086)
     Device Name: 82801FB/FR High Definition Audio Controller (0x2668)
     Command register: 0x0006
       I/O space accesses: off
       Memory space accesses: on
       Bus mastering: on
       Special cycles: off
       MWI transactions: off
       Palette snooping: off
       Parity error checking: off
       Address/data stepping: off
       System error (SERR): off
       Fast back-to-back transactions: off
     Status register: 0x0010
       Capability List support: on
       66 MHz capable: off
       User Definable Features (UDF) support: off
       Fast back-to-back capable: off
       Data parity error detected: off
       DEVSEL timing: fast (0x0)
       Slave signaled Target Abort: off
       Master received Target Abort: off
       Master received Master Abort: off
       Asserted System Error (SERR): off
       Parity error detected: off
     Class Name: multimedia (0x04)
     Subclass ID: 0x03
     Interface: 0x00
     Revision ID: 0x04
     BIST: 0x00
     Header Type: 0x00 (0x00)
     Latency Timer: 0x00
     Cache Line Size: 0x08
 
   Type 0 ("normal" device) header:
     0x10: 0xffffc004 0x0000000f 0x00000000 0x00000000
     0x20: 0x00000000 0x00000000 0x00000000 0x041b14ff
     0x30: 0x00000000 0x00000050 0x00000000 0x0000010a
 
     Base address register at 0x10
       type: 64-bit nonprefetchable memory
       base: 0x0000000fffffc000, not sized
     Base address register at 0x18
       not implemented(?)
     Base address register at 0x1c
       not implemented(?)
     Base address register at 0x20
       not implemented(?)
     Base address register at 0x24
       not implemented(?)
     Cardbus CIS Pointer: 0x00000000
     Subsystem vendor ID: 0x14ff
     Subsystem ID: 0x041b
     Expansion ROM Base Address: 0x00000000
     Capability list pointer: 0x50
     Reserved @ 0x38: 0x00000000
     Maximum Latency: 0x00
     Minimum Grant: 0x00
     Interrupt pin: 0x01 (pin A)
     Interrupt line: 0x0a
 
   Capability register at 0x50
     type: 0x01 (Power Management, rev. 1.0)
   Capability register at 0x60
     type: 0x05 (MSI)
   Capability register at 0x70
     type: 0x10 (PCI Express)
 
   Device-dependent header:
     0x40: 0x00000003 0x00000007 0x00000000 0x00000000
     0x50: 0xc8426001 0x00000000 0x00000000 0x00000000
     0x60: 0x00807005 0x00000000 0x00000000 0x00000000
     0x70: 0x00910010 0x00000000 0x00100800 0x00000000
     0x80: 0x00000000 0x00000000 0x00000000 0x00000000
     0x90: 0x00000000 0x00000000 0x00000000 0x00000000
     0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xc0: 0x01000000 0x00000000 0x00000000 0x00000000
     0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xf0: 0x00000000 0x00000000 0x00040f80 0x00000000

>How-To-Repeat:
	
>Fix: