Hello,
i encountered a problem with RTAI/RTNet and SMP.
Although i suppose that this is rather
a RTAI problem i post it here because i fell over it when trying to
access Realtime Networking. Maybe i'm wrong and it is more RTNet related....
Config: RTAI 24.1.13, RTNet 0.5.6/0.6.0, RedHat Linux 9 Kernel 2.4.20 SMP
I tried to use 2 network cards with Intel chips and the belonging real
time drivers eepro100-rt (the same with 3x59x-rt, but that doesn't matter
as we will see).
Loaded Modules: rtai, rtai_sched (NEWLXRT, no buddy), rtnet, eepro100-rt
(NEWLXRT because i'll need LXRT in the future)
I have the following Interrupt configuration <b>before</b> unloading the
Intel Linux drivers and loading RT-system:
cat /proc/interrupts
CPU0 CPU1
0: 40260 41146 IO-APIC-edge timer
1: 439 440 IO-APIC-edge keyboard
2: 0 0 XT-PIC cascade
8: 1 0 IO-APIC-edge rtc
12: 467 419 IO-APIC-edge PS/2 Mouse
14: 2804 2696 IO-APIC-edge ide0
16: 4530 4526 IO-APIC-level aic7xxx, eth1
18: 10 3 IO-APIC-level eth0
19: 3 4 IO-APIC-level aic7xxx, usb-uhci
NMI: 0 0
LOC: 81310 81309
ERR: 0
MIS: 0
Ok, after loading RTAI system i can configure the first ethernet card eth0
with rtifconfig and use all features as usual. When i try to configure eth1
with rtifconfig additionally it seems all ok but after some while
(i assume when the first interrupt occurs at eth1) there are Kernel log
messages like
I/O error: dev 8:17, sector ...
EXT3-fs error (device sd(8,17)):ext3_get_inode_loc: unable to read inode
block
The system allows no I/O anymore. The Adaptec Controller seems to quit
working but the network cards still respond to pings from another PC.
I found at first 2 possible solutions:
1) Deactivate SMP and APIC
or
2) Deactivate all unused devices (usb,...) and move the network cards
between all possible PCI-Slots until finding a position without the
necessity of apic sharing the IRQs.
The real problem is that i would like to have another ethernet card in the
system but this would result in the above problem. Are there any other
solutions ??
Thanx,
ingo.
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
RTnet-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/rtnet-users