login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
March
»
13
Re: Make sure we populate the initroot filesystem late enough
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Kumar Gala
Subject:
Re: Make sure we populate the initroot filesystem late enough
Date: Monday, March 12, 2007 - 8:03 pm
On Mar 12, 2007, at 6:01 PM, Paul TBBle Hampson wrote:
quoted text
> On Thu, Mar 01, 2007 at 09:30:56AM +0900, Michael Ellerman wrote: >> On Wed, 2007-02-28 at 10:13 +0000, David Woodhouse wrote: >>> On Wed, 2007-02-28 at 07:43 +0100, Benjamin Herrenschmidt wrote: >>>> I wouldn't be that sure ... I've had problems in the past with >>>> PMU based >>>> cpufreq... looks like flushing all caches and hard-resetting the >>>> processor on the fly when there can be pending DMAs might be a >>>> source of >>>> trouble... especially on CPUs that don't have working cache >>>> flush HW >>>> assist. >>> >>> I've seen it on a PowerMac3,1 (400MHz G4) where we don't have >>> cpufreq. >>> I've also seen it on the latest 1.5GHz Mac Mini, and on my >>> shinybook. >>> They all fall over with the latest kernel, although the shinybook >>> only >>> does so immediately when booted with mem=512M. The shinybook does >>> crash >>> later with new kernels though; I don't yet know why. It could be the >>> same thing, or it could be something different. That one seemed to >>> appear between Fedora's 2.6.19-1.2913 and 2.6.19-1.2914 kernels, >>> where >>> we did nothing but turned CONFIG_SYSFS_DEPRECATED on. >>> >>> I don't blame cpufreq. At various times I've been equally >>> convinced that >>> it was due to CONFIG_KPROBES, and Linus' initrd-moving patch. > >> Is there any pattern to the way it dies? Or is it just randomly >> dieing >> somewhere depending on which config options you have enabled? > >> This is starting to sound reminiscent of a bug I chased for a >> while last >> year on Power5, but didn't find. It was "fixed" on some machines by >> disabling CONFIG_KEXEC, and/or other random unrelated CONFIG options. >> Unfortunately it magically stopped reproducing so I never caught >> it :/ > > Hmm. The crash came back after I booted into Mac OS X and back. It > was however > a different crash, I believe it was coming from the USB modules (as > it would > keep going when it happened, and get another crash, which tended to > scroll away > too fast for me to capture) but I believe it was still getting down > into the > slab code and actually dying there. > > However, reverting the reversion of > 8d610dd52dd1da696e199e4b4545f33a2a5de5c6 and instead applying > the following patch: > > diff -ru linux-source-2.6.20.orig/arch/powerpc/mm/init_32.c linux- > source-2.6.20/arch/powerpc/mm/init_32.c > --- linux-source-2.6.20.orig/arch/powerpc/mm/init_32.c 2007-02-05 > 05:44:54.000000000 +1100 > +++ linux-source-2.6.20/arch/powerpc/mm/init_32.c 2007-03-10 > 11:03:56.000000000 +1100 > @@ -244,7 +244,8 @@ > void free_initrd_mem(unsigned long start, unsigned long end) > { > if (start < end) > - printk ("Freeing initrd memory: %ldk freed\n", (end > - start) >> 10); > + printk ("NOT Freeing initrd memory: %ldk freed\n", > (end - start) >> 10); > + return; > for (; start < end; start += PAGE_SIZE) { > ClearPageReserved(virt_to_page(start)); > init_page_count(virt_to_page(start)); > > which if I recall correctly David Woodhouse posted to this thread, > seems to have fixed it. > > I dunno if it's relevant, but my initrd.img is 13193315 bytes long, > (ie 99 bytes over 12884k) and the above logs: > "NOT Freeing initrd memory: 12888k freed" > which makes sense... > > I of course completely failed to think to check this with the crashing > kernel, if it seems relevant I can roll back to it and get the > numbers.
Have you tried 2.6.20.2, there was a significant bug in get_order() that was deemed to be causing these issues. - k -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Re: Make sure we populate the initroot filesystem late enough
, David Woodhouse
, (Sun Feb 25, 5:00 pm)
Re: Make sure we populate the initroot filesystem late enough
, Linus Torvalds
, (Sun Feb 25, 5:24 pm)
Re: Make sure we populate the initroot filesystem late enough
, David Woodhouse
, (Sun Feb 25, 5:45 pm)
Re: Make sure we populate the initroot filesystem late enough
, David Woodhouse
, (Sun Feb 25, 6:17 pm)
Re: Make sure we populate the initroot filesystem late enough
, Linus Torvalds
, (Sun Feb 25, 8:45 pm)
Re: Make sure we populate the initroot filesystem late enough
, David Woodhouse
, (Sun Feb 25, 9:01 pm)
Re: Make sure we populate the initroot filesystem late enough
, Linus Torvalds
, (Sun Feb 25, 9:13 pm)
Re: Make sure we populate the initroot filesystem late enough
, William Lee Irwin III
, (Sun Feb 25, 11:59 pm)
Re: Make sure we populate the initroot filesystem late enough
, Benjamin Herrenschmidt
, (Mon Feb 26, 8:51 am)
Re: Make sure we populate the initroot filesystem late enough
, Benjamin Herrenschmidt
, (Mon Feb 26, 8:53 am)
Re: Make sure we populate the initroot filesystem late enough
, Segher Boessenkool
, (Mon Feb 26, 9:00 am)
Re: Make sure we populate the initroot filesystem late enough
, David Woodhouse
, (Mon Feb 26, 9:24 am)
Re: Make sure we populate the initroot filesystem late enough
, Milton Miller
, (Mon Feb 26, 9:44 am)
Re: Make sure we populate the initroot filesystem late enough
, john stultz
, (Mon Feb 26, 12:27 pm)
Re: Make sure we populate the initroot filesystem late enough
, Kumar Gala
, (Mon Feb 26, 1:51 pm)
Re: Make sure we populate the initroot filesystem late enough
, David Woodhouse
, (Mon Feb 26, 1:57 pm)
Re: Make sure we populate the initroot filesystem late enough
, Linus Torvalds
, (Mon Feb 26, 2:17 pm)
Re: Make sure we populate the initroot filesystem late enough
, Paul TBBle Hampson
, (Mon Feb 26, 3:27 pm)
Re: Make sure we populate the initroot filesystem late enough
, Benjamin Herrenschmidt
, (Mon Feb 26, 11:46 pm)
Re: Make sure we populate the initroot filesystem late enough
, Benjamin Herrenschmidt
, (Mon Feb 26, 11:48 pm)
Re: Make sure we populate the initroot filesystem late enough
, Segher Boessenkool
, (Tue Feb 27, 4:58 am)
Re: Make sure we populate the initroot filesystem late enough
, Benjamin Herrenschmidt
, (Tue Feb 27, 11:43 pm)
Re: Make sure we populate the initroot filesystem late enough
, David Woodhouse
, (Wed Feb 28, 3:13 am)
Re: Make sure we populate the initroot filesystem late enough
, Michael Ellerman
, (Wed Feb 28, 5:30 pm)
Re: Make sure we populate the initroot filesystem late enough
, Paul TBBle Hampson
, (Mon Mar 12, 4:01 pm)
Re: Make sure we populate the initroot filesystem late enough
, Kumar Gala
, (Mon Mar 12, 8:03 pm)
Re: Make sure we populate the initroot filesystem late enough
, Benjamin Herrenschmidt
, (Tue Mar 13, 12:03 am)
Re: Make sure we populate the initroot filesystem late enough
, Paul TBBle Hampson
, (Fri Mar 16, 12:20 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ken Chen
[patch] sched: fix inconsistency when redistribute per-cpu tg->cfs_rq shares.
Ingo Molnar
Re: [PATCH v3] x86: merge the simple bitops and move them to bitops.h
Paul Turner
[tg_shares_up rewrite v4 11/11] sched: update tg->shares after cpu.shares write
Andi Kleen
Re: - romsignature-checksum-cleanup-2.patch removed from -mm tree
Axel Lin
[PATCH] tc6393xb: fix wrong goto labels for error handling
git
:
Christian Jaeger
Re: Problem with Git.pm bidi_pipe methods
Nicolas Pitre
Re: [PATCH 2/2] Implement a simple delta_base cache
Simon 'corecode' Schubert
Re: [PATCH 3/3] prevent HEAD reflog to be interpreted as current branch reflog
Linus Torvalds
[PATCH 1/7] Make unpack_trees_options bit flags actual bitfields
Dmitry Potapov
Re: RFC: grafts generalised
git-commits-head
:
Linux Kernel Mailing List
iwlwifi: initialize spinlock before use
Linux Kernel Mailing List
i2c-i801: Add Intel Cougar Point device IDs
Linux Kernel Mailing List
ibmphp: Rename add_range() to add_bus_range() to avoid conflict
Linux Kernel Mailing List
Staging: batman-adv: splitting /proc vis file into vis_server and vis_data
Linux Kernel Mailing List
drm/i915: Add information on pinning and fencing to the i915 list debug.
linux-netdev
:
Richard Cochran
Re: [PATCH v3 3/3] ptp: Added a clock that uses the eTSEC found on the MPC85xx.
Gerrit Renker
v2 [PATCH 1/4] dccp: Limit feature negotiation to connection setup phase
David Miller
Re: [RFC] bridge: STP timer management range checking
Lennert Buytenhek
Re: [PATCH 3/6] [NET] dsa: add support for original DSA tagging format
Eric W. Biederman
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing control.
freebsd-current
:
Boris Samorodov
Re: twa + dump = sbwait
Andrey
Re: RELENG_7 and HEAD: bge causes system hang
韓家標 Bill Hacker
Re: ZFS honesty
User ken
Kernel compilation fails w/ recent -current
Bjoern A. Zeeb
Re: Can not boot 7.0-BETA3 with IPSEC
Colocation donated by:
Syndicate