Solved

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

Posted on 2008-10-21
4
1,780 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

707 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