Re: Kernel panic with audioplay

Nathanial Sloss <[email protected]> Wed, 26 Jul 2017 09:43:56 +1000
Newsgroups gmane.os.netbsd.ports.dreamcast
Organization The NetBSD Foundation Inc.
Message-ID <[email protected]>
Hi,

The changes have been committed and a pullup ticket requested #160.

Thanks for testing and help sorting this out.

Best regards,

Nat

On Wed, 26 Jul 2017 07:09:24 Bj=C3=B6rn Johannesson wrote:
> Hello again.
>=20
> Good news. With that patch it started working \o/
> So the recipe for working dreamcast is:
> change audio attachment in kernel configs to
> audio* at audiobus?
> and Nathanial's patch to aica_get_props()
> Also, some friendly soul to commit and do a pullup request to netbsd-8
>=20
> And FWIW, the ip upload slave slowness was some network problem.
> When I hooked the dreamcast into an old Tp A31 and bridge(4) you
> can upload a kernel in a few seconds.
>=20
> I'm gonna try X11 next :)
>=20
> /B
> --------------------------------------------
> On Tue, 7/25/17, Nathanial Sloss <[email protected]> wrote:
>=20
>  Subject: Re: Kernel panic with audioplay
>  To: [email protected]
>  Cc: [email protected]
>  Date: Tuesday, July 25, 2017, 4:21 PM
>=20
>  Seems you have more than enough
>  free memory.
>=20
>  The audio
>  device configures at 48 kHz this is allowed by the driver
>  but might
>  be causing problems.
>=20
>  Please set the frequency
>  sysctl to 44100 Hz:
>=20
>  sysctl
>  -w hw.aica0.frequency=3D44100
>=20
>  And try playing something again -  If this
>  works I'll make changes to aica.c.
>=20
>  If it does not work try the attached patch.
>=20
>  Best regards,
>=20
>  Nat
>=20
>  On
>=20
>  Tue, 25 Jul 2017 11:22:51 Nathanial Sloss wrote:
>  > I believe audio* at audiobus? is the
>=20
>  correct attachment.
>=20
>  > I was wondering how much memory you have
>=20
>  free?
>=20
>  > What is the
>=20
>  output of dmesg | grep SLINEAR?
>=20
>  > Please cc me as I'm not subscribed to
>=20
>  the list.