From owner-freebsd-current@FreeBSD.ORG Sat Aug 23 15:49:38 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 A18E6106568E for ; Sat, 23 Aug 2008 15:49:38 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.234]) by mx1.freebsd.org (Postfix) with ESMTP id 715AE8FC16 for ; Sat, 23 Aug 2008 15:49:38 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1556241rvf.43 for ; Sat, 23 Aug 2008 08:49:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=V+mSKsEa7yA3zrNZ5OAtxxjxdb7uXf+iVdQRpjtZvso=; b=q7CXdWEOSCemNRwbCl1rSevneSLTpMB0FpZ3kVFVzUPUPAx/hru6rDyg/J7P6FdBZo Bjllu+sM/9b74s8tEzvtNdsI9SW1XyI62DskGS0o+gK+O9Sx5baeP3iASgQ7MCG3D82T V9CgzNDxX9GVOdvnQ82rBP/RiFlxfVS0RmwQc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=r5FbxhGujplPiEZxcTDvIPN5GNqEIzBvi1oC0/VbL9FmcITBcjeCvbCSVv+NvHNg28 Ekmbh1pBY2gPMFBWFhvXNYcmO4uGHbGU1rj0amTCYE8jVn4MwMn69gioONnf+YpEqj2n N7lf2rG2wYtkD1GmQr4dL4MOt8y/WnaPmTGmQ= Received: by 10.140.162.21 with SMTP id k21mr1169186rve.261.1219506577807; Sat, 23 Aug 2008 08:49:37 -0700 (PDT) Received: by 10.141.189.15 with HTTP; Sat, 23 Aug 2008 08:49:37 -0700 (PDT) Message-ID: <3a142e750808230849j1158fb8coa9f1d818ddf4a762@mail.gmail.com> Date: Sat, 23 Aug 2008 17:49:37 +0200 From: "Paul B. Mahol" To: freebsd-current@freebsd.org In-Reply-To: <20080724120210.GA38346@freebsd.weongyo.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080724120210.GA38346@freebsd.weongyo.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: Sat, 23 Aug 2008 15:49:38 -0000 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 Here it asked me politely what to do: I dont have share/man/man4/man4.i386/ndis.4 but I have share/man/man4/ndis.4 > # cd usr.sbin/ndiscvt > # make && make install > # cd ~/ > # ndisgen ABC.inf ABC.sys > # cd /usr/src/sys/modules/ndis > # make > # kldload ./ndis.ko Here I get: link_elf: symbol M_USBDEV undefined and kernel will not load it. I have custom kernel without usb stuff (it is loaded via module) The only place where M_USBDEV is defined is in sys/dev/usb/usb.h and I'm somehow at dead end. > # cd /usr/src/sys/modules/if_ndis I can load new if_ndis.ko with old ndis.ko but that is not usefull. > # 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. > > regards, > Weongyo Jeong > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >