kexec.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* kdump kernel tried to load modules not included in the kdump initrd?
@ 2012-01-19  2:42 Jay Lan
  0 siblings, 0 replies; 4+ messages in thread
From: Jay Lan @ 2012-01-19  2:42 UTC (permalink / raw)
  To: kexec

Hi,

I have a 2.6.32-131.6.1.el6 kernel, and kexec-tools-2.0.0-145.el6.x86_64
rpm on a cent6 machine.

When i forced a kdump by 'echo c > /proc/sysrq-trigger',
the kdump kernel panicked during the boot. Surprisingly,
it tried to load lustre modules that should not be part of
the initrd and panicked!

The syslog showed the --initrd specified a kdump.img
when kdump was started. I dumped out the kdump.img
and verified that no lustre module was included in the
initrd image.

So, how this have happened?

Thanks,
Jay


_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply	[flat|nested] 4+ messages in thread

* kdump kernel tried to load modules not included in the kdump initrd?
@ 2012-01-19  7:46 Jay Lan
  2012-01-19 12:26 ` Cong Wang
  0 siblings, 1 reply; 4+ messages in thread
From: Jay Lan @ 2012-01-19  7:46 UTC (permalink / raw)
  To: kexec@lists.infradead.org

Hi,

I have a 2.6.32-131.6.1.el6 kernel, and kexec-tools-2.0.0-145.el6.x86_64
rpm on a cent6 machine.

When i forced a kdump by 'echo c > /proc/sysrq-trigger',
the kdump kernel panicked during the boot. Surprisingly,
it tried to load lustre modules that should not be part of
the initrd and panicked!

The syslog showed the --initrd specified a kdump.img
when kdump was started. I dumped out the kdump.img
(with zcat) and verified that no lustre module was included
in the initrd image.

So, how did this have happened?

Thanks,
Jay

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: kdump kernel tried to load modules not included in the kdump initrd?
  2012-01-19  7:46 kdump kernel tried to load modules not included in the kdump initrd? Jay Lan
@ 2012-01-19 12:26 ` Cong Wang
  2012-01-20  0:30   ` Jay Lan
  0 siblings, 1 reply; 4+ messages in thread
From: Cong Wang @ 2012-01-19 12:26 UTC (permalink / raw)
  To: kexec

On Thu, 19 Jan 2012 at 07:46 GMT, Jay Lan <jay.zen.lan@gmail.com> wrote:
> Hi,
>

Hi, Jay,

This mailing list is not proper for reporting problems of distro's
mkdumprd, please file a bug in bugzilla of centos.

> I have a 2.6.32-131.6.1.el6 kernel, and kexec-tools-2.0.0-145.el6.x86_64
> rpm on a cent6 machine.
>
> When i forced a kdump by 'echo c > /proc/sysrq-trigger',
> the kdump kernel panicked during the boot. Surprisingly,
> it tried to load lustre modules that should not be part of
> the initrd and panicked!
>
> The syslog showed the --initrd specified a kdump.img
> when kdump was started. I dumped out the kdump.img
> (with zcat) and verified that no lustre module was included
> in the initrd image.

lsinitrd can do that too.

>
> So, how did this have happened?
>

Odd, el6 mkdumprd picks all modules listed by lsmod in your *first
kernel*, so it is not surprised mkdumprd picks it. But if it is not
picked into kdump initrd, it is almost impossible that it will be
loaded in the second kernel.



_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: kdump kernel tried to load modules not included in the kdump initrd?
  2012-01-19 12:26 ` Cong Wang
@ 2012-01-20  0:30   ` Jay Lan
  0 siblings, 0 replies; 4+ messages in thread
From: Jay Lan @ 2012-01-20  0:30 UTC (permalink / raw)
  To: kexec

Hi Cong,

Thanks for your reply. It is good to know about lsinitrd. :)

I noticed that I ran out of memory during booting of 2nd kernel.
After I increased the crashkernel=xxx to 512M, it worked
correctly. Maybe OOM killed some processes and
things got confused... Anyway, it works now.

Thanks,
Jay


On 01/19/2012 04:26 AM, Cong Wang wrote:
> On Thu, 19 Jan 2012 at 07:46 GMT, Jay Lan<jay.zen.lan@gmail.com>  wrote:
>> Hi,
>>
> Hi, Jay,
>
> This mailing list is not proper for reporting problems of distro's
> mkdumprd, please file a bug in bugzilla of centos.
>
>> I have a 2.6.32-131.6.1.el6 kernel, and kexec-tools-2.0.0-145.el6.x86_64
>> rpm on a cent6 machine.
>>
>> When i forced a kdump by 'echo c>  /proc/sysrq-trigger',
>> the kdump kernel panicked during the boot. Surprisingly,
>> it tried to load lustre modules that should not be part of
>> the initrd and panicked!
>>
>> The syslog showed the --initrd specified a kdump.img
>> when kdump was started. I dumped out the kdump.img
>> (with zcat) and verified that no lustre module was included
>> in the initrd image.
> lsinitrd can do that too.
>
>> So, how did this have happened?
>>
> Odd, el6 mkdumprd picks all modules listed by lsmod in your *first
> kernel*, so it is not surprised mkdumprd picks it. But if it is not
> picked into kdump initrd, it is almost impossible that it will be
> loaded in the second kernel.
>
>
>
> _______________________________________________
> kexec mailing list
> kexec@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/kexec


_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-01-20  0:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-19  7:46 kdump kernel tried to load modules not included in the kdump initrd? Jay Lan
2012-01-19 12:26 ` Cong Wang
2012-01-20  0:30   ` Jay Lan
  -- strict thread matches above, loose matches on Subject: below --
2012-01-19  2:42 Jay Lan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).