2009-10-21 (Wed)

_ [unicon] 20091021-2.6.31

昨日の続き。いろいろ検索してたら、tty: rewrite the ldisc locking というのを発見。LKML ばっか探してたけどまさか載ってないところにあるとは。でもって 1年前にも同じようなことやってたのね。

--- linux-2.6.31/drivers/video/unicon/xl_keyhooks.c.orig	2009-10-21 14:23:52.000000000 +0000
+++ linux-2.6.31/drivers/video/unicon/xl_keyhooks.c	2009-10-20 16:15:23.000000000 +0000
@@ -68,7 +68,7 @@
    if (tty == NULL) {
        return -1;
    }
-   tty->ldisc.ops->receive_buf(tty, &ch, &mbz, 1);
+   tty->ldisc->ops->receive_buf(tty, &ch, &mbz, 1);
 #ifdef DEBUG
    printk ("will sending %c, 0x%x\n", ch, ch);
 #endif

これで完成。

_ [debian] unicon-tools 0.0.0.20050707-0vd3

LSB 対応やるって言ってて忘れてた。

2009-10-20 (Tue)

_ [unicon] 2.6.31 対応調査

linux-kbuild-2.6.31 2.6.31.2-1~experimental.1 がようやく amd64 に入ったので開始。 20090615-2.6.30 がすんなり当たらなかったので 2.6.30 〜 2.6.31 の変更を調べてみると、

が該当しそう。これでいけると思ったら、コンパイルエラー。

drivers/video/unicon/xl_keyhooks.c: In function 'Unicon_fnSendKey':
drivers/video/unicon/xl_keyhooks.c:71: error: request for member 'ops' in something not a structure or union
make[4]: *** [drivers/video/unicon/xl_keyhooks.o] Error 1
make[3]: *** [drivers/video/unicon] Error 2

うーん、何か構造体変わったんだろうか…。時間切れなのでここまで。

2009-10-19 (Mon)

_ [debian] iceweasel vs cairo 1.9.4-1

iceweasel でタブを閉じると、

The program 'firefox-bin' received an X Window System error.
This probably reflects a bug in the program.
The error was 'RenderBadPicture (invalid Picture parameter)'.
  (Details: serial 5493 error_code 168 request_code 151 minor_code 7)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

といってクラッシュすることがある。cairo 1.9.2-1 に戻したら発生しなくなったようだ。 overeager xid reuseRenderBadPicture fatal error closing tab という報告があった。iceweasel と cairo のどっちが問題なのかわからないけど、ひとまず cairo に報告した。> #551570

_ [debian] coreutils 7.5-6 変

一般ユーザで df -l デバイス とすると permission denied になる件(df -l <device> as regular user cause “Permission denied”)を報告した。> #551577