From owner-freebsd-hackers@FreeBSD.ORG Sun Dec 3 16:23:34 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E072216A47E for ; Sun, 3 Dec 2006 16:23:34 +0000 (UTC) (envelope-from newroswell@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0E4D43CB8 for ; Sun, 3 Dec 2006 16:22:58 +0000 (GMT) (envelope-from newroswell@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so2490635uge for ; Sun, 03 Dec 2006 08:23:25 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YzgF3SDV4pFMvihReUxlgc8x5NDIUXaYWmFdClZ29hWxtHVAl5r53uBoSmBKDBgZARgIOtwrUFiasCZgJfHY4bwoVE7a5WNSuo3JK9vgiogKog69V4LzCBVolvPzglpF0f1DlcsLqxY5uRdpc85p45BQ49SR5Yz68bUElEtdzwY= Received: by 10.78.136.9 with SMTP id j9mr6845547hud.1165163004347; Sun, 03 Dec 2006 08:23:24 -0800 (PST) Received: by 10.78.192.15 with HTTP; Sun, 3 Dec 2006 08:23:24 -0800 (PST) Message-ID: <375baf50612030823p189d30f8j88507c058ce03e1f@mail.gmail.com> Date: Sun, 3 Dec 2006 08:23:24 -0800 From: "Kevin Sanders" To: "Robert Watson" In-Reply-To: <20061203101352.K40536@fledge.watson.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20061202210741.02e0728a@kan.dnsalias.net> <375baf50612022005i6b9a174w5d251e710d8cefc@mail.gmail.com> <20061203064956.GB2405@kobe.laptop> <45728A19.7050300@u.washington.edu> <20061203101352.K40536@fledge.watson.org> Cc: freebsd-hackers@freebsd.org, Garrett Cooper Subject: Re: Tools for FreeBSD development X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Dec 2006 16:23:35 -0000 On 12/3/06, Robert Watson wrote: > If using FreeBSD on i386/amd64 boxes, use PXE. There are quite a few "instant > setup" web pages out there that tell you how to get it running. pxeboot makes > life incredibly easy, as you can load kernels, modules, configurations, etc, > over NFS. > > Robert N M Watson > Computer Laboratory > University of Cambridge Thanks for th tips everyone. My shop has all the VMware tools, and I've used QEMU, but I prefer to develop on a real box and debug over a serial port on a second box. I'll give pxeboot a shot tomorrow. While we're on this topic, what is the best way to debug kernel modules. I would like the ability to kldload my kernel module, set a couple break points and single step through a section of code (at least). I've read Greg Lehey's http://www.lemis.com/papers/Taiwan/tutorial.pdf but it seems a little out of date. From what I gather, the situation with the kernel debugger has changed since he wrote it. Kevin