LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-13-2013, 07:20 PM   #1
jdupre
Member
 
Registered: Sep 2003
Distribution: LFS6.1, FC3, RH9
Posts: 36

Rep: Reputation: 15
Loading compat-wireless drivers hogs CPU and delays kernel timers


I have an embedded system that uses the gpio-led driver and the "heartbeat" trigger to set up a "heartbeat" LED. This gets enabled early in the boot.

This works fine until rc starts loading the compat-wireless modules and other modules related to the wireless adapter. There are 7 modules in total required for the wireless adapter. These loadable modules appear to hog all the resources so the heartbeat LED stalls, stutters, or otherwise runs really slowly while these modules are being loaded.

Once the modules have loaded, everything is fine and the heartbeat LED runs as expected, even under heavy network use.

The question is: Can this be avoided? The LED is supposed to be a boot status indicator, and having it stop and stutter while these modules are loading is not the desired effect. And how/why does loading these particular modules screw with the operation of the kernel timers??? Shouldn't the kernel be able to "keep time" while loading modules? (I load a couple other modules after the wireless modules that do not affect the blinking of of the heartbeat LED.)
 
Old 09-16-2013, 02:23 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,850

Rep: Reputation: 161Reputation: 161
The wireless driver has problem and could access the resource that doesn't belong to it.
 
Old 09-16-2013, 05:26 PM   #3
jdupre
Member
 
Registered: Sep 2003
Distribution: LFS6.1, FC3, RH9
Posts: 36

Original Poster
Rep: Reputation: 15
Some more experimenting shows that the loading of ANY module stops the heartbeat LED from flashing. Once the load completes, the LED flashes normally. So there is something "broken" with the way insmod works on this system. It's NOT an issue with the wireless modules.
 
  


Reply



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
Building compat-wireless drivers from source (CONFIG_CFG80211_WEXT) I_LG_Ix Linux - Networking 1 07-05-2012 10:52 AM
[SOLVED] Compiling wireless compat for kernel 2.6.38-9 green_dood Linux - Networking 16 05-13-2011 12:24 PM
Disk I/O hogs CPU Schalken Linux - Hardware 6 07-17-2007 03:34 AM
kswapd0 hogs all cpu maenho Linux - Software 2 03-02-2005 08:36 AM
identify cpu hogs edgjerp Mandriva 5 12-14-2004 06:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:14 PM.

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
Open Source Consulting | Domain Registration