From: Stephen Hemminger <shemminger@vyatta.com>
To: Shmulik Hen <shmulik.hen@gmail.com>
Cc: netdev@vger.kernel.org
Subject: Re: System blocks (hangs) on ifconfig up
Date: Sun, 12 Dec 2010 15:29:48 -0800 [thread overview]
Message-ID: <20101212152948.13cb616b@nehalam> (raw)
In-Reply-To: <4D04E38A.1040605@trego.co.il>
On Sun, 12 Dec 2010 17:00:26 +0200
Shmulik Hen <shmulik.hen@gmail.com> wrote:
> Hello,
>
> My system is Ubuntu 10.04, running kernel 2.6.32-26-generic.
>
> Whenever I try to bring up a specific ethernet interface for the second
> time, my
> system becomes unresponsive for 60 seconds - i.e. no mouse, no keyboard, no
> screen refresh. etc.
>
> Looking at the driver's code, I could see that it's dev->open() method calls
> wait_event_interruptible_timeout() with a timeout of 60 seconds - exactly
> the delay I'm seeing.
>
> I have narrowed the code to a bare minimum (see below - loosely based on
> dummy.c), which only calls mdelay(10000) in it's dev->open() method, and
> still, my system blocks for exactly 10 seconds when I run the following
> sequence:
>
> > sudo ifconfig shmulik0 up
> > sudo ifconfig shmulik0 down
> > sudo ifconfig shmulik0 up
>
> At this point - the system is stuck for 10 seconds.
>
>
> Thanks,
> Shmulik.
What driver is this? Where is the source? It sounds awful
--
next prev parent reply other threads:[~2010-12-12 23:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-12 15:00 System blocks (hangs) on ifconfig up Shmulik Hen
2010-12-12 23:03 ` Ben Hutchings
2010-12-13 9:14 ` Shmulik Hen
2010-12-13 12:37 ` Eric Dumazet
2010-12-13 13:11 ` Shmulik Hen
2010-12-12 23:29 ` Stephen Hemminger [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-12-12 15:08 Shmulik Hen
2010-12-12 20:29 ` Eric Dumazet
2010-12-12 20:53 ` Eric Dumazet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101212152948.13cb616b@nehalam \
--to=shemminger@vyatta.com \
--cc=netdev@vger.kernel.org \
--cc=shmulik.hen@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.