Niklaus Giger wrote:
> Am Samstag, 27. Mai 2006 18:42 schrieb Jan Kiszka:
>> Niklaus Giger wrote:
> <..>
>> Still broken:
> <..>
> Sorry for not catching this part, but my kernel config did not set 
> CONFIG_IKCONFIG. Fixed now.
>> Resolves to "zcat | grep -E '...' /proc/config.gz" or to "cat
>> /proc/config.gz". Both doesn't work. I would suggest this:
>>
>>     local filter="| grep -E '$whatconf'"
>>     [ "$verbose" = 1 ] && filter=
>>
>>     if [ -f /proc/config.gz ]; then     # get the config
>>         loudly zcat /proc/config.gz $filter
>>
>>>     elif [ -f /lib/modules/`uname -r`/build/.config ]; then
>>>         loudly $cmd /lib/modules/`uname -r`/build/.config
>> And here we need
>>
>>     loudly cat /lib/modules/`uname -r`/build/.config $filter
>>
>>>     fi
> Should be fixed with the attached patch
>> There is another occurrence of "zcat | grep" which needs fixing.
> This one too.
>>>>> /bin/xeno-test: /bin/xeno-test: 264: getopts: not found
> <..>
>> Did so, and also awk need to be switched on. What about testing for
>> those features when bb was detected? Anyway, the latency tests work now
>> (in my qemu box). But I do not find the workload (dd?) in the process list:
> Added to procedure checkUtilities and checkHelpers (after having parsed the 
> options). Added them unconditionally as there might be even *nix systems 
> around which are lacking coreutilities like awk, cut, curl, mail, script.
> 
> Added a "ps | grep $_j" to show whether a dd job is still running before 
> killing it. Now, at least running under the busybox. the dd jobs get killed 
> as they should. Therefore I added a "killall dd" for the case the dd_jobs 
> variable is empty.

But there is still no load during the tests, correct?

> 
> You should be able to xeno-test under the BusyBox without any parameter, I 
> added however often a "-T 1" to make them run faster. 
> 
> Could you give this patch another try? Thanks for your patience, but the 
> variability is very high as both the kernel and the busybox have a lot of 
> config options.

Yeah, I know. Therefore it takes someone looking at it from different
perspectives. :)

Basically works now, but I found two oddities:

- special characters in line 152 of xeno-test:

> @@ -83,20 +141,19 @@
>
>
>  boxinfo() { # static info, show once
> +    loudly `dirname $0`/xeno-config --verbose
> +    loudly `dirname $0`/xeno-info
>
> -    loudly ./xeno-config --verbose
> -    loudly ./xeno-info
> -
>      loudly cat /proc/cpuinfo # bogomips changes under CPU_FREQ
>
>      # how much of the config do we want ?
> -    local cmd="zgrep -E '$whatconf'"
> -    [ "$verbose" = 1 ] && cmd=cat
> -
> -    if [ -f /proc/config.gz ]; then  # get the config
> -     loudly $cmd /proc/config.gz
> -    elif [ -f /lib/modules/`uname -r`/build/.config ]; then
> -     loudly $cmd /lib/modules/`uname -r`/build/.config
> +    local filter=" grep -E '$whatconf'"
> +    [ "$verbose" = 1 ] && filter=
> +    if test -f /proc/config.gz; then     # get the config
                                        ^^^^

- the output of xeno-test contains this error:

running: cat /proc/cpuinfo
processor       : 0
[...]
bogomips        : 2628.76

/bin/xeno-test: /bin/xeno-test: 325:  : not found
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_PREEMPT_BKL=y
CONFIG_IPIPE=y

???

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to