From owner-freebsd-usb@FreeBSD.ORG Mon Apr 16 04:14:41 2012 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 216D21065673 for ; Mon, 16 Apr 2012 04:14:41 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id A9A378FC0A for ; Mon, 16 Apr 2012 04:14:40 +0000 (UTC) Received: from [88.217.84.206] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1SJdKk-0006LK-5P for freebsd-usb@freebsd.org; Mon, 16 Apr 2012 06:14:34 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id q3G4EWo9002783 for ; Mon, 16 Apr 2012 06:14:32 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id q3G4EWnu002782 for freebsd-usb@freebsd.org; Mon, 16 Apr 2012 06:14:32 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Mon, 16 Apr 2012 06:14:31 +0200 From: Matthias Apitz To: freebsd-usb@freebsd.org Message-ID: <20120416041431.GA2604@tinyCurrent> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 88.217.84.206 Subject: USB ethernet ue0 stops working X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2012 04:14:41 -0000 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: at usbus0 Apr 16 05:48:09 tinyCurrent kernel: cdce0: on usbus0 Apr 16 05:48:09 tinyCurrent kernel: ue0: 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: at usbus0 Apr 16 05:50:17 tinyCurrent kernel: cdce0: 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: 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: on usbus0 Apr 16 05:50:17 tinyCurrent kernel: cdce0: faking MAC address Apr 16 05:50:17 tinyCurrent kernel: ue0: 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 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 - 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