public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* irq event 5: bogus return value 19
@ 2006-04-30 19:19 Professor Moriarty
  2006-04-30 20:28 ` Jiri Slaby
  0 siblings, 1 reply; 2+ messages in thread
From: Professor Moriarty @ 2006-04-30 19:19 UTC (permalink / raw)
  To: linux-kernel

On debugging a soundcard driver (the Riptide driver from linuxant,
ported by me to 2.6), I seem to have 2 weird bugs that are giving me a
headache:
Both occur when I try to actually play a file
The first: ppos != &file->f_pos
If I comment that check out, I get a kernelpanic. If I comment out the
schedule_work() to run the bottom half of the IRQ handler, I get the
message:
irq event 5: bogus return value 19
Followed by:
kernel: Disabling IRQ #5
At this point, the first 4K of raw PCM plays, and then /dev/dsp
blocks, while the speakers repeat the 4K of data repeatedly until I
ctrl+C mplayer. Trying to cat data to /dev/dsp plays first 4K, then
cat says /dev/dsp is out of space.

Any ideas?

~ Vasily Ivanov

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: irq event 5: bogus return value 19
  2006-04-30 19:19 irq event 5: bogus return value 19 Professor Moriarty
@ 2006-04-30 20:28 ` Jiri Slaby
  0 siblings, 0 replies; 2+ messages in thread
From: Jiri Slaby @ 2006-04-30 20:28 UTC (permalink / raw)
  To: Professor Moriarty; +Cc: linux-kernel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Professor Moriarty napsal(a):
> On debugging a soundcard driver (the Riptide driver from linuxant,
> ported by me to 2.6), I seem to have 2 weird bugs that are giving me a
> headache:
> Both occur when I try to actually play a file
> The first: ppos != &file->f_pos
> If I comment that check out, I get a kernelpanic. If I comment out the
> schedule_work() to run the bottom half of the IRQ handler, I get the
> message:
> irq event 5: bogus return value 19
> Followed by:
> kernel: Disabling IRQ #5
> At this point, the first 4K of raw PCM plays, and then /dev/dsp
> blocks, while the speakers repeat the 4K of data repeatedly until I
> ctrl+C mplayer. Trying to cat data to /dev/dsp plays first 4K, then
> cat says /dev/dsp is out of space.
> 
> Any ideas?
Give us (at least parts of) the code and then we can tell you, now it may be
like a shot in the dark.

regards,
- --
Jiri Slaby         www.fi.muni.cz/~xslaby
\_.-^-._   jirislaby@gmail.com   _.-^-._/
B67499670407CE62ACC8 22A032CC55C339D47A7E
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFEVR3SMsxVwznUen4RAgDzAJ9pSjjRRzeiD5PYgF1eon1Q6dYmEwCeOVRN
pmURuwCGXGVXwUN2Qbafvn0=
=5Tj8
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-04-30 20:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-30 19:19 irq event 5: bogus return value 19 Professor Moriarty
2006-04-30 20:28 ` Jiri Slaby

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox