From: Domen Puncer <domen@coderock.org>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: snd_mpu401_uart: hang when trying to play .mid
Date: Mon, 6 Sep 2004 20:58:38 +0200 [thread overview]
Message-ID: <20040906185838.GA8347@nd47.coderock.org> (raw)
In-Reply-To: <s5h1xhfwej2.wl@alsa2.suse.de>
On 06/09/04 18:25 +0200, Takashi Iwai wrote:
> At Mon, 6 Sep 2004 17:48:19 +0200,
> Domen Puncer wrote:
> >
> > On 06/09/04 17:18 +0200, Takashi Iwai wrote:
> > > At Sun, 5 Sep 2004 11:22:35 +0200,
> > > Domen Puncer wrote:
> > > >
> > > > Hi.
> > > >
> > > > "hang" here means: not even alt+sysrq+p responds
> > > >
> > > > I tried to play some .mid files with kmid, I wouldn't be suprised if
> > > > it didn't work, but it *hanged* the computer!
> > > >
> > > > 2 messages appeared on console (retyped):
> > > > cmd: 0xff failed at 0x20 (status = 0x50, data = 0x0)
> > > > cmd: 0x3f failed at 0x20 (status = 0x3f, data = 0x3)
> > > >
> > > > These messages come from mpu401_uart.c:snd_mpu401_uart_cmd
> > > > It seems like commands MPU401_RESET and MPU401_ENTER_UART fail,
> > > > but code continues, ignoring that.
> > > >
> > > > At this point it might be clear to alsa developers why/when hang
> > > > occours, if not I'll provide more data next weekend.
> > >
> > > Does your hardware really a MPU401 device?
> >
> > I don't know, probably not.
> >
> > > If not, you can remove the call of snd_mpu401_uart_new() in
> > > snd_trident_probe().
> >
> > Or just never start kmid again :-)
> > My point is: user can hang the computer; this is a bug.
>
> Sure. Removing the unneeded creation of mpu401 interface is _the_
> solution if you really don't have mpu401.
Umm... you mean removing this for linus tree? Then why it was there
in the first place?
>
>
> Takashi
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
next prev parent reply other threads:[~2004-09-06 18:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-05 9:22 snd_mpu401_uart: hang when trying to play .mid Domen Puncer
2004-09-06 15:18 ` Takashi Iwai
2004-09-06 15:48 ` Domen Puncer
2004-09-06 16:25 ` Takashi Iwai
2004-09-06 18:58 ` Domen Puncer [this message]
2004-09-06 20:18 ` Lee Revell
2004-09-06 20:45 ` Takashi Iwai
2004-09-07 6:18 ` Domen Puncer
2004-09-10 13:22 ` Domen Puncer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040906185838.GA8347@nd47.coderock.org \
--to=domen@coderock.org \
--cc=alsa-devel@lists.sourceforge.net \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.