[PlanetCCRMA] Re: [PlanetCCRMANews] added: new edge kernels for fc2/3
Rui Nuno Capela
rncbc at rncbc.org
Wed Mar 23 14:58:01 PST 2005
Shayne O'Connor wrote:
>
> ok, i think it must be starting before alsa, cos here's the situation:
>
> 1. just to clear up - my sound card has now made it's home on irq #5 -
> this has held true after numerous reboots, checked with
>
> cat /proc/interrupts:
>
> CPU0
> 0: 198142 XT-PIC timer 0/98142
> 1: 273 XT-PIC i8042 0/273
> 2: 0 XT-PIC cascade 0/0
> 3: 0 XT-PIC ehci_hcd 0/0
> 4: 0 XT-PIC ohci_hcd 0/0
> 5: 0 XT-PIC EMU10K1 0/0
> 7: 113098 XT-PIC parport0 0/8677
> 8: 1 XT-PIC rtc 0/1
> 9: 0 XT-PIC acpi 0/0
> 10: 9958 XT-PIC nvidia 0/9958
> 11: 17722 XT-PIC ohci_hcd, eth0 0/17722
> 12: 421 XT-PIC i8042 0/421
> 14: 10910 XT-PIC ide0 0/10910
> 15: 176 XT-PIC ide1 0/176
> NMI: 0
> LOC: 198065
> ERR: 4421
> MIS: 0
>
>
> 2. after booting, the output of
>
> /etc/rc.d/init.d/rtirq status
>
>
> is:
>
>
> PID CLS RTPRIO NI PRI %CPU STAT COMMAND
> 276 FF 80 -5 120 0.0 SW< IRQ 8
> 878 FF 60 -5 100 0.0 SW< IRQ 3
> 954 FF 60 -5 100 0.0 SW< IRQ 4
> 929 FF 59 -5 99 0.1 SW< IRQ 11
> 374 FF 50 -5 90 0.0 SW< IRQ 1
> 20 FF 49 -5 89 0.0 SW< IRQ 9
> 297 FF 49 -5 89 0.0 SW< IRQ 12
> 333 FF 46 -5 86 0.1 SW< IRQ 14
> 335 FF 45 -5 85 0.0 SW< IRQ 15
> 1886 FF 40 -5 80 0.0 SW< IRQ 7
> 2054 FF 39 -5 79 0.0 SW< IRQ 6
> 3462 FF 38 -5 78 0.1 SW< IRQ 10
> 3695 FF 37 -5 77 0.0 SW< IRQ 5
>
This is evidence that rtirq is being started *before* alsasound. Your
boot/init order is thus wrong.
>
> 3. however, after running:
>
> /etc/rc.d/init.d/rtirq restart
>
>
> the ouput is:
>
>
> PID CLS RTPRIO NI PRI %CPU STAT COMMAND
> 276 FF 80 -5 120 0.0 SW< IRQ 8
> 3695 FF 70 -5 110 0.0 SW< IRQ 5
> 878 FF 60 -5 100 0.0 SW< IRQ 3
> 954 FF 60 -5 100 0.0 SW< IRQ 4
> 929 FF 59 -5 99 0.1 SW< IRQ 11
> 374 FF 50 -5 90 0.0 SW< IRQ 1
> 20 FF 49 -5 89 0.0 SW< IRQ 9
> 297 FF 49 -5 89 0.0 SW< IRQ 12
> 333 FF 46 -5 86 0.0 SW< IRQ 14
> 335 FF 45 -5 85 0.0 SW< IRQ 15
> 1886 FF 40 -5 80 0.0 SW< IRQ 7
> 2054 FF 39 -5 79 0.0 SW< IRQ 6
> 3462 FF 38 -5 78 0.1 SW< IRQ 10
>
> which looks to be the way it should happen ...
>
Right.
> 4.
>
>>See what you see with this:
>> ls /etc/rc.d/*.d/*rtirq*
>>
>
> /etc/rc.d/init.d/rtirq
> /etc/rc.d/rc0.d/K19rtirq
> /etc/rc.d/rc1.d/K19rtirq
> /etc/rc.d/rc2.d/K19rtirq
> /etc/rc.d/rc3.d/S88rtirq
> /etc/rc.d/rc4.d/K19rtirq
> /etc/rc.d/rc5.d/S88rtirq
> /etc/rc.d/rc6.d/K19rtirq
>
Check also
ls /etc/rc.d/*.d/*alsa*
As you can see, the main question is whether S88rtirq is after S??alsasound.
>
> 5. and just for good measure, here's the output of
>
> cat /proc/asound/cards:
>
> 0 [Live ]: EMU10K1 - Sound Blaster Live!
> Sound Blaster Live! (rev.7, serial:0x80611102) at
> 0xd000, irq 5
>
This is pretty legal. If you can see "irq 5" there, so can rtirq. But note
that this /proc/asound/cards contents is only available after ALSA is
loaded.
>
> ps - if rtirq is going to be giving my soundcard a priority of 70, does
> that mean i should indicate a priority of 69 in qjactctl?
>
Sounds reasonable.
Cheers.
--
rncbc aka Rui Nuno Capela
rncbc at rncbc.org
More information about the PlanetCCRMA
mailing list