From: Benny Halevy <bhalevy@panasas.com>
To: Matthew Wilcox <matthew@wil.cx>
Cc: Jeff Garzik <jeff@garzik.org>, Jeff Garzik <jgarzik@redhat.com>,
lkml <linux-kernel@vger.kernel.org>,
linux-ide@vger.kernel.org,
linux-scsi <linux-scsi@vger.kernel.org>,
Arjan van de Ven <arjan@infradead.org>,
Andrew Morton <akpm@osdl.org>
Subject: Re: Is sata_nv compatible with async scsi scan?
Date: Tue, 21 Apr 2009 15:30:26 +0300 [thread overview]
Message-ID: <49EDBC62.5070202@panasas.com> (raw)
In-Reply-To: <20090421112608.GV1926@parisc-linux.org>
On Apr. 21, 2009, 14:26 +0300, Matthew Wilcox <matthew@wil.cx> wrote:
> On Tue, Apr 21, 2009 at 06:27:56AM -0400, Jeff Garzik wrote:
>> Benny Halevy wrote:
>>> Hi Jeff,
>>>
>>> Since 2.6.29 I'm having intermittent problems with booting kernels.
>>> After supposedly waiting for scsi async scan to complete,
>>> quite frequently I see errors from the init resume process
>>> when it fails to find the swap partition and later the root
>>> file system fails to load.
>>>
>>> A workaround that I found to be helpful is booting the kernel
>>> with scsi_mod.scan=sync so I suspect sata_nv has a problem
>>> with asynchronous scanning.
>> Personally, I think the whole system is broken, so continue to use this
>> workaround until it gets fixed upstream. This sounds like some timing
>> issues related to waiting for the device probe to finish, something that
>> people keep breaking (witness my USB flash drive boot breakage).
>
> No, it's 4ace92fc112c6069b4fcb95a31d3142d4a43ff2a.
>
> Specifically, this bit:
>
> @@ -179,6 +180,8 @@ int scsi_complete_async_scans(void)
> spin_unlock(&async_scan_lock);
>
> kfree(data);
> + /* Synchronize async operations globally */
> + async_synchronize_full();
> return 0;
> }
>
> Vegard Nossum has a patch that seems to have been ignored:
>
> http://marc.info/?l=linux-kernel&m=123920746830420&w=2
>
Hmm, it might help somewhat but my test machine still failed
to boot 2 out of 5 times with this patch.
Benny
prev parent reply other threads:[~2009-04-21 12:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <49ED6FD7.3070307@panasas.com>
2009-04-21 10:27 ` Is sata_nv compatible with async scsi scan? Jeff Garzik
2009-04-21 11:26 ` Matthew Wilcox
2009-04-21 12:30 ` Benny Halevy [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=49EDBC62.5070202@panasas.com \
--to=bhalevy@panasas.com \
--cc=akpm@osdl.org \
--cc=arjan@infradead.org \
--cc=jeff@garzik.org \
--cc=jgarzik@redhat.com \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=matthew@wil.cx \
/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;
as well as URLs for NNTP newsgroup(s).