From owner-freebsd-hackers Thu Feb 15 0:33: 1 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 70B8137B491; Thu, 15 Feb 2001 00:32:55 -0800 (PST) Received: from localhost (arr@localhost) by fledge.watson.org (8.11.1/8.11.1) with SMTP id f1F8Vat39751; Thu, 15 Feb 2001 03:31:36 -0500 (EST) (envelope-from arr@watson.org) Date: Thu, 15 Feb 2001 03:31:35 -0500 (EST) From: "Andrew R. Reiter" To: Satyajeet Seth Cc: freebsd-net@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: KLD'fying PCI device driver! In-Reply-To: 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 Could you send the load handler function src? On Thu, 15 Feb 2001, Satyajeet Seth wrote: > 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 > *-------------................................................. | Andrew R. Reiter | arr@fledge.watson.org | "It requires a very unusual mind | to undertake the analysis of the obvious" -- A.N. Whitehead To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message