On Tue, Dec 23, 2008 at 09:41:09AM +0100, Simon 'corecode' Schubert wrote: > Vincent Stemen wrote: > >> I ran "trace" as you suggested. There was a lot of output. Here are the >> last >> couple lines, which I am guessing is the last thing it did before the >> panic. > > The first line(s) are the most important. This is a stack backtrace, with > the upmost frame first. > >> I could not get a crash dump. It reported there was no crash dump when >> rebooting on the other kernel. I had set dumpdev in /etc/rc.conf. I am >> guessing it is because it never got far enough to to run any of the init >> scripts which define the crash device. Since it had already panic'd it >> did not >> seem to make a difference running "panic" from the DB prompt. It just >> gave me >> the same register/address information dump that had already been printed. > > Yes, you'll have to set it from loader.conf.
Thanks Simon. I set the dump device to the swap partition in /boot/loader.conf but still did not get a crash dump. After rebooting, on the other kernel, the startup messages still said there was no core file (or something like that). The swap partition is about twice the size of the amount of RAM, so that should not be a problem. However, I typed in the *first* 7 lines this time from the trace command in the debugger. It's tedious typing those in manually, so hopefully this is enough to be useful. I went back to where it did the cxm_attach(). Let me know if more is needed. device_delete_child(c1544788,deadc0de,c14e15e8,c08bfa7c,c02d2c69) at device_delete_child+0xa device_delete_child(c1544738,c1544788,c1544738,c1544738,c08bfa9c) at device_delete_child+0x1d iicbb_detach(c1544738,c9b52e78,c06c6180,c1544738,c9d864c8) at iicbb_detach+0x34 device_detach(c1544738,c1544788,c15446e8,c08bfac4,c033e0cc) at device_detach+0x6a device_delete_child(c15446e8,c1544738,32,c08bfb14,c044fe80) at device_delete_child+0x30 device_delete_child(c1544328,c15446e8,0,0,ffffffff) at device_delete_child+0x1d cxm_attach(c1544328,c9b47174,c06c6170,c1544328,c1544328) at cxm_attach+0x8b6
