From owner-freebsd-stable@FreeBSD.ORG Mon May 16 18:23:49 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E78F106564A for ; Mon, 16 May 2011 18:23:49 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 095078FC0C for ; Mon, 16 May 2011 18:23:48 +0000 (UTC) Received: by wwc33 with SMTP id 33so5223607wwc.31 for ; Mon, 16 May 2011 11:23:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=hyHLaSlc38VMboADohS75khfwvfH9//ar2zNj5ZDMkQ=; b=jifiOy603ZHdg+PJ+p703i+urKb1HTNtX96kfuohzMEqKbcnvhYQ3EhUEY2xPUCswb JmroS9wA4w5ATpXDCxC/jspmqblksxuSJO1TtZjq6fFXN3PcmIJqpmoEmwf10GvZkuBn +V/AZ3AsnMdCOuXus/L5Wbi0Psb0pHxnDbvzk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=oEkahHvslK5IXpMlKLqJKyubDIbyOohJ7Hf09dzhhb0WUzn5jzvOKZAg3pNpHlZPMH H9YiU3WMG/w8hs8yPiqESdIVWCUIx+3rVjn4iiT3gwlCRrXlGbF1y8ObO0HErpdEeSxz sN5zttnagSWdZ6BHXetYXtYCnbb5grlHJke3U= Received: by 10.216.254.207 with SMTP id h57mr1670454wes.63.1305570227270; Mon, 16 May 2011 11:23:47 -0700 (PDT) Received: from Groseille.malikania.fr (65.21.102.84.rev.sfr.net [84.102.21.65]) by mx.google.com with ESMTPS id w12sm3307633wby.24.2011.05.16.11.23.45 (version=SSLv3 cipher=OTHER); Mon, 16 May 2011 11:23:46 -0700 (PDT) Message-ID: <4DD16BE0.4010307@gmail.com> Date: Mon, 16 May 2011 20:24:32 +0200 From: David Demelier User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.17) Gecko/20110429 Thunderbird/3.1.10 MIME-Version: 1.0 To: freebsd-stable References: <4DCB8271.3070707@gmail.com> <4DD14F38.1030009@gmail.com> <20110516163249.GA65301@volcano.org> In-Reply-To: <20110516163249.GA65301@volcano.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: snd_hda : sometimes sound sometimes not X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2011 18:23:49 -0000 On 16/05/2011 18:32, Clifton Royston wrote: > On Mon, May 16, 2011 at 06:22:16PM +0200, David Demelier wrote: >> On 12/05/2011 08:47, David Demelier wrote: >>> Hello, >>> >>> I don't know if there is a lot of changes in the snd_hda driver in the >>> -STABLE branch but since I upgraded to it sometimes I have sound and >>> sometimes not. >>> >>> The mixer are exactly the same when these event occurs. This happened >>> this morning. After booting I do not have any sound. I rebooted and >>> suddenly I've got sound again... >>> >>> I only tweak snd_hda(4) for a pin sense on the front panel (it has no >>> sound neither) >>> >>> So I added in /boot/devices.hints : >>> hint.hdac.1.cad0.nid27.config="as=1 seq=15" >>> >>> And there's the both dmesg ok.txt when sound is here and not.txt when >>> there isn't as you can see there is no difference related to the hda >>> driver. >>> >>> http://markand.malikania.fr/ok.txt >>> http://markand.malikania.fr/nok.txt >>> >>> I'm guessing something. My laptop has a mute shortcut, if I press it at >>> the BIOS stage I will not have sound neither thus is it possible that my >>> chipset is muted from anything? >>> >>> Cheers, >>> >> >> I will try to downgrade 8.2-RELEASE and then update the kernel code to >> more specific version to see where the regression happens. >> >> How can I try this step by step ? Should I try to svn / cvs day per day? > > At least do a binary search via svn revision on the regression: > > That is, look up the current revision of stable you are on, look up > the revision of the 8.2-RELEASE branch point, and update to halfway in > between. If it has the problem, go halfway between that and the > 8.2-RELEASE, if it doesn't, go halfway between that and your current > revision, and so on. > > This approach will cut the number of updates and builds you need to > try to the logarithm of the number of distinct revisions. My > impression is that it's so obvious to some people they never mention > it and to others it's a complete revelation. > > -- Clifton > Hi, I downloaded RELENG_8 src/ via cvs because I usually used csup instead. I absolutely have no idea how to find the middle between 8.2-RELEASE and my 8-STABLE revision though :-( Cheers, -- David Demelier