From: Aleksandar Milivojevic <amilivojevic@pbl.ca>
To: "Alexander E. Patrakov" <patrakov@ums.usu.ru>
Cc: linux-kernel@vger.kernel.org
Subject: Re: bug in sym53c8xx? [Was: RAID1 + LVM not detected during boot on 2.6.9]
Date: Thu, 16 Dec 2004 12:20:11 -0600 [thread overview]
Message-ID: <41C1D1DB.2000106@pbl.ca> (raw)
In-Reply-To: <cpr51c$gc4$1@sea.gmane.org>
Alexander E. Patrakov wrote:
> I am not sure how to classify this bug properly.
>
> First, the driver correctly follows the behaviour described by Greg KH: it
> should load successfully even if there is no corresonding hardware. Then
> (in already-loaded state) it should generate hotplug events when the
> hardware says it's present (and that's slow). Greg KH says that in hotplug
> world (i.e., in reality) nothing else is possible. From this viewpoint, the
> bug is in the linuxrc script provided by RedHat. It should really either
> poll and sleep and wait or use udev to get notification when the disk is
> really accessible.
I've just stumbled at another problem that seems to boil down to the
same thing. This time modules were not PCI related. They were file
system modules: jbd and ext3.
The ext3.ko needs some symbols that are defined in jbd.ko. The linuxrc
(init) script first loads jbd.ko, and than ext3.ko. ext3.ko complains
about unknown symbols (journal_*) that are defined in jbd.ko and fails
to load. Again, inserting sleep between invocations of insmod solves
the problem.
The problem was first referenced on Fedora Users mailing list, under
thread "FC3 SMP builds do NOT contain ext3 drivers in the build!!!!"
(kind of incorrect subject line, ext3 driver was included, but it failed
to load due to unknown symbols). It seems that OP migrated his file
systems back to ext2 in order to be able to boot. There were couple of
people that experienced this race condition problem.
Now, this might be the linuxrc (init) script problem. But if in order
to boot reliably we need to add "sleep 10" lines after each and every
module from initrd image is loaded, it becomes ridicilus. Shouldn't
there be a way to load module and wait until it signals "I'm done with
initialization" before insmod command exits? This would solve problems
with hot-pluggable devices too (driver would scan the bus, than signal
it is initialized, and after that it would continue doing its
hot-pluggable agenda).
--
Aleksandar Milivojevic <amilivojevic@pbl.ca> Pollard Banknote Limited
Systems Administrator 1499 Buffalo Place
Tel: (204) 474-2323 ext 276 Winnipeg, MB R3T 1L7
prev parent reply other threads:[~2004-12-16 18:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-15 16:40 RAID1 + LVM not detected during boot on 2.6.9 Stephen Warren
2004-12-15 19:41 ` bug in sym53c8xx? [Was: RAID1 + LVM not detected during boot on 2.6.9] Aleksandar Milivojevic
2004-12-16 5:05 ` Alexander E. Patrakov
2004-12-16 18:20 ` Aleksandar Milivojevic [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=41C1D1DB.2000106@pbl.ca \
--to=amilivojevic@pbl.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=patrakov@ums.usu.ru \
/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