[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <m1bpmtqxjh.fsf@fess.ebiederm.org>
Date: Wed, 05 Aug 2009 23:14:10 -0700
From: ebiederm@...ssion.com (Eric W. Biederman)
To: Amerigo Wang <amwang@...hat.com>
Cc: Neil Horman <nhorman@...hat.com>, linux-kernel@...r.kernel.org,
tony.luck@...el.com, linux-ia64@...r.kernel.org,
akpm@...ux-foundation.org, Ingo Molnar <mingo@...e.hu>,
Anton Vorontsov <avorontsov@...mvista.com>
Subject: Re: [Patch 0/7] Implement crashkernel=auto
Amerigo Wang <amwang@...hat.com> writes:
> Eric W. Biederman wrote:
>> Amerigo Wang <amwang@...hat.com> writes:
>>
>>
>>>> No the crashdump mechanism is useless because user space is already
>>>> broken and unusable.
>>>>
>>> Again, why broken?
>>>
>>
>> To get a stock stat drive by hand I had to list about 5 kernel modules
>> in the right magic order in /etc/kdump.conf
>>
>> Neither mount by label or mount by uuid when specified in /etc/kdump.conf
>> I had to hack mkdumprd to get an initrd that even finds the proper disk
>> to mount.
>>
>
> You are saying that there is some difficulty to make a initrd for kdump, but I
> am sorry that I can't see any relations between this and my patch. What is your
> point here?
You are trying to make it easier for end users.
I am saying the problem is in user space.
I am saying also that the kernel doesn't have a clue what you are
going to load with kexec on panic to handle panics. Maybe it is a
custom stand alone binary that only needs 5K. So the kernel doesn't
have a clue what the right size to reserve.
I think if what you were proposing was part of some coherent story for
a complete implementation I would consider it more. Instead this just
appears to be a reaction to how frustrating the user space
implementation is, and fixing things in the kernel instead of in user
space.
The fact that user space is broken to the point of usability on fedora
simply reinforces the point to me that the problem is there not in the
kernel. So I am pushing back and saying get your user space act together
and then this kernel option won't matter.
I am further saying that this selecting how much memory to use is the least
of your problems.
Eric
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists