Login
Immutable PageDiscussionInfoAttachments
Diff for "clear/note/2011-11"

MMA
Differences between revisions 3 and 4
Revision 3 as of 2011-11-15 18:13:30
Size: 2461
Editor: clear
Comment:
Revision 4 as of 2011-11-22 19:22:07
Size: 2650
Editor: clear
Comment:
Deletions are marked like this. Additions are marked like this.
Line 52: Line 52:

== 11/22 ==
=== リモートホスト上での日本語入力 ===
リモートホスト上でXMODIFIERSを設定する。
{{{
export XMODIFIERS='@im=uim' # sh系でuimな場合
}}}

2011年11月

11/06

mount_msdosfs

mount_msdosfs -L ja_JP.eucJP -D cp932 ...

11/11

mkfs.vfat on Arch

extra/dosfstoolsに入っている。

11/15

なぜかXサーバがSEGVで落ちる on Arch

cdmのようなディスプレイマネージャを投げ捨ててxinitを使うようにしたが、Xサーバが終了時にSEGVで落ちるようになってしまった。

[  5649.239] (II) UnloadModule: "evdev"
[  5649.239] (II) Unloading evdev
[  5649.240]
Backtrace:
[  5649.240] 0: /usr/bin/X (xorg_backtrace+0x37) [0x81c0117]
[  5649.240] 1: /usr/bin/X (0x8048000+0x17bc5a) [0x81c3c5a]
[  5649.240] 2: (vdso) (__kernel_rt_sigreturn+0x0) [0xb78c840c]
[  5649.241] 3: /lib/libc.so.6 (0xb7584000+0x117ec1) [0xb769bec1]
[  5649.241] 4: /usr/bin/X (mieqEnqueue+0x95) [0x819e585]
[  5649.241] 5: /usr/bin/X (0x8048000+0x42ce5) [0x808ace5]
[  5649.241] 6: /usr/bin/X (xf86PostKeyEventM+0x8a) [0x80c951a]
[  5649.241] 7: /usr/bin/X (xf86PostKeyboardEvent+0x72) [0x80c97c2]
[  5649.241] 8: /usr/lib/xorg/modules/input/evdev_drv.so (0xb73f3000+0x3c4c) [0xb73f6c4c]
[  5649.242] 9: /usr/bin/X (0x8048000+0x6b5a1) [0x80b35a1]
[  5649.242] 10: /usr/bin/X (0x8048000+0x92bd2) [0x80dabd2]
[  5649.242] 11: (vdso) (__kernel_sigreturn+0x0) [0xb78c8400]
[  5649.242] 12: (vdso) (__kernel_vsyscall+0x10) [0xb78c8424]
[  5649.242] 13: /lib/libc.so.6 (sigprocmask+0x60) [0xb75b1e70]
[  5649.243] 14: /usr/bin/X (OsReleaseSignals+0x40) [0x81c6130]
[  5649.243] 15: /usr/bin/X (DeleteInputDeviceRequest+0x71) [0x80c8bd1]
[  5649.243] 16: /usr/bin/X (0x8048000+0x22da8) [0x806ada8]
[  5649.243] 17: /usr/bin/X (0x8048000+0x233b8) [0x806b3b8]
[  5649.243] 18: /usr/bin/X (0x8048000+0x1c3ff) [0x80643ff]
[  5649.243] 19: /lib/libc.so.6 (__libc_start_main+0xf3) [0xb759d243]
[  5649.244] 20: /usr/bin/X (0x8048000+0x1c6c9) [0x80646c9]
[  5649.244] Segmentation fault at address (nil)
[  5649.244]
Fatal server error:
[  5649.244] Caught signal 11 (Segmentation fault). Server aborting

どう見てもevdevが怪しいので、/etc/X11/xorg.conf.d/10-evdev.confの内容を見直したら落ちなくなった。具体的には

  • 不要なSectionを削除
    • タッチスクリーンとか
  • MatchDevicePathをワイルドカードでなく各デバイスの値をちゃんと指定するように変更

    • この値は/var/log/Xorg.0.logなどを見れば分かる

11/22

リモートホスト上での日本語入力

リモートホスト上でXMODIFIERSを設定する。

export XMODIFIERS='@im=uim' # sh系でuimな場合

clear/note/2011-11 (last edited 2011-11-30 13:11:29 by clear)