linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Jes Sorensen <jes@wildopensource.com>
Cc: Pavel Machek <pavel@ucw.cz>, Martin Hicks <mort@bork.org>,
	linux-kernel@vger.kernel.org, hpa@zytor.com, wildos@sgi.com
Subject: Re: [patch] printk subsystems
Date: Tue, 8 Apr 2003 23:02:52 +0200	[thread overview]
Message-ID: <20030408210251.GA30588@atrey.karlin.mff.cuni.cz> (raw)
In-Reply-To: <m3k7e4ycys.fsf@trained-monkey.org>

Hi!

> >> Basically, each printk is assigned to a subsystem and that
> >> subsystem has the same set of values that the console_printk array
> >> has.  The difference is that the console_printk loglevel decides if
> >> the message goes to the console whereas the subsystem loglevel
> >> decides if that message goes to the log at all.
> 
> Pavel> Well, I consider this stop gap too... Right solution is to kill
> Pavel> printk()s from too verbose part so that it does not
> Pavel> overflow....
> 
> Hi Pavel,
> 
> Killing the printk's means they are not around if you have an end user
> who is running into problems at boot time. Having a feature like this
> means they can default to 'off' then if a problem arises, whoever is
> doing the support can ask the user to try and enable printk's for say
> SCSI and get the input, without haven to rebuild the kernel from
> scratch.

Well, I think we should first kill all crappy messages -- that
benefits everyone. I believe that if we kill all unneccessary
(carrying no information  except perhaps copyright or advertising)
will help current problem a lot.


See:Redundant:
Mar 31 21:38:54 amd kernel: Local APIC disabled by BIOS -- reenabling.
Mar 31 21:38:54 amd kernel: Found and enabled local APIC!
Strange:
Mar 31 21:38:54 amd kernel: -> /dev
Mar 31 21:38:54 amd kernel: -> /dev/console
Mar 31 21:38:54 amd kernel: -> /root
Could not those be made to a signle line? Or dropped completely?
Mar 31 21:38:54 amd kernel: enabled ExtINT on CPU#0
Mar 31 21:38:54 amd kernel: ESR value before enabling vector: 00000000
Mar 31 21:38:54 amd kernel: ESR value after enabling vector: 00000000
Useless:
Mar 31 21:38:54 amd kernel: Initializing RT netlink socket
Mar 31 21:38:54 amd kernel: mtrr: v2.0 (20020519)
I do not believe bio's are *that* important:
Mar 31 21:38:54 amd kernel: BIO: pool of 256 setup, 15Kb (60
bytes/bio)
Mar 31 21:38:54 amd kernel: biovec pool[0]:   1 bvecs: 256 entries (12
bytes)
Mar 31 21:38:54 amd kernel: biovec pool[1]:   4 bvecs: 256 entries (48
bytes)
Mar 31 21:38:54 amd kernel: biovec pool[2]:  16 bvecs: 256 entries
(192 bytes)
Mar 31 21:38:54 amd kernel: biovec pool[3]:  64 bvecs: 256 entries
(768 bytes)
Mar 31 21:38:54 amd kernel: biovec pool[4]: 128 bvecs: 256 entries
(1536 bytes)
Mar 31 21:38:55 amd kernel: biovec pool[5]: 256 bvecs: 256 entries
(3072 bytes)
Mar 31 21:38:55 amd kernel: block request queues:
Mar 31 21:38:55 amd kernel:  128 requests per read queue
Mar 31 21:38:55 amd kernel:  128 requests per write queue
Mar 31 21:38:55 amd kernel:  8 requests per batch
Mar 31 21:38:55 amd kernel:  enter congestion at 15
Mar 31 21:38:55 amd kernel:  exit congestion at 17
More useless stuff (could be usefull whhhhen CONFIG_MODULE, but when
in kernel?)
Mar 31 21:38:55 amd kernel: Linux Kernel Card Services 3.1.22
Mar 31 21:38:55 amd kernel: drivers/usb/core/usb.c: registered new
driver usbfs
Mar 31 21:38:55 amd kernel: drivers/usb/core/usb.c: registered new
driver hub
Mar 31 21:38:55 amd kernel: Coda Kernel/Venus communications, v5.3.15,
coda@cs.cmu.edu
Mar 31 21:38:55 amd kernel: Installing knfsd (copyright (C) 1996
okir@monad.swb.de).
Mar 31 21:38:55 amd kernel: NTFS driver 2.1.0 [Flags: R/O DEBUG].
Mar 31 21:38:55 amd kernel: udf: registering filesystem
Mar 31 21:38:55 amd kernel: Linux agpgart interface v0.100 (c) Dave
Jones
Mar 31 21:38:55 amd kernel: loop: loaded (max 8 devices)
Mar 31 21:38:55 amd kernel: pcnet32.c:v1.27b 01.10.2002
tsbogend@alpha.franken.de
Mar 31 21:38:55 amd kernel: PPP generic driver version 2.4.2
Mar 31 21:38:55 amd kernel: PPP Deflate Compression module registered
Mar 31 21:38:55 amd kernel: PPP BSD Compression module registered
Mar 31 21:38:55 amd kernel: Linux Tulip driver version 1.1.13 (May 11,
2002)
Mar 31 21:38:55 amd kernel: drivers/usb/host/uhci-hcd.c: USB Universal
Host Controller Interface driver v2.0
Mar 31 21:38:55 amd kernel: drivers/usb/core/usb.c: registered new
driver acm
Mar 31 21:38:55 amd kernel: drivers/usb/class/cdc-acm.c: v0.21:USB
Abstract Control Model driver for USB modems and ISDN adapte$Mar 31
21:38:55 amd kernel: drivers/usb/core/usb.c: registered new driver
usblp
Mar 31 21:38:55 amd kernel: drivers/usb/class/usblp.c: v0.13: USB
Printer Device Class driver
Mar 31 21:38:55 amd kernel: Initializing USB Mass Storage driver...
Mar 31 21:38:55 amd kernel: drivers/usb/core/usb.c: registered new
driver usb-storage
Mar 31 21:38:55 amd kernel: USB Mass Storage support registered.
Mar 31 21:38:55 amd kernel: drivers/usb/core/usb.c: registered new
driver hid
Mar 31 21:38:55 amd kernel: drivers/usb/input/hid-core.c: v2.0:USB HID
core driver
Mar 31 21:38:55 amd kernel: drivers/usb/core/usb.c: registered new
driver vicam
Mar 31 21:38:55 amd kernel: drivers/usb/net/cdc-ether.c:
drivers/usb/net/cdc-ether.c: v0.98.5 22 Sep 2001 Brad Hards and
anothe$Mar 31 21:38:55 amd kernel: drivers/usb/core/usb.c: registered
new driver CDCEther
Mar 31 21:38:55 amd kernel: drivers/usb/core/usb.c: registered new
driver usbnet

...and so on andsimilar.
							Pavel
-- 
Horseback riding is like software...
...vgf orggre jura vgf serr.

  reply	other threads:[~2003-04-08 20:51 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-07 20:13 [patch] printk subsystems Martin Hicks
2003-04-08 18:41 ` Pavel Machek
2003-04-08 20:02   ` Jes Sorensen
2003-04-08 21:02     ` Pavel Machek [this message]
2003-04-08 21:10       ` H. Peter Anvin
2003-04-08 21:57         ` Pavel Machek
2003-04-08 22:02           ` Jes Sorensen
2003-04-08 22:05           ` H. Peter Anvin
2003-04-08 22:55             ` Martin Hicks
2003-04-08 23:10               ` Randy.Dunlap
2003-04-14 18:33                 ` Patrick Mochel
2003-04-14 22:33                   ` Daniel Stekloff
2003-04-16 18:42                     ` Patrick Mochel
2003-04-16 12:35                       ` Daniel Stekloff
2003-04-16 19:16                       ` Martin Hicks
2003-04-16 12:43                         ` Daniel Stekloff
2003-04-17 15:56                           ` Martin Hicks
2003-04-17 13:58                             ` Karim Yaghmour
2003-04-15 13:27                   ` Martin Hicks
2003-04-15 14:40                     ` Karim Yaghmour
2003-04-08 22:00       ` Jes Sorensen
2003-04-11 19:21 ` Martin Hicks
2003-04-08 23:15 Chuck Ebbert
2003-04-17 19:58 Perez-Gonzalez, Inaky
2003-04-17 20:34 ` Karim Yaghmour
2003-04-17 21:03   ` Perez-Gonzalez, Inaky
2003-04-17 21:37     ` Tom Zanussi
2003-04-18  7:21     ` Tom Zanussi
2003-04-18  7:42     ` Greg KH
2003-04-21 15:56     ` Karim Yaghmour
2003-04-21 18:23 Perez-Gonzalez, Inaky
2003-04-21 18:30 ` H. Peter Anvin
2003-04-21 18:42 Perez-Gonzalez, Inaky
2003-04-22  2:49 Perez-Gonzalez, Inaky
2003-04-22  4:34 ` Karim Yaghmour
2003-04-22  3:04 Perez-Gonzalez, Inaky
2003-04-22  6:00 ` Tom Zanussi
2003-04-22  4:02 Perez-Gonzalez, Inaky
2003-04-22  5:52 ` Karim Yaghmour
2003-04-22  6:04 ` Tom Zanussi
2003-04-22  5:09 Perez-Gonzalez, Inaky
2003-04-24 18:22 ` bob
2003-04-22 18:46 Perez-Gonzalez, Inaky
2003-04-22 23:28 ` Karim Yaghmour
2003-04-22 19:02 Perez-Gonzalez, Inaky
2003-04-22 19:03 ` H. Peter Anvin
2003-04-22 21:52 ` Tom Zanussi
2003-04-22 22:53 Perez-Gonzalez, Inaky
2003-04-23  3:58 ` Tom Zanussi
2003-04-23  0:28 Perez-Gonzalez, Inaky
2003-04-24 18:56 Manfred Spraul
2003-04-24 19:10 ` bob

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=20030408210251.GA30588@atrey.karlin.mff.cuni.cz \
    --to=pavel@ucw.cz \
    --cc=hpa@zytor.com \
    --cc=jes@wildopensource.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mort@bork.org \
    --cc=wildos@sgi.com \
    /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;
as well as URLs for NNTP newsgroup(s).