Re: [Fault-injection-developer] fith
Status: Alpha
Brought to you by:
rustyl
From: arun <ar...@np...> - 2003-04-09 03:23:16
|
Hi Kevin, Trying to identify test cases which can be tested using the fith tool... It will be helpful as a reference , if there is a descriptive test cases written for e100 driver (for wich the scripts are available in fault_set/e100 dir)... If any such test-case document is available, please pass on... Thanks -arun "Gao, Kevin" wrote: > Hi Arun, I want to know whether you do the following task before > using ficl tools. 1. mount the sysfs to directory "/sys" 2. > Before you run "ficl -i scb_cu_resume.fsml " The scb_cu_resume.ko > should be inserted which contains the codesegment used by test fsml > file.-Kevin > > -----Original Message----- > From: Arun Prasad [mailto:ar...@ne...] > Sent: 2003?3?20? 15:03 > To: Gao, Kevin > Cc: fau...@li... > Subject: Re: [Fault-injection-developer] fith > > Hi Kevin, > I got some problems when I use the FICL command to > insert the fsml script... Below I have pasted the info > about it... > > > Did the following fix to compile the FITH_UTILITY.... > > ficl/Makefile: > <<LDFLAGS = > >> LDFLAGS =$(AM_LDFLAGS) > Without the above fix, bfd is not linked and was getting > link errors > > ficl_cmd.c: > 696 // dirp = opendir(TRIGGER_PATH); (commented this > line) > 697 struct dirent *dp; > 698 int fd = 0; > 699 char cmd[128]; > 700 > 701 dirp = opendir(TRIGGER_PATH); (Added this line) > > ******************************************************** > > The Below is the error I get when trying to insert the fsml > script using ficl command according to your instructions in > the previous mail.... > > [root@xcast1hclt-ntl e100]# lsmod > Module Size Used by > e100 60900 0 > fi_pf 4672 0 > fi_core 6176 1 fi_pf > eepro100 21964 1 > mii 2592 1 eepro100 > autofs 8960 0 > parport_pc 19620 0 [unsafe] > parport 23296 1 parport_pc,[unsafe] > > [root@xcast1hclt-ntl e100]# uname -a > Linux xcast1hclt-ntl.co.in 2.5.63 #5 Thu Mar 20 11:52:09 IST > 2003 i686 unknown > > [root@xcast1hclt-ntl e100]# pwd > /home/arun/bkt/fith/fith_test/fault_set/e100 > > [root@xcast1hclt-ntl e100]# ficl -i scb_cu_resume.fsml > Inserting scb_cu_resume.fsml into fi_dm... > Can not open /sys/fi/trigger/ctl. > Can not open /sys/fi/code_segment/scb_cu_resume/ctl. > > > > Thanks again > -arun > > > > > "Gao, Kevin" wrote: > > > The tree linux-2.5 is out of date. > > So please dowload the newest tree at > > http://fault-injection@fault-injecti > > n.bkbits.net/2.5-fi-extern > > The new tree includes all interceptors. > > > > The usage of FITH_TOOL is as follow. > > > > We still use tools "ficl" > > You can use parameters as follow: > > > > --attach, -a <modname,file_path> > > attach a module into dbp. > > --detach, -d > > detach all modules that attached to dbp. > > --insert, -i <file.fsml> > > insert a faultset written in file.fsml into FITH. > > --remove, -r {file.fsml|all} > > remove the faultset written in file.fsml or all > > faultset. > > --help, -h > > help information. > > > > thanks > > -Kevin > > > > -----Original Message----- > > From: Arun Prasad [mailto:ar...@ne...] > > Sent: 2003?3?18? 17:17 > > To: fau...@li... > > Subject: [Fault-injection-developer] fith > > > > Hi All, > > To use the fith tool, downloaded the Bitkeeper tool > > and > > cloned the > > below repositories... > > * fith-tool > > * linux-2.5 > > both from fault-injection project. > > > > Now I have to compile and load the "linux-2.5" (above) and > > > > install > > "fith-tool" on it... Is my assumption right... Because I > > could see > > "2.5-kprobes" in the list of repositories which is again a > > > > kernel tree.... > > It will be helpful if we know the significance of each > > repository.. > > > > Please clarify this.... > > > > Is there any upto date manual to describe the ficl > > commands > > and for > > general usage of the tool.... > > > > Thanks > > -arun > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Does your code think in > > ink? > > You could win a Tablet PC. Get a free Tablet PC hat just > > for playing. > > What are you waiting for? > > http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en > > _______________________________________________ > > Fault-injection-developer mailing list > > Fau...@li... > > https://lists.sourceforge.net/lists/listinfo/fa > > lt-injection-developer > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Does your code think in > > ink? > > You could win a Tablet PC. Get a free Tablet PC hat just > > for playing. > > What are you waiting for? > > http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en > > _______________________________________________ > > Fault-injection-developer mailing list > > Fau...@li... > > https://lists.sourceforge.net/lists/listinfo/fa > > lt-injection-developer > |