delphij's Chaos

18号没有写log

• Diary Excerpt

有时候觉得很累,因为写了很多,但不一定有用,就像我最近一段时间做了很多事情,而并不是每一件都有用,简单地说,chaos。老子说,清静无为——简单的道理,一切顺其自然,我以为自己悟了,然而没有,简单的想法,平静的心绪,多么的困难。

阅读全文… ( 本文约 188 字,阅读大致需要 1 分钟 )

How to debug a live FreeBSD kernel?

• Kernel

To quote Matthew Dillon:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
    You can actually run gdb on a live kernel like this:

    gdb -k /dev/mem /path/to/kernel.debug

    You can then use the 'proc' command to switch to a process (give it a
    pid), and do a stack backtrace.  That part only really works if the
    process is blocked on something (i.e. not running).

    But you can also dig around kernel globals and various data structures
    and that can be quite useful on a live system.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>
参与评论

FreeBSD 4.10-RC3 is delaying again

• Development

To summarize the release engineering process: 4.10-RC3 has delayed again so 4.10-RELEASE won’t be released soon. Recently, RELENG_4_10 branch has received several critical bugfixes. I personally requested a MFC for a security vulnerablity related with timedc, and Tim has MFC’ed some other security related fixes. Matthew Dillon has submitted some VM patches (committed by Ken Smith) and they all get into RC3.

阅读全文… ( 本文约 140 字,阅读大致需要 1 分钟 )

打算用技术暂时麻醉一下自己

• Diary Excerpt

我知道这不是办法,但即使不是办法,有时候也只能这么做,因为两害相权取其轻。一次噩梦中,我声嘶力竭地大喊,「Stop! Stop!」,可是就是停不下来……面无表情的司机,面无表情的乘客,令人目眩的速度,冲向无底的深渊,但之后想想,死掉的不是我一个人,与其如此绝望地去面对死亡,倒不妨去欣赏一下那眩目的美。

有时候觉得自己是一个极端主义者,呵呵,我很庆幸自己不是。有时候有一些geeky的想法,但还好,并不是每个做法都geeky,至少,不是大多说做法都geeky。很多事情换个看法会好许多。

阅读全文… ( 本文约 652 字,阅读大致需要 2 分钟 )