RE: How do I remove a module from the kernel
If they are scsi drivers, just do mkinitrd: mkinitrd -v -f /path/to/initrd.img `uname -r` If you you are trying to load some other kind of driver do: mkinitrd -v -f /path/to/initrd.img --with=module name `uname -r` -Steve -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 8:27 PM To: [EMAIL PROTECTED] Subject: Re: How do I remove a module from the kernel Thx Dave..I guess that worked...Now the kernel is loading without this driver... But what is the procedure to install such modular drivers...I guess I don't have to compile kernel if I want the kernel load this driver at boot?? -Saravanan David Busby [EMAIL PROTECTED] wrote: Just a note, I think that the make install of the kernel functionality is dependent on the distribution of the kernel, I just used 2.4.20 from kernel.org and I still had to re-do the mkinitrd, but I could have my own config issues. /B - Original Message - From: Rigler, S C (Steve) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 12:26 Subject: RE: How do I remove a module from the kernel You need to do mkinitrd to rebuild your initrd. It reads the information from your /etc/modules.conf and adds the scsi ones to your initrd so they get loaded at boot time. I believe that when you build your own kernel that make install does this for you. -Steve -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 1:52 PM To: [EMAIL PROTECTED] Subject: How do I remove a module from the kernel Hi all I've a host running red hat 8.0 and my kernel loads the qlogic san driver during boot time. I don't want the kernel to load this driver during boot. So I did the following steps 1. Did make menuconfig and unchecked the boxes related to qlogic under SCSI section. Recompiled the kernel and loaded the new kernel. Still the kernel loaded the qla2300 module. 2. Commented out the line #alias scsi_hostadapter1 qla2300 from /etc/modules.conf. Still the kernel loaded the module. 3. Checked the modules.dep file and deleted the qla2300.o file from the location form where it was supposed to load /lib/modules/kernel_ver/kernel/drivers/addon/qla2200/qla2300.o: /lib/modules/kernel_version/kernel/drivers/scsi/scsi_mod.o Still the kernel is loading the module... So I don't know from where its picking up the driver and trying to load... Can anyone please guide me.. Thanks Saravanan __ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list __ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
RE: How do I remove a module from the kernel
Thanks to all who responded and helped me.. All the tips worked and helped me understand linux concepts...This mailing list is great... Now I feel as if I'm mastering linux...Good to understand how things work.. Thx Saravanan Rigler, S C (Steve) [EMAIL PROTECTED] wrote: If they are scsi drivers, just do mkinitrd: mkinitrd -v -f /path/to/initrd.img `uname -r` If you you are trying to load some other kind of driver do: mkinitrd -v -f /path/to/initrd.img --with=module name `uname -r` -Steve -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 8:27 PM To: [EMAIL PROTECTED] Subject: Re: How do I remove a module from the kernel Thx Dave..I guess that worked...Now the kernel is loading without this driver... But what is the procedure to install such modular drivers...I guess I don't have to compile kernel if I want the kernel load this driver at boot?? -Saravanan David Busby [EMAIL PROTECTED] wrote: Just a note, I think that the make install of the kernel functionality is dependent on the distribution of the kernel, I just used 2.4.20 from kernel.org and I still had to re-do the mkinitrd, but I could have my own config issues. /B - Original Message - From: Rigler, S C (Steve) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 12:26 Subject: RE: How do I remove a module from the kernel You need to do mkinitrd to rebuild your initrd. It reads the information from your /etc/modules.conf and adds the scsi ones to your initrd so they get loaded at boot time. I believe that when you build your own kernel that make install does this for you. -Steve -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 1:52 PM To: [EMAIL PROTECTED] Subject: How do I remove a module from the kernel Hi all I've a host running red hat 8.0 and my kernel loads the qlogic san driver during boot time. I don't want the kernel to load this driver during boot. So I did the following steps 1. Did make menuconfig and unchecked the boxes related to qlogic under SCSI section. Recompiled the kernel and loaded the new kernel. Still the kernel loaded the qla2300 module. 2. Commented out the line #alias scsi_hostadapter1 qla2300 from /etc/modules.conf. Still the kernel loaded the module. 3. Checked the modules.dep file and deleted the qla2300.o file from the location form where it was supposed to load /lib/modules/kernel_ver/kernel/drivers/addon/qla2200/qla2300.o: /lib/modules/kernel_version/kernel/drivers/scsi/scsi_mod.o Still the kernel is loading the module... So I don't know from where its picking up the driver and trying to load... Can anyone please guide me.. Thanks Saravanan __ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list __ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list __ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
RE: How do I remove a module from the kernel
You need to do mkinitrd to rebuild your initrd. It reads the information from your /etc/modules.conf and adds the scsi ones to your initrd so they get loaded at boot time. I believe that when you build your own kernel that make install does this for you. -Steve -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 1:52 PM To: [EMAIL PROTECTED] Subject: How do I remove a module from the kernel Hi all I've a host running red hat 8.0 and my kernel loads the qlogic san driver during boot time. I don't want the kernel to load this driver during boot. So I did the following steps 1. Did make menuconfig and unchecked the boxes related to qlogic under SCSI section. Recompiled the kernel and loaded the new kernel. Still the kernel loaded the qla2300 module. 2. Commented out the line #alias scsi_hostadapter1 qla2300 from /etc/modules.conf. Still the kernel loaded the module. 3. Checked the modules.dep file and deleted the qla2300.o file from the location form where it was supposed to load /lib/modules/kernel_ver/kernel/drivers/addon/qla2200/qla2300.o: /lib/modules/kernel_version/kernel/drivers/scsi/scsi_mod.o Still the kernel is loading the module... So I don't know from where its picking up the driver and trying to load... Can anyone please guide me.. Thanks Saravanan __ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: How do I remove a module from the kernel
Just a note, I think that the make install of the kernel functionality is dependent on the distribution of the kernel, I just used 2.4.20 from kernel.org and I still had to re-do the mkinitrd, but I could have my own config issues. /B - Original Message - From: Rigler, S C (Steve) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 12:26 Subject: RE: How do I remove a module from the kernel You need to do mkinitrd to rebuild your initrd. It reads the information from your /etc/modules.conf and adds the scsi ones to your initrd so they get loaded at boot time. I believe that when you build your own kernel that make install does this for you. -Steve -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 1:52 PM To: [EMAIL PROTECTED] Subject: How do I remove a module from the kernel Hi all I've a host running red hat 8.0 and my kernel loads the qlogic san driver during boot time. I don't want the kernel to load this driver during boot. So I did the following steps 1. Did make menuconfig and unchecked the boxes related to qlogic under SCSI section. Recompiled the kernel and loaded the new kernel. Still the kernel loaded the qla2300 module. 2. Commented out the line #alias scsi_hostadapter1 qla2300 from /etc/modules.conf. Still the kernel loaded the module. 3. Checked the modules.dep file and deleted the qla2300.o file from the location form where it was supposed to load /lib/modules/kernel_ver/kernel/drivers/addon/qla2200/qla2300.o: /lib/modules/kernel_version/kernel/drivers/scsi/scsi_mod.o Still the kernel is loading the module... So I don't know from where its picking up the driver and trying to load... Can anyone please guide me.. Thanks Saravanan __ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: How do I remove a module from the kernel
Thx Dave..I guess that worked...Now the kernel is loading without this driver... But what is the procedure to install such modular drivers...I guess I don't have to compile kernel if I want the kernel load this driver at boot?? -Saravanan David Busby [EMAIL PROTECTED] wrote: Just a note, I think that the make install of the kernel functionality is dependent on the distribution of the kernel, I just used 2.4.20 from kernel.org and I still had to re-do the mkinitrd, but I could have my own config issues. /B - Original Message - From: Rigler, S C (Steve) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 12:26 Subject: RE: How do I remove a module from the kernel You need to do mkinitrd to rebuild your initrd. It reads the information from your /etc/modules.conf and adds the scsi ones to your initrd so they get loaded at boot time. I believe that when you build your own kernel that make install does this for you. -Steve -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 1:52 PM To: [EMAIL PROTECTED] Subject: How do I remove a module from the kernel Hi all I've a host running red hat 8.0 and my kernel loads the qlogic san driver during boot time. I don't want the kernel to load this driver during boot. So I did the following steps 1. Did make menuconfig and unchecked the boxes related to qlogic under SCSI section. Recompiled the kernel and loaded the new kernel. Still the kernel loaded the qla2300 module. 2. Commented out the line #alias scsi_hostadapter1 qla2300 from /etc/modules.conf. Still the kernel loaded the module. 3. Checked the modules.dep file and deleted the qla2300.o file from the location form where it was supposed to load /lib/modules/kernel_ver/kernel/drivers/addon/qla2200/qla2300.o: /lib/modules/kernel_version/kernel/drivers/scsi/scsi_mod.o Still the kernel is loading the module... So I don't know from where its picking up the driver and trying to load... Can anyone please guide me.. Thanks Saravanan __ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list __ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: How do I remove a module from the kernel
But what is the procedure to install such modular drivers...I guess I don't have to compile kernel if I want the kernel load this driver at boot?? -Saravanan Drivers can be loaded on the fly using 'modprobe modulename' Regards, --- Edward Dekkers (Director) Triple D Computer Services P/L -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list