Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Apr 2012 06:14:31 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-usb@freebsd.org
Subject:   USB ethernet ue0 stops working
Message-ID:  <20120416041431.GA2604@tinyCurrent>

next in thread | raw e-mail | index | archive | help

Hello,

I have updated my Linux based cellphone from Linux 2.6.29-rc3 to 2.6.39.4;

with the old software version on same hardware TCP/IP over interface ue0
worked fine; on attach it said:

Apr 16 05:48:09 tinyCurrent kernel: ugen0.2: <Linux 2.6.29-rc3 with s3c2410udc> at usbus0
Apr 16 05:48:09 tinyCurrent kernel: cdce0: <CDC Ethernet Control Model ECM> on usbus0
Apr 16 05:48:09 tinyCurrent kernel: ue0: <USB Ethernet> on cdce0
Apr 16 05:48:09 tinyCurrent kernel: ue0: Ethernet address: 00:1f:11:01:32:3c

and a devd(8) hook script assigned th IP addr; all fine;

now, after the update to 2.6.39.4, it says:

Apr 16 05:50:17 tinyCurrent kernel: ugen0.2: <Linux 2.6.39.4 with s3c2410udc> at usbus0
Apr 16 05:50:17 tinyCurrent kernel: cdce0: <RNDIS Communications Control> on usbus0
Apr 16 05:50:17 tinyCurrent kernel: cdce0: No valid alternate setting found
Apr 16 05:50:17 tinyCurrent kernel: device_attach: cdce0 attach returned 6
Apr 16 05:50:17 tinyCurrent kernel: cdce0: <RNDIS Communications Control> on usbus0
Apr 16 05:50:17 tinyCurrent kernel: cdce0: No valid alternate setting found
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Apr 16 05:50:17 tinyCurrent kernel: device_attach: cdce0 attach returned 6
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Apr 16 05:50:17 tinyCurrent kernel: cdce0: <RNDIS Ethernet Data> on usbus0
Apr 16 05:50:17 tinyCurrent kernel: cdce0: faking MAC address
Apr 16 05:50:17 tinyCurrent kernel: ue0: <USB Ethernet> on cdce0
Apr 16 05:50:17 tinyCurrent kernel: ue0: Ethernet address: 2a:ac:fc:03:00:00

the devd(8) hook script is not executed,
and even doing the work it should do by hand does not bring the interface
to work:

# usbconfig -u 0 -a 2 set_config 1
# ifconfig ue0 192.168.7.1   netmask 255.255.255.0
# ifconfig ue0 ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 2a:17:91:08:00:00
        inet 192.168.7.1 netmask 0xffffff00 broadcast 192.168.7.255
# ping 192.168.7.2
PING 192.168.7.2 (192.168.7.2): 56 data bytes
ping: sendto: Host is down
ping: sendto: Host is down

The FreeBSD kernel is r214444: Thu Oct 28 10:56:32 CEST 2010;

What is the problem and what does the marked messages mean?
Thanks

	matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <guru@unixarea.de> - w http://www.unixarea.de/
UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120416041431.GA2604>