Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: saravanan on January 19, 2010, 02:17:35 PM

Title: How to remove kernel modules
Post by: saravanan on January 19, 2010, 02:17:35 PM
Hi all,

I need to remove the kernel's module/something thet is responsible for loading extensions,
so that the kernel wont have to search for any tcz or tczl files under /opt/tce.

Actually how to edit the kernel in terms of modules disabling ???
also i dont want the hot plug support.

Please help.
Title: Re: How to remove kernel modules
Post by: gerald_clark on January 19, 2010, 03:23:22 PM
Why?
There is nothing in /opt/tce unless you put it there.

What are you really trying to accomplish?
Title: Re: How to remove kernel modules
Post by: saravanan on January 20, 2010, 03:20:54 AM
i have merged the .tcz contents into the actual filesystem itself, so there is no need to waste time in checking for the extensions.

Even if there is no file inside /opt/tce, during boot up it  searches if there is any .tcz file.
I don't want TC kernel to do this and thus save boot up time, to be faster!!
Title: Re: How to remove kernel modules
Post by: curaga on January 20, 2010, 05:59:10 AM
Actually, loading the extensions after boot is often faster, if only because bootloaders are very slow at IO. YMMV.

See tce-setup and tc-config.
Title: Re: How to remove kernel modules
Post by: spence91 on January 20, 2010, 12:14:55 PM
if you load the modules afterwards, don't you have to run 'depmod' for the kernel to recognise them?

that can take time.
Title: Re: How to remove kernel modules
Post by: curaga on January 20, 2010, 01:40:32 PM
There's some mixed terminology flying around here.

I believe OP means extensions.

OP, use the "base" boot code to avoid checking for extensions.