From: ebiederm@xmission.com (Eric W. Biederman)
To: Dave Lloyd <dave@davelloyd.com>
Cc: kexec@lists.infradead.org
Subject: Re: Kernel panics when using kexec for rebooting
Date: Wed, 15 May 2013 09:53:06 -0700 [thread overview]
Message-ID: <87ehd8mbgt.fsf@xmission.com> (raw)
In-Reply-To: <CAKw_n9GLaBK8OK61N=PAfFj5Jroog+wMe3OazF731pZicenNog@mail.gmail.com> (Dave Lloyd's message of "Wed, 15 May 2013 10:50:40 -0500")
Dave Lloyd <dave@davelloyd.com> writes:
> On Tue, May 14, 2013 at 6:14 PM, Eric W. Biederman
> <ebiederm@xmission.com> wrote:
>
>>
>> Oh. Yeah. IB definitely sets up memory for ongoing dma. So if it
>> doesn't have a shutdown method and IB traffic comes in during boot just
>> about anything cood happen.
>>
>>> I'm inclined to chalk the ACPI Error mesages up to potentially buggy
>>> BIOS/hardware from the vendor since pata_amd and pata_acpi are in wide
>>> use and I would expect to see more issues reported were there truly an
>>> issue with rebooting with kexec and not unloading pata_amd and
>>> pata_acpi.
>>
>> Maybe. Or it might be luck of timing, which memory was stomped when
>> incomming IB packets stomped on memory.
>>
>> Eric
>>
>
> Removing the infiniband drivers in /etc/init.d/halt right before the
> kexec -e definitely seems to have done the trick. Thanks!
>
> My follow up question is, if we are clearing the bus master DMA bit,
> why are the Mellanox not reset or at least stop doing DMA until the
> driver is loaded again? Is this a case of the Mellanox hardware
> needing an extra poke to do the right thing?
Some hardware does not respect the bus master bit. I assume that Mellanox
has that problem.
Eric
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
prev parent reply other threads:[~2013-05-15 16:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-13 15:40 Kernel panics when using kexec for rebooting Dave Lloyd
2013-05-14 22:01 ` Eric W. Biederman
2013-05-14 22:25 ` Dave Lloyd
2013-05-14 22:33 ` Eric W. Biederman
2013-05-14 22:57 ` Dave Lloyd
2013-05-14 23:14 ` Eric W. Biederman
2013-05-15 15:50 ` Dave Lloyd
2013-05-15 16:53 ` Eric W. Biederman [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ehd8mbgt.fsf@xmission.com \
--to=ebiederm@xmission.com \
--cc=dave@davelloyd.com \
--cc=kexec@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox