From owner-freebsd-current@FreeBSD.ORG Mon Jun 2 00:39:55 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 70427106566C for ; Mon, 2 Jun 2008 00:39:55 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.227]) by mx1.freebsd.org (Postfix) with ESMTP id 2A4EB8FC19 for ; Mon, 2 Jun 2008 00:39:54 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so804650rvf.43 for ; Sun, 01 Jun 2008 17:39:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=4nBpOarQkwmvKVfpsCAmYSlXTJ9kzJZca49fLgJkto4=; b=E2i87jDQiBuDK0i9dESupCTFvavvL5FL6F0BhWloDm8jHbvN+tfstIsubWx3Uvy50Wn0nBwWebY//HmpBNk7mXpiIBgQcRH9Z2kjNIarsQQrvKVm9je5jIUvS7CbQI5VoJPuN31BjniMKrFDCfGrY7HTFQ+5GbDUY0E0sLQsod8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=WluqLKUNjqNMOVDTjGMkPps4AG+NiYl7KaxlS5sem3Ulg8oaS8OfkHTqOkCeVJfkKIxB7ZwIZT7S744QpB7QOCXOWRGVtsXn0MmDZ6WXYY8BEavoVivWvtZ1OFDSeBFUqo2iEQ7k7Zp8NcWdVftTt6KpmeBYGK98vrwytYJUUSQ= Received: by 10.141.168.7 with SMTP id v7mr4565141rvo.224.1212367194748; Sun, 01 Jun 2008 17:39:54 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id g31sm4645204rvb.2.2008.06.01.17.39.51 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 01 Jun 2008 17:39:53 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id m520dmA1083978 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 2 Jun 2008 09:39:48 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id m520dmKJ083977; Mon, 2 Jun 2008 09:39:48 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Mon, 2 Jun 2008 09:39:48 +0900 From: Pyun YongHyeon To: Norikatsu Shigemura Message-ID: <20080602003948.GA83841@cdnetworks.co.kr> References: <20080602034630.eb07fe5c.nork@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080602034630.eb07fe5c.nork@FreeBSD.org> User-Agent: Mutt/1.4.2.1i Cc: Bill Paul , freebsd-current@FreeBSD.org Subject: Re: axe(4) doesn't work (patch to replace obsolete if_watchdog interface) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2008 00:39:55 -0000 On Mon, Jun 02, 2008 at 03:46:30AM +0900, Norikatsu Shigemura wrote: > Hi, wpaul. > > I got USB2.0 GbE Ether Adaptor a.k.a. PLANEX GU-1000T, but I > can't use it by axe(4). So I tried to improve axe(4) driver, > but I couldn't improve it:-(. Would you please fix this driver? > > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > ehci0: mem 0xb0040000-0xb00403ff irq 23 at device 29.7 on pci0 > ehci0: [GIANT-LOCKED] > ehci0: [ITHREAD] > usb1: EHCI version 1.0 > usb1: companion controller, 2 ports each: usb0 > usb1: on ehci0 > usb1: USB revision 2.0 > uhub1: on usb1 > uhub1: 2 ports with 2 removable, self powered > axe0: on uhub1 > axe0: AX88178, bufsz 4096, boundary 512 > miibus0: on axe0 > ukphy0: PHY 0 on miibus0 > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseSX, 1000baseT, 1000baseT-FDX, auto > axe0: WARNING: using obsoleted if_watchdog interface > axe0: WARNING: using obsoleted IFF_NEEDSGIANT flag > axe0: Ethernet address: 00:90:cc:ef:b9:f6 > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > > ISSUE: > 1. after ether cable connected, axe(4) doesn't link up. > 2. axe0 doesn't link up by 'ifconfig axe0 up', too. I'm not familiar with USB but this looks like PHY driver problem or mishandling of link state change in axe(4). Because axe(4) uses ukphy(4), a generic PHY driver, it would be even better if you can show me the verbosed boot messages related with axe(4)/ukphy(4) or "devinfo -rv | grep oui". > 3. so I couldn't communicate other machines. > 4. I didn't know that axe(4) requires GIANT lock:-(. > > HAPPY: > 1. MAC Address is correct. > 2. I could replace obsolete if_watchdog interface. > SEE ALSO: attached patches -- Regards, Pyun YongHyeon