Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-15-2013, 10:09 AM
|
#1
|
LQ Newbie
Registered: Jan 2013
Location: Hungary
Posts: 7
Rep: 
|
eth1 cannot be unreg until it is free
Hello All,
I have a problem I cannot solve for a time.
I receive this when I unplug the device:
unregister_netdevice: waiting for eth1 to become free. Usage count = 1
My kernel is: 3.0
Used drivers: usbnet and GobiNet
I know this is a old bug, but I found nothing useful.
I checked the kernel source code and I do not know what there is a reference on the interface means. So, in short any good idea is nice which can help me to understand what is happening. And finally find solution.
Who can I guess out who is use the device yet?
And anyway what mean there is some reference to this device?
(comment out the reference number checking is not a solution, because it can cause other problem later)
It is interesting I get this not too frequently, but it simple makes my system is instable.
Tamas
|
|
|
08-16-2013, 03:19 PM
|
#2
|
Senior Member
Registered: Apr 2009
Posts: 1,894
Rep: 
|
In kernel, there is a usage count each device. If a module use it, the count is increased.
Yes, the system isn't stable if the device is focused to release when the count isn't zero.
|
|
|
08-17-2013, 04:41 AM
|
#3
|
LQ Newbie
Registered: Jan 2013
Location: Hungary
Posts: 7
Original Poster
Rep: 
|
Thanks. As I noticed it is a really general problem,
I mean lots of reason can be.
I noticed which module is responsible for this in my case.
I have a led device which is triggered by the net device.
In some special cases (I do not know why) there is a interrupt in a mux
and a dead lock comes.
I would like to ask something else:
how can cause such problem a interrupt?
I mean how can I guess out what happens the thread which locked one function and received a interrupt?
Why does not the control go back?
|
|
|
08-19-2013, 03:19 PM
|
#4
|
Senior Member
Registered: Apr 2009
Posts: 1,894
Rep: 
|
Too dependant on the code. In general, code review could help it.
|
|
|
All times are GMT -5. The time now is 10:33 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|