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
  •  


***NEW*** BCM RX67Q Gaming Motherboard | Intel Q67 2nd/3rd Gen. | LGA1155 | DDR3 picture

***NEW*** BCM RX67Q Gaming Motherboard | Intel Q67 2nd/3rd Gen. | LGA1155 | DDR3

$29.77



ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield picture

ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield

$42.00



Asus  PRIME H510M-A Intel LGA 1200 DDR4 SDRAM Desktop Motherboard w/ I/O shield picture

Asus PRIME H510M-A Intel LGA 1200 DDR4 SDRAM Desktop Motherboard w/ I/O shield

$64.98



Micro ATX Desktop Motherboard ASUS H110M-C LGA 1151 picture

Micro ATX Desktop Motherboard ASUS H110M-C LGA 1151

$31.95



Gigabyte AMD B550 UD AC Gaming Motherboard - AMD B550 Chipset - AM4 Socket - AMD picture

Gigabyte AMD B550 UD AC Gaming Motherboard - AMD B550 Chipset - AM4 Socket - AMD

$89.99



MSI B450M PRO-VDH MAX AM4 AMD B450 USB3.2 Micro-ATX Motherboard picture

MSI B450M PRO-VDH MAX AM4 AMD B450 USB3.2 Micro-ATX Motherboard

$67.99



ASUS B150M-C Motherboard mATX W/LGA1151 6TH/7TH GEN CPU DDR4 SATA HDMI Tested picture

ASUS B150M-C Motherboard mATX W/LGA1151 6TH/7TH GEN CPU DDR4 SATA HDMI Tested

$55.00



Asrock Z390 Phantom Gaming 4S/AC Wifi 8th/9th Gen Intel 1151 Motherboard Bulk picture

Asrock Z390 Phantom Gaming 4S/AC Wifi 8th/9th Gen Intel 1151 Motherboard Bulk

$48.70



Asus ROG Strix B550-A Gaming ATX AM4 DDR4 Motherboard Used  picture

Asus ROG Strix B550-A Gaming ATX AM4 DDR4 Motherboard Used

$71.99



GIGABYTE MB10-Datto Motherboard Xeon D-1521- SR2DF 2.40 GHz- Open Box picture

GIGABYTE MB10-Datto Motherboard Xeon D-1521- SR2DF 2.40 GHz- Open Box

$112.00