From: Pekka Paalanen <pq@iki.fi>
To: "Alexey Dobriyan" <adobriyan@gmail.com>
Cc: arjan@infradead.org, torvalds@linux-foundation.org,
linux-kernel@vger.kernel.org, pq@iki.fi
Subject: Re: Too async libata breakage
Date: Thu, 8 Jan 2009 22:17:53 +0200 [thread overview]
Message-ID: <20090108221753.78648cd6@daedalus.pq.iki.fi> (raw)
In-Reply-To: <b6fcc0a0901081202m30be591fse66e7f38477e0c0c@mail.gmail.com>
On Thu, 8 Jan 2009 23:02:33 +0300
"Alexey Dobriyan" <adobriyan@gmail.com> wrote:
> > On Thu, 8 Jan 2009 22:15:56 +0300
> > "Alexey Dobriyan" <adobriyan@gmail.com> wrote:
> >
> > > commit f29d3b23238e1955a8094e038c72546e99308e61 aka
> > > "fastboot: Make libata initialization even more async"
> > > results in no findable /dev/sda2 to mount / here.
> > >
> > > Kernel correctly sees sda as 750GB drive and the rest too.
> > >
> > > CONFIG_ATA_PIIX is in use, everything built-in, plain partitions,
> > > no initrd, DM, MD etc.
> >
> > hmm.
> > no initrd;
> >
> > can you try an experiment?
> > if you edit init/do_mounts.c and find the "async_synchronize_full" call.
> > that is just after a while() loop.
> > Can you put another call to synchronize_full to also just before that
> > while loop and see if that fixes it ?
>
> Additional async_synchronize_full() helps and box boot to the end.
I just hit this bug, too. I don't have the kernel logs to attach here,
but it looks like sd has just found sda, when mounting root fs is
attempted, and sda partitions have not been read yet. This leads to
panic as root cannot be mounted. I have only tried
linus/master and Ingo's tip/master today, no bisecting.
My setup is Thinkpad T61, Core 2 Duo, a SATA disk, no initrd.
Adding rootdelay=5 allows me to boot properly, and so does the
experiment suggested above.
I'm not subscribed, so please cc me. Thanks.
--
Pekka Paalanen
http://www.iki.fi/pq/
next prev parent reply other threads:[~2009-01-08 20:18 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-08 20:02 Alexey Dobriyan
2009-01-08 20:17 ` Pekka Paalanen [this message]
2009-01-08 20:53 ` [fix] " Arjan van de Ven
2009-01-08 21:22 ` Justin P. Mattock
2009-01-08 22:20 ` Justin P. Mattock
2009-01-08 22:31 ` Arjan van de Ven
2009-01-08 23:26 ` Justin P. Mattock
2009-01-09 0:16 ` Justin P. Mattock
2009-01-09 0:23 ` Linus Torvalds
2009-01-09 0:33 ` Justin P. Mattock
2009-01-09 10:05 ` Justin P. Mattock
2009-01-09 10:10 ` Tejun Heo
2009-01-09 10:19 ` [PATCH] libata: use WARN_ON_ONCE on hot paths Tejun Heo
2009-01-09 11:31 ` Zdenek Kabelac
2009-01-09 12:03 ` Jeff Garzik
2009-01-09 12:07 ` Alan Cox
2009-01-09 17:10 ` Justin P. Mattock
2009-01-09 18:39 ` Justin P. Mattock
2009-01-11 19:58 ` Zdenek Kabelac
-- strict thread matches above, loose matches on Subject: below --
2009-01-08 19:15 Too async libata breakage Alexey Dobriyan
2009-01-08 19:28 ` Arjan van de Ven
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=20090108221753.78648cd6@daedalus.pq.iki.fi \
--to=pq@iki.fi \
--cc=adobriyan@gmail.com \
--cc=arjan@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.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
all inboxes | Powered by JetHome®