WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to remove kernel modules  (Read 2597 times)

Offline saravanan

  • Jr. Member
  • **
  • Posts: 59
How to remove kernel modules
« 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.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: How to remove kernel modules
« Reply #1 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?

Offline saravanan

  • Jr. Member
  • **
  • Posts: 59
Re: How to remove kernel modules
« Reply #2 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!!

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: How to remove kernel modules
« Reply #3 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.
The only barriers that can stop you are the ones you create yourself.

Offline spence91

  • Jr. Member
  • **
  • Posts: 80
Re: How to remove kernel modules
« Reply #4 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.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: How to remove kernel modules
« Reply #5 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.
The only barriers that can stop you are the ones you create yourself.