From owner-freebsd-multimedia@FreeBSD.ORG Thu Aug 28 05:10:59 2008 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C3061065677; Thu, 28 Aug 2008 05:10:59 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 4730A8FC1B; Thu, 28 Aug 2008 05:10:59 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.2.97] (c-71-56-39-94.hsd1.ga.comcast.net [71.56.39.94]) (authenticated bits=0) by gizmo.2hip.net (8.13.8/8.13.8) with ESMTP id m7S5AsF3069216 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 28 Aug 2008 01:10:55 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Alexander Motin In-Reply-To: <48B608EC.2040209@FreeBSD.org> References: <20080826133434.060D63EA0E5@smtp4-g19.free.fr> <1219762528.58043.2.camel@squirrel.corp.cox.com> <48B41B44.7060208@FreeBSD.org> <1219774141.58043.16.camel@squirrel.corp.cox.com> <1219807358.1805.37.camel@wombat.2hip.net> <48B608EC.2040209@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-adAgkAFNm+3tne5lpIZ9" Organization: FreeBSD Date: Wed, 27 Aug 2008 21:10:47 -0400 Message-Id: <1219885847.1750.25.camel@wombat.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_00, DATE_IN_PAST_03_06,RCVD_IN_SORBS_DUL autolearn=no version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on gizmo.2hip.net Cc: freebsd-multimedia@freebsd.org Subject: Re: Hda patch from this day X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2008 05:10:59 -0000 --=-adAgkAFNm+3tne5lpIZ9 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2008-08-28 at 05:09 +0300, Alexander Motin wrote: > Robert Noland wrote: > > On Tue, 2008-08-26 at 14:09 -0400, Robert Noland wrote: > >> On Tue, 2008-08-26 at 18:03 +0300, Alexander Motin wrote: > >>> Robert Noland wrote: > >>>>> with your 20080825 patch: > >>>>> cat /dev/sndstat: > >>>>> FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386) > >>>>> Installed devices: > >>>>> pcm0: at hdac0 cad 0 > >>>>> kld snd_hda [20080825_0100] [GIANT] (0p:0v/1r:1v channels default) > >>>> Giant? That could be the source of my boot hang. My root filesys i= s > >>>> off of usb, which is also Giant, so if your holding the lock... > >>> Actually have no idea what does that mean yet. HDA driver itself lock= ed > >>> without using Giant, and I don't know where it comes from. May be fro= m > >>> sound subsystem, maybe from somewhere else. All I have done is create= d > >>> child device pcm0 from hdac0 and it appeared in a such way. Probably = I > >>> had to dig deeper into device creation to understand this. > >> Sigh, Ok, today my laptop is not hanging... and mine is showing MPSAF= E, > >> so I have no idea what was going on last night. It is docked right > >> now... I'll un-dock it and see if that effects it, but right now it's > >> all working good. Sorry for the noise... > >=20 > > Ok, the dock was the key... When it is not docked, it still hangs. I'm > > not quite sure what output I can send you to help identify the issue, > > but I'll give it some thought. If you can think of anything that might > > help, just let me know and I'll gladly send it along. > >=20 > > I did just see that you updated the patch, so I'll give that a shot and > > see if it happens to resolve the issue. >=20 > I was able to reproduce crash on driver unload on i386 system. I have=20 > found one bug leading to unexpected memory overwrite which probably=20 > caused this problem. >=20 > Also I have found what that [GIANT] on PCM means. [GIANT] flag set there=20 > (it must not be in this case) caused problems with OSS and mixer=20 > locking. I have fixed it also. >=20 > Updated patches uploaded. Awesome, thanks... I've been really busy, but hopefully I can try this out tomorrow. robert. --=-adAgkAFNm+3tne5lpIZ9 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAki1+xcACgkQM4TrQ4qfROMAawCeIT/DLrWlMLPAjjRhm7ESJgTE ZewAn31Ko4BLImUjGA3T5YjufS/QgIMO =5RuR -----END PGP SIGNATURE----- --=-adAgkAFNm+3tne5lpIZ9--