Thread (1 message) 1 message, 1 author, 2010-08-25

Re: [Bugme-new] [Bug 16821] New: g_ether no carrier while it is

From: David Brownell <hidden>
Date: 2010-08-25 05:38:39

--- On Tue, 8/24/10, Andrew Morton <akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org> wrote:
From: Andrew Morton <akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
Subject: Re: [Bugme-new] [Bug 16821] New: g_ether no carrier while it is
To: netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r@public.gmane.org, bugme-daemon-590EEB7GvNgfezExeAdx9g@public.gmane.org.org, "Greg KH" <redacted>, "David Brownell" <redacted>, public.avatar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Date: Tuesday, August 24, 2010, 4:40 PM

(switched to email.  Please respond via emailed
reply-to-all, not via the
bugzilla web interface).

On Mon, 23 Aug 2010 06:24:16 GMT
bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r@public.gmane.org
wrote:
quoted
https://bugzilla.kernel.org/show_bug.cgi?id=16821

           Summary:
g_ether no carrier while it is
quoted
           Product:
Networking
quoted
           Version: 2.5
    Kernel Version: 2.6.3(2 - ok,
3?, 4-6 - fail)
quoted
          Platform:
All
quoted
        OS/Version:
Linux
quoted
          
   Tree: Mainline
quoted
        
   Status: NEW
quoted
          Severity:
blocking
quoted
          Priority:
P1
quoted
         Component: Other
        AssignedTo: acme-f8uhVLnGfZaxAyOMLChx1axOck334EZe@public.gmane.org
        ReportedBy: public.avatar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
        Regression: Yes


After successfully loaded g_ether module (with
use_eem=0) usb device appears.
quoted
If I configure it at host as ifconfig usb0 blah bah,
than network present, all
quoted
ok. 
In windows (with RNDIS config), and in linux with
bridge it looks to CARRIER
quoted
state. I get in ip addr state DOWN, NO-CARRIER. That's
why g_ether usb device
quoted
in bridge and windows don't work at all.
So g_ether broke after 2.6.32?

Nobody really seems to do much with that USB driver.
That's changed then.  There used to be boxes that
relied on it for their network connectivity...

Adding EEM support was something... I think the
issue might be driver changes since last it was
seriously tested in bridge configs (for which
the link state, such as carrier, matters LOTS.)

I wonder if some
changes in core networking could have triggered this?
Wouldn't be my first thought; but might be.

ISTR getting link/carrier state to behave in
the first place (with just CDC and RNDIS) was
complex.  If it wasn't carefully re-tested after
EEM was added, breakage may have been overlooked.

- Dave

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help