Re: modules as drivers and the order of loading

Mathieu Chouquet-Stringer (mchouque@e-steel.com)
31 Jan 2001 19:46:47 -0500


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/