From: Andrew Morton <akpm@linux-foundation.org>
To: Valdis.Kletnieks@vt.edu
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.21-mm2 - hanging with initcall_debug and netconsole
Date: Wed, 9 May 2007 10:37:20 -0700 [thread overview]
Message-ID: <20070509103720.76ed6a99.akpm@linux-foundation.org> (raw)
In-Reply-To: <6257.1178729509@turing-police.cc.vt.edu>
On Wed, 09 May 2007 12:51:49 -0400 Valdis.Kletnieks@vt.edu wrote:
> On Wed, 09 May 2007 01:23:22 PDT, Andrew Morton said:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21/2.6.21-mm2/
>
> So I have a canned grub config for booting with netconsole, initcall_debug, and
> all that fun stuff. Tried it on 21-mm2, and it wedged up hard here:
>
> [ 66.842587] TCP: Hash tables configured (established 131072 bind 65536)
> [ 66.842591] TCP reno registered
> [ 66.845424] initcall 0xffffffff806ff7c6: inet_init+0x0/0x34d() returned 0.
> [ 66.845437] initcall 0xffffffff806ff7c6 ran for 14 msecs: inet_init+0x0/0x34d()
> [ 66.845443] Calling initcall 0xffffffff806e28eb: populate_rootfs+0x0/0xea()
> [ 66.845566] checking if image is initramfs... it is
> [ 66.978816] Freeing initrd memory: 1824k freed
> [ 66.979130] initcall 0xffffffff806e28eb: populate_rootfs+0x0/0xea() returned 0.
> [ 66.979141] initcall 0xffffffff806e28eb ran for 127 msecs: populate_rootfs+0x0/0xea()
> [ 66.979146] Calling initcall 0xffffffff8020cf78: time_init_device+0x0/0x22()
>
> Total brick, no sysrq. Had to power cycle. Oddly enough, it boots OK
> with the same grub line, but minus 'earlyprintk=vga initcall_debug':
>
> [ 26.768561] TCP: Hash tables configured (established 131072 bind 65536)
> [ 26.768566] TCP reno registered
> [ 26.771502] checking if image is initramfs... it is
> [ 26.904772] Freeing initrd memory: 1824k freed
> [ 26.910854] audit: initializing netlink socket (disabled)
> [ 26.910874] audit(1178725351.514:1): initialized
> [ 26.911253] VFS: Disk quotas dquot_6.5.1
>
> (My guess is that initcall_debug is trashing some timing constraint that
> time_init_device is relying on?)
>
Could be. We've had numerous problems recently wherein something tries to
read the system time while holding locks which make that illegal. One
popular site is mark_tsc_unstable(), which does a printk, which calls
sched_clock() to get the timestamp.
Maybe this?
--- a/arch/i386/kernel/tsc.c~a
+++ a/arch/i386/kernel/tsc.c
@@ -280,7 +280,7 @@ void mark_tsc_unstable(char *reason)
if (!tsc_unstable) {
tsc_unstable = 1;
tsc_enabled = 0;
- printk("Marking TSC unstable due to: %s.\n", reason);
+// printk("Marking TSC unstable due to: %s.\n", reason);
/* Can be called before registration */
if (clocksource_tsc.mult)
clocksource_change_rating(&clocksource_tsc, 0);
_
next prev parent reply other threads:[~2007-05-09 17:37 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-09 8:23 2.6.21-mm2 Andrew Morton
2007-05-09 14:57 ` 2.6.21-mm2 - Kconfig horkage Valdis.Kletnieks
2007-05-09 17:07 ` Christoph Lameter
2007-05-09 17:16 ` Valdis.Kletnieks
2007-05-09 18:36 ` Christoph Lameter
2007-05-09 16:08 ` 2.6.21-mm2 - 100% CPU on ksoftirqd/1 Valdis.Kletnieks
2007-05-09 17:31 ` Andrew Morton
2007-05-09 18:12 ` Jeremy Fitzhardinge
2007-05-09 20:13 ` Valdis.Kletnieks
2007-05-11 2:52 ` Valdis.Kletnieks
2007-05-09 16:51 ` 2.6.21-mm2 - hanging with initcall_debug and netconsole Valdis.Kletnieks
2007-05-09 17:37 ` Andrew Morton [this message]
2007-05-10 11:29 ` 2.6.21-mm2 -- compat_core_sys_select() kmalloc(0) Andy Whitcroft
2007-05-10 11:48 ` 2.6.21-mm2 -- powerpc missing kset Andy Whitcroft
2007-05-10 12:16 ` Stephen Rothwell
2007-05-10 15:48 ` Randy Dunlap
2007-05-10 23:45 ` Stephen Rothwell
2007-05-10 12:21 ` ixp4xx compile error (was Re: 2.6.21-mm2) Frederik Deweerdt
2007-05-10 12:45 ` Frederik Deweerdt
2007-05-10 12:56 ` Dmitry Torokhov
2007-05-10 16:11 ` 2.6.21-mm2 Marc Dietrich
2007-05-10 19:22 ` 2.6.21-mm2 Andrew Morton
2007-05-10 20:40 ` 2.6.21-mm2 Marc Dietrich
2007-05-11 8:27 ` [-mm patch] make csum_and_copy_from_user arch independent (was Re: 2.6.21-mm2) Frederik Deweerdt
2007-05-11 8:33 ` Andrew Morton
2007-05-11 9:14 ` [-mm patch] make csum_and_copy_from_user arch independent David Miller
2007-05-11 13:56 ` Frederik Deweerdt
2007-05-11 17:04 ` Russell King
2007-05-11 18:03 ` 2.6.21-mm2 boot failure, raid autodetect, bd_set_size+0xb/0x80 thunder7
2007-05-11 18:18 ` Andrew Morton
2007-05-11 18:53 ` thunder7
2007-05-15 3:25 ` 2.6.21-mm2 - CONFIG_STATISTIC and Intel PowerTOP Valdis.Kletnieks
2007-05-15 14:25 ` Martin Peschke
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=20070509103720.76ed6a99.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=Valdis.Kletnieks@vt.edu \
--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