<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2166105636130114826</id><updated>2011-07-08T11:00:01.893+09:00</updated><category term='debughacks'/><category term='linux users group'/><title type='text'>Someday Join Us</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://someday-join-us.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2166105636130114826/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://someday-join-us.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>hyoshiok</name><uri>http://www.blogger.com/profile/10003071216648195544</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HTJ4Fl83Tdk/SbTN5qZk3_I/AAAAAAAAAAs/RXYWbk4x52U/S220/060813_2115~001.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2166105636130114826.post-8210494460210030821</id><published>2009-06-25T18:15:00.005+09:00</published><updated>2009-06-25T18:41:46.731+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='debughacks'/><title type='text'>Debug Hacks, Table of Contents</title><content type='html'>Hi,&lt;br /&gt;&lt;br /&gt;I've translated Debug Hacks table of contents into English.&lt;br /&gt;Please feel free to ask me if you have any questions.&lt;br /&gt;&lt;br /&gt;DEBUG HACKS,&lt;br /&gt;english translation by Hiro Yoshioka&lt;br /&gt;6/25/09&lt;br /&gt;&lt;br /&gt;Table of Contents&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Chapter 1 Introduction&lt;br /&gt;1 what is a debug&lt;br /&gt;2 road maps of debug hacks&lt;br /&gt;3 hints of debug&lt;br /&gt;&lt;br /&gt;Chapter 2 The Things you have to know before debugging&lt;br /&gt;4 how to get core dump of a process&lt;br /&gt;5 introduction of gdb&lt;br /&gt;6 introduction of gdb, part 2&lt;br /&gt;7 introduction of gdb, part 3&lt;br /&gt;8 basic of Intel architecture&lt;br /&gt;9 basic of stack&lt;br /&gt;10 basic of parameter passing of function call (x86_64)&lt;br /&gt;11 basic of parameter passing of function call (i386)&lt;br /&gt;12 basic of parameter passing of function call (C++)&lt;br /&gt;13 how to learn assembly language&lt;br /&gt;14 mapping between source code and assembly code&lt;br /&gt;&lt;br /&gt;Chapter 3 Getting Started Kernel Debug&lt;br /&gt;15 how to read Oops messages&lt;br /&gt;16 connecting serial console using minicom&lt;br /&gt;17 getting kernel messages thru network&lt;br /&gt;18 debug using SysRq key&lt;br /&gt;19 getting kernel crash dumps using diskdump&lt;br /&gt;20 getting kernel crash dumps using Kdump&lt;br /&gt;21 how to use crash&lt;br /&gt;22 getting kernel crash dumps using IPMI watchdog timer when a kernel freeze&lt;br /&gt;23 getting kernel crash dumps using NMI watchdog timer when a kernel freeze&lt;br /&gt;24 assembly language idiom in the kernel source code&lt;br /&gt;25 assembly language idiom in the kernel source code, part 2&lt;br /&gt;&lt;br /&gt;Chapter 4 Practice of application debug&lt;br /&gt;26 application program aborts SIGSEGV&lt;br /&gt;27 corruption of a back trace information&lt;br /&gt;28 destroying memory by invalid access of an array&lt;br /&gt;29 detecting invalid access using watch point of gdb&lt;br /&gt;30 defects and faults of malloc() and free()&lt;br /&gt;31 application stall (deadlock)&lt;br /&gt;32 application stall (infinite loop)&lt;br /&gt;&lt;br /&gt;Chapter 5 Practice of kernel debug&lt;br /&gt;33 kernel panic (NULL pointer)&lt;br /&gt;34 kernel panic (destruction of list data)&lt;br /&gt;35 kernel panic (race condition)&lt;br /&gt;36 kernel stall (infinite loop)&lt;br /&gt;37 kernel stall (spin lock)&lt;br /&gt;38 kernel stall (spin lock, part 2)&lt;br /&gt;39 kernel stall (semaphore)&lt;br /&gt;40 stall of real time process&lt;br /&gt;41 slow down&lt;br /&gt;42 high cpu load&lt;br /&gt;&lt;br /&gt;Chapter 6 Debug Techniques&lt;br /&gt;43 using strace to detect the cause of error&lt;br /&gt;44 useful options of objdump&lt;br /&gt;45 how to use Valgrind (basic)&lt;br /&gt;46 how to use Valgrind (advance)&lt;br /&gt;47 getting kernel internal status using kprobes&lt;br /&gt;48 getting kernel internal status using jprobes&lt;br /&gt;49 getting kernel internal status using kprobes (inserting probes)&lt;br /&gt;50 getting kernel internal status using kprobes (inspecting variables)&lt;br /&gt;51 getting value of a variable optimized out by a compiler using KAHO&lt;br /&gt;52 debugging running linux kernel using systemtap&lt;br /&gt;53 debugging running linux kernel using systemtap, part2&lt;br /&gt;54 reading /proc/meminfo&lt;br /&gt;55 /proc/PID/mem to read contents of memory&lt;br /&gt;56 behavior and implementation of OOM Killer&lt;br /&gt;57 fault injection&lt;br /&gt;58 finding hidden bug in the linux kernel using a fault injection&lt;br /&gt;59 init section of linux kernel&lt;br /&gt;60 solving performance issues&lt;br /&gt;61 getting information using VMware Vprobe&lt;br /&gt;62 getting memory dump by XEN&lt;br /&gt;63 understanding an implementation of a function call thru GOT/PLT&lt;br /&gt;64 debugging an initramfs image&lt;br /&gt;65 detecting a stall of a realtime process by RT Watchdog&lt;br /&gt;66 check 64bit capability of intel x86 processor&lt;/blockquote&gt;The editor of Debug Hacks gave me the following description of this book in English. Thanks Ryoko Akaike&lt;br /&gt;&lt;br /&gt;HIGHLIGHT&lt;br /&gt;&lt;br /&gt;This explains the debug techniques fully under the long term development of Linux Kernel and application development process.  This book covers the necessary preparation, its knowledge, quick finding tools of problems and how to solve them quickly by using the most useful techniques and tools. There are many examples to be used in the book. This book helps the Linux development engineers.&lt;br /&gt;&lt;br /&gt;Mr. Yukihiro Matsumoto, creator of Ruby strongly recommends this book for the process of programming development.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DESCRIPTION&lt;br /&gt;&lt;br /&gt;This book provides the feature of the debugging techniques of Linux development&lt;br /&gt;Engineers.&lt;br /&gt;The readers can :&lt;br /&gt;-          Know how to find the problems.&lt;br /&gt;-          Prepare for the knowledge to find the problems.&lt;br /&gt;-          Find the bugs of the system.&lt;br /&gt;-          Amend the problems.&lt;br /&gt;-          Get the useful techniques and tools.&lt;br /&gt;-          Get the most effective tools in the development stage.&lt;br /&gt;&lt;br /&gt;Master the problem solving techniques by the detailed examples.&lt;br /&gt;&lt;br /&gt;ABOUT THE KEY AUTHORS&lt;br /&gt;Mr. Hirotaka Yoshioka&lt;br /&gt;Dr. Kazuhiro Yamato&lt;br /&gt;Mr. Naohiro Ooiwa&lt;br /&gt;Mr. Toyo Abe&lt;br /&gt;Mr. Shunsuke Yoshida&lt;br /&gt;&lt;br /&gt;All engineers belong to Miracle Linux Corporation, which provides the Linux&lt;br /&gt;System packages and its global consulting services of Linux to the various&lt;br /&gt;Corporations in Japan.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2166105636130114826-8210494460210030821?l=someday-join-us.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://someday-join-us.blogspot.com/feeds/8210494460210030821/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://someday-join-us.blogspot.com/2009/06/debug-hacks-table-of-contents.html#comment-form' title='40 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2166105636130114826/posts/default/8210494460210030821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2166105636130114826/posts/default/8210494460210030821'/><link rel='alternate' type='text/html' href='http://someday-join-us.blogspot.com/2009/06/debug-hacks-table-of-contents.html' title='Debug Hacks, Table of Contents'/><author><name>hyoshiok</name><uri>http://www.blogger.com/profile/10003071216648195544</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HTJ4Fl83Tdk/SbTN5qZk3_I/AAAAAAAAAAs/RXYWbk4x52U/S220/060813_2115~001.jpg'/></author><thr:total>40</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2166105636130114826.post-4276615503680617481</id><published>2009-04-25T11:21:00.002+09:00</published><updated>2009-04-25T11:27:29.055+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='debughacks'/><title type='text'>Debug Hacks</title><content type='html'>Debug Hacks is a book to introduce tips and tools for removing bugs. Debugging is one of time consuming process in the software development. However there is few books to describe debug.&lt;br /&gt;&lt;br /&gt;Debugging is a kind of black art. We have never been taught in a class room. We need to have debug skill. Each programmer has own debug techniques but almost nobody try to describe their tips.&lt;br /&gt;&lt;br /&gt;This is our challenge to describe the art of software debugging. The authors are linux kernel engineers of Miracle Linux Corporation (&lt;a href="http://www.miraclelinux.com"&gt;http://www.miraclelinux.com&lt;/a&gt;). I am one of the authors :-)&lt;br /&gt;&lt;br /&gt;It covers from C/C++ application debugging to the Linux kernel debugging. We show the real world examples which we have fixed in our services.&lt;br /&gt;&lt;br /&gt;Chapter 1 Warmingup, Chapter 2 Preparation for user land programs, Chapter 3 Preparation for kernel debugging, Chapter 4 Debugging for Application programs, Chapter 5 Debugging for Kernel Programs, Chapter 6 Various Tips and Tools.&lt;br /&gt;&lt;br /&gt;This book covers GDB, strace, objdump, Valgrind, kprobes, jprobes, KAHO, systemtap, proc file system, oprofile, VMware vprove, fault injection, Xenand so on.&lt;br /&gt;&lt;br /&gt;You will learn many tips to debug your programs.&lt;br /&gt;&lt;br /&gt;Bad news is that it is written in Japanese. You may ask O'reilly Japan to translate this book to other languages, that is, English, Chinese, Korean, and so on.&lt;br /&gt;&lt;br /&gt;&lt;iframe src="http://rcm-jp.amazon.co.jp/e/cm?t=dhatenejp015d-22&amp;amp;o=9&amp;amp;p=8&amp;amp;l=as1&amp;amp;asins=4873114047&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;m=amazon&amp;amp;lc1=0000FF&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2166105636130114826-4276615503680617481?l=someday-join-us.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://someday-join-us.blogspot.com/feeds/4276615503680617481/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://someday-join-us.blogspot.com/2009/04/debug-hacks.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2166105636130114826/posts/default/4276615503680617481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2166105636130114826/posts/default/4276615503680617481'/><link rel='alternate' type='text/html' href='http://someday-join-us.blogspot.com/2009/04/debug-hacks.html' title='Debug Hacks'/><author><name>hyoshiok</name><uri>http://www.blogger.com/profile/10003071216648195544</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HTJ4Fl83Tdk/SbTN5qZk3_I/AAAAAAAAAAs/RXYWbk4x52U/S220/060813_2115~001.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2166105636130114826.post-813564501677223007</id><published>2009-03-11T18:04:00.005+09:00</published><updated>2009-03-11T18:25:21.486+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux users group'/><title type='text'>YLUG (Yokohama Linux Users Group) and Kernel Code Reading Party</title><content type='html'>This memo is inspired by the blog written by Ted.&lt;br /&gt;&lt;a href="http://thunk.org/tytso/blog/2009/02/04/how-active-are-your-local-linux-users-groups/"&gt;http://thunk.org/tytso/blog/2009/02/04/how-active-are-your-local-linux-users-groups/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Let me describe Yokohama Linux Users Group (YLUG).&lt;br /&gt;&lt;a href="http://ylug.jp/"&gt;http://ylug.jp&lt;/a&gt; (Many pages are written in Japanese)&lt;br /&gt;&lt;br /&gt;More than 10 years ago, I was living in the Silicon Valley and worked for an RDBMS company as a RDBMS kernel engineer. My job was nothing related with Linux. It was 1998. Netscape opened the source code aka the Mozilla Project. &lt;a href="http://www.svlug.org/"&gt;Silicon Valley Linux Users Group&lt;/a&gt; had an offline meeting which hosted Marc Andreessen of Netscape who made this crazy idea on April, 1st of 1998. Marc said, "It is April, 1st, it is not April Fool but real." I know nothing about Open Source nor Bazaar model at that time.&lt;br /&gt;&lt;br /&gt;I came back to Japan on the end of 1998. There were Linux bubble and many LUG (Linux Users Group) in Japan were established.&lt;br /&gt;&lt;br /&gt;YLUG (Yokohama Linux Users Group) is one of LUG which was established in January of 1999. I joined YLUG. Mailing list was very active in those days. I asked an easy question to the mailing list. How does the linux kernel implement a system call? The answer was "int 0x80" and "read the source code." Hmm, I find/grep "int 0x80" and browse the code. I happened to think that it might be fun to read the code with YLUG members. It was a little bit bother to read the code by myself, but reading the code with colleagues may give us other insight. It might be fun.&lt;br /&gt;&lt;br /&gt;So I set up an offline meeting to read and have a party. It was held April 28th, 1999 and more than 30 people joined it. It was *fun*. Many people said, let's have another one. Many who could not attend the meeting asked us to have another one. We have more than 90 times and almost once a month since then.&lt;br /&gt;&lt;br /&gt;I named it "Kernel Code Reading Party."&lt;br /&gt;&lt;br /&gt;Although, we have not read the code these days, Kernel Code Reading Party has two parts, 1) a speaker makes a informal technical seminar, 2) we have a beer party. We will have 10th anniversary and 100th Kernel Code Reading Party in this October or November time frame.&lt;br /&gt;&lt;br /&gt;From Junior high school students to 50 something like me, from linux beginners to kernel hackers, audience are very wide.&lt;br /&gt;&lt;br /&gt;YLUG's Kernel Code Reading Party is very active and we really enjoy it.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://someday-join-us.blogspot.com/"&gt;Someday Join Us&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2166105636130114826-813564501677223007?l=someday-join-us.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://someday-join-us.blogspot.com/feeds/813564501677223007/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://someday-join-us.blogspot.com/2009/03/ylug-yokohama-linux-users-group-and.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2166105636130114826/posts/default/813564501677223007'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2166105636130114826/posts/default/813564501677223007'/><link rel='alternate' type='text/html' href='http://someday-join-us.blogspot.com/2009/03/ylug-yokohama-linux-users-group-and.html' title='YLUG (Yokohama Linux Users Group) and Kernel Code Reading Party'/><author><name>hyoshiok</name><uri>http://www.blogger.com/profile/10003071216648195544</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HTJ4Fl83Tdk/SbTN5qZk3_I/AAAAAAAAAAs/RXYWbk4x52U/S220/060813_2115~001.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2166105636130114826.post-6701582589525757008</id><published>2009-03-09T15:44:00.000+09:00</published><updated>2009-03-09T15:54:29.905+09:00</updated><title type='text'>Let's Get Startted</title><content type='html'>Hi,&lt;br /&gt;&lt;br /&gt;okdt recommended me to write a blog in English. so here it is. Although, I have two blogs written in Japanese, I wish this page gave you something happened Open Source Communities in Japan.&lt;br /&gt;&lt;br /&gt;My diary Someday in the Future (MIRAI NO ITSUKA　未来のいつか) &lt;a href="http://d.hatena.ne.jp/hyoshiok/"&gt;http://d.hatena.ne.jp/hyoshiok/&lt;/a&gt;&lt;br /&gt;My blog The Power of Dreams (YUME NO CHIKARA ユメのチカラ) &lt;a href="http://blog.miraclelinux.com/yume/"&gt;http://blog.miraclelinux.com/yume/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Enjoy,&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2166105636130114826-6701582589525757008?l=someday-join-us.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://someday-join-us.blogspot.com/feeds/6701582589525757008/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://someday-join-us.blogspot.com/2009/03/lets-get-startted.html#comment-form' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2166105636130114826/posts/default/6701582589525757008'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2166105636130114826/posts/default/6701582589525757008'/><link rel='alternate' type='text/html' href='http://someday-join-us.blogspot.com/2009/03/lets-get-startted.html' title='Let&apos;s Get Startted'/><author><name>hyoshiok</name><uri>http://www.blogger.com/profile/10003071216648195544</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HTJ4Fl83Tdk/SbTN5qZk3_I/AAAAAAAAAAs/RXYWbk4x52U/S220/060813_2115~001.jpg'/></author><thr:total>7</thr:total></entry></feed>
