Re: irq event 5: bogus return value 19



-----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@xxxxxxxxx _.-^-._/
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-----
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • irq event 5: bogus return value 19
    ... On debugging a soundcard driver (the Riptide driver from linuxant, ... schedule_workto run the bottom half of the IRQ handler, ... At this point, the first 4K of raw PCM plays, and then /dev/dsp ... Trying to cat data to /dev/dsp plays first 4K, ...
    (Linux-Kernel)
  • MORE THAN 10 IDE CONTROLLERS
    ... ide3 at 0xdfa0-0xdfa7,0xdfaa on irq 23 ... i guess i need to patch major and minor numbers for the devices as well ... Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: Soundblaster drivers where, oh where can I get some?
    ... can spot where the OS recognizes your sound card. ... Can you manually set an IRQ on that sound card? ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ...
    (Ubuntu)
  • Re: sound: Creative Vibra 128
    ... > My mixer settings are OK, my speakers are working and Knoppix and other ... > distro's detects and plays both cards. ... IRQ? ...
    (alt.os.linux.suse)
  • Re: serial8250: too much work for irq17
    ... Where did you get a card using a 8250 UART ... not want it on a high IRQ. ... 14: 56827 5962 IO-APIC-edge libata ... Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org ...
    (Fedora)