Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Problems



On Mon, Nov 22, 2010 at 1:45 PM, Donald Allen 
<donaldcallen%gmail.com@localhost> wrote:
> On Mon, Nov 22, 2010 at 1:32 PM, Eric Haszlakiewicz 
> <erh%nimenees.com@localhost> wrote:
>> On Mon, Nov 22, 2010 at 12:57:21PM -0500, Donald Allen wrote:
>>> I rebooted the system without the card inserted and note that there is
>>> now a /var/crash/netbsd.0.core.gz, apparently a core dump. Would this
>>> be helpful to you? It would take some doing to get it off this system
>>> (I have no working network cards and no CD writer, so I'd have to
>>> split the file into small enough chunks, 10 or so, to fit on a floppy
>>> disk), but I'll do it if it would be helpful. Can I send emails with
>>> attachments to this list?
>>
>> Do you have a serial console?  It might be less hassle to setup ppp or sl
>> and transfer the file that way.
>
> Setup both ends of ppp, something I haven't done in years, and try to
> find two modem cables and a null modem somewhere? Easier? I don't
> think so. I'll just write the 10 chunks to floppies.
>
>>
>> Don't attach a core dump.  That's more than a bit too big.
>
> Good point -- it's over 9M.
>
>>
>> Once you get the core dump to a machine where you have gdb you can
>> try to get a stack backtrace.  That might point out enough of the
>> problem that you won't need to send the core dump to anyone else.
>
> Ok, I'll give it a try.

First of all, I realized that trying to move the dump to another
machine wasn't necessary; the machine on which the crash occurred has
a copy of gdb, so I was able to look at the dump there. I just tee'ed
the gdb session and copied *that*, much more manageable in size, to
the real machine I'm typing on now with a floppy.

Here's the session, but the backtrace does not look useful to me (it
looks to my uneducated eyes like the frames for the stuff that handles
a panic, or maybe a trap within a trap?). If I'm right about this,
someone please advise me about how to get something more useful.

GNU gdb 6.5
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386--netbsdelf"...
(gdb) target kvm netbsd.1.core
#0  0xc058e112 in cpu_reboot (howto=260, bootstr=0x0)
    at ../../../../arch/i386/i386/machdep.c:924
924            dumpsys();
(gdb) bt
#0  0xc058e112 in cpu_reboot (howto=260, bootstr=0x0)
    at ../../../../arch/i386/i386/machdep.c:924
#1  0xc04cfbb0 in panic (fmt=0xc0a7694e "trap")
    at ../../../../kern/subr_prf.c:253
#2  0xc0590e57 in trap (frame=0xcb29a6cc)
    at ../../../../arch/i386/i386/trap.c:368
#3  0xc010cbe0 in calltrap ()
#4  0xc05913cc in trap (frame=0xcb29a7a0)
    at ../../../../arch/i386/i386/trap.c:410
#5  0xc010cbe0 in calltrap ()
#6  0x00000000 in ?? ()
(gdb) quit


Home | Main Index | Thread Index | Old Index