linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Wanted: a limit on kernel log buffer size
@ 2003-04-07  1:34 Chuck Ebbert
  2003-04-07  2:49 ` Randy.Dunlap
  0 siblings, 1 reply; 11+ messages in thread
From: Chuck Ebbert @ 2003-04-07  1:34 UTC (permalink / raw)
  To: linux-kernel

 Some people (who will mercifully go unnamed) just will _not_
read the documentation, and set the kernel log buffer shift
to 31 on a 256MB machine.  This attempt to allocate 2GB of memory
for the buffer results in an unbootable kernel.

 Suggestions?

--
 Chuck
 I am not a number!

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: Wanted: a limit on kernel log buffer size
@ 2003-04-07  8:55 Chuck Ebbert
  0 siblings, 0 replies; 11+ messages in thread
From: Chuck Ebbert @ 2003-04-07  8:55 UTC (permalink / raw)
  To: Randy.Dunlap, linux-kernel

Randy Dunlap:


>+#if (CONFIG_LOG_BUF_SHIFT > 20)
>+#error CONFIG_LOG_BUF_SHIFT is ridiculously large (more than 1 MB).
>+#endif


That ought to do it.  Anyone who needs more than that can just change
the source.


--
 Chuck
 I am not an octal number!

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: Wanted: a limit on kernel log buffer size
@ 2003-04-07  8:55 Chuck Ebbert
  2003-04-07 16:24 ` Randy.Dunlap
  0 siblings, 1 reply; 11+ messages in thread
From: Chuck Ebbert @ 2003-04-07  8:55 UTC (permalink / raw)
  To: Robert Love, linux-kernel

Robert Love

> I say if users cannot bother to read the documentation
>and understanding things, why are they compiling a kernel?


 True, but then they'll come bleating to l-k when all they get is
a blank, black screen on boot.  (At least _I_ figured out what
went wrong first...)

--
 Chuck
 I am not a number!

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: Wanted: a limit on kernel log buffer size
@ 2003-04-07 21:12 Chuck Ebbert
  0 siblings, 0 replies; 11+ messages in thread
From: Chuck Ebbert @ 2003-04-07 21:12 UTC (permalink / raw)
  To: linux-kernel

Randy Dunlap wrote:

>> Just how far does boot get?  What messages are printed before death?


I don't have it exactly, but it's along the lines of:

   Decompressing.... OK, now booting the kernel

i.e., none.


--
 Chuck
 I am not an octal number!

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2003-04-07 23:13 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-07  1:34 Wanted: a limit on kernel log buffer size Chuck Ebbert
2003-04-07  2:49 ` Randy.Dunlap
2003-04-07  3:35   ` Randy.Dunlap
2003-04-07  3:39     ` Robert Love
2003-04-07  4:32       ` Randy.Dunlap
2003-04-07 23:17     ` [PATCH] " Randy.Dunlap
2003-04-07 12:19   ` Roman Zippel
2003-04-07  8:55 Chuck Ebbert
2003-04-07  8:55 Chuck Ebbert
2003-04-07 16:24 ` Randy.Dunlap
2003-04-07 21:12 Chuck Ebbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).