From owner-freebsd-hackers Wed Feb 14 23:39: 5 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from samar.sasi.com (samar.sasken.com [164.164.56.2]) by hub.freebsd.org (Postfix) with ESMTP id EB86337B4EC; Wed, 14 Feb 2001 23:38:55 -0800 (PST) Received: from samar (samar.sasi.com [164.164.56.2]) by samar.sasi.com (8.9.3/8.9.3) with SMTP id NAA23978; Thu, 15 Feb 2001 13:08:48 +0530 (IST) Received: from suns3.sasi.com ([10.0.36.3]) by samar.sasi.com; Thu, 15 Feb 2001 13:08:47 +0000 (IST) Received: from localhost (sseth@localhost) by suns3.sasi.com (8.9.3/8.9.3) with ESMTP id NAA27120; Thu, 15 Feb 2001 13:08:40 +0530 (IST) Date: Thu, 15 Feb 2001 13:08:40 +0530 (IST) From: Satyajeet Seth To: Cc: Subject: KLD'fying PCI device driver! Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi I am trying to convert my PCI device driver into a KLD. So far I have done the following: 1. Built the kernel without the static linked device driver. 2. Added entries to Makefiles in /sys/modules and /sys/modules/xxx. 3. Did "make all install" in /sys/modules directory. 4. Tried loading the KLD. I got the following error: "Fatal trap 12: page fault while in kernel mode" Any ideas as to what could be going wrong? Thanks Satya To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message