Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Aug 2007 14:40:08 +0900
From:      Weongyo Jeong <weongyo.jeong@gmail.com>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: finished? porting ZyDAS zb1211/zb1211b driver for FreeBSD
Message-ID:  <20070809054008.GE2858@freebsd.weongyo.org>
In-Reply-To: <20070805.201449.-1783261475.imp@bsdimp.com>
References:  <20070805082204.GC2858@freebsd.weongyo.org> <20070805.111140.-432837257.imp@bsdimp.com> <20070806012242.GD2858@freebsd.weongyo.org> <20070805.201449.-1783261475.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <weongyo.jeong@gmail.com> 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 <weongyo.jeong@gmail.com> 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
> : > : 
> : > : 
> : 
> : 



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