From owner-freebsd-current@FreeBSD.ORG Mon Jul 28 03:40:25 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 21A9F106567A for ; Mon, 28 Jul 2008 03:40:25 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.186]) by mx1.freebsd.org (Postfix) with ESMTP id 7292B8FC0C for ; Mon, 28 Jul 2008 03:40:24 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: by ti-out-0910.google.com with SMTP id d27so1975890tid.3 for ; Sun, 27 Jul 2008 20:40:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:to:cc:subject :message-id:mail-followup-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent:organization :x-operation-sytem:from; bh=gKFHt6B+Q4ttgis591keXugEOkoWBiIRGARmTUk5+NQ=; b=aoPCYaYF8++0QfAofdh4gY3yjrtEVLN+y8kwWleaQfp4PreTj0c+C4yx4xfnRAniLI GEODdsf1Wd9R11pWqFgP+HWY0DJnABIK7Qx8JHIW5eDSaBa79kPz7+UBwA5riK4v0GDn y2EhzDQRdNOKja3yzmuCyUt1uO9477bdNLJ0w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent:organization:x-operation-sytem:from; b=rShLp3/iFsi0X+obisDVMLFh66yEJ6c/r8V2NN/TOlu9mNT3JauPFSeoZrF3hHKHZ1 5uzrZGENJYqeY68dnffZmscw0ykqNwMJbVs1RE1psy0tC2OoNJ9eQ3AqaxIMoTNoEveD Yv1oy0oD1bqhtBlbmL5YzRxqcJhBI0Iex2UxM= Received: by 10.110.10.16 with SMTP id 16mr5247349tij.15.1217216422860; Sun, 27 Jul 2008 20:40:22 -0700 (PDT) Received: from freebsd.weongyo.org ( [211.53.35.67]) by mx.google.com with ESMTPS id j5sm7904141tid.12.2008.07.27.20.40.20 (version=SSLv3 cipher=RC4-MD5); Sun, 27 Jul 2008 20:40:21 -0700 (PDT) Received: by freebsd.weongyo.org (sSMTP sendmail emulation); Mon, 28 Jul 2008 12:39:38 +0900 Date: Mon, 28 Jul 2008 12:39:37 +0900 To: "Paul B. Mahol" Message-ID: <20080728033937.GB38346@freebsd.weongyo.org> Mail-Followup-To: "Paul B. Mahol" , freebsd-current@freebsd.org References: <20080724120210.GA38346@freebsd.weongyo.org> <3a142e750807271400w29faa66em23964ae662623326@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3a142e750807271400w29faa66em23964ae662623326@mail.gmail.com> User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD From: Weongyo Jeong Cc: freebsd-current@freebsd.org Subject: Re: CFT/CFR: NDIS(4) USB support 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: Mon, 28 Jul 2008 03:40:25 -0000 On Sun, Jul 27, 2008 at 11:00:09PM +0200, Paul B. Mahol wrote: > On 7/24/08, Weongyo Jeong wrote: > > Hello All, > > > > It looks that NDIS USB support works for some USB wireless drivers so > > I'd like to call for tests to everyone who interested in NDIS for > > FreeBSD. I have 7 USB wireless adapters and with current NDIS USB > > support 4 of 7 adapters are supported. The detail is as follows: > > > > Working: > > U-Khan UW-2054i (Marvell Libertas chipset) > > Netgear WG111v2 (Intersil/Prism chipset) - supported by upgt(4) > > EFM-IPTIME G054U2 (Ralink RT2573) - supported by rum(4) > > ZCOM XM-142 (Intersil/Prism chipset, another revision) > > > > Not working: > > Unicorn WL-54G (ZyDAS zd1211b chipset) - supported by zyd(4) > > Attaching is working sucessfully and LED works fine but it's not > > UPed. > > Zyxel G-200v2 (ZyDAS zd1211 chipset) - supported by zyd(4) > > The sympotom is same with Unicorn WL-54G. > > SMCWUSBT-G-CA EZ 108Mbps (Atheros chipset) > > This NDIS driver uses some functions which aren't supported by > > current NDIS implementation. So I can't test it now. > > > > The patch for HEAD can be found at: > > > > http://people.freebsd.org/~weongyo/patch_ndisusb_20080724.diff > > > > When you try to test this patch, you should make sure that ndiscvt(8) > > is updated. Some instructions like below could be helpful: > > > > # cd /usr/src > > # patch -p0 < ~/patch_ndisusb_20080724.diff > > # cd usr.sbin/ndiscvt > > # make && make install > > # cd ~/ > > # ndisgen ABC.inf ABC.sys > > # cd /usr/src/sys/modules/ndis > > # make > > # kldload ./ndis.ko > > # cd /usr/src/sys/modules/if_ndis > > # make > > # kldload ./if_ndis.ko > > # kldload ~/ABC_sys.ko > > > > It seems that the current status of NDIS USB support is beta status so > > I'm not sure I've implemented all features yet that it needs more > > debugging and stability. I don't have all H/Ws for testing! :) > > Please tell me if you were successful or you failed though it looks > > it's not easy to debug NDIS .sys binary using disassembler. > > > > Any help and comments are welcome. Thanks. > > Great. What about making ndis module not depends on usb/pccard ie. not > loading usb kernel module when ndis/if_ndis are being loaded? It's a good point. AFAIK it's inevitable currently and looks it's related with the structure of if_ndis module. I think we need some #ifdef and Makefile flags to do this. I'd try to apply it into HEAD. regards, Weongyo Jeong