Results 1 to 7 of 7

Thread: need to stop a module from loading using a text editor?????

  1. #1
    Member registered user
    Join Date
    Jan 2004
    Posts
    40

    need to stop a module from loading using a text editor?????

    knoppix 3.6
    hd install on laptop
    ibm r40 laptop
    hda1 win98 (for bochs and wine)
    hda2 swap
    hda3 knoppix

    running synaptic (graphifc front end for apt)
    and was updating system and saw there were new knoppix modules so without paying enough attention (the cause of 1/2 my problems) i installed cloop for knoppix without realizing but i figured it out real quick when the system triesd to load itself into ram on a reboot....

    hmmm 5 gb install into 512 mb ramm yup didnt exaclty work....

    so i removed any reference of cloop under mtab and fstab


    checked my lilo conf and looked god ( did all this from the cdrom---/mnt/hda3/etc.....


    and removed kloop.ko from lib modules folders but still havnt slain the beast any ideas would be apreciated but i need to do it without the system loaded since thats the root of my problems otherwise id just uninstall cloop or use webmin or debconf etc to disable

    thanks much

  2. #2
    Member registered user
    Join Date
    Jan 2004
    Posts
    65
    In /etc/modprobe.conf add this line:
    alias cloop off
    It's what I'd try first.
    Good Luck

  3. #3
    Member registered user
    Join Date
    Jan 2004
    Posts
    40

    tried unfortunatly didnt work

    thanks for the suggestion didnt find it any where under modules.conf but renamed modules.conf.old to modules .conf to see if it would fix prob no go
    still stumped where its loading from???

  4. #4
    Member registered user
    Join Date
    Jan 2004
    Posts
    65
    thanks for the suggestion didnt find it any where under modules.conf but renamed modules.conf.old to modules .conf to see if it would fix prob no go
    still stumped where its loading from???
    You need to add this line to /etc/modprobe.conf,not /etc/modules.conf unless you are still using the 2.4 kernel.If you are using 2.4,add it to /etc/modules.conf.

    alias cloop off

  5. #5
    Junior Member
    Join Date
    Mar 2004
    Location
    Beverly, MA. USA
    Posts
    3
    I have also been lookingto do something like this. I have searched and have not found modprobe.conf in /etc or anywhere else. I am using Knoppix 3.4 with 2.6 kernel. But there is a modules.conf, can this be used where the other file isn't there?

  6. #6
    Member registered user
    Join Date
    Jan 2004
    Posts
    65
    I have also been lookingto do something like this. I have searched and have not found modprobe.conf in /etc or anywhere else. I am using Knoppix 3.4 with 2.6 kernel. But there is a modules.conf, can this be used where the other file isn't there?
    I don't know what your setup is,but I think you're probably running a 2.4 kernel,in which case the file you want is /etc/modules.conf.If you are running a 2.6 kernel,you should have an /etc/modprobe.conf.

    Code:
      uname -a
    will tell you what kernel you have.

    To quote the man page of modules.conf
    Note that the line:

    alias some_module off

    will make modprobe ignore requests to load that module.
    I haven't had to prevent cloop from loading,yet,but I have used this to prevent other modules from loading.

    YMMV

  7. #7
    Junior Member
    Join Date
    Mar 2004
    Location
    Beverly, MA. USA
    Posts
    3
    I just double-checked using uname -a and I'm running kernel 2.6.6 and double-checked and no /etc/modprobe.conf just /etc/modules.conf.

    uname -a
    Linux laptop 2.6.6 #2 SMP Fri May 14 20:38:30 CEST 2004 i686 GNU/Linux

    Well it may not matter too much, it's more like there's a few modules I'd like to stop loading but right now my laptop is running ok so I probably shouldn't complain

Similar Threads

  1. ne - nice text editor
    By beforewisdom in forum Ideas
    Replies: 3
    Last Post: 12-02-2004, 03:39 PM
  2. FTE Console Text Editor
    By zz9pluralzalpha in forum Ideas
    Replies: 0
    Last Post: 02-27-2004, 09:36 PM
  3. Stop agpgart from loading
    By dave52355 in forum General Support
    Replies: 13
    Last Post: 11-03-2003, 03:44 PM
  4. temporarily stop xserver from loading
    By IamPi in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 08-22-2003, 09:22 PM
  5. usb module loading help
    By corwinspyre in forum Hardware & Booting
    Replies: 1
    Last Post: 08-15-2003, 08:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Working Commodore Vic 20 Computer with Power Supply, RF Adapter Box, & Paperwork picture

Working Commodore Vic 20 Computer with Power Supply, RF Adapter Box, & Paperwork

$99.00



Commodore 64   picture

Commodore 64

$160.00



Commodore Plus 4 VINTAGE Computer Complete In Box collectors only picture

Commodore Plus 4 VINTAGE Computer Complete In Box collectors only

$166.00



Commodore 128dcr Computer - W/JiffyDOS And Keyboard - Fully Working picture

Commodore 128dcr Computer - W/JiffyDOS And Keyboard - Fully Working

$699.95



Commodore 64 Home Computer picture

Commodore 64 Home Computer

$200.00



Vintage Commodore VIC 20 Computer Untested No Power Adapter MADE IN USA Keyboard picture

Vintage Commodore VIC 20 Computer Untested No Power Adapter MADE IN USA Keyboard

$59.99



Commodore SX-64 OEM KEYBOARD CABLE ONLY GOOD CONDITION SX64 C-64 picture

Commodore SX-64 OEM KEYBOARD CABLE ONLY GOOD CONDITION SX64 C-64

$138.00



TeensyROM Cartridge for Commodore 64/128: MIDI, Fastload, Emulation, and Network picture

TeensyROM Cartridge for Commodore 64/128: MIDI, Fastload, Emulation, and Network

$65.00



RARE Commodore KS64C Personal Computer Keyboard #’d 292/500 - Great Condition picture

RARE Commodore KS64C Personal Computer Keyboard #’d 292/500 - Great Condition

$299.99



Commodore 1084S-D 14

Commodore 1084S-D 14" Color Video CRT Monitor Parts Or Repair Read Descrption

$199.99