Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 May 2015 13:07:27 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        John Baldwin <jhb@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Deja vu: panic in hdaa_coonfigure() for i386, but not amd64 -- again
Message-ID:  <20150515200727.GV1215@albert.catwhisker.org>
In-Reply-To: <1567746.I7cSSt5lv5@ralph.baldwin.cx>
References:  <20150509142751.GV1158@albert.catwhisker.org> <3725154.XnIHrZucd0@ralph.baldwin.cx> <20150515183956.GU1215@albert.catwhisker.org> <1567746.I7cSSt5lv5@ralph.baldwin.cx>

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

--q2B1bTINGa+6bWWJ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, May 15, 2015 at 02:59:10PM -0400, John Baldwin wrote:
> ...
> Hummm, the only recent change is 281544, but that should be in your worki=
ng
> kernel.

Yes; that dates from 14 April, and I had been doing daily build/boots of
head/i386 through thta period without incident.  Absent something
compelling, I'm pretty sure that experience alone removes 281544 from
plausibly being implicated.

> It does mess with the layout of pins though so maybe try reverting it
> anyway?
>=20
> It might also be worth trying to revert just the one commit you identified
> earlier.  It just seems odd for 'as[cnt]' to fault here but not earlier.
> ....

OK; I tried reverting 282650, but the result wouldn't build because the
AFMT_CHANNEL_MAX token wasn't defined.

Turns out it had been used by 282651, so I reverted that (and found that
it would have been cleaner had I reverted them in reverse sequence, but
"svn patch" seemed to merely whine a bit, but cope anyway).

After reverting both 282650 & 282651, the resulting kernel built.

I commented out the 'hint.hdac.0.disabled=3D1' entry in
/boot/device.hints, pressed the button, and watched for magic smoke....

FreeBSD localhost 11.0-CURRENT FreeBSD 11.0-CURRENT #1598  r282948M/282952:=
1100072: Fri May 15 12:39:11 PDT 2015     root@localhost:/common/S4/obj/usr=
/src/sys/CANARY  i386

localhost(11.0-C)[4] cat /dev/sndstat=20
Installed devices:
pcm0: <NVIDIA (0x0042) (HDMI/DP 8ch)> (play)
pcm1: <NVIDIA (0x0042) (HDMI/DP 8ch)> (play)
pcm2: <Realtek ALC292 (Analog 2.0+HP/2.0)> (play/rec) default
pcm3: <Realtek ALC292 (Analog)> (play/rec)
localhost(11.0-C)[5]=20

No magic smoke leaked out this time! :-)

(I note that with 'hint.hdac.0.disabled=3D1' in place, only the RealTek
codec showed up in that output.  Not that this is surprising -- rather,
it's a bit of a "comforting reality check" after seeing so many panics.)

Please also note:
* head/amd64 hasn't experienced any such panics for me (yes, on the
  same hardware; that's one of the reasons I do this sort of thing).

* This hardware exhibits a bit of a peculiarity under FreeBSD: if
  phones are inserted in the headphone jack, there's a loud
  static/hissing sound, regardless of any intentional source of a
  signal being played.  Neither MS Windows 7, Fedora 20, nor Fedora
  21 exhibits this behavior.  (I'm trying to puzzle my way through
  the way the Linux folks document the HDA configuration to try to
  figure out what knob needs to be twisted in what way so I can use
  headphones on the machine....  Clues would be welcome.)

Anyway, I think we have a smoking gun, as it were.  Thanks for your
help, John! :-)

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
Those who murder in the name of God or prophet are blasphemous cowards.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--q2B1bTINGa+6bWWJ
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQJ8BAEBCgBmBQJVVlH/XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RThEMDY4QTIxMjc1MDZFRDIzODYzRTc4
QTY3RjlDOERFRjQxOTNCAAoJEIpn+cje9Bk7hj0P/R3KqIlBZTt+OpRhaHF1kinG
NiyflOcmBib6XSvtJEfqSN5PUiSQD37RmlkipGkkJ8W3qTlmT/Kst4K4oiLg7PEr
UIdL7g/QFFrrquEVJFBpN4Ifog5430RGm25qkVBf9qStTUOOpaa/FkITCguN/CLI
edSG7jh1p4VwaCvcwCq6wlJPgP/EX+BRdSTzuDdfxCFgEp6IaTUK5l3f/dKlR+q3
c2NHvXmr7xj1JvJD0WEUxVE5GEv0guukQU97xyNNNmq9BjpvpztAr4HTujRh6nIj
GnRMhtpM9n/V00BxWg1+I9WtwbJX+mKyDDxLA/qJbrk/M01JHNfxhFzxwySJP5Z9
YhZ5Gs+3MDZdg+w48sA6QZXtBR0XTqfkY5dm72yg5ImzpGN5megDFsLCGS7yWkqM
R/zADCak3jSMKfvRI9AjOUiL9r8o+pJLH2nA640NIoqOQWpTd0V04TbVZlNwROi1
H3b6UejC1iTlXzCIN+XjXVZSAMsZK3v140eALfEB/Hdf5fUVseCfGXENZuDrE9zz
5X47i4kf4PsNfLXuhMgVWQVTyI/aw6dFwAtY1JTIaUPJxZGdw+iIvFLBiDiVkW5i
D6Aw6xIATa491L/XmqgJrGxZRk+XHOV3bVEH41/oa06iKU4HACSU/8K7KiCumE0H
38r38+Tg5VZ7I6my/AgC
=vAQA
-----END PGP SIGNATURE-----

--q2B1bTINGa+6bWWJ--



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