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

next in thread | previous in thread | raw e-mail | index | archive | help
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.

I have "makeoptions DEBUG=-g" in my kernel config file. That does the 
same job as config -g, does it not?

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.


- IT



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