Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

BOA causing kernel timeout error?

I tried to enable BOA for the first time in a year or more. After the system comes up and BOA is started, I can see the demo page and CGI demo as usual. However after about 120 seconds I get:

INFO: task boa:33 blocked for more than 120 seconds.

Did I forget to do something?

Thanks in advance - Alex

6 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    thats just a warning, BOA is still running. But it would be nice to know how to fixx this :)

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Yes, or at least a way to turn it off. At the moment it dumps a bunch of crap to the console window which is an annoyance and uses resources. Thanks for your thoughts on this. -Alex

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Sorry to bring this up again, but does anyone have any idea how I may turn this off. It turns out that dumping all of the stack info takes enough time that a watchdog timer in my application goes off. If this is normal behavior for boa is it possible to disable the stack dump info? This is really annoying. Thanks in advance --Alex

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    How did you start boa ? The self-daemonizing does not work with a no-MMU Kernel, so you should do:

    boa -d &

    ("-d" means not self daemonize)

    -Michael
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hey Michael, sorry it took so long to respond. You are exactly correct I needed the -d option. Maybe it would be good to add this line, commented out, in the default RC file. Thanks again, Alex

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Maybe it would be good to add this line, commented out, in the default RC file. Thanks again, Alex

    --- Quote End ---

    "boa &" seems to have been working with a previous version of boa.

    With an MMU enabled distribution, just "boa" should do.

    So we need more than just a comment in the RC file, You might want to update the NIOSWiki appropriately.

    -Michael