Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 01-14-2010, 06:51 AM   #1
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 4,045

Rep: Reputation: Disabled
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?
Old 01-15-2010, 05:09 AM   #2
Senior Member
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,506

Rep: Reputation: 100Reputation: 100
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

Old 06-03-2010, 05:06 AM   #3
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 4,045

Original Poster
Rep: Reputation: Disabled
Thanks for your input but I asked the wrong question for my problem . 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 .


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Kernel Log: X server 1.7 delayed; Compiz runs on newer Radeon GPUs; DRBD in ker LXer Syndicated Linux News 0 08-06-2009 05:00 AM
how can insertion of one module deletes other modules iamjayanth Linux - Newbie 3 10-31-2008 11:36 PM
Custom kernel boot delayed... ProtoformX Slackware 1 11-07-2006 08:49 AM
2.6.11 kernel compile - sound module insertion errors dibblethewrecke Linux - Hardware 3 03-17-2005 11:50 PM
kernel module insertion using insmod on kernel 2.4.20-8, rh 9.0 gooner Red Hat 1 05-27-2004 05:31 AM > Forums > Linux Forums > Linux - Software > Linux - Kernel

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration