[PlanetCCRMA] Re: [PlanetCCRMANews] added: new edge kernels for fc2/3

Shayne O'Connor forums@machinehasnoagenda.com
Wed Mar 23 14:24:00 2005


Rui Nuno Capela wrote:

>>>The ALSA module (snd-emu10k1?) *must* be loaded prior to rtirq start.
>>>Otherwise IRQ 17 won't be detected as the soundcard handler.
>>>
>>>What's the output of
>>> cat /proc/asound/cards
>>>at the time rtirq started? Whenever ALSA is loaded, it should show at
>>>least one line with the string "irq 17" on it, unless something got
>>>really
>>>broken.
>>>
>>>      
>>>
>>hmmm ... not sure if this question is for me or fernando ... if for me,
>>how would i find out the output of
>>
>>cat /proc/asound/cards
>>
>>*at the time rtirq started*? would it be in the system logs ... maybe
>>the boot log, or kernel log?
>>
>>    
>>
>
>Neither. The main issue is all about rtirq to start *after* alsasound, in
>the init order (chkconfig).
>
>Just for the test, try as root
>  /etc/rc.d/init.d/rtirq restart
>anytime after, and check with
>  /etc/rc.d/init.d/rtirq status
>for the ranking of IRQ 17 against the others.
>
>If it doesn't get any better, please provide the /proc/asound/cards output
>'coz somethings missing, somehow.
>  
>
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


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 ...

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


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


hope this helps!

shayne

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?