From owner-freebsd-current@FreeBSD.ORG Thu Aug 9 06:09:42 2007 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 93C1916A41B for ; Thu, 9 Aug 2007 06:09:42 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.190]) by mx1.freebsd.org (Postfix) with ESMTP id 60D7913C465 for ; Thu, 9 Aug 2007 06:09:42 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: by rv-out-0910.google.com with SMTP id f1so289589rvb for ; Wed, 08 Aug 2007 23:09:42 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:date:to:cc:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent:organization:x-operation-sytem:from; b=I+L3TYRrESfUPvFu5m3bWb11V7mCULwRVg/OvSEa+v6stXDceT8sE9Cpt6+Ai9A8l2E3Q5UKSAGMaNcoWrMv4GuneqUpG3vemi7l6ccZpUy8uFIA/hpqKg3VDCe9dfPK952WtUB2aa74fQyQXAfHUnHaxrm5Fy5yvwvcLqIY1og= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:to:cc:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent:organization:x-operation-sytem:from; b=eyTVJ7apoBhK/3EvSDjN8wmDNMTX0XZkCoLdla/kNDAacf3gGya5iXfqGZyoNdqQTcbD52PVuAvjqLNu/mlgghg50HPAhPvOGPmLY4MyzUb76JPEIjKCaodZdal3GzX1qmdDsBwY72ujMHiob437z7OJT+U0z2ymZYk2tWeQm2s= Received: by 10.141.14.14 with SMTP id r14mr816356rvi.1186638023684; Wed, 08 Aug 2007 22:40:23 -0700 (PDT) Received: from freebsd.weongyo.org ( [211.53.35.67]) by mx.google.com with ESMTPS id f42sm2863057rvb.2007.08.08.22.40.18 (version=SSLv3 cipher=OTHER); Wed, 08 Aug 2007 22:40:21 -0700 (PDT) Received: by freebsd.weongyo.org (sSMTP sendmail emulation); Thu, 9 Aug 2007 14:40:09 +0900 Date: Thu, 9 Aug 2007 14:40:08 +0900 To: "M. Warner Losh" Message-ID: <20070809054008.GE2858@freebsd.weongyo.org> References: <20070805082204.GC2858@freebsd.weongyo.org> <20070805.111140.-432837257.imp@bsdimp.com> <20070806012242.GD2858@freebsd.weongyo.org> <20070805.201449.-1783261475.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070805.201449.-1783261475.imp@bsdimp.com> User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD From: Weongyo Jeong Cc: freebsd-current@freebsd.org Subject: Re: finished? porting ZyDAS zb1211/zb1211b driver for FreeBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Aug 2007 06:09:42 -0000 I also had tested the zyd driver for FreeBSD on amd64 and checked whether it causes panics when it operates on it. However, It don't make problems on i386 and amd64 both with my device (Unicorn WL-54G). Also, I checked the network performance test using netperf(1) and below is the result. Linux TCP_STREAM Thoughput 5.21 Mbps 4.25 Mbps 5.04 Mbps Linux TCP_RR Transaction 142.70 60.08 154 FreeBSD TCP_STREAM Thoughput 2.86 Mbps (amd64) 6.1 Mbps 7.88 Mbps TCP_RR Transaction 272.96 324.29 It was slow and I'm not sure that the result is credible ;-) During the network test, the driver was stable. I send this mail just for information. Best Regards, Weongyo Jeong On Sun, Aug 05, 2007 at 08:14:49PM -0600, M. Warner Losh wrote: > In message: <20070806012242.GD2858@freebsd.weongyo.org> > Weongyo Jeong writes: > : I'm using i386. Can you tell me the chip name (zd1211 or zb1211b) > : and RF controller name? > > The chip is zb1211b, verified by taking apart the dongle. AL2230 RF > is what gets initialized, and it is the first write to the RF part > that dies. This, btw, is exactly the same place where it dies for me > with the independent port that I did. > > : Also it will be helpful for debugging if you send me the backtrace > : log of DDB when you encounter a panic. > > It wouldn't help you. It is an insane traceback with only usb_task > and fork_exit on the stack. And the address for usb_task appears to > be completely bogus :-(. > > I get three timeouts and then it dies. I wish I could give you better > details. > > I'll give it a try on an i386 box later if I can get it working... > > Warner > > : Best Regards, > : Weongyo Jeong > : > : On Sun, Aug 05, 2007 at 11:11:40AM -0600, M. Warner Losh wrote: > : > In message: <20070805082204.GC2858@freebsd.weongyo.org> > : > Weongyo Jeong writes: > : > : A device I have is ZyDAS (vendor = 0x0ace) ZD1211B (product = > : > : 0x1215) whose manufacturer is Unicorn (the product name is Unicorn > : > : WL-54G) which is a south korea company. > : > > : > I have the following device: > : > > : > port 1 addr 3: high speed, power 500 mA, config 1, USB2.0 WLAN(0x705c), Belkin(0x050d), rev 48.10 > : > > : > and I get timeouts and a panic in usb_task that makes no sense to me. > : > > : > Are you using amd64 or i386? > : > > : > Warner > : > > : > > : > : Best Regards, > : > : Weongyo Jeong > : > : > : > : On Sat, Aug 04, 2007 at 11:58:04PM -0700, Sam Leffler wrote: > : > : > Weongyo Jeong wrote: > : > : > >Hello, > : > : > > > : > : > >I just finished to port zyd(4) from NetBSD for FreeBSD and it works well > : > : > >in my environment without any panic ;-) (In zb1211b, RF AL2230, open auth, > : > : > >54M). But It's not perfect and not be tested on another RF controllers > : > : > >and not on zb1211. IMO, it would work too. > : > : > > > : > : > >A patch which is for CURRENT is available at > : > : > >http://weongyo.org/patches/freebsd/if_zyd-CURRENT-20070805.diff > : > : > > > : > : > >Comments, questions and feedbacks always welcome. > : > : > > > : > : > >PS. special thanks to Pyun YongHyeon. > : > : > > : > : > Excellent! What device do you have? > : > : > > : > : > Sam > : > : > : > : > : > :