From owner-freebsd-questions@FreeBSD.ORG Sun Jul 3 00:39:41 2005 Return-Path: X-Original-To: freebsd-questions@www.freebsd.org 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 18CB816A422; Sun, 3 Jul 2005 00:39:41 +0000 (GMT) (envelope-from ps@mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 136FD441B2; Sun, 3 Jul 2005 00:24:12 +0000 (GMT) (envelope-from ps@mu.org) Received: by elvis.mu.org (Postfix, from userid 1000) id 0068E63BF9; Sat, 2 Jul 2005 17:24:08 -0700 (PDT) X-Original-To: ps@mu.org Delivered-To: ps@mu.org Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119]) by elvis.mu.org (Postfix) with ESMTP id 6706D5CA5B for ; Sat, 14 May 2005 03:53:31 -0700 (PDT) Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id A5C9556A67; Sat, 14 May 2005 10:53:16 +0000 (GMT) (envelope-from owner-freebsd-current@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 0F22E16A4FD; Sat, 14 May 2005 10:53:11 +0000 (GMT) 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 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> 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-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Sender: owner-freebsd-current@freebsd.org Errors-To: owner-freebsd-current@freebsd.org X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on elvis.mu.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.2 X-Spam-Level: Cc: Subject: System Crash when kldload if_ndis X-BeenThere: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Sun, 03 Jul 2005 00:39:41 -0000 X-Original-Date: Sat, 14 May 2005 11:47:16 +0100 X-List-Received-Date: Sun, 03 Jul 2005 00:39:41 -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-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"