Try using "insmod hello.o" to load the hellow example module....it will run until you unload it. Try "rmmod hello" to unload it. Seems to work fine for me.
-----Original Message----- From: niranjan [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 2:50 AM To: [EMAIL PROTECTED] Subject: [Rtl]dubious behaviour of hello program in examples hi, iam running rtlinux 2.2.19-rtl kernel. iam just checking out all the examples well every thing is fine except hello.c program in examples/hello directory.well the problem is when i do "make test" it is not showing output .then i tinkered the make file changed the sleep from 3 to 10, still iam not getting output then i tried "rtlinux start hello", then it shows the message that hello modules is included with all the other rtlinux modules. and when i stopped the program using "rtlinux stop hello" , then its giving a kernel dump ...... then i again started using "rtlinux start hello" then the program is printing "iam here my argument is 0" in infinite loop its not stopping , so i CTRl+ALT+del the computer and again restarted... and again started the program using "rtlinux start hello",it just showed that hello module is include withn all other modules. and this time i stopped the program using "rtlinux stop hello 2>xyz" so that i can see what error is coming . the xyz file consist this lines. "/usr/bin/rtlinux: line 161: 1028 Segmentation fault ${RMMOD} $modules" i think problem is with "rtlinux stop hello " is the problem really related with program or my installation... Note : I tried these things with frank and mesurements files , they are giving outputs and just shutting down correctly with out giving kernel dumps. any idea about this problem , thanks for all ur support bye niranjan ______________________________________ Scanned and protected by email scanner _______________________________________________ Rtl mailing list [EMAIL PROTECTED] http://www2.fsmlabs.com/mailman/listinfo.cgi/rtl _______________________________________________ Rtl mailing list [EMAIL PROTECTED] http://www2.fsmlabs.com/mailman/listinfo.cgi/rtl
