From: Thayne Harbaugh <tharbaugh@lnxi.com>
To: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
Cc: Greg KH <greg@kroah.com>, Andrew Morton <akpm@osdl.org>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Console: fall back to /dev/null when no console is availlable
Date: Wed, 06 Oct 2004 15:22:51 -0600 [thread overview]
Message-ID: <1097097771.3845.28.camel@tubarao> (raw)
In-Reply-To: <20041006192335.GH10153@wohnheim.fh-wedel.de>
On Wed, 2004-10-06 at 21:23 +0200, Jörn Engel wrote:
> On Wed, 6 October 2004 11:19:58 -0700, Greg KH wrote:
> > On Wed, Oct 06, 2004 at 08:04:21PM +0200, J?rn Engel wrote:
> > > On Wed, 6 October 2004 10:38:23 -0700, Greg KH wrote:
> > > >
> > > > Your printk() calls need the proper KERN_* level.
> > >
> > > As does the original one. Which one would you like for both?
> >
> > KERN_WARNING perhaps?
>
> As in the patch below?
>
> > > > usually do not have a /dev/null this early in the boot process). Does
> > > > this mean we should add a /dev/null to the initramfs image, like the
> > > > /dev/console node we currently have there?
> > >
> > > Yes, that would fix the case. Is this a problem?
> >
> > I don't have a problem with doing that.
>
> Then please do so. :)
Take your pick:
This depends on the initramfs from file patch that is in the mm tree:
--- usr/initramfs_list.orig 2004-10-06 15:49:40.838941640 -0600
+++ usr/initramfs_list 2004-10-06 15:48:51.076506680 -0600
@@ -2,4 +2,5 @@
dir /dev 0755 0 0
nod /dev/console 0600 0 0 c 5 1
+nod /dev/null 0666 0 0 c 1 3
dir /root 0700 0 0
This is the old, hard-coded list built in to gen_init_cpio:
--- usr/gen_init_cpio.c.orig 2004-10-06 15:53:21.538390224 -0600
+++ usr/gen_init_cpio.c 2004-10-06 15:53:36.454122688 -0600
@@ -215,6 +215,7 @@
{
cpio_mkdir("/dev", 0755, 0, 0);
cpio_mknod("/dev/console", 0600, 0, 0, 'c', 5, 1);
+ cpio_mknod("/dev/null", 0600, 0, 0, 'c', 1, 3);
cpio_mkdir("/root", 0700, 0, 0);
cpio_trailer();
next prev parent reply other threads:[~2004-10-06 21:49 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-05 18:52 Jörn Engel
2004-10-05 20:27 ` Russell King
2004-10-05 21:06 ` Greg KH
2004-10-05 21:13 ` Russell King
2004-10-06 15:00 ` Alan Cox
2004-10-06 17:41 ` Greg KH
2004-10-06 18:01 ` Jörn Engel
2004-10-06 18:18 ` Greg KH
2004-10-06 19:20 ` Jörn Engel
2004-10-06 18:26 ` Chris Wright
2004-10-06 18:16 ` Andries Brouwer
2004-10-06 19:18 ` Alan Cox
2004-10-06 20:54 ` Greg KH
2004-10-06 20:29 ` Alan Cox
2004-10-06 21:45 ` Russell King
2004-10-07 5:51 ` Valdis.Kletnieks
2004-10-08 2:15 ` Herbert Xu
2004-10-06 20:01 ` Russell King
2004-10-05 22:36 ` Andries Brouwer
2004-10-06 6:43 ` Russell King
2004-10-07 14:41 ` Jan-Benedict Glaw
2004-10-05 21:58 ` Denis Vlasenko
2004-10-06 4:34 ` Willy Tarreau
2004-10-06 8:43 ` Geert Uytterhoeven
2004-10-06 12:15 ` Jörn Engel
2004-10-06 13:07 ` Geert Uytterhoeven
2004-10-06 13:33 ` Jörn Engel
2004-10-06 13:55 ` Geert Uytterhoeven
2004-10-06 14:12 ` Jörn Engel
2004-10-06 14:23 ` Geert Uytterhoeven
2004-10-06 15:28 ` Jörn Engel
2004-10-06 15:36 ` Geert Uytterhoeven
2004-10-06 15:51 ` Jörn Engel
2004-10-05 23:30 ` Andrew Morton
2004-10-06 12:16 ` Jörn Engel
2004-10-06 17:38 ` Greg KH
2004-10-06 18:04 ` Jörn Engel
2004-10-06 18:19 ` Greg KH
2004-10-06 19:23 ` Jörn Engel
2004-10-06 21:22 ` Thayne Harbaugh [this message]
2004-10-07 8:18 ` Geert Uytterhoeven
2004-10-07 9:07 ` Russell King
2004-10-07 9:46 ` Geert Uytterhoeven
2004-10-06 18:37 ` Gianni Tedesco
2004-10-06 19:08 ` Jörn Engel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1097097771.3845.28.camel@tubarao \
--to=tharbaugh@lnxi.com \
--cc=akpm@osdl.org \
--cc=greg@kroah.com \
--cc=joern@wohnheim.fh-wedel.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®