|
From: <pa...@us...> - 2003-08-02 19:37:21
|
Update of /cvsroot/emc/rtapi
In directory sc8-pr-cvs1:/tmp/cvs-serv5825
Modified Files:
install_realtime_base
Log Message:
Fixes to prevent a kernel panic when removing the rtai_sched
Index: install_realtime_base
===================================================================
RCS file: /cvsroot/emc/rtapi/install_realtime_base,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** install_realtime_base 27 Jul 2003 15:56:43 -0000 1.3
--- install_realtime_base 2 Aug 2003 19:37:17 -0000 1.4
***************
*** 57,63 ****
fi
fi
! if /sbin/modprobe rtai_sched_up 1> ${nullfile} 2>${nullfile} ; then
! echo Installed rtai_sched_up
! fi
if ! /sbin/lsmod | awk '{print $1}' | grep rtai_sched 1> ${nullfile} 2> ${nullfile} ; then
if ! /sbin/modprobe rtai_sched 1> ${nullfile} 2>${nullfile} ; then
--- 57,63 ----
fi
fi
!
! # running setsched in the rtai directory links rtai_sched to the correct
! # scheduler, be it the smp, or up scheduler...
if ! /sbin/lsmod | awk '{print $1}' | grep rtai_sched 1> ${nullfile} 2> ${nullfile} ; then
if ! /sbin/modprobe rtai_sched 1> ${nullfile} 2>${nullfile} ; then
|