From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 15 05:11:48 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C23516A420 for ; Tue, 15 Jan 2008 05:11:48 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.181]) by mx1.freebsd.org (Postfix) with ESMTP id 381E813C44B for ; Tue, 15 Jan 2008 05:11:48 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so4335835waf.3 for ; Mon, 14 Jan 2008 21:11:47 -0800 (PST) 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=UCEW4nRSuTAm2r+8sGmwg42Y40/53V5vs2BDOVP1Qoo=; b=KVuL8k/o/ka5iS9HuTIe8JS2e/4wxv7qiOYRBpZDmy3uRjZLSyfjPfzJEKR/vaippnLYLY09fWXkefse24cvjGPlJ+ZOZmsGztZIypqk7DR8gGesp9dIBaKthODK/v0yL6OU5buTHtyK9Qp/XOpOoTHRgfZIs3eVhpHpBF2oxwE= 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=itOIsc1gXllHk7JEyxPkkBa8R5MfXgcBoXSOzovludy8bi32h0f+xxScQV20SzrJsuU4PPkmUl/BFUXXcDJTWcID1HhnS/NR2cmhJwUDNEdCZNK9Z4RG3F2p5QPsFIk/4LpxlhNeJh0BwfQlewJPIG+vRfSLYQd7SPBKRL906y4= Received: by 10.114.200.2 with SMTP id x2mr5150877waf.19.1200373907792; Mon, 14 Jan 2008 21:11:47 -0800 (PST) Received: from freebsd.weongyo.org ( [211.53.35.67]) by mx.google.com with ESMTPS id l38sm17311283waf.27.2008.01.14.21.11.46 (version=SSLv3 cipher=OTHER); Mon, 14 Jan 2008 21:11:47 -0800 (PST) Received: by freebsd.weongyo.org (sSMTP sendmail emulation); Tue, 15 Jan 2008 14:11:26 +0900 Date: Tue, 15 Jan 2008 14:11:26 +0900 To: Diego Giagio Message-ID: <20080115051126.GA42277@freebsd.weongyo.org> Mail-Followup-To: Diego Giagio , "freebsd-current@freebsd.org" , freebsd-hackers@freebsd.org References: <1b0798830801130752k4209bce7yc5e1cbec7dd67f82@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1b0798830801130752k4209bce7yc5e1cbec7dd67f82@mail.gmail.com> User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD From: Weongyo Jeong Cc: freebsd-hackers@freebsd.org, "freebsd-current@freebsd.org" Subject: Re: NDIS debugging X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jan 2008 05:11:48 -0000 On Sun, Jan 13, 2008 at 12:52:01PM -0300, Diego Giagio wrote: > Hi, > > Recently i've bought a new laptop (Dell Precision M2300) which came > with Intel 4965 Wifi chipset. Since there's no native driver available > yet, I've been trying to get it to work throught Project Evil (NDIS > Windows Driver NETw4x64). > > At first, the driver complained for "no match for > InitializeSListHead". Then I figured it out how to implement that > function (a simple bzero on slist_head, just like ndiswrapper on > Linux) and it stopped complaining. I'm able to kldload NETx4x64_sys.ko > with success, but it stays silent. It just loads two dependent modules > (if_nids.ko and nids.ko) and nothing is printed into dmesg or console. > Also, there's no ndis0 device. > > As far as I can get I could see that DriverEntry()'s module is working > OK as it returns STATUS_SUCCESS on subr_windrv.c's windrv_load(). > > So, the question is: Is there a way to turn on verbose debugging on > the NDIS subsystem? Would be great if I could get some more info on > what's going wrong. As far as I know, there is no verbose debugging mode on the NDIS subsystem. Only a variable `ndis_debug' which is defined in if_ndis.c can be available to turn on `if_ndis' module's debugging mode. regards, Weongyo Jeong