Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Feb 2001 13:08:40 +0530 (IST)
From:      Satyajeet Seth <sseth@sasken.com>
To:        <freebsd-net@freebsd.org>
Cc:        <hackers@freebsd.org>
Subject:   KLD'fying PCI device driver!
Message-ID:  <Pine.GSO.4.30.0102151227470.23979-100000@suns3.sasi.com>

next in thread | raw e-mail | index | archive | help
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-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.30.0102151227470.23979-100000>