Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Aug 2008 21:10:47 -0400
From:      Robert Noland <rnoland@FreeBSD.org>
To:        Alexander Motin <mav@FreeBSD.org>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: Hda patch from this day
Message-ID:  <1219885847.1750.25.camel@wombat.2hip.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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: <HDA codec Realtek ALC260 PCM #0> 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--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1219885847.1750.25.camel>