From owner-freebsd-current@FreeBSD.ORG Tue May 24 05:49:32 2005 Return-Path: X-Original-To: freebsd-current@www.freebsd.org Delivered-To: freebsd-current@www.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0868D16A41C; Tue, 24 May 2005 05:49:32 +0000 (GMT) (envelope-from matt@mattford.net) Received: from mx.muttart.org (mx.muttart.org [66.18.201.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 648B943D1D; Tue, 24 May 2005 05:49:31 +0000 (GMT) (envelope-from matt@mattford.net) Received: from mail pickup service by mx.muttart.org with Microsoft SMTPSVC; Mon, 23 May 2005 23:48:56 -0600 Received: from mx2.freebsd.org ([216.136.204.119]) by mx.muttart.org with Microsoft SMTPSVC(6.0.3790.1830); Sat, 14 May 2005 04:54:08 -0600 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 967935596F; Sat, 14 May 2005 10:53:32 +0000 (GMT) (envelope-from owner-freebsd-questions@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id DDEA716A4FB; Sat, 14 May 2005 10:53:16 +0000 (GMT) Delivered-To: freebsd-questions@www.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D7A8616A4CE; Sat, 14 May 2005 10:48:05 +0000 (GMT) Received: from monroe.tera-byte.com (monroe.tera-byte.com [216.194.64.209]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F21A43D5D; Sat, 14 May 2005 10:48:03 +0000 (GMT) (envelope-from matt@mattford.net) Received: from [192.168.7.9] (limend.plus.com [80.229.15.68]) (authenticated (0 bits)) by monroe.tera-byte.com (8.11.6/8.11.6) with ESMTP id j4EAm2406383; Sat, 14 May 2005 04:48:02 -0600 Message-ID: <4285D734.90400@mattford.net> Date: Sat, 14 May 2005 11:47:16 +0100 From: Matt User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050403) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@www.freebsd.org, freebsd-questions@www.freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Sender: owner-freebsd-questions@freebsd.org Errors-To: owner-freebsd-questions@freebsd.org X-OriginalArrivalTime: 14 May 2005 10:54:08.0840 (UTC) FILETIME=[4134F480:01C55873] X-Mailman-Approved-At: Tue, 24 May 2005 12:03:46 +0000 Cc: Subject: System Crash when kldload if_ndis X-BeenThere: freebsd-current@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 May 2005 05:49:32 -0000 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-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"