ÀûÓÃKGDBµ÷ÊÔLinux kernel
´´½¨Ê±¼ä£º2010-01-27
×÷ÕߣºSteven Yang
E-mail£ºmqyoung@gmail.com
ΪÁ˸ßЧµÄ¶Ôkernel½øÐе÷ÊÔ£¬×÷ÕßÔÚʵÑéÊÒÀûÓÃÒÑÓеÄ×ÊÔ´½øÐл·¾³ÅäÖá£Ê×ÏÈÊÇÓ²¼þ»·¾³£¬ÎÒÓÐÁ½¸öPC£¬
Ò»¸öÊÇP III£¬Debian£¨Target£©
Ò»¸öÊÇAMD 64£¬Ubuntu£¨Developer£©
Ҫͨ¹ýDeveloperµ÷ÊÔTarget£¬Õâ¾ÍÐèÒª¸øTargetÖرàÄںˣ¬²¢½øÐд®¿Úµ÷ÊÔÏà¹ØÉèÖ㬶øDeveloperÐèҪװһ¸ö32λµÄÐéÄâ»úÓÃ×÷µ÷ÊÔ¡£ÈçÏÂΪÏêϸµÄÅäÖùý³Ì¡£
1 KGDB Introduction
KGDB is a debugger for the Linux kernel. It requires two machines
that are connected via a serial connection. The serial connection may
either be an RS-232 interface using a null modem cable, or via the
UDP/IP networking protocol (KGDB over Ethernet, KGDBoE).
KGDB was originally implemented as a patch to Linux kernel, but it has
been included in the official kernel in 2.6.26. The target machine (the
one being debugged) runs the patched kernel and the other (host)
machine runs gdb. The GDB remote protocol is used between the two
machines.
KGDB is available for the following architectures: x86, x86-64, PowerPC, ARM, MIPS, and S390.
It is free software released under the terms of the GNU General Public
License. Until 2006 kgdb was maintained by Linsyssoft Technologies.,
after which Jason Wessel at Wind River Systems, Inc. took over as the
official maintainer.
Ingo Molnar and Jason Wessel created a slimmed-down and cleaned up
version of KGDB which was called "kgdb light" (without Ethernet support
and many other hacks). This was the one merged into the 2.6.26
kernel.[1] The version of kgdb in the 2.6.26 kernel supports only rs232
using a driver which can split debugger inputs and console inputs such
that only a single rs232 port is required.
Jason Wessel created a kgdb test suite which was merged into the 2.6.26
kernel in order to regression test the kgdb core as well as to aid in
the validation of future architecture support for kgdb.
from: http://en.wikipedia.org/wiki/KGDB
Refer: http://kgdb.linsyssoft.co
Ïà¹ØÎĵµ£º
ÈÃMplayer³ÉΪLinuxϵͳϵÄÍòÄܲ¥·ÅÆ÷
2007-9-20
¡¡×÷Õߣºkid
¡¡¡¡1.ÏÂÔØÏà¹Øcodes ( http://www.mplayerhq.hu/MPlayer/ ) Ö÷Òª¶¼ÔÚÕâÀï
¡¡¡¡Mplayer-1.0rc1.tar.bz2(Ö÷³ÌÐò)(
http://www.mplayerhq.hu/MPlayer/releases/MPlayer-1.0rc1.tar.bz2
)
¡¡¡¡Abyss-1.6.tar.bz2 (Ƥ·ô)
(http://www2.mplayerhq.hu/MPla ......
Ê×ÏÈ£¬¼Çסvi±à¼Æ÷µÄÁ½¸öģʽ£º1¡¢ÃüÁîģʽ
2¡¢±à¼Ä£Ê½
¡£
¡¡
¡¡ÔÚÒ»¸öUNIX/LinuxµÄshellÃüÁî»òÕßÒ»¸öÒÔб¸Ü£¨/£©¡¢Îʺţ¨?£©»òðºÅ£¨:£©¿ªÊ¼µÄviÃüÁîºóÃæÓû§ÐèÒª¼üÈë»Ø³µ¼ü£¬¶øÒªÇл»µ½viÃüÁî
ģʽÐèÒª°´Esc¼ü¡£×¢Ò⣬ÒÔðºÅ£¨:£©»òÕßб¸Ü£¨/£© ¿ªÊ¼µÄviÃüÁî»áÏÔʾÔÚÆÁÄ»µ×²¿£¬µ«ÆäËûÃüÁ²»»áÏÔʾÔÚÆÁÄ»É ......
linuxÏÂÃæ´®¿Ú¹¤¾ßC-kermit C-kermitÊÇÒ»¿î¼¯³ÉÁËÍøÂçͨÐÅ¡¢´®¿ÚͨÐŵŤ¾ß£¬ËüÓÐÈç϶àÖÖ¹¦ÄÜ
1.Ö§³ÖkermitÎļþ´«ÊäÐÒé
2.×Ô¶¨ÒåÁËÒ»Öֽű¾ÓïÑÔ£¬ËüÇ¿´ó¶øÒ×ÓÚʹÓ㬿ÉÓÃÓÚ×Ô¶¯»¯¹¤×÷
3.ÎÞÂÛÊÇÍøÂçͨÐÅ£¬»¹ÊÇ´®¿ÚͨÐÅ£¬²Ù×÷ÊÇÒ»Öµģ¬²¢Ö§³Ö¶àÖÖÓ²¼þ¡¢Èí¼þƽ̨
4.Óа²È«ÈÏÖ¤¡¢¼ÓÃܹ¦ÄÜ
5.ÄÚ½¨FTP¡¢HTTP¿Í»§¶Ë¹ ......
·À»ðǽÏàÓ¦¶Ë¿ÚûÓдò¿ª¡£
´ò¿ª·½·¨ÈçÏ£º
vi /etc/sysconfig/iptables
¼ÓÈëÈçϵÄÒ»ÐУº
-A INPUT -m state --state NEW -m tcp -p tcp --dport 3690 -j ACCEPT
ÖØÆôiptables:
/etc/init.d/iptables restart
²é¿´¶Ë¿ÚÊÇ·ñÕæµÄ´ò¿ª:
/etc/init.d/iptables status ......
DNSÅäÖôíÎó
´íÎó1
dns_master_load: *:2: unexpected end of line
´íÎó2
>linux.zzw.com
* Server: 127.0.0.1 *
* Address: 127.0.0.1#53 *
* *
*** server can't find linux.zzw.com: SERVFAIL *
linuxÏ´íÎó²é¿´ /var/log/messages
¸ÃÎļþÏÂÓÐservice named restart µÄÆô¶¯ÈÕÖ¾
µ±¸Ã·þÎñÆô¶¯Ê±£¬¹ý³ÌÈçÏ ......