rtai_lxrt
Aristeu Sergio Rozanski Filho
aris at cathedrallabs.org
Wed Jan 21 18:01:57 CET 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hi Philippe,
> What does the panic message say? (eip, esp, current Adeos domain?)
i copied only what i found relevant:
it loads rt memory manager
then:
Kernel panic: Attempted to kill init!
ADEOS STATE: current domain=Linux on CPU #0 [stackbase=00000000]
RTAI [cpuid=0]: priority=200, status 0x8 pending_hi=0x0
Linux [cpuid=0]: priority=100, status 0x0 pending_hi=0x0
and i did the same test for a kernel compiled with APIC and other without (i
did a different fresh build of rtai 3.0 for each one).
both configurations give the same result. then i run testsuite/user/latency/
script and i got this:
- --------
/usr/realtime2/bin/rtai-load: line 230: 280 Segmentation fault $sudo $insmod $rtai_moddir/rtai_$mod$modext
/usr/realtime2/bin/rtai-load: line 230: 238 Segmentation fault ( cd $target_dir; inslist=""; children_pids=""; function cleanup ()
{
if test \! "x$children_pids" = x; then
$sudo kill -SIGINT $children_pids 1>&/dev/null;
children_pids="";
sleep 1;
fi;
if test \! "x$inslist" = x; then
for mod in $inslist;
do
test $verbose = 1 && echo "+ $rmmod $mod";
$sudo $rmmod $mod;
done;
inslist="";
fi
}; trap cleanup SIGINT; while test -n "$target_deps"; do
mod=`echo $target_deps|cut -d+ -f1`; target_deps=`echo $target_deps|cut -s -d+ -f2-`; if `echo $loadlist | grep -vq "\\brtai_$mod\\b"`; then
if test -r $rtai_moddir/rtai_$mod$modext; then
test $verbose = 1 && echo "+ $insmod $rtai_moddir/rtai_$mod$modext"; $sudo $insmod $rtai_moddir/rtai_$mod$modext; if test $? = 0; then
inslist="rtai_$mod $inslist"; case $mod in
up | smp* | ksched | lxrt)
./run: line 1: 206 Segmentation fault ${DESTDIR}/usr/realtime2/bin/rtai-load
- --------
more information:
i'm compiling kernel and rtai setting CC and GCC to gcc-2.95 in command line
(debian installs multiple gccs at once). i've compiled using 3 different
machines but all of them are using debian testing.
i also tryed to trace it using kdb but it isn't trivial as signal arrives
and back trace is empty. is there a particular function that i should use as
breakpoint?
- --
aris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQFADrCERRJOudsVYbMRAqQEAJ90sJlToa5J5i3+LX5MUfnSgXp+DQCfQaMp
khFzs59SWMC/BXxf7DiLwzA=
=eN8O
-----END PGP SIGNATURE-----
More information about the Rtai
mailing list