On Thu, 2006-03-02 at 21:57 +0100, Guennadi Liakhovetski wrote: > On Thu, 2 Mar 2006, Lee Revell wrote: > > > On Thu, 2006-03-02 at 21:03 +0100, Guennadi Liakhovetski wrote: > > > Hi all > > > > > > I am puzzled... I do: > > > > > > chrt -f -p 50 `pidof "IRQ 5"` > > > chrt -f 40 arecord -t wav -f cd -d 600 test.wav > > > > > > > That should Just Work - what happens if you leave the IRQs alone and > > just try arecord? > > Sorry, didn't quite get it what you are suggesting: under rt or non-rt > kernel? Or under rt-kernel leaving IRQ-priority alone and only starting > arecord as an rt-process? arecord itself doesn't set rt-priority, looks > like. Initially I tried running arecord under normal kernel withowt chrt, > and, I think, it even worked before. Around 2.6.11-13? Although I did try > not to touch the PC during the recording. Not sure any more how easy / > well it worked, but I didn't notice any trouble... Then I started getting > those overruns (2.6.14-15?), first tried renicing arecord, it helped just > a bit, still was quite fragile. Then I started using rt-preempt... >
Please, start simple before you go and turn every knob like this. Forget about IRQs and priorities and chrt and just see what happens if you run arecord normally. > > Please post the contents of /proc/interrupts > > CPU0 > 0: 131986 XT-PIC [........N/ 0] pit > 1: 176 XT-PIC [........./ 0] i8042 > 2: 0 XT-PIC [........N/ 0] cascade > 5: 0 XT-PIC [........./ 0] uhci_hcd:usb4, VIA686A > 7: 1 XT-PIC [........./ 0] parport0 > 8: 4 XT-PIC [........./ 0] rtc > 9: 30 XT-PIC [........./ 0] acpi, uhci_hcd:usb2, > uhci_hcd:usb3, uhci_hcd:usb5 > 10: 4 XT-PIC [........./ 0] eth0 > 11: 60 XT-PIC [........./ 0] ehci_hcd:usb1 > 12: 127 XT-PIC [........./ 0] i8042 > 14: 7760 XT-PIC [........./ 0] ide0 > 15: 39 XT-PIC [........./ 0] ide1 > NMI: 0 > LOC: 0 > ERR: 0 > > and no, I don't have any devices on usb4. IRQ5's prioirity was lower than > many others, so, I raised it. > > Thanks > Guennadi > --- > Guennadi Liakhovetski > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user