From owner-freebsd-hackers Wed Aug 12 20:19:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA29865 for freebsd-hackers-outgoing; Wed, 12 Aug 1998 20:19:30 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA29860 for ; Wed, 12 Aug 1998 20:19:25 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id MAA00721; Thu, 13 Aug 1998 12:48:40 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.1/8.9.0) id MAA01600; Thu, 13 Aug 1998 12:48:32 +0930 (CST) Message-ID: <19980813124831.D1147@freebie.lemis.com> Date: Thu, 13 Aug 1998 12:48:31 +0930 From: Greg Lehey To: eT , hackers@FreeBSD.ORG Subject: Re: developing device drivers References: <35D1C5E1.3C33DB61@iname.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <35D1C5E1.3C33DB61@iname.com>; from eT on Wed, Aug 12, 1998 at 04:42:09PM +0000 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wednesday, 12 August 1998 at 16:42:09 +0000, eT wrote: > Greets, > > Thanks to all the guys out there who are so willing to help. One day > when I'm big I want to be like you guys :) > > I have read 'Writing a Unix Device driver 2nd edition' and have read > 'FreeBSD device driver's guide' and I now need to take the plunge and > start developing/coding. > > I was wondering if there was a way to develop & test & debug a device > driver before linking it into the kernel .. i know it sorta doesn't make > sense, but as i said i was wondering... Sure. Make it an LKM. It's a lot easier to debug, though there are a couple of things you need to know to get the symbols for the kernel debugger. There's some stuff on this subject in the online handbook. I'm also planning to write some stuff up about the testing environment. Greg -- See complete headers for address and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message