kern/158391: OQO 2: hdac0 attach returned 6

Anatoly Mashanov thor at irk.ru
Tue Jun 28 13:00:28 UTC 2011


>Number:         158391
>Category:       kern
>Synopsis:       OQO 2: hdac0 attach returned 6
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 28 13:00:28 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Anatoly Mashanov
>Release:        8.2-RELEASE
>Organization:
-
>Environment:
FreeBSD oqo.nowhere.net 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011     root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
dmesg output contains: (after loading snd_hda.ko)

hdac0: <VIA VT8251/8237A High Definition Audio Controller> irq 17 at device 1.0 on pci2
hdac0: HDA Driver Revision: 20100226_0142
hdac0: 0x4000 bytes of rid 0x10 res 3 failed (0, 0xffffffff).
hdac0: hdac_mem_alloc: Unable to allocate memory resource
device_attach: hdac0 attach returned 6
ath0: <Atheros 5413> irq 17 at device 4.0 on pci3
ath0: 0x10000 bytes of rid 0x10 res 3 failed (0, 0xffffffff).
ath0: cannot map register space
device_attach: ath0 attach returned 6

Correspondingly, WiFi and sound are absent.

BIOS is latest available.

Problem persists while:
8.2-RELEASE changed to 7.4-RELEASE;
Custom kernel compiled with drivers inside or minimal kernel and kldload of drivers;
Attempt to disable ACPI
Trying anything imaginable setting in BIOS

Attempt to cvsup to STABLE failed: kernel didn't compile

Relevant files are http://plasmodius.dyndns.org/oqo

Hardware:
hostb0 at pci0:0:0:0:	class=0x060000 card=0x03241106 chip=0x03241106 rev=0x03 hdr=0x00
    vendor     = 'VIA Technologies, Inc.'
    device     = 'CX700 Host Bridge'
    class      = bridge
    subclass   = HOST-PCI
hostb1 at pci0:0:0:1:	class=0x060000 card=0x00000000 chip=0x13241106 rev=0x00 hdr=0x00
    vendor     = 'VIA Technologies, Inc.'
    device     = 'CX700 Host Bridge'
    class      = bridge
    subclass   = HOST-PCI
hostb2 at pci0:0:0:2:	class=0x060000 card=0x00000000 chip=0x23241106 rev=0x00 hdr=0x00
    vendor     = 'VIA Technologies, Inc.'
    device     = 'CX700 Host Bridge'
    class      = bridge
    subclass   = HOST-PCI
hostb3 at pci0:0:0:3:	class=0x060000 card=0x00000000 chip=0x33241106 rev=0x00 hdr=0x00
    vendor     = 'VIA Technologies, Inc.'
    device     = 'CX700 Host Bridge'
    class      = bridge
    subclass   = HOST-PCI
hostb4 at pci0:0:0:4:	class=0x060000 card=0x00000000 chip=0x43241106 rev=0x00 hdr=0x00
    vendor     = 'VIA Technologies, Inc.'
    device     = 'CX700 Host Bridge'
    class      = bridge
    subclass   = HOST-PCI
hostb5 at pci0:0:0:7:	class=0x060000 card=0x00000000 chip=0x73241106 rev=0x00 hdr=0x00
    vendor     = 'VIA Technologies, Inc.'
    device     = 'CX700 Host Bridge'
    class      = bridge
    subclass   = HOST-PCI
pcib1 at pci0:0:1:0:	class=0x060400 card=0x00000000 chip=0xb1981106 rev=0x00 hdr=0x01
    vendor     = 'VIA Technologies, Inc.'
    device     = 'ProSavageDDR P4X600,Apollo KT400/A/600 CPU to AGP Bridge'
    class      = bridge
    subclass   = PCI-PCI
atapci0 at pci0:0:15:0:	class=0x01018a card=0x05811106 chip=0x05811106 rev=0x00 hdr=0x00
    vendor     = 'VIA Technologies, Inc.'
    device     = 'Bus Master IDE Controller; CX700/VX700 RAID Controller'
    class      = mass storage
    subclass   = ATA
uhci0 at pci0:0:16:0:	class=0x0c0300 card=0x30381106 chip=0x30381106 rev=0x90 hdr=0x00
    vendor     = 'VIA Technologies, Inc.'
    device     = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
    class      = serial bus
    subclass   = USB
uhci1 at pci0:0:16:1:	class=0x0c0300 card=0x30381106 chip=0x30381106 rev=0x90 hdr=0x00
    vendor     = 'VIA Technologies, Inc.'
    device     = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
    class      = serial bus
    subclass   = USB
uhci2 at pci0:0:16:2:	class=0x0c0300 card=0x30381106 chip=0x30381106 rev=0x90 hdr=0x00
    vendor     = 'VIA Technologies, Inc.'
    device     = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
    class      = serial bus
    subclass   = USB
ehci0 at pci0:0:16:4:	class=0x0c0320 card=0x31041106 chip=0x31041106 rev=0x90 hdr=0x00
    vendor     = 'VIA Technologies, Inc.'
    device     = 'VT6202/12 USB 2.0 Enhanced Host Controller'
    class      = serial bus
    subclass   = USB
isab0 at pci0:0:17:0:	class=0x060100 card=0x83241106 chip=0x83241106 rev=0x00 hdr=0x00
    vendor     = 'VIA Technologies, Inc.'
    device     = 'CX700 PCI to ISA Bridge'
    class      = bridge
    subclass   = PCI-ISA
hostb6 at pci0:0:17:7:	class=0x060000 card=0x324e1106 chip=0x324e1106 rev=0x00 hdr=0x00
    vendor     = 'VIA Technologies, Inc.'
    device     = 'CX700 Internal Module Bus'
    class      = bridge
    subclass   = HOST-PCI
pcib2 at pci0:0:19:0:	class=0x060400 card=0x00000000 chip=0x324b1106 rev=0x00 hdr=0x01
    vendor     = 'VIA Technologies, Inc.'
    device     = 'CX700 Host Bridge'
    class      = bridge
    subclass   = PCI-PCI
pcib3 at pci0:0:19:1:	class=0x060400 card=0x00000000 chip=0x324a1106 rev=0x00 hdr=0x01
    vendor     = 'VIA Technologies, Inc.'
    device     = 'CX700 PCI to PCI Bridge'
    class      = bridge
    subclass   = PCI-PCI
vgapci0 at pci0:1:0:0:	class=0x030000 card=0x31571106 chip=0x31571106 rev=0x03 hdr=0x00
    vendor     = 'VIA Technologies, Inc.'
    device     = 'VIA/S3G Unichrome Pro IAGP (VIA VT8237)'
    class      = display
    subclass   = VGA
none0 at pci0:2:1:0:	class=0x040300 card=0x32881106 chip=0x32881106 rev=0x10 hdr=0x00
    vendor     = 'VIA Technologies, Inc.'
    device     = 'HDA Codec Realtek ALC660 (040300)'
    class      = multimedia
    subclass   = HDA
ath0 at pci0:3:4:0:	class=0x020000 card=0x1602168c chip=0x001b168c rev=0x01 hdr=0x00
    vendor     = 'Atheros Communications Inc.'
    device     = 'AR5006 family 802.11abg Wireless NIC'
    class      = network
    subclass   = ethernet
rl0 at pci0:3:5:0:	class=0x020000 card=0x8139168c chip=0x813910ec rev=0x10 hdr=0x00
    vendor     = 'Realtek Semiconductor'
    device     = 'Realtek RTL8139 Family PCI Fast Ethernet NIC (RTL-8139/8139C/8139D)'
    class      = network
    subclass   = ethernet

>How-To-Repeat:
Install 8.2-RELEASE or 7.4-RELEASE on OQO 2
cd /boot/kernel
kldload snd_hda.ko

>Fix:
Both Atheros and sound are duly found under CURRENT 201105 snapshot, but there are other showstoppers (x11/openchrome hangup; usb flash not mountable)


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list