Subject: Re: kern/35553: azalia hangs an Optiplex 745
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Mark Davies <mark@mcs.vuw.ac.nz>
List: netbsd-bugs
Date: 03/20/2007 12:15:08
The following reply was made to PR kern/35553; it has been noted by GNATS.
From: Mark Davies <mark@mcs.vuw.ac.nz>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: kern/35553: azalia hangs an Optiplex 745
Date: Wed, 21 Mar 2007 00:10:03 +1200
On Sunday 11 March 2007, TAMURA Kent wrote:
> > I removed that and it still hung so working backwards I removed
> > the calls to azalia_stream_init() and it still hung. So I
> > removed the loop calling azalia_codec_init() and it booted
> > successfully.
>
> Thanks.
> Could you track down the cause in azalia_codec_init()?
> Inserting "return -1;" is good to abort safely.
Its in azalia_codec_comresp() apparently.
DPRINTF(("%s: information of codec[%d] follows:\n",
XNAME(this->az), addr));
return -1;
/* codec vendor/device/revision */
err = this->comresp(this, CORB_NID_ROOT, CORB_GET_PARAMETER,
COP_REVISION_ID, &rev);
if (err)
return err;
return -1;
With the first "return -1" the system boots, with the second it hangs.
cheers
mark