[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Kernel 2.2.10] Figuring out module-parameters



patrik@pedgr634.sn.umu.se (Patrik Magnusson) writes:

> In article <[🔎] wtnlnbvmf4e.fsf@licia.dtek.chalmers.se>,
> 	d4jonas@dtek.chalmers.se (Jonas Steverud) writes:
> > 
> > I've just built a 2.2.10 kernel on my own (banging my own chest like
> > Tarzan[1]) and compiled fat-fs-support as a module (and nls_cp437,
> > vfat, hpfs, msdos, ...) but modprobe (or whatever reads
> > /etc/conf.modules) complains when I boot.
> > 
> > I have this in  /etc/modutils/filesystems:

[...]

> Hmm, I don't even seem to have a file by that name. (And I can
> read my dos partition just fine.) And it seems to me that this
> script doesn't do anything useful - it only contains 'echo's.

% man update-modules

The file "filesystems" was created by me. If the file in
/etc/modutils/ is a executable it is executed and the output is used -
hence the echos - to produce /etc/conf.modules.

Update-modules is something like

foreach file in /etc/modutils/*; do
 if [ -x $file ]; then
    $file >> /etc/conf.modules
 else
    cat $file >> /etc/conf.modules
 fi
done

> > The problem is that it complains on "options fat" about missing
> > parameters.        ^^^
> What is "it"?

Stated above:
"modprobe (or whatever reads /etc/conf.modules)"
Which is stated in update-moduels(1?) but I don't have the man-pages
here so I can't check.

> > How and where do I find out of which options fat (and
> > others too for that matter) expects?
> 
> I've never had to provide any.
> 
> If, when you configured the kernel, you said yes to automatic loading
> of modules (and you should've - it makes life a lot easier),

I seldom change the modules so I don't see any need for that. I will
just use fat.o, msdos.o, nls_cp437.o, ne2k-pci.o and lp.o and once I
got them to work nothing will be changed for quite some time. It was
two years ago I last added a module and that was when I installed
Linux in the first place. I expect to install the ppp.o modules in
december or january, maybe earlier (october?).

I don't see any use for kmod for the time being.

My question remains: What parameter should I add to "options
[fat|lp|msdos|...]" to get /etc/conf.modules correctly read?

-- 
( Jonas Steverud  @  www.dtek.chalmers.se/~d4jonas/ !    Wei Wu Wei    )
( U2MoL, Roleplaying, LaTeX, Emacs/Gnus, SCWM, etc. ! To Do Without Do )


Reply to: