From owner-freebsd-current@FreeBSD.ORG Wed Jul 28 17:17:55 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 A4A3D1065678; Wed, 28 Jul 2010 17:17:55 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 865248FC1C; Wed, 28 Jul 2010 17:17:54 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id UAA08672; Wed, 28 Jul 2010 20:17:48 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <4C50663B.7030203@icyb.net.ua> Date: Wed, 28 Jul 2010 20:17:47 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.24 (X11/20100517) MIME-Version: 1.0 To: Anton Shterenlikht References: <20100727144703.GA46905@mech-cluster241.men.bris.ac.uk> <1280249605.78791.36.camel@buffy.york.ac.uk> <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> In-Reply-To: <20100728171324.GB92206@mech-cluster241.men.bris.ac.uk> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: lstewart@freebsd.org, Gavin Atkinson , 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: Wed, 28 Jul 2010 17:17:55 -0000 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) { ...}. -- Andriy Gapon