I've followed the instructions posted by Phil (THANKS!) and have managed to
get a kernel working, and the scheduler/fifo/etc modules load fine.  Now
the problems begin.  When I run the "frank" example I get the following
output:
FIFO 1: Frank
FIFO 2: Zappa
FIFO 2: Zappa
<Machine hangs - hard; no ctl-alt-del, no magic sysreq>

Right.  So after rebooting/fscking I insmod the standard kernel module I've
been writing to make sure that it still works.  It basically counts
interrupts (irq 7).  Strangely enough, it appeared to be getting 50-80
spurious interrupts per second.  Reported by both the driver and
/proc/interrupts.  I rebooted into standard linux, and all was normal. 
weird.  I moved the driver to IRQ 6 (which is not hooked up to anything, as
far as I know), and aside from 3 interrupts when the module was loaded, no
further spurious interrupts were recorded.

Less important, but very odd is that my timer interrupt is now handled by
the XT_PIC, not the IO-APIC.  I assumed this was standard behavior.  Also,
I have a dual CPU machine, and I noticed that interrupts were no longer
even remotely balanced between the two CPUs.  Here is the output of cat
/proc/interrupts:
STANDARD LINUX:
           CPU0       CPU1       
  0:    9367773    9300843    IO-APIC-edge  timer
  1:      14880      14688    IO-APIC-edge  keyboard
  2:          0          0          XT-PIC  cascade
  5:     137327     137440    IO-APIC-edge  Sound Blaster 16
  7:     974219    1048723    IO-APIC-edge  decks
  8:          2          2    IO-APIC-edge  rtc
 12:    1973335    1947580    IO-APIC-edge  PS/2 Mouse
 13:          1          0          XT-PIC  fpu
 14:       9062       8616    IO-APIC-edge  ide0
 15:         41         35    IO-APIC-edge  ide1
 18:      61438      61446   IO-APIC-level  eth0
 19:      61968      61714   IO-APIC-level  aic7xxx
NMI:          0
ERR:          0

RTLinux:
           CPU0       CPU1       
  0:     183843       2572          XT-PIC  timer
  1:       1815       3957    IO-APIC-edge  keyboard
  2:          0          0          XT-PIC  cascade
  5:          0          0    IO-APIC-edge  Sound Blaster 16
  8:          1          1    IO-APIC-edge  rtc
 12:      30323      29313    IO-APIC-edge  PS/2 Mouse
 13:          1          0          XT-PIC  fpu
 14:         16         11    IO-APIC-edge  ide0
 15:         23          5    IO-APIC-edge  ide1
 18:        290        306   IO-APIC-level  eth0
 19:      24459      24787   IO-APIC-level  aic7xxx
NMI:          0
ERR:          0

Anyone have any ideas?  I'm very confused.


-- 
Nolan Leake
Section 8
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to