From: Jiri Slaby <jirislaby@gmail.com>
To: Shaohua Li <shaohua.li@intel.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
"arjan@infradead.org" <arjan@infradead.org>,
"James.Bottomley@HansenPartnership.com"
<James.Bottomley@HansenPartnership.com>
Subject: Re: kexec defunct -- sd-async-shutdown [mmotm 2009-04-30-17-55]
Date: Wed, 06 May 2009 10:50:27 +0200 [thread overview]
Message-ID: <4A014F53.9000701@gmail.com> (raw)
In-Reply-To: <20090506005101.GA25287@sli10-desk.sh.intel.com>
On 05/06/2009 02:51 AM, Shaohua Li wrote:
> On Tue, May 05, 2009 at 05:36:17PM +0800, Jiri Slaby wrote:
>> On 05/01/2009 02:55 AM, akpm@linux-foundation.org wrote:
>>> The mm-of-the-moment snapshot 2009-04-30-17-55 has been uploaded to
>> ...
>>> sd-async-shutdown.patch
>> Hi,
>>
>> this one causes kexec to hang.
> Can you give more info about the hang, like the log? Is patch
> synchronize-device-shutdown.patch applied? kexec takes the same way
> to shutdown device, so does shutdown work in the system?
Ah, I though it silently hangs, but no, I had forgotten to switch a
logging console. There is nobody-cared interrupt 19 followed by plenty
of sata ports resets. The same happens on reboot.
According to /proc/interrupts, irq 19 is usb specific:
19: 0 0 IO-APIC-fasteoi ehci_hcd:usb1, uhci_hcd:usb7
But ahci enables the legacy one at 19 too:
ahci 0000:00:1f.2: version 3.0
alloc irq_desc for 19 on cpu 0 node 0
alloc kstat_irqs on cpu 0 node 0
ahci 0000:00:1f.2: PCI INT B -> GSI 19 (level, low) -> IRQ 19
alloc irq_desc for 27 on cpu 0 node 0
alloc kstat_irqs on cpu 0 node 0
ahci 0000:00:1f.2: irq 27 for MSI/MSI-X
ahci 0000:00:1f.2: AHCI 0001.0200 32 slots 6 ports ? Gbps 0x3f impl SATA
mode
ahci 0000:00:1f.2: flags: 64bit ncq sntf pm led clo pmp pio slum part ems
ahci 0000:00:1f.2: setting latency timer to 64
Is this that ahci frees msi and interrupts at all at the shutdown stage
and you "schedule" and wait for an interrupt afterwards? (And then the
interrupt comes, but usb says: no, it's not mine.)
next prev parent reply other threads:[~2009-05-06 8:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-01 0:55 mmotm 2009-04-30-17-55 uploaded akpm
2009-05-05 9:36 ` kexec defunct -- sd-async-shutdown [mmotm 2009-04-30-17-55] Jiri Slaby
2009-05-06 0:51 ` Shaohua Li
2009-05-06 8:50 ` Jiri Slaby [this message]
2009-05-06 9:05 ` Shaohua Li
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=4A014F53.9000701@gmail.com \
--to=jirislaby@gmail.com \
--cc=James.Bottomley@HansenPartnership.com \
--cc=akpm@linux-foundation.org \
--cc=arjan@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=shaohua.li@intel.com \
/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