Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix onie discover stopped while console XOFF is triggered #386

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jun 23, 2016

  1. Fix onie discover stopped while console XOFF is triggered

    This patch print logs to files, which was printed to /dev/console directly
        - tee_log_file to /var/log/onie-tee.log
        - _log_console_msg to /var/log/onie-console.log
        - /etc/rcS.d/S30console-logger.sh will tail these logs to /dev/console
    
    Cause:
        While XOFF is trigger with console port somehow, onie discover will stop
    searching installer after a while.
    
    Reproduce:
        1. In console terminal, type CTRL+S to send XOFF
        2. telnet/ssh to DUT, and tail -f /var/log/onie.log
        3. The discover loop will stop searching after a while,
           since linux kernel console buffer is full.
    audihsu-qci committed Jun 23, 2016
    Configuration menu
    Copy the full SHA
    59ca38c View commit details
    Browse the repository at this point in the history