Solved

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

Posted on 2008-10-21
4
1,728 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
CentOS/RHEL 7 Linux maillog worldwide readable 2 66
networking details on centos 6.6 4 64
awk file 6 53
Bash script - Exit out of choice loop 2 30
rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
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 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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

778 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