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
  •  


LSI 9305-16i SATA SAS 12Gbs RAID Controller PCIe 3.0 x8 IT-Mode 4* 8643 SATA picture

LSI 9305-16i SATA SAS 12Gbs RAID Controller PCIe 3.0 x8 IT-Mode 4* 8643 SATA

$229.99



Dell R630 8SFF 2.4Ghz 12-Core 128GB H330 RAID 10GB RJ-45 NIC 2x750W PSU 8x Trays picture

Dell R630 8SFF 2.4Ghz 12-Core 128GB H330 RAID 10GB RJ-45 NIC 2x750W PSU 8x Trays

$430.04



Dell R630 8SFF 2.4Ghz 20-Core 128GB H730 RAID 10GB RJ-45 NIC 2x750W PSU 8x Trays picture

Dell R630 8SFF 2.4Ghz 20-Core 128GB H730 RAID 10GB RJ-45 NIC 2x750W PSU 8x Trays

$455.04



ACASIS 2.5/3.5 inch 2 Bay SATA USB 3.0 Hard Drive Disk HDD SSD Enclosure 4 RAID picture

ACASIS 2.5/3.5 inch 2 Bay SATA USB 3.0 Hard Drive Disk HDD SSD Enclosure 4 RAID

$58.99



Inspur LSI 9300-8i Raid Card 12Gbps HBA HDD Controller High Profile IT MODE picture

Inspur LSI 9300-8i Raid Card 12Gbps HBA HDD Controller High Profile IT MODE

$15.98



LSI MegaRAID 9361-8i 12Gb PCIe 8-Port SAS/SATA RAID 1Gb w/BBU/CacheVault/License picture

LSI MegaRAID 9361-8i 12Gb PCIe 8-Port SAS/SATA RAID 1Gb w/BBU/CacheVault/License

$39.95



ORICO Multi Bay RAID Hard Drive Enclosure USB 3.0/ Type-C For 2.5/3.5'' HDD SSDs picture

ORICO Multi Bay RAID Hard Drive Enclosure USB 3.0/ Type-C For 2.5/3.5'' HDD SSDs

$82.49



LSI MegaRAID 9361-8i 12Gbps PCIe 3 x8 SATA SAS 3 8 Port RAID + BBU & CacheVault picture

LSI MegaRAID 9361-8i 12Gbps PCIe 3 x8 SATA SAS 3 8 Port RAID + BBU & CacheVault

$39.00



NEW LSI MEGARAID SAS 9361-8i 12GB/s SAS + SATA RAID CONTROLLER CARD PCIe x8 3.0 picture

NEW LSI MEGARAID SAS 9361-8i 12GB/s SAS + SATA RAID CONTROLLER CARD PCIe x8 3.0

$99.00



HDD Enclosure USB 3.0 2.5 inch Dual Bay 2*6TB HDD RAID SATA Hard Drive Enclosure picture

HDD Enclosure USB 3.0 2.5 inch Dual Bay 2*6TB HDD RAID SATA Hard Drive Enclosure

$32.69