LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices



Reply
 
Search this Thread
Old 01-14-2010, 07:51 AM   #1
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,688

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, 06:09 AM   #2
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,477

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

Code:
modprobe module1.ko
sleep 4
modprobe module2.ko
I. e. to load module2.ko four seconds after module1.ko

...
 
Old 06-03-2010, 06:06 AM   #3
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,688

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 .
 
  


Reply


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 06:00 AM
how can insertion of one module deletes other modules iamjayanth Linux - Newbie 3 11-01-2008 12:36 AM
Custom kernel boot delayed... ProtoformX Slackware 1 11-07-2006 09:49 AM
2.6.11 kernel compile - sound module insertion errors dibblethewrecke Linux - Hardware 3 03-18-2005 12:50 AM
kernel module insertion using insmod on kernel 2.4.20-8, rh 9.0 gooner Red Hat 1 05-27-2004 06:31 AM


All times are GMT -5. The time now is 03:51 AM.

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