I'm experimenting with the kernel 2.0.RTL1.1 on a i486 using o/s tools from
the Red Hat 5.2 CDROM. 

(I actually downloaded the full RTL kernel source distribution rather than trying to
get the patches working).

I made progres and now have a card generating interrupts every 20ms. My RTlinux
device driver intercepts the interrupt and services it taking about 1.5 ms to do this
(worst case recorded about 3 ms).

I then thought I put some load on the main Linux system to see how stable 
the system is with my driver. 

I wrote a script which basically loops doing the following.

while 1:
        cp test.dat test2.dat
        sync
        rm test2.dat
        sync

To hammer the disk.

This started to occasionally produce the following message
kernel: hda: read_intr: status=0xd0 { Busy }.

However what is more worrying is that very occasionally the script hangs.
when I run a 'ps' command the hang always happens on a 'sync' command.
and the sync cannot be killed - even by a 'kill -9'

Has anyone any ideas as to why this is happenning? 

Does anyone have any suggestions?

In my background reading I came across someone commenting about possible
problems in using floating point instructions in interrupt routines. 

Could someone explain this in any more detail.



Regards



Steve

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