Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Oct 2015 07:36:17 +0200
From:      Wojciech Macek <wma@semihalf.com>
To:        arm@freebsd.org
Subject:   STABLE-10 minidump issue on Arndale
Message-ID:  <CANsEV8fNER=N=2tT=sL4enj%2BTcToLP0hYRAsj9y_x7Dk=FbUJQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

I'm running Arndale (Exynos 5250) system with FreeBSD 10-STABLE. I'd like
to make use of minidumps, so I run the following test:

1. Trigger panic and store a dump
root@:~ # sysctl -w debug.kdb.panic=3D1
debug.kdb.panic:panic: kdb_sysctl_panic
cpuid =3D 0
KDB: enter: panic
[ thread pid 650 tid 100086 ]
Stopped at      kdb_enter+0x5c: ldrb    r15, [r15, r15, ror r15]!
db> dump
Physical memory: 2040 MB
Dumping 28 MB: 25 21 17 13 9 5 1
Dump complete
db> reboot=EF=BF=BD

2. When trying to analyze the dump with kgdb I get an error about unknown
EABI
root@:~ # kgdb kernel.debug /var/crash/vmcore.last
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you ar=
e
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 "armv6-marcel-freebsd"...
/usr/home/wma/jnpr-freebsd/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/g=
db/arm-tdep.c:2589:
internal-error: arm_elf_osabi_sniffer: *Unknown ARM EABI version 0x5000000*
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) y



Any hints what I might be doing wrong?

Here is the command I'm using to build world and kernel:
make TARGET_ARCH=3Darmv6 KERNCONF=3DARNDALE buildXXXX

Regards,
Wojtek



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANsEV8fNER=N=2tT=sL4enj%2BTcToLP0hYRAsj9y_x7Dk=FbUJQ>