From owner-freebsd-current@FreeBSD.ORG Fri Jul 30 11:57:56 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC4621065677; Fri, 30 Jul 2010 11:57:56 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id A01A08FC13; Fri, 30 Jul 2010 11:57:56 +0000 (UTC) Received: from ncsd.bris.ac.uk ([137.222.10.59] helo=ncs.bris.ac.uk) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1OeoDr-0007fi-C3; Fri, 30 Jul 2010 12:57:55 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1OeoDq-0000Ao-NO; Fri, 30 Jul 2010 12:57:54 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4) with ESMTP id o6UBvswv009605; Fri, 30 Jul 2010 12:57:54 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4/Submit) id o6UBvsuS009604; Fri, 30 Jul 2010 12:57:54 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Fri, 30 Jul 2010 12:57:54 +0100 From: Anton Shterenlikht To: Andriy Gapon Message-ID: <20100730115753.GA9578@mech-cluster241.men.bris.ac.uk> References: <20100727172021.GA47859@mech-cluster241.men.bris.ac.uk> <4C502902.8000806@icyb.net.ua> <20100728160152.GA91835@mech-cluster241.men.bris.ac.uk> <4C5055C6.5050208@icyb.net.ua> <20100728161715.GA91906@mech-cluster241.men.bris.ac.uk> <4C505BE8.1050308@icyb.net.ua> <20100728164449.GA92092@mech-cluster241.men.bris.ac.uk> <4C505FFC.6000601@icyb.net.ua> <20100728171324.GB92206@mech-cluster241.men.bris.ac.uk> <4C50663B.7030203@icyb.net.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C50663B.7030203@icyb.net.ua> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: lstewart@freebsd.org, Gavin Atkinson , Anton Shterenlikht , freebsd-current@freebsd.org Subject: Re: amd64 panic snd_hda - hdac_get_capabilities: Invalid corb size (0) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jul 2010 11:57:57 -0000 On Wed, Jul 28, 2010 at 08:17:47PM +0300, Andriy Gapon wrote: > on 28/07/2010 20:13 Anton Shterenlikht said the following: > > On Wed, Jul 28, 2010 at 07:51:08PM +0300, Andriy Gapon wrote: > >> on 28/07/2010 19:44 Anton Shterenlikht said the following: > >> > But I just rebooted again, and reset > >>> to defaults in BIOS, now I get: > >>> > >>> % dmesg | fgrep -i hda > >>> hdac0: irq 16 at device 20.2 on pci0 > >>> hdac0: HDA Driver Revision: 20100226_0142 > >>> hdac0: [ITHREAD] > >>> hdac0: hdac_get_capabilities: Invalid corb size (1) > >>> device_attach: hdac0 attach returned 6 > >>> > >> This gets even stranger. > >> Ultimate attempt - can you drop the size == 0 condition, so that reset is always > >> tried when initial value is not correct? > > > > you mean drop both > > if (corbsize == 0) {} > > > > and > > if (rirbsize == 0) {} > > > > ? > > Change it to if (1) { ...}. did that, and did a cold reboot: % dmesg | fgrep -i hda hdac0: irq 16 at device 20.2 on pci0 hdac0: HDA Driver Revision: 20100226_0142 hdac0: [ITHREAD] hdac0: hdac_get_capabilities: Invalid corb size (0) hdac0: Resetting corb size to 256 hdac0: hdac_get_capabilities: Invalid rirb size (0) hdac0: Resetting rirb size to 256 % I don't think the device attached. many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423