From owner-freebsd-current@FreeBSD.ORG Sat May 14 21:27:53 2005 Return-Path: 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 F16B416A4CE for ; Sat, 14 May 2005 21:27:53 +0000 (GMT) Received: from kraid.nerim.net (smtp-106-saturday.nerim.net [62.4.16.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C72543D46 for ; Sat, 14 May 2005 21:27:53 +0000 (GMT) (envelope-from kaena@nerim.net) Received: from free.blueword.org (blueword.org [62.212.99.79]) by kraid.nerim.net (Postfix) with ESMTP id 4159240E20 for ; Sat, 14 May 2005 23:27:50 +0200 (CEST) Date: Sat, 14 May 2005 23:31:10 +0200 From: kaena To: freebsd-current@freebsd.org Message-ID: <20050514233110.06bf3cab@free.blueword.org> In-Reply-To: <4285D734.90400@mattford.net> References: <4285D734.90400@mattford.net> X-Mailer: Sylpheed-Claws 1.0.4 (GTK+ 1.2.10; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: System Crash when kldload if_ndis X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 14 May 2005 21:27:54 -0000 On Sat, 14 May 2005 11:47:16 +0100 Matt wrote: > I'm not sure if the problem I am having is with the kernel modules I am > using (I've tried with two different ones) or with the ndis module > itself or what. I am running FreeBSD 5.4 amd64 on an Asus A8V-E Deluxe > motherboard, AMD 64 3000+, 512MB RAM. The ndis drivers I am using are > for a Marvell 88E8053 gigabit ehternet controller and the onBoard wifi > controller of the Asus A8V-E Deluxe (i'm not sure what the chipset is). > > When using ndiscvt I get the error "section relocation failed". Other > errors is when I am trying to ndiscvt the marvell driver I get the error: > > ndiscvt: line 238: Controlled%: syntax error. > > Here are the lines in the inf file: > > 237: HKR, Ndi\Params\WakeUpModeCap_A\enum, 0,, %Non% > 238: HKR, Ndi\Params\WakeUpModeCap_A\enum, 15,, %OS Controlled% > 239: HKR, Ndi\Params\WakeUpModeCap_A\enum, 25,, %Magic Packet% > > Basically I don't think it likes the spaces, so I went through the whole > .inf deleting the spaces wherever it threw up a syntax error and in the > end it compiled a kernel module that then crashed the system. I didn't > get a chance to get the error when it crashed the system. > > The wifi driver went through ndiscvt without any problems but when I try > and kldload the wifi driver I get this error: > > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0x96222d5b > fault code = supervisor read, page not present > instruction pointer = 0x8:0xffffffff961e2466 > stack pointer = 0x10:0xffffffff961d75d0 > frame pointer = 0x10:096222d57 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags = Interrupt enabled, resume, IOPL = 0 > current process = 472 (kldload) > trap number = 12 > panic: page fault > > Other points to note is that I had to run the marvell .inf file through > iconv with the -c flag to ignore characters it couldn't convert, this > could possibly have left out some important data from the inf maybe? > > I'll be gratefull for any suggestions > _______________________________________________ > 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" The best I see http://monkey.org/freebsd/archive/freebsd-amd64/200501/msg00066.html now, ndis .. -- kaena