´ò°ÜLinuxϵͳÖеÄBug
À´Ô´£º http://www.xxlinux.com/linux/article/accidence/technique/20070125/7209.html
User Debug ÈÕÖ¾¼Ç¼
µ÷ÊÔÒ»¸ö±ÀÀ£µÄ³ÌÐòµÄµÚÒ»²½ÊÇŪÇåÄÄÀï³öÁË´í¡£zSeries ÉϵÄLinuxÄں˾ßÓÐÕâÑùÒ»¸öÄÚÖÃÌØÐÔ£¬ËüÔÚÓû§½ø³Ì±ÀÀ£Ê±¼Ç¼һЩ»ù±¾µÄµ÷ÊÔÐÅÏ¢¡£ÒªÆôÓÃÕâ¸öÌØÐÔ£¬ÇëÒÔ root Óû§Éí·ÝÖ´ÐÐÈçÏÂÃüÁ
echo 1 >> /proc/sys/kernel/userprocess_debug
µ±Ä³¸ö½ø³Ì±ÀÀ£Ê±£¬ÈÕÖ¾Îļþ£¨/var/log/messages£©Öоͻá¸ø³ö¸½¼ÓµÄÐÅÏ¢£¬°üÀ¨³ÌÐòÖÕÖ¹ÔÒò¡¢¹ÊÕϵØÖ·£¬ÒÔ¼°°üº¬³ÌÐò״̬×Ö£¨PSW£©¡¢Í¨ÓüĴæÆ÷ºÍ·ÃÎʼĴæÆ÷µÄ¼òÒª¼Ä´æÆ÷ת´¢¡£
Mar 31 11:34:28 l02 kernel: User process fault: interruption code 0x10
Mar 31 11:34:28 l02 kernel: failing address: 0
Mar 31 11:34:28 l02 kernel: CPU: 1
Mar 31 11:34:28 l02 kernel: Process simple (pid: 30122, stackpage=05889000)
Mar 31 11:34:28 l02 kernel:
Mar 31 11:34:28 l02 kernel: User PSW: 070dc000 c00ab738
Mar 31 11:34:28 l02 kernel: task: 05888000 ksp: 05889f08 pt_regs: 05889f68
Mar 31 11:34:28 l02 kernel: User GPRS:
Mar 31 11:34:28 l02 kernel: 00000000 004019a0 004019a0 00000000
Mar 31 11:34:28 l02 kernel: 00000003 c00ab732 004008f8 00400338
Mar 31 11:34:28 l02 kernel: 40018ffc 0040061c 40018e34 7ffff800
Mar 31 11:34:28 l02 kernel: 00400434 80400624 8040066e 7ffff800
Mar 31 11:34:28 l02 kernel: User ACRS:
Mar 31 11:34:28 l02 kernel: 00000000 00000000 00000000 00000000
Mar 31 11:34:28 l02 kernel: 00000001 00000000 00000000 00000000
Mar 31 11:34:28 l02 kernel: 00000000 00000000 00000000 00000000
Mar 31 11:34:28 l02 kernel: 00000000 00000000 00000000 00000000
Mar 31 11:34:28 l02 kernel: User Code:
Mar 31 11:34:28 l02 kernel: 44 40 50 00 07 fe a7 4a 00 01 18 54 18 43 18 35
a8 24 00 00
ͼ 1 ±íÃ÷³ÌÐò£¨ÃûΪ“simple”£©ÒÔÒ»¸ö³ÌÐòÖжϴúÂë 0x10 ÖÕÖ¹£¨²Ù×÷ϵͳÔÀí±íÃ÷ÕâÊÇÒ»¸ö¶Îת»»´íÎ󣩣¬¶ø¹ÊÕϵØַΪ 0¡£ºÁÎÞÒÉÎÊ£¬ÓÐÈËʹÓÃÁË¿ÕÖ¸Õë¡£ÏÖÔÚÎÒÃÇÖªµÀ·¢ÉúÁËʲô£¬ÏÂÃæÐèҪŪÇåËü·¢ÉúÔںδ¦¡£
»ù±¾µÄÕï¶Ï
User DebugÈÕÖ¾ÌõÄ¿ËùÌṩµÄÐÅÏ¢¿ÉÓÃÓÚÈ·¶¨³ÌÐòµÄ±ÀÀ£Î»Öá£Ò»Ð©¿ÉÓõŤ¾ß¿É°ïÖú½â¾öÄú¿ÉÄÜ»áÓöµ½µÄ¸÷ÖÖ³ÌÐòÖÕÖ¹ÎÊÌâ¡£ÎÒÃǽ
Ïà¹ØÎĵµ£º
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
ÔÎĵØÖ·£ºhttp://www.wangzhongyuan.com/archives/488.html
ÒÔÏÂÊÇÒ»¸öLinux/UnixÏÂÓÉÁ½¸ö¹ÜµÀÌṩ˫ÏòÊý¾ÝÁ÷µÄC³ÌÐò£¬ÕâÊDzÙ×÷ϵͳ¿Î³ÌÖо³£Ê¹ÓõĻù±¾³ÌÐò
#include <unistd.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <stdio.h>
#include <string.h>
int m ......
ת×Ôhttp://blog.chinaunix.net/u/30619/showart.php?id=249558
1 linuxĿ¼¼Ü¹¹
/ ¸ùĿ¼
/bin ³£ÓõÄÃüÁî binary file µÄÄ¿錄
/boot ´æ·ÅÏµÍ ......
ÔËÐÐÁËOracleµÄLinux·þÎñÆ÷¸ü¸ÄÖ÷»úÃû
¼ÙÈçÒª°ÑÖ÷»úÃû¸ÄΪoratest¡£
$±íʾoracleÓû§²Ù×÷£»
#±íʾrootÓû§²Ù×÷¡£
DB£ºoracle10.2
OS£ºRHEL4.5
µÚÒ»²½£¬¹Ø±ÕÊý¾Ý¿âºÍ¼àÌý£¬dbconsole£º
$ dbshut
$ lsnrctl stop
µÚ¶þ²¿£º
# hostname oratest
µÚÈý²½£º
# vi /etc/sysconfig/network
¸ü¸Ähostname²ÎÊý¡£
µÚËIJ½ ......
¼¶±ð£º ³õ¼¶
½ Ò»·«
(jiangyif@cn.ibm.com
), Èí¼þ¹¤³Ìʦ , IBM
·¶ ÓñÕä
, ¸ß¼¶Èí¼þ¹¤³Ìʦ, IBM
Ëï ÔÃ
, Èí¼þ¹¤³Ìʦ, IBM
2009 Äê 10 ÔÂ 22 ÈÕ
°²
×°£¬Éý¼¶ºÍжÔØÓ¦ÓÃÈí¼þÊÇÓ°ÏìÓû§¶Ô²Ù×÷ϵͳÆÀ¼ÛµÄ¾ö¶¨ÐÔÒòËØÖ®Ò»¡£¶ÔÓÚÈÕ½¥Á÷ÐÐµÄ GNU/Linux
²Ù×÷ϵͳ£¬ÓµÓмò½àÇ¿´óµÄÈí¼þ°ü¹ÜÀí»úÖƹ¦²»¿Éû¡£±¾ÎÄ´Ó»ù±¾µ ......