Re: finished? porting ZyDAS zb1211/zb1211b driver for FreeBSD

From: Weongyo Jeong <weongyo.jeong_at_gmail.com>
Date: Thu, 9 Aug 2007 14:40:08 +0900
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_at_freebsd.weongyo.org>
>             Weongyo Jeong <weongyo.jeong_at_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_at_freebsd.weongyo.org>
> : >             Weongyo Jeong <weongyo.jeong_at_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
> : > : 
> : > : 
> : 
> : 
Received on Thu Aug 09 2007 - 04:09:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:16 UTC