From: Randy Dunlap <rdunlap@xenotime.net>
To: Uwe Zeisberger <zeisberg@informatik.uni-freiburg.de>
Cc: "Witold Władysław Wojciech Wilk" <witold.wilk@gmail.com>,
linux-kernel@vger.kernel.org
Subject: Re: how to get the kernel to be more "verbose"?
Date: Fri, 6 Oct 2006 09:22:28 -0700 [thread overview]
Message-ID: <20061006092228.a22cf9ba.rdunlap@xenotime.net> (raw)
In-Reply-To: <20061006073303.GA5105@cepheus.pub>
On Fri, 6 Oct 2006 09:33:03 +0200 Uwe Zeisberger wrote:
> Hello Witold,
>
> Witold Władysław Wojciech Wilk wrote:
> > I've tried using the /proc/config.gz provided by the default kernel,
> > but to no avail.
> Does this mean, you cannot find the config because /proc/config.gz
> doesn't exist? Then try /boot/config-2.6.8. Maybe I misunderstood you?
>
> > The next step of loading the kernel I have seen in various logs is the
> > TCP/IP stack, am I right?
> I think offically the initcalls are in no particular order, but in
> practice in depends on the linking order. For my kernel the next line
> is
>
> IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
They are in initcall section order and within those sections they
are in link order. From include/linux/init.h:
/* initcalls are now grouped by functionality into separate
* subsections. Ordering inside the subsections is determined
* by link order.
* For backwards compatibility, initcall() puts the call in
* the device init subsection.
*/
#define __define_initcall(level,fn) \
static initcall_t __initcall_##fn __attribute_used__ \
__attribute__((__section__(".initcall" level ".init"))) = fn
#define core_initcall(fn) __define_initcall("1",fn)
#define postcore_initcall(fn) __define_initcall("2",fn)
#define arch_initcall(fn) __define_initcall("3",fn)
#define subsys_initcall(fn) __define_initcall("4",fn)
#define fs_initcall(fn) __define_initcall("5",fn)
#define device_initcall(fn) __define_initcall("6",fn)
#define late_initcall(fn) __define_initcall("7",fn)
> > Any help? Please point me at something, I am trying for two weeks
> > already, and I cannot find any problems like mine. Thanks a lot for
> > any help.
> You can try the "initcall_debug" kernel parameter to see which init
> functions are called.
You can also add "debug" to the boot options. That will make the
kernel more verbose, but beware, some distro's init scripts
change the loglevel during bootup, so it may not have effect for
very long.
And if you have a second machine, you can use netconsole or serial
console (depending on hardware) to capture boot messages.
The "earlyprintk" option could help here. Even without a second
machine, using "earlyprintk=vga" might help.
---
~Randy
prev parent reply other threads:[~2006-10-06 16:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-06 5:34 Witold Władysław Wojciech Wilk
2006-10-06 7:33 ` Uwe Zeisberger
[not found] ` <98975a8b0610060038t4d5dbd14ja348ce78351a93e3@mail.gmail.com>
2006-10-06 9:43 ` Uwe Zeisberger
2006-10-06 10:19 ` Witold Władysław Wojciech Wilk
2006-10-06 16:22 ` Randy Dunlap [this message]
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=20061006092228.a22cf9ba.rdunlap@xenotime.net \
--to=rdunlap@xenotime.net \
--cc=linux-kernel@vger.kernel.org \
--cc=witold.wilk@gmail.com \
--cc=zeisberg@informatik.uni-freiburg.de \
/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®