From owner-freebsd-bugs@FreeBSD.ORG Tue Jun 28 13:00:28 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A9301065675 for ; Tue, 28 Jun 2011 13:00:28 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 78EA48FC22 for ; Tue, 28 Jun 2011 13:00:28 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p5SD0ScH041373 for ; Tue, 28 Jun 2011 13:00:28 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p5SD0S3E041372; Tue, 28 Jun 2011 13:00:28 GMT (envelope-from gnats) Resent-Date: Tue, 28 Jun 2011 13:00:28 GMT Resent-Message-Id: <201106281300.p5SD0S3E041372@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Anatoly Mashanov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBA06106566B for ; Tue, 28 Jun 2011 12:55:44 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id BC3708FC08 for ; Tue, 28 Jun 2011 12:55:44 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p5SCtiCV091863 for ; Tue, 28 Jun 2011 12:55:44 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p5SCtiFs091862; Tue, 28 Jun 2011 12:55:44 GMT (envelope-from nobody) Message-Id: <201106281255.p5SCtiFs091862@red.freebsd.org> Date: Tue, 28 Jun 2011 12:55:44 GMT From: Anatoly Mashanov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/158391: OQO 2: hdac0 attach returned 6 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jun 2011 13:00:28 -0000 >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@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: dmesg output contains: (after loading snd_hda.ko) hdac0: 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: 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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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: