All of lore.kernel.org
 help / color / mirror / Atom feed
From: Valdis.Kletnieks@vt.edu
To: linux-kernel@vger.kernel.org
Subject: 2.6.18-rc4-* LVM issues from initrd.
Date: Fri, 25 Aug 2006 14:35:17 -0400	[thread overview]
Message-ID: <200608251835.k7PIZHZv016794@turing-police.cc.vt.edu> (raw)

[-- Attachment #1: Type: text/plain, Size: 1246 bytes --]

I never saw this under 2.6.18-rc3-mm*, and for a while -rc4-mm1 wasn't
doing it either. However, I'm now seeing a reproducible problem with -rc4
and later...

Setup:  1 disk, basically 2 partitions, an ext3 /boot and a LVM space that
/ and other filesystems live in.  Of late, the 'vgscan' command has been
consistently failing to find the volume group, so we end up falling off
the end of the initrd startup script when there's no init left.  It's not
a every-time thing - after 2 to 10 attempted boots, one will work. I was
suspecting hardware issues after some problems caused a motherboard swap
last week - but -rc3-mm2 is 100% able to boot every time.  It *seems* to
be a timing-related thing - adding 'loglevel=7' to the boot generates more
printk traffic, which seems to slow it down enough to improve chances.

My personal guess is that -rc4 is a few percent faster at booting, and
the initrd (running 'nash') used to take long enough that the hotplug event
that created /dev/sda1 and /dev/sda2 *used* to finish before vgscan got
started, but now vgscan is getting going faster and races the hotplug.

Any alternative hypothesis, or is it time to dive into the wonders of
nash scripting and figure out how to make it wait for hotplug?




[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]

                 reply	other threads:[~2006-08-25 18:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200608251835.k7PIZHZv016794@turing-police.cc.vt.edu \
    --to=valdis.kletnieks@vt.edu \
    --cc=linux-kernel@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.