mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mathieu Chouquet-Stringer <mchouque@e-steel.com>
To: linux-kernel@vger.kernel.org
Subject: Re: modules as drivers and the order of loading
Date: 31 Jan 2001 19:46:47 -0500	[thread overview]
Message-ID: <m3itmvjklk.fsf@shookay.e-steel.com> (raw)
In-Reply-To: <ptah7t4do0ts1cukrnqfs38ok1bd2rlnal@4ax.com>

alan@chandlerfamily.org.uk (Alan Chandler) writes:

> As I was building 2.4.1 afresh I took the opportunity to build some of
> the device drivers as modules.  In particular I have a SCSI cdrom
> device (it actually is a cd writer) and I had made that and its
> controller (Adaptec AIC-7xxx driver) modules.
> 
> However, during boot they fail to load because at the time they are
> brought up VFS had not mounted the root filesystem
> 
> I am not sure why they can be built as modules if they then can't be
> loaded?
> 
> OR have I completely misunderstood the approach here.

Well you got it right and wrong at the same time: if you want to use
modules which are used during the boot process, you have to use an initrd
image (which will be loaded before the kernel and stores all your
modules).
-- 
Mathieu CHOUQUET-STRINGER              E-Mail : mchouque@e-steel.com
     Learning French is trivial: the word for horse is cheval, and
               everything else follows in the same way.
                        -- Alan J. Perlis
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  reply	other threads:[~2001-02-01  0:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-01  0:28 Alan Chandler
2001-02-01  0:46 ` Mathieu Chouquet-Stringer [this message]
2001-02-01 14:05 ` Helge Hafting

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=m3itmvjklk.fsf@shookay.e-steel.com \
    --to=mchouque@e-steel.com \
    --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 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®