Re: kexec/kdump kernel fails to start

From: Flavio Leitner
Date: Tue Sep 04 2012 - 20:01:23 EST


On Tue, 4 Sep 2012 15:25:45 -0700
Yinghai Lu <yinghai@xxxxxxxxxx> wrote:

> On Tue, Sep 4, 2012 at 2:37 PM, Flavio Leitner <fbl@xxxxxxxxxx> wrote:
> > On Tue, 4 Sep 2012 13:45:23 -0700
> > Yinghai Lu <yinghai@xxxxxxxxxx> wrote:
> >
> >> On Tue, Sep 4, 2012 at 1:26 PM, Flavio Leitner <fbl@xxxxxxxxxx> wrote:
> >> >
> >> > Sorry, but it didn't work.
> >> > The same problem happened.
> >>
> >> can you send out boot log ?
> >
> > sure, there you go:
> > http://sysclose.org/kdump/dmesg-debug.log
> > http://sysclose.org/kdump/config.log
>
> looks like you did not use for-x86-mm branch.
>
> [ 0.000000] initial memory mapped: [mem 0x00000000-0x1fffffff]
> [ 0.000000] Base memory trampoline at [ffff880000097000] 97000 size 24576
> [ 0.000000] init_memory_mapping: [mem 0x00000000-0xbf7fffff]
> [ 0.000000] [mem 0x00000000-0xbf7fffff] page 2M
> [ 0.000000] kernel direct mapping tables up to 0xbf7fffff @ [mem
> 0x1fa00000-0x1fffffff]
> [ 0.000000] init_memory_mapping: [mem 0x100000000-0x43fffffff]
> [ 0.000000] [mem 0x100000000-0x43fffffff] page 2M
> [ 0.000000] kernel direct mapping tables up to 0x43fffffff @ [mem
> 0xbf7ce000-0xbf7dffff]
> [ 0.000000] RAMDISK: [mem 0x351d2000-0x368e0fff]
> [ 0.000000] Reserving 256MB of memory at 592MB for crashkernel
> (System RAM: 16372MB)
>
> please try:
>
> mkdir linux || exit -1
> cd linux
>
> git init-db
>
> # Add Linus's tree as a remote
> git remote add linus
> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
>
> # Add the -tip tree as a remote
> git remote add tip git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
>
> # Add yinghai's tree
>
> git remote add yinghai
> git://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-yinghai.git
>
> git remote update
>
> git checkout -b yinghai-for-x86-mm yinghai/for-x86-mm

kdump works when using your branch:

[ 0.000000] Linux version 3.6.0-rc4-00012-g9389673 (root@xxxxxxxx) (gcc version 4.7.0 20120507 (Red Hat 4.7.0-5) (GCC) ) #1 SMP Tue Sep 4 20:36:43 BRT 2012
...
[ 0.000000] initial memory mapped: [mem 0x00000000-0x1fffffff]
[ 0.000000] Base memory trampoline at [ffff880000097000] 97000 size 24576
[ 0.000000] calculate_table_space_size: [mem 0x00000000-0x000fffff]
[ 0.000000] [mem 0x00000000-0x000fffff] page 4k
[ 0.000000] calculate_table_space_size: [mem 0x00100000-0xbf4bcfff]
[ 0.000000] [mem 0x00100000-0x001fffff] page 4k
[ 0.000000] [mem 0x00200000-0xbf3fffff] page 2M
[ 0.000000] [mem 0xbf400000-0xbf4bcfff] page 4k
[ 0.000000] calculate_table_space_size: [mem 0xbf4bf000-0xbf4c5fff]
[ 0.000000] [mem 0xbf4bf000-0xbf4c5fff] page 4k
[ 0.000000] calculate_table_space_size: [mem 0xbf7bf000-0xbf7dffff]
[ 0.000000] [mem 0xbf7bf000-0xbf7dffff] page 4k
[ 0.000000] calculate_table_space_size: [mem 0xbf7ff000-0xbf7fffff]
[ 0.000000] [mem 0xbf7ff000-0xbf7fffff] page 4k
[ 0.000000] calculate_table_space_size: [mem 0x100000000-0x43fffffff]
[ 0.000000] [mem 0x100000000-0x43fffffff] page 2M
[ 0.000000] kernel direct mapping tables up to 0x43fffffff @ [mem 0x43ffe1000-0x43fffffff] prealloc
[ 0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
[ 0.000000] [mem 0x00000000-0x000fffff] page 4k
[ 0.000000] init_memory_mapping: [mem 0x00100000-0xbf4bcfff]
[ 0.000000] [mem 0x00100000-0x001fffff] page 4k
[ 0.000000] [mem 0x00200000-0xbf3fffff] page 2M
[ 0.000000] [mem 0xbf400000-0xbf4bcfff] page 4k
[ 0.000000] init_memory_mapping: [mem 0xbf4bf000-0xbf4c5fff]
[ 0.000000] [mem 0xbf4bf000-0xbf4c5fff] page 4k
[ 0.000000] init_memory_mapping: [mem 0xbf7bf000-0xbf7dffff]
[ 0.000000] [mem 0xbf7bf000-0xbf7dffff] page 4k
[ 0.000000] init_memory_mapping: [mem 0xbf7ff000-0xbf7fffff]
[ 0.000000] [mem 0xbf7ff000-0xbf7fffff] page 4k
[ 0.000000] init_memory_mapping: [mem 0x100000000-0x43fffffff]
[ 0.000000] [mem 0x100000000-0x43fffffff] page 2M
[ 0.000000] kernel direct mapping tables up to 0x43fffffff @ [mem 0x43ffe1000-0x43fff2fff] final
[ 0.000000] RAMDISK: [mem 0x34ffa000-0x367f4fff]
...
http://sysclose.org/kdump/dmesg.log
http://sysclose.org/kdump/config.log

thanks,
fbl
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/