[Skyeye-developer] Running Skyeye in background, redirected

Anthony Lee don.anthony.lee at gmail.com
Wed Mar 12 05:30:17 CST 2008


Hi Joel,

Try the following lines put to your skyeye.conf.

uart: mod=pipe, desc_in=/dev/null, desc_out=/dev/stdout




On Wed, Mar 12, 2008 at 4:48 AM, Joel Sherrill
<joel.sherrill at oarcorp.com> wrote:
> Hi,
>
>  I have been working on trying to broaden the testing
>  of the RTEMS tools lately.  When you run the gcc
>  test suite, it literally takes hours to build the
>  tools to be tested and to build and run the 50-60K
>  test cases.  I am on a dual core machine and it takes
>  about 6 hours per target for a full build and test
>  run.  So it is common to run the build and test
>  run in the background with the IO redirected.
>
>  Skyeye does not like to be pushed into the background
>  and have its IO redirected.  I captured this run in
>  the hopes that you all will be able to spot a way to
>  address it in the upcoming release.  This is with
>  a Skyeye 1.2.2 binary I had laying around.
>
>  [joel at iceland skyeye]$ ./skyeye_1_2_2_Rel/binary/skyeye -c edb7312.conf
>  -e ../arm-edb7312-ticker.ralf  >j.log 2>&1 &
>  [1] 358
>  [joel at iceland skyeye]$
>
>  [1]+  Stopped                 ./skyeye_1_2_2_Rel/binary/skyeye -c
>  edb7312.conf -e ../arm-edb7312-ticker.ralf > j.log 2>&1
>
>  Even though the executable has no need for input,
>
>  (gdb) bt
>  #0  0x00110402 in __kernel_vsyscall ()
>  #1  0x00aea046 in tcsetattr () from /lib/libc.so.6
>  #2  0x08083ba2 in uart_stdio_open (uart_dev=0x9bd4390)
>     at device/uart/skyeye_uart_stdio.c:64
>  #3  0x0808371e in skyeye_uart_setup (uart_opt=0xbfe801a8)
>     at device/uart/skyeye_uart.c:218
>  #4  0x08086225 in do_uart_option (this_option=0x80b8280, num_params=1,
>     params=0xbfe80490) at utils/config/skyeye_options.c:406
>  #5  0x08085484 in parse_line_formatted (num_params=2, params=0xbfe8048c)
>     at utils/config/skyeye_config.c:151
>  #6  0x080855a1 in parse_line_unformatted (line=0xbfe8094c "uart")
>     at utils/config/skyeye_config.c:115
>  #7  0x08085896 in skyeye_read_config () at utils/config/skyeye_config.c:220
>  #8  0x0804a965 in main (argc=5, argv=0xbfe80ad4) at utils/main/skyeye.c:82
>  (gdb)
>
>  It appears that if I redirect input from /dev/null, this
>  does not appear to happen.
>
>  Any comments.
>
>  --
>  Joel Sherrill, Ph.D.             Director of Research & Development
>  joel.sherrill at OARcorp.com        On-Line Applications Research
>  Ask me about RTEMS: a free RTOS  Huntsville AL 35805
>    Support Available             (256) 722-9985
>
>
>
>  _______________________________________________
>  CLinux.org Websites:
>  http://seohelper.cn/
>  http://www.implight.net/
>  http://gro.clinux.org/
>  Skyeye-developer mailing list
>  Skyeye-developer at lists.gro.clinux.org
>  http://lists.gro.clinux.org/cgi-bin/mailman/listinfo/skyeye-developer
>



More information about the Skyeye-developer mailing list