debugging EABI-kernel with BDI2000/gdb
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

debugging EABI-kernel with BDI2000/gdb



Hello guys,
i tried to debug a 2.6.15 kernel (sooo fresh)
on a custom PXA270 board with CONFIG_EABI and CONFIG_OABI_COMPAT 
Without BDI2000 / gdb the kernel works fine ;-)
But when i try to debug it fails when booting from HD.
Also i have a strange error message from gdb.
Even without using gdb (only connect/run with BDI2000) it does not boot.
ANY hints are welcome.

COMMANDS:
--------------------------------------------------------------------------------------------
> arm-none-linux-gnueabi-gdb vmlinux
GNU gdb 6.3.50.20050325-cvs
Copyright 2004 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 "--host=i686-pc-linux-gnu 
--target=arm-none-linux-gnueabi"...
(gdb) target remote xxx.yyy.zzz.113:2001
Remote debugging using xxx.yyy.zzz.113:2001
0xffff0018 in ?? ()
warning: shared library handler failed to enable breakpoint
(gdb) c

OUTPUT:
--------------------------------------------------------------------------------------------
Uncompressing 
Linux...................................................................................................... .
CPU: XScale-PXA270 [69054117] revision 7 (ARMv5TE)
Machine: Box
Parse Tags : CORE, SERIAL, REV, OEM_REV, MEM32, MEM32, CMDLINE, MACADDR, 
MFDATE
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIVT undefined 5 cache
CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
Built 2 zonelists
PID hash table entries: 2048 (order: 11, 32768 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Mount-cache hash table entries: 512
Console: switching to colour frame buffer device 100x30
RAMDISK driver initialized: 4 RAM disks of 4096K size 1024 blocksize
smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <nico@xxxxxxx>
eth0: SMC91C11xFD (rev 1) at 9c602300 IRQ 35 [nowait]
eth0: Device Ethernet addr: 00:00:00:42:4f:58
ide-arm: ide_register() at 0x9c604000 & 0x9c60601c irq 9
hda: TOSHIBA THNCF512MBA, CFA DISK drive
ide0 at 0x9c604000-0x9c604007,0x9c60601c on irq 9
 Intel/Sharp Extended Query Table at 0x0031
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 4, 65536 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
VFS: Mounted root (ext3 filesystem).
---------------------end of story :-(((((-------------------------------

--------------------------------------------------------------
Jürgen Schindele            NENTEC Netzwerktechnologie GmbH
Entwicklung                 Greschbachstrasse 12
                            76229 Karlsruhe/Germany
eMail:schindele@xxxxxxxxx   Phone: +49(0)721 94249-<51>
Web:   www.nentec.de        Fax:   +49(0)721 94249-10
--------------------------------------------------------------