From owner-freebsd-current@FreeBSD.ORG Sat Nov 12 01:04:36 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 549A616A41F; Sat, 12 Nov 2005 01:04:36 +0000 (GMT) (envelope-from v.velox@vvelox.net) Received: from S2.cableone.net (s2.cableone.net [24.116.0.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6204E43D45; Sat, 12 Nov 2005 01:04:35 +0000 (GMT) (envelope-from v.velox@vvelox.net) Received: from vixen42.vulpes (unverified [24.119.122.41]) by S2.cableone.net (CableOne SMTP Service S2) with ESMTP id 35922273 for multiple; Fri, 11 Nov 2005 18:13:58 -0700 Date: Fri, 11 Nov 2005 19:09:32 -0600 From: Vulpes Velox To: wpaul@FreeBSD.ORG (Bill Paul) Message-ID: <20051111190932.25ad86af@vixen42.vulpes> In-Reply-To: <20051111054207.17ED516A421@hub.freebsd.org> References: <20051110212148.7a335fd9@vixen42.vulpes> <20051111054207.17ED516A421@hub.freebsd.org> X-Mailer: Sylpheed-Claws 1.9.100 (GTK+ 2.8.6; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-NotAscii: charset=us-ascii X-IP-stats: Incoming Last 0, First 40, in=66, out=0, spam=0 X-External-IP: 24.119.122.41 X-Abuse-Info: Send abuse complaints to abuse@cableone.net Cc: freebsd-current@freebsd.org Subject: Re: problems with NDIS driver and convertion for a Marvel Yukon Gigabit chip 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, 12 Nov 2005 01:04:36 -0000 On Fri, 11 Nov 2005 05:42:07 +0000 (GMT) wpaul@FreeBSD.ORG (Bill Paul) wrote: > > Ran into a few problems with ndisgen today. > > > > I have to edit every instance of the following out to get it to > > convert. > > Magic Packet = "Magic Packet" > > Pattern Match = "Pattern Match" > > Mag Pack Patt Match = "Magic Packet & Pattern Match" > > Link Change = "Link Change" > > > > > > Upon loading the driver I get... > > no match for ExUnregisterCallback > > no match for ZwPowerInformation > > no match for ExRegisterCallback > > no match for ExCreateCallback > > no match for ZwUnmapViewOfSection > > no match for ZwMapViewOfSection > > no match for ZwOpenSection > > no match for wcslen > > > > Any chance of getting this working or any suggestions? > > > > Ok, had I read the subject line of your mail fully I'd have known > what driver it was. I'm a dolt and I've clearly had too long of a > day. > > Here are the problems: > > - I don't know exactly what driver image you have. Unless you > provide the URL for where you got it to put a copy somewhere, > I can't really analyze it. http://marvell.com/drivers/driverDisplay.do?dId=118&pId=6 IIRC the installer dumps it Program Files/Marvell It is where I grabbed the .sys and . > - The .inf parser is not perfect. It's actually much stricter > about syntax than Windows is. Stuff that works ok for Windows > may be flagged as a syntax error by ndiscvt. If someone wants > to help fix this, they're welcome to. (No kernel hacking > required.) Cool, any suggested reads? > - I have no earthy idea why Marvell is referencing these functions > in their driver. They're totally outside the NDIS spec. I'd be > rather surprised that such a driver was able to get WHQL > certification. (Assuming it did.) > > - This is Marvell. Given the rotten treatment I've had from them > in the past, I'm not inclined to do them any favors now, so I'm > not exactly inclined to fix this anytime soon. Fun, what happened, if I may ask?