CONF.MODULE

tmuller@wsu.edu
Mon, 21 Apr 1997 13:05:15 -0700 (PDT)


See below...

> On Sun, 20 Apr 1997, Richard Henderson wrote:
>
> > > modprobe: kernel: QM_SYMBOLS: Function not implemented
> >
> > You built a kernel that doesn't support modules.
>
> Uhmm... excuse me.. :-(
>
> [ reboot with correct kernel ]
>
> shalott:~# depmod -a
> modprobe: error reading ELF header: No such file or directory
> shalott:~#
>
> *THIS* is the message I meant.
>
> ldso 1.8.10-1 (debian)
> libc5 5.4.23-2
> binutils 2.7.0.9-3
> gcc 2.7.2.1-4
>
> modutils 2.1.34 (compiled under 2.1.35)
> kernel 2.1.35
>
> This is with Example.modules.conf.
>
> If I use the conf.modules provided by modutils_2.1.23-4.deb, I get:
^^^^^^^^^^^^

Do not use this.......^^^^. I had problems until I removed all the
path aliasing from the conf.module file in /etc.

You should only be aliasing devices and the like to turn things on and
off.

Here WAS my original conf.module from 2.0.30 kernel and modutils....

path[net]=/lib/modules/`uname -r`/net
path[misc]=/lib/modules/`uname -r`/misc
path[block]=/lib/modules/`uname -r`/block
path[fs]=/lib/modules/`uname -r`/fs
path[scsi]=/lib/modules/`uname -r`/scsi
alias scsi_hostadapter BusLogic
alias net-pf-5 off
alias net-pf-4 off
alias char-major-14 off

Using the above under 2.1.35 I get.......

[root@napalm /etc]# /sbin/depmod -a
TYPE /lib/modules/2.1.35/net/net
TYPE /lib/modules/2.1.35/misc/misc
TYPE /lib/modules/2.1.35/block/block
TYPE /lib/modules/2.1.35/fs/fs
TYPE /lib/modules/2.1.35/scsi/scsi
[root@napalm /etc]# cd /lib/modules/2.1.35/
[root@napalm 2.1.35]# ls -al
total 6
drwxr-xr-x 6 root root 1024 Apr 19 14:55 .
drwxr-xr-x 4 root root 1024 Apr 19 21:54 ..
drwxr-xr-x 2 root root 1024 Apr 19 21:54 fs
drwxr-xr-x 2 root root 1024 Apr 19 21:54 misc
-rw-r--r-- 1 root root 0 Apr 21 12:54 modules.dep
drwxr-xr-x 2 root root 1024 Apr 19 21:54 net
drwxr-xr-x 2 root root 1024 Apr 19 21:54 scsi

Notice that the modules.dep file is empty. Now taking out the path
stuff............

Here is my NEW conf.module file for 2.1.35.....

alias scsi_hostadapter BusLogic
alias net-pf-5 off
alias net-pf-4 off
alias char-major-14 off

I get the following......

[root@napalm /etc]# /sbin/depmod -a
[root@napalm /etc]# cd /lib/modules/2.1.35/
[root@napalm 2.1.35]# ls -al
total 7
drwxr-xr-x 6 root root 1024 Apr 19 14:55 .
drwxr-xr-x 4 root root 1024 Apr 19 21:54 ..
drwxr-xr-x 2 root root 1024 Apr 19 21:54 fs
drwxr-xr-x 2 root root 1024 Apr 19 21:54 misc
-rw-r--r-- 1 root root 239 Apr 21 12:56 modules.dep
drwxr-xr-x 2 root root 1024 Apr 19 21:54 net
drwxr-xr-x 2 root root 1024 Apr 19 21:54 scsi

Notice that the modules.dep is perfectly alright......
I suggest taking out the paths from the conf.module and giving it a try.
I have not had any problems with this configuration....

Thanks,

Troy Muller

--

================================================================= Troy Muller E-mail: tmuller@agora.rdrop.com Snail-Mail: Why even bother? Voice-Mail: 332-???? (you think I'd tell you?) WWW home page: http://www.eecs.wsu.edu/~tmuller =================================================================

Regarding Unsolicited Email Advertisements

By US Code Title 47, Sec.227(a)(2)(B), a computer/modem/printer meets the definition of a telephone fax machine. By Sec.227(b)(1)(C), it is unlawful to send any unsolicited advertisement to such equipment, punishable by action to recover actual monetary loss, or $500, whichever is greater, for each violation.

-----BEGIN PGP PUBLIC KEY BLOCK----- Version: 2.6.2

mQCNAzMWma4AAAEEAOCk1hmSApHdkQjoY7kpMJVStqMwSpSISZW9uyAF2CzM+upX 0IHtYtMhF55NAwDUwjRQnJaPy2LAseRDPhxq69gDhORyRJEEUJq2WmK/+5CTD5rs JEBLzbzUVR3rB3pwserxKsGbiQs7pWSJqJLeqjQlaSf5+qdJDhjgFMk5K285AAUR tChUcm95IFMuIE11bGxlciA8dG11bGxlckBhZ29yYS5yZHJvcC5jb20+ =cQAj -----END PGP PUBLIC KEY BLOCK-----