Amerigo Wang <amwang@xxxxxxxxxx> writes:
Eric W. Biederman wrote:
Amerigo Wang <amwang@xxxxxxxxxx> writes:You are saying that there is some difficulty to make a initrd for kdump, but I
To get a stock stat drive by hand I had to list about 5 kernel modulesNo the crashdump mechanism is useless because user space is alreadyAgain, why broken?
broken and unusable.
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.
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.