From owner-freebsd-alpha@FreeBSD.ORG Thu Sep 4 13:06:55 2003 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7556E16A4BF for ; Thu, 4 Sep 2003 13:06:55 -0700 (PDT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8556543FE5 for ; Thu, 4 Sep 2003 13:06:54 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.9/8.12.9) with ESMTP id h84K6pJV000145 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 4 Sep 2003 16:06:51 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id h84K6kc34056; Thu, 4 Sep 2003 16:06:46 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16215.39766.415180.759716@grasshopper.cs.duke.edu> Date: Thu, 4 Sep 2003 16:06:46 -0400 (EDT) To: Idar Tollefsen In-Reply-To: <3F579927.1020601@performancedesign.no> References: <3F568ED4.5095458F@performancedesign.no> <16215.32222.610240.127909@grasshopper.cs.duke.edu> <3F579927.1020601@performancedesign.no> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid cc: freebsd-alpha@freebsd.org Subject: Re: atapicam causes fatal kernel trap X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Sep 2003 20:06:55 -0000 Idar Tollefsen writes: > Andrew Gallatin wrote: > > Can you rebuild your kernel with ddb? Add > > options DDB > > to your kernel config file, re-run config, rebuild and reboot into > > the new kernel. > > > > You should now get a stack trace when the panic happens. > > > > While you're rebuilding, make sure to run config with -g, so as to > > get a kernel.debug with symbols. That will come in handy later. > > Thanks for the tip, but actually, I can't: > > ../../alpha/alpha/dec_eb164.c:92: undefined reference to `siogdbattach' > ../../alpha/alpha/dec_eb164.c:113: undefined reference to `comconsole' > ../../alpha/alpha/dec_eb164.c:114: undefined reference to `siocnattach' > > These cropped up when i added options DDB. I'll look into it, but I'll > be tied up all weekend, so it will have to be next week. You need to have an sio device in the kernel. > I have "makeoptions DEBUG=-g" in my kernel config file. That does the > same job as config -g, does it not? Yep. > On a somewhat unrelated note; could someone explain to me why it builds, > and installs, all kernel modules? For instance, it builds and installs > USB modules, even tough I don't want USB support...? It's not a major > problem, I have place for them, but when rebuilding kernels like this it > just wastes time. > edit /etc/make.conf and set MODULES_OVERRIDE to a list of modules you are interested in. Or just 'make kernel' Drew