Date: Sat, 17 Oct 1998 20:46:13 +0100 From: Karl Pielorz <kpielorz@tdx.co.uk> To: Chuck Robey <chuckr@mat.net> Cc: freebsd-current@FreeBSD.ORG Subject: Re: Latest kernel Message-ID: <3628F405.E6F17E82@tdx.co.uk> References: <Pine.BSF.4.05.9810171500130.357-100000@picnic.mat.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Chuck Robey wrote: > OK, I set everything up. Dumpon knows where to go, savecore knows also, > but when I actually did it, savecore told me there was no core there. > When the kernel panics, I'm in ddb... how do I force ddb to make the > kernel leave a core file around? > > I have the data, handcopied, but I want to figure from the addresses I > have to real functions. Issuing 'panic' from ddb should get the system to dump the core, you should see something like: " db> panic panic: from debugger mp_lock = 01000002; cpuid = 1; lapic.id = 01000000 boot() called on cpu#1 syncing disks... 4 done dumping to dev 20009, offset 262144 dump 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 4 5 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 succeeded Automatic reboot in 15 seconds - press a key on the console to abort Rebooting... " (ignore the 'mp_lock and boot() called bits - I run SMP :) When the system reboots - you should see savecore kick in and write the dump from the dumpdevice to /var/crash... Karl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3628F405.E6F17E82>