lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Tue, 30 Mar 2010 12:42:36 +0530
From:	Prabhu Chawandi <prabhu.chavandi@...il.com>
To:	linux-serial@...r.kernel.org, linux-kernel@...r.kernel.org,
	linux-mips@...r.kernel.org
Subject: Setting up KGDB environment on MIPS Processor.

Hi All,

 I am trying to settup the  KGDB settup, for my STB  BRCM board.

I have 3 UARTS -0,1,2 --

Boot the kdb enabled kernel.. but not able to get the  --- gdb wait message --

I am setting up an environment for kernel debugging on my MIPS based
processor. In whatever document I read there I could get deatails of
debugging a PC but not the embedded board.
Still i tried to start session which was unsuccessful.

Configs enabled: CONFIG_KGDB=y
CONFIG_KGDB_CONSOLE=y
CONFIG_KGDB_8250_NOMODULE=y
CONFIG_SYS_SUPPORTS_KGDB=y

and I can see the change in size of the vmlinux.

while booting I have given command parameters :

boot -z -elf <vmlinuz path> "kgdb8250=1 115200" kgdbwait ------

but my kernel is not waiting for remote gdb to wait for the connection.

Am I missing anything ?

Help me to set it up ...

I had put pritnks I am getting

 KGDB :  kgdb_late_entry ..
 KGDB: kgdb_arch_init .....
KDGB: kgdb_internal_init ....
 KGDB: Setting kgdb_initialized ..

but normally going to login prompt ...

when  I press ^C -- Breakpoint is catched -- then everyting come to halt ..

Thanks
prabhu
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ