Solved

Supressing console output with "quiet" option or console=NULL or console=/dev/null NOT working...

Posted on 2008-10-21
4
1,747 Views
Last Modified: 2013-12-16
I have an embedded target on which I do not want console output to appear on-screen at boot time, nor do I want console data streaming out the serial port.

During development and test I would like a console on the screen or the serial port. I want to control this by changing my "console" parameter on the kernel command line I pass from my bootloader.

Some years ago I did this by setting console=NULL or console=/dev/null (I can't remember exactly). This suppressed all console output on a production unit.

For engineering use I would interrupt the bootloader and specify a "console=tty" (screen) or "console=tty0,115200" (serial port) option and get the console output as desired for engineering use.

For the 2.6.24 kernel I've tried a "quiet" option, but this is not working. I'm getting text on my LCD.

The only method that eliminates ALL output to my LCD is when I specify a "console=ttyPSC0,115200" (a serial port). This then routes all the console output to the port, but I don't want it there either!

Can anyone help me to understand why console=/dev/null is not working, or why the "quiet" option is not working? Thanks!
0
Comment
Question by:mike_timmons
4 Comments
 
LVL 23

Accepted Solution

by:
Mysidia earned 500 total points
ID: 22793437
Try
loglevel=4
(To log messages  only  levels 4 and lower numbered [more severe] messages via kprint)

Take action to suppress output from init scripts   that normally send output to the console, also.



and/or   boot the kernel with console directed to an unused local tty

console=tty2


0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
expectj telnet failing 5 45
LINUX backups with VEEAM 8 118
AWS Central Authentication 1 86
Bash script - Exit out of choice loop 2 43
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question