A surprise about Linux serial consoles

Here is a surprise I just discovered about magic SysRq and serialconsoles: in order to have a serial console respond to magicSysRq, you need something talking to it. If your serial console is /dev/console , I believe that this is automatic; however, if it isnot (if you have hooked it up to debug systemlockups in X, for example, as a not entirely hypothetical example), youneed to run a getty or something on the serial port in order to havethe kernel notice


各位同學仔,加把勁,信自己。

各位同學仔,多謝你們過去九個星期的星期六,晨咁早專登來上我的課。

早到的、遲到的,總之是有來上課的,我都覺得很高興,因為我明白,你們平時一星期已上足五天課,星期六晨早來上這課,絕對要多一份的毅力和堅持。


曬命之必要(塞班島之旅之二)


Micro Beach只有海浪聲和風聲

過去幾年,本人體內體外積聚大量澳門特有的鬱悶,怨氣,壓抑,病態,這些東西,像害蟲,你不理牠,牠可以不騷擾你,但你不知牠何日會發作,咬到你一身都係,因此,為保小命,有時間,有機會,我
Continue reading...

I don't like smooth scrolling

Courtesy of upgrading my home machine to Fedora 8 and getting a new versionof liferea in the bargain, I have been remindedof something: I really don't like applications that do smooth scrolling.

While I could pick specific nits, I suspect that a good part of thiscomes down to metaphor choices; I tend to think of scrolling as a 'turnthe page' action, for which the closest computer equivalent is justimmediately replacing the text with no fancy effects (although I want aline or two of


A depressing thing about phish spam

For a while, my general reaction to receiving phish spam from somewhereis to block it from sending me further email. This habit has led to mediscovering something depressing: how many of those places later tryto send me more email, often months after the first incident.

This is depressing because phish spam is usually sent from compromisedmachines. Getting more mail from the same machine is a bad sign; itmeans that the machine has almost certainly not been cleaned up, and isinstead still compromised and being used for


20071208 網摘 – 再來一個泡沫

Web2.0

HK

  • 論中大畢業禮「騷亂」 Quote: 無論是劉遵義與中大學生會,都只著眼於想得到的利益,在得失計算與路徑選擇卻是一蹋糊塗,結果變成學生會與校方雙輸局面,而當然最大的受害者,自是我

真係要好浪漫先得(塞班島之旅之一)


我們出發了

過去一個星期,我終於去了那兩個島:塞班島和關島.

這兩個地方,我五年前去過,當時是新婚蜜月,這一次,是再渡蜜月.講明先,呢兩個島,唔抵玩,某程度上係貴,無新奇刺激的東西,亦肯定不是掃貨最佳地點
Continue reading...

簡單的生活


平凡不見得全然是悲哀的。快樂之一就在於可以活得非常簡單。

上班準時,下班更準時,從不把公事帶回家,偶爾會在辦公時間處理私事。工作認眞,遭了挫折,吃了虧,仍然笑容滿臉,這次做得不好,下次一定做好,不抱怨,

目無政府《M*A*S*H* 》(風流軍醫俏護士)


《M*A*S*H*》(風流軍醫俏護士), 37年前的電影, 感覺上仍然很現代. 戲內瀰漫的嬉戲至上、抗衡現實的頑童態度, 至今仍然令人充滿共鳴.

儘管《M*A*S*H*》的情節確令人笑到肚痛. 眾醫護人員除了負責

Continue reading...

Using Linux's magic SysRq feature

The 'magic SysRq' is a feature of the Linux kernel where you candirectly invoke certain kernel commands, regardless of what happens tobe going on at user level and often even if the system is fairly brokenotherwise. Commands are conventionally described by the key that's usedto invoke them.

There are three ways of invoking magic SysRq commands:

  • writing the command key to /proc/sysrq-trigger , for examplewith ' echo >/proc/sysrq-trigger ' in a root shell