-   Linux - Kernel (
-   -   Delayed insertion of Kernel modules possible? (

JZL240I-U 01-14-2010 06:51 AM

Delayed insertion of Kernel modules possible?
I have problems with an UMTS-modem. It is fabricated as an USB-stick with 70 MB Memory and a HSPA modem part accessible over only one and the same USB plug. Since last sunday the modem will intermittently produce errors and refuse connection. I suspect it might have to do something with usb-serial and usb-storage modules getting in one another's way (sorry, don't have the exact names right here).

My idea is to load one definitely first with some seconds inbetween before the other comes in (trial and error here who should come first). How can I achive that, i.e. make definitely sure they don't interfere?

rylan76 01-15-2010 05:09 AM

Not sure how you are going to prevent them interfering, but you might be able to make their modules load separately my:

1. Removing / commenting their entires in modprobe.conf (if your system uses that to load modules)
2. Manually loading the relevant modules with /sbin/modprobe

For example, to delay loading module 2 after loading module 1, in a BASH script, you might try something like:


modprobe module1.ko
sleep 4
modprobe module2.ko

I. e. to load module2.ko four seconds after module1.ko


JZL240I-U 06-03-2010 05:06 AM

Thanks for your input but I asked the wrong question for my problem :rolleyes:. Anyway, the problem I was trying to solve had to do with too many users trying to access the base station as opposed to the wrong sequence of inserting modules on my box. Sorry for coming back this late and thanks for your solution :).

All times are GMT -5. The time now is 08:31 PM.