Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Sep 2003 16:06:46 -0400 (EDT)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        Idar Tollefsen <idart@performancedesign.no>
Cc:        freebsd-alpha@freebsd.org
Subject:   Re: atapicam causes fatal kernel trap
Message-ID:  <16215.39766.415180.759716@grasshopper.cs.duke.edu>
In-Reply-To: <3F579927.1020601@performancedesign.no>
References:  <3F568ED4.5095458F@performancedesign.no> <16215.32222.610240.127909@grasshopper.cs.duke.edu> <3F579927.1020601@performancedesign.no>

next in thread | previous in thread | raw e-mail | index | archive | help

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



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