From owner-freebsd-hackers Fri Mar 30 9:45:33 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ptacek.ptacek.net (rc1s7p8.dashmail.net [216.36.33.80]) by hub.freebsd.org (Postfix) with ESMTP id 8C99637B71C for ; Fri, 30 Mar 2001 09:45:19 -0800 (PST) (envelope-from chris@ptacek.net) Received: from cpnotebook ([209.102.119.66]) by ptacek.ptacek.net (8.11.1/8.11.1) with SMTP id f2UHrEh93837 for ; Fri, 30 Mar 2001 09:53:14 -0800 (PST) (envelope-from chris@ptacek.net) Message-ID: <001301c0b940$3d48ca80$cafba8c0@sitaranetworks.com> From: "Chris Ptacek" To: Subject: Page Fault problem with my KLD Date: Fri, 30 Mar 2001 09:38:31 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am developing a KLD and I am having problems getting a page fault. I am using a set "library" (basically a set of third party object files I build and then link in). This libarary requires its own chunk of memory that it manages and needs to be passed a pointer to that memory (and the size) when it is initialized. So during my load phase I malloc the memory (14M), at this point I can traverse the memory just fine using a for loop writing and reading from it as a test. However once I pass this memory into the "library" to use, I get a page fault error. Is there something I am missing here? What would be the possible causes of the page fault? Any and all help would be appreciated and if you could CC this account I would appreciate it (my FreeBSD mailing list subscriptions are from another account). - Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message