atapicam causes fatal kernel trap
Andrew Gallatin
gallatin at cs.duke.edu
Thu Sep 4 13:06:55 PDT 2003
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
More information about the freebsd-alpha
mailing list